<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PHP SDK - possible to add order description to a subscription? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/56171#M30979</link>
    <description>&lt;P&gt;Okay, I went ahead and made an issue. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2016 01:15:58 GMT</pubDate>
    <dc:creator>DavidFFA</dc:creator>
    <dc:date>2016-11-11T01:15:58Z</dc:date>
    <item>
      <title>PHP SDK - possible to add order description to a subscription?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/56169#M30977</link>
      <description>&lt;P&gt;I am using this php SDK (&lt;A href="https://github.com/AuthorizeNet/sdk-php" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php&lt;/A&gt;), and I don't see any documentation on how to add an order description for a subscription. It has been pretty frustrating, and I feel I am probably missing something obvious. I need this, as I use the description to pass along parameters needed by a third party app that are unique to each subscription (CRM Contact ID, CRM Order Id, CRM Product Id).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I have found this possible is by using the old php API (&lt;A href="https://github.com/AuthorizeNet/sdk-php/blob/master/doc/ARB.markdown" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php/blob/master/doc/ARB.markdown&lt;/A&gt;), using the follow code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;define("AUTHORIZENET_API_LOGIN_ID", MERCHANT_LOGIN_ID);&lt;BR /&gt;define("AUTHORIZENET_TRANSACTION_KEY", MERCHANT_TRANSACTION_KEY);&lt;BR /&gt;$subscription = new AuthorizeNet_Subscription;&lt;BR /&gt;$subscription-&amp;gt;orderDescription = $read_Description;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;// Update Subscription&lt;BR /&gt;$request = new AuthorizeNetARB;&lt;BR /&gt;$response = $request-&amp;gt;updateSubscription($response-&amp;gt;getSubscriptionId(), $subscription);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This flow isn't ideal, because I am using two different APIs. I add the subscription with the new API, then update it (which is when I add the order description) with the old API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am hoping there is way I can use the new SDK and add the order description to the subscription with one call. Any help is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 00:28:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/56169#M30977</guid>
      <dc:creator>DavidFFA</dc:creator>
      <dc:date>2016-11-11T00:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: PHP SDK - possible to add order description to a subscription?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/56170#M30978</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20876"&gt;@DavidFFA&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The API supports what you need, but it's not included in the sample code. &amp;nbsp;I would recommend opening an issue on GitHub and ask it be added. &amp;nbsp;An issue on GitHub will notify the developer responsible for this section and you'll be notified as soon as it's available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 00:51:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/56170#M30978</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-11-11T00:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: PHP SDK - possible to add order description to a subscription?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/56171#M30979</link>
      <description>&lt;P&gt;Okay, I went ahead and made an issue. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 01:15:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/56171#M30979</guid>
      <dc:creator>DavidFFA</dc:creator>
      <dc:date>2016-11-11T01:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: PHP SDK - possible to add order description to a subscription?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/65044#M38773</link>
      <description>&lt;P&gt;There is a a LOT missing from the sample code on the Accept Hosted API Help Guide!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the sim.php and able to pass these before creating the hash and for the life of me, I cannot find the same functionality in the accept hosted...&amp;nbsp;&lt;/P&gt;&lt;P&gt;$x_Description = $_REQUEST['x_Description'];&lt;BR /&gt;$x_Amount = $_REQUEST['x_Amount'];&lt;BR /&gt;$x_cust_id = $_REQUEST['x_cust_id'];&lt;BR /&gt;$x_company = $_REQUEST['x_company'];&lt;BR /&gt;$x_po_num = $_REQUEST['x_po_num'];&lt;BR /&gt;$x_event = $_REQUEST['x_event'];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where exactly is it documented in the API documentation? I have crawled all over that... and this seems like it really should be some basic stuff....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just trying to move a customer over and I don't need every imaginable jsfeature and every payment method... I just need to pass a fixed amount and a customer reference number....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.....&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 23:38:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-possible-to-add-order-description-to-a-subscription/m-p/65044#M38773</guid>
      <dc:creator>gerardmclean</dc:creator>
      <dc:date>2018-11-12T23:38:43Z</dc:date>
    </item>
  </channel>
</rss>

