<?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: Where to specify invoice_number in the PHP API when doing a CIM transaction? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/30248#M15830</link>
    <description>&lt;P&gt;I have tried setting the property invoiceNumber in my code but the gateway returns an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;ErrorResponse xmlns:xsi="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00003&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;The element 'profileTransAuthOnly' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'invoiceNumber' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'customerShippingAddressId, order, taxExempt, recurringBilling, cardCode, splitTenderId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/ErrorResponse&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that I think about it, I guess this might make sense -- it's an auth-only transaction so perhaps invoice number doesn't apply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I was trying to avoid the 'duplicate transaction' on auth-only transactions.&amp;nbsp; There are cases on my site where I'd like to permit multiple transactions within 2 minutes.&amp;nbsp; It was my hope to distinguish them by assigning distinct invoice numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Sep 2012 23:46:20 GMT</pubDate>
    <dc:creator>sneakyimp</dc:creator>
    <dc:date>2012-09-28T23:46:20Z</dc:date>
    <item>
      <title>Where to specify invoice_number in the PHP API when doing a CIM transaction?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/29688#M15584</link>
      <description>&lt;P&gt;I'm returning to a PHP project I worked on some months ago and can't seem to locate where to specify an invoice number. I see $this-&amp;gt;invoice_number referred to in the class AuthorizeNetAIM_Response and also as a member of an array in $_all_aim_fields member variable of AuthorizeNetAIM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where does one define the invoice number when creating a CIM transaction?&amp;nbsp; In the AuthorizeNetCIM object that one creates?&amp;nbsp; Or in the AuthorizeNetTransaction object that one feeds to&amp;nbsp;AuthorizeNetCIM::createCustomerProfileTransaction() ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PHP source is very confusing because nearly all of the member properties are defined as arrays rather than proper member variables with their corresponding Javadoc comments.&amp;nbsp; Forget about autocompletion or code hinting! If you are generating these objects from arrays of variable names, perhaps someone could write a script to also generate proper PHP classes with comments so my IDE can help me understand them better?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2012 00:00:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/29688#M15584</guid>
      <dc:creator>sneakyimp</dc:creator>
      <dc:date>2012-09-15T00:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Where to specify invoice_number in the PHP API when doing a CIM transaction?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/29696#M15588</link>
      <description>&lt;P&gt;If you have:&lt;/P&gt;&lt;PRE&gt;$transaction = new AuthorizeNetTransaction;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Then it would be assigned:&lt;/P&gt;&lt;PRE&gt;$transaction-&amp;gt;order-&amp;gt;invoiceNumber = $myinvoicenumber;&lt;/PRE&gt;</description>
      <pubDate>Sat, 15 Sep 2012 06:48:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/29696#M15588</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2012-09-15T06:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Where to specify invoice_number in the PHP API when doing a CIM transaction?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/30248#M15830</link>
      <description>&lt;P&gt;I have tried setting the property invoiceNumber in my code but the gateway returns an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;ErrorResponse xmlns:xsi="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00003&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;The element 'profileTransAuthOnly' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'invoiceNumber' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'customerShippingAddressId, order, taxExempt, recurringBilling, cardCode, splitTenderId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/ErrorResponse&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that I think about it, I guess this might make sense -- it's an auth-only transaction so perhaps invoice number doesn't apply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I was trying to avoid the 'duplicate transaction' on auth-only transactions.&amp;nbsp; There are cases on my site where I'd like to permit multiple transactions within 2 minutes.&amp;nbsp; It was my hope to distinguish them by assigning distinct invoice numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2012 23:46:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/30248#M15830</guid>
      <dc:creator>sneakyimp</dc:creator>
      <dc:date>2012-09-28T23:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Where to specify invoice_number in the PHP API when doing a CIM transaction?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/30252#M15832</link>
      <description>&lt;P&gt;Darn it.&amp;nbsp; I was trying to assign invoiceNumber on the $transaction object rather than $transaction-&amp;gt;order. I have fixed my code now and it appears to be working.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2012 00:11:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-to-specify-invoice-number-in-the-PHP-API-when-doing-a-CIM/m-p/30252#M15832</guid>
      <dc:creator>sneakyimp</dc:creator>
      <dc:date>2012-09-29T00:11:56Z</dc:date>
    </item>
  </channel>
</rss>

