<?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 Upgrade Purchases Returning Error in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Upgrade-Purchases-Returning-Error/m-p/76056#M47479</link>
    <description>&lt;P&gt;&lt;SPAN&gt;In our system, we have the concept of an upgrade within our system. When a customer of ours purchases a product, they can purchase an upgraded version of the product after the fact. The way we process that is by doing a charge API call to charge them for the first product. When they request an upgrade, we determine the difference in price and charge them that in a second charge API call.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This process works flawlessly when we are using our sandbox credentials but seems to be giving us an error on our production credentials.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'code' 'E00001',&lt;BR /&gt;'text' 'An error occurred during processing. Please try again.',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea why that could be happening?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;API Method Used: Payment Transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Programming Language: PHP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDK Used: PHP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue Summary: Upgrade Purchases Returning&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Message: 2021-04-16 09:01:49 testing.INFO: array (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;netauthorizeapicontractv1MessagesTypeMessageAType::__set_state(array(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'code' 'E00001',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'text' 'An error occurred during processing. Please try again.',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is our sample request/payload -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2021-04-16 09:01:49 testing.INFO: array (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'invoiceNumber' '12343455',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'description' 'Enrollment fees.',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'amount' 56.83,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'customer'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;array (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'id' 17845,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'firstName' 'MALUC',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'lastName' 'Test',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'email' 'maluctest@testing.com',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'zipCode' '11378',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2021-04-16 09:01:49 testing.INFO: array (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'dataDescriptor' 'COMMON.ACCEPT.INAPP.PAYMENT',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'dataValue' 'eyJjb2RlIjoiNTBfMl8wNjAwMDUyMEE4ODVEM0RBNjhFNEZCQ0VDRTgyRUU2QjEwOERBQTBDMDk2RjAyMEZCMjlFRTdFRDBEQUEzRDcxQjNBODFDMzAwOEIwMEZBNjlERUJBMkY0NDc0NjczRkJCMUQ1RDY2IiwidG9rZW4iOiI5NjE4NTgxNjc2MzMxMDU0ODA0NjAxIiwidiI6IjEuMSJ9',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ref:_00DF07nRI._5004Q2FZEPX:ref&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 20:35:40 GMT</pubDate>
    <dc:creator>maziz01</dc:creator>
    <dc:date>2021-04-29T20:35:40Z</dc:date>
    <item>
      <title>Upgrade Purchases Returning Error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Upgrade-Purchases-Returning-Error/m-p/76056#M47479</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In our system, we have the concept of an upgrade within our system. When a customer of ours purchases a product, they can purchase an upgraded version of the product after the fact. The way we process that is by doing a charge API call to charge them for the first product. When they request an upgrade, we determine the difference in price and charge them that in a second charge API call.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This process works flawlessly when we are using our sandbox credentials but seems to be giving us an error on our production credentials.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'code' 'E00001',&lt;BR /&gt;'text' 'An error occurred during processing. Please try again.',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea why that could be happening?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;API Method Used: Payment Transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Programming Language: PHP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDK Used: PHP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue Summary: Upgrade Purchases Returning&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Message: 2021-04-16 09:01:49 testing.INFO: array (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;netauthorizeapicontractv1MessagesTypeMessageAType::__set_state(array(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'code' 'E00001',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'text' 'An error occurred during processing. Please try again.',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is our sample request/payload -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2021-04-16 09:01:49 testing.INFO: array (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'invoiceNumber' '12343455',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'description' 'Enrollment fees.',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'amount' 56.83,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'customer'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;array (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'id' 17845,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'firstName' 'MALUC',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'lastName' 'Test',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'email' 'maluctest@testing.com',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'zipCode' '11378',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2021-04-16 09:01:49 testing.INFO: array (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'dataDescriptor' 'COMMON.ACCEPT.INAPP.PAYMENT',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'dataValue' 'eyJjb2RlIjoiNTBfMl8wNjAwMDUyMEE4ODVEM0RBNjhFNEZCQ0VDRTgyRUU2QjEwOERBQTBDMDk2RjAyMEZCMjlFRTdFRDBEQUEzRDcxQjNBODFDMzAwOEIwMEZBNjlERUJBMkY0NDc0NjczRkJCMUQ1RDY2IiwidG9rZW4iOiI5NjE4NTgxNjc2MzMxMDU0ODA0NjAxIiwidiI6IjEuMSJ9',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ref:_00DF07nRI._5004Q2FZEPX:ref&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 20:35:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Upgrade-Purchases-Returning-Error/m-p/76056#M47479</guid>
      <dc:creator>maziz01</dc:creator>
      <dc:date>2021-04-29T20:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Purchases Returning Error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Upgrade-Purchases-Returning-Error/m-p/76089#M47502</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/49541"&gt;@maziz01&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the second charge, are you obtaining a new opaqueData.DataValue? If not, the error could be due to an invalid value in the DataValue field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe a better way would be to create a Customer Payment profile and charge this Payment profile on the subsequent charge.&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 09:31:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Upgrade-Purchases-Returning-Error/m-p/76089#M47502</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2021-05-01T09:31:50Z</dc:date>
    </item>
  </channel>
</rss>

