<?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 Reg: API integration to charge client using CMI in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Reg-API-integration-to-charge-client-using-CMI/m-p/56134#M30945</link>
    <description>&lt;P&gt;Hi, i have been using the following API integration&amp;nbsp;to charge client using CMI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$request = new AuthorizeNetCIM;&lt;BR /&gt;$customerProfile = new AuthorizeNetCustomer;&lt;BR /&gt;$transaction = new AuthorizeNetTransaction;&lt;BR /&gt;$transaction-&amp;gt;amount = "4.00";&lt;BR /&gt;$transaction-&amp;gt;customerProfileId = "304685436";&lt;BR /&gt;$transaction-&amp;gt;customerPaymentProfileId = "304890863";&lt;BR /&gt;$transaction-&amp;gt;customerShippingAddressId = "";&lt;/P&gt;&lt;P&gt;$lineItem = new AuthorizeNetLineItem;&lt;BR /&gt;$lineItem-&amp;gt;itemId = "111";&lt;BR /&gt;$lineItem-&amp;gt;name = "Refill Amount";&lt;BR /&gt;$lineItem-&amp;gt;description = "Phones Purchase";&lt;BR /&gt;$lineItem-&amp;gt;quantity = "1";&lt;BR /&gt;$lineItem-&amp;gt;unitPrice = "4.00";&lt;BR /&gt;$lineItem-&amp;gt;taxable = "true";&lt;BR /&gt;print_r($lineItem);&lt;/P&gt;&lt;P&gt;$transaction-&amp;gt;lineItems[] = $lineItem;&lt;/P&gt;&lt;P&gt;$response = $request-&amp;gt;createCustomerProfileTransaction("AuthCapture", $transaction);&lt;BR /&gt;print_r($response);&lt;BR /&gt;$transactionResponse = $response-&amp;gt;getTransactionResponse();&lt;BR /&gt;print_r($transactionResponse);&lt;BR /&gt;echo "====".$transactionId = $transactionResponse-&amp;gt;transaction_id;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It throws an error as :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AuthorizeNetLineItem Object ( [itemId] =&amp;gt; 111 [name] =&amp;gt; Refill Amount [description] =&amp;gt; Phones Purchase [quantity] =&amp;gt; 1 [unitPrice] =&amp;gt; 4.00 [taxable] =&amp;gt; true ) AuthorizeNetCIM_Response Object ( [xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00003 [text] =&amp;gt; The element 'createCustomerProfileTransactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'validationMode' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'extraOptions' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. ) ) ) [response] =&amp;gt; &lt;/SPAN&gt;ErrorE00003The element 'createCustomerProfileTransactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'validationMode' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'extraOptions' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&lt;SPAN&gt; [xpath_xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00003 [text] =&amp;gt; The element 'createCustomerProfileTransactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'validationMode' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'extraOptions' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. ) ) ) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2016 14:07:44 GMT</pubDate>
    <dc:creator>satheesh</dc:creator>
    <dc:date>2016-11-08T14:07:44Z</dc:date>
    <item>
      <title>Reg: API integration to charge client using CMI</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Reg-API-integration-to-charge-client-using-CMI/m-p/56134#M30945</link>
      <description>&lt;P&gt;Hi, i have been using the following API integration&amp;nbsp;to charge client using CMI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$request = new AuthorizeNetCIM;&lt;BR /&gt;$customerProfile = new AuthorizeNetCustomer;&lt;BR /&gt;$transaction = new AuthorizeNetTransaction;&lt;BR /&gt;$transaction-&amp;gt;amount = "4.00";&lt;BR /&gt;$transaction-&amp;gt;customerProfileId = "304685436";&lt;BR /&gt;$transaction-&amp;gt;customerPaymentProfileId = "304890863";&lt;BR /&gt;$transaction-&amp;gt;customerShippingAddressId = "";&lt;/P&gt;&lt;P&gt;$lineItem = new AuthorizeNetLineItem;&lt;BR /&gt;$lineItem-&amp;gt;itemId = "111";&lt;BR /&gt;$lineItem-&amp;gt;name = "Refill Amount";&lt;BR /&gt;$lineItem-&amp;gt;description = "Phones Purchase";&lt;BR /&gt;$lineItem-&amp;gt;quantity = "1";&lt;BR /&gt;$lineItem-&amp;gt;unitPrice = "4.00";&lt;BR /&gt;$lineItem-&amp;gt;taxable = "true";&lt;BR /&gt;print_r($lineItem);&lt;/P&gt;&lt;P&gt;$transaction-&amp;gt;lineItems[] = $lineItem;&lt;/P&gt;&lt;P&gt;$response = $request-&amp;gt;createCustomerProfileTransaction("AuthCapture", $transaction);&lt;BR /&gt;print_r($response);&lt;BR /&gt;$transactionResponse = $response-&amp;gt;getTransactionResponse();&lt;BR /&gt;print_r($transactionResponse);&lt;BR /&gt;echo "====".$transactionId = $transactionResponse-&amp;gt;transaction_id;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It throws an error as :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AuthorizeNetLineItem Object ( [itemId] =&amp;gt; 111 [name] =&amp;gt; Refill Amount [description] =&amp;gt; Phones Purchase [quantity] =&amp;gt; 1 [unitPrice] =&amp;gt; 4.00 [taxable] =&amp;gt; true ) AuthorizeNetCIM_Response Object ( [xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00003 [text] =&amp;gt; The element 'createCustomerProfileTransactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'validationMode' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'extraOptions' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. ) ) ) [response] =&amp;gt; &lt;/SPAN&gt;ErrorE00003The element 'createCustomerProfileTransactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'validationMode' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'extraOptions' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&lt;SPAN&gt; [xpath_xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00003 [text] =&amp;gt; The element 'createCustomerProfileTransactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'validationMode' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'extraOptions' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. ) ) ) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 14:07:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Reg-API-integration-to-charge-client-using-CMI/m-p/56134#M30945</guid>
      <dc:creator>satheesh</dc:creator>
      <dc:date>2016-11-08T14:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: API integration to charge client using CMI</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Reg-API-integration-to-charge-client-using-CMI/m-p/56150#M30959</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_1" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20862" target="_self"&gt;satheesh&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;It looks like you are using&amp;nbsp;createCustomerProfileTransactionRequest which is an outdated API call. Please use&amp;nbsp;&lt;A href="http://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-customer-profile" target="_blank"&gt;http://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-customer-profile&lt;/A&gt; for charing a customer profile. It is also important to note that validationMode is only used for creating a payment profile and not for charging a profile.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Joy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 23:24:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Reg-API-integration-to-charge-client-using-CMI/m-p/56150#M30959</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2016-11-09T23:24:34Z</dc:date>
    </item>
  </channel>
</rss>

