<?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: Infamous &amp;quot;An error occurred during processing&amp;quot; when trying to submit a payment form in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90819#M57095</link>
    <description>&lt;P&gt;Thats good, your integration is working, something wrong with the token, it is rejecting. send me the apikey on my email.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2024 21:32:56 GMT</pubDate>
    <dc:creator>dipespat</dc:creator>
    <dc:date>2024-11-22T21:32:56Z</dc:date>
    <item>
      <title>Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90483#M56921</link>
      <description>&lt;P&gt;Folks, I'm getting this infamous error when trying to submit payment form. Here's the situation. I use the Accept Hosted solution, my backend code is written in PHP. I can successfully submit the &lt;FONT face="courier new,courier"&gt;getHostedPaymentPageRequest &lt;FONT face="arial,helvetica,sans-serif"&gt;and get back the response with the token. I then see the payment form loaded in the iframe. But when I fill out the fields and click Pay, I get this error message. A lot of back and forth with Authorize.NET support was a complete waste of time. Wondering if anyone can give me any clue on how to troubleshoot it further. Forgot to mention, I'm running the website locally using MAMP and I call the test Authorize.NET environment.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Here's the log I captured in my browser, if this helps:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Summary
URL: https://test.authorize.net/Payment/Api.ashx
Status: 200 OK
Source: Network
Address: 198.241.206.25:443
Initiator: 
polyfills.bundle.js:1:83136

Request
POST /Payment/Api.ashx HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 3397
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Cookie: _ga=GA1.2.629733913.1728001835; _gid=GA1.2.1739648470.1728231730; _gat_UA-63470806-9=1; optimizelyEndUserId=oeu1728001834481r0.0010818223198179044; _ga_RJTVJSYQFN=GS1.1.1728231594.5.0.1728231603.51.0.0; cf_clearance=sUqatfFGs1sMy5bcuua2ScC__B8iDBV_J0EtS8VC208-1728231594-1.2.1.1-MWSWvevuqDNUUN6PgB7LBgDoY_IYrYoHM8SK.oVrvym54sIMR3Ab5x6ZRdslMetqv8vSoVc.EGfdtxlkMWEBBfyvyRqqmF9dgGHF5G_T0KMhgCZ1KBk07f05Te55MUzTQvAyy8h4lWQHqpJOHLpwzC0.FYIiyRyfcReXvq4Tp7NuptaghVrxCBQ4HCGEq74GYSxetNSTbt5xhJM1dsCVVKLXPZyswKkJRsHFpXyUZwuasnTkHskh7yEScHzBs9Nc7DDCuB11z33eAr1iv01TSshPk8loeEeJ7AKHnWepsAY9nMfu6sR7aThygC3nDg9i8mp02Fe.dxqC1ib_TCc1FFdgDVTshhrOb.oNilgfF4yBYaPNvX8o_c5XjQ90dTKQNrWG.iia4fgkL3xbFoMbZw; elqQs=%2C%2C%2Chttps://s986383348.t.eloqua.com/; _gcl_au=1.1.291212342.1728011365; __cfruid=a45e566cd755e4ab3206263d69793fc62f107860-1728052842; _cfuvid=H16dYt5AwapirqYL7JybjD7UZO_nioIiYg24qJfQdxs-1728052842939-0.0.1.1-604800000
Origin: https://test.authorize.net
Priority: u=3, i
Referer: https://test.authorize.net/payment/payment
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0.1 Safari/605.1.15

Response
HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, private, must-revalidate
Content-Length: 2589
Content-Type: application/json; charset=utf-8
Date: Sun, 06 Oct 2024 16:22:45 GMT
Expires: 0
Pragma: no-cache
Strict-Transport-Security: max-age=31536000
X-Cnection: close
X-Content-Type-Options: nosniff

Request Data
MIME Type: application/x-www-form-urlencoded; charset=UTF-8
token: &amp;lt;&amp;lt;&amp;lt; REDACTED &amp;gt;&amp;gt;&amp;gt;
totalAmount: 125.00
paymentMethod: cc
creditCard: 4111 1111 1111 1111
expirationDate: 11/25
cardCode: 123
billingInfo[firstName]: John
billingInfo[lastName]: Doe
billingInfo[company]
billingInfo[address]: fgdfgdf
billingInfo[city]: dfgdfg
billingInfo[state]: ny
billingInfo[zip]: 12453
billingInfo[country]: US
billingInfo[phoneNumber]
billingInfo[faxNumber]
email: foo@bar.com


Response Data
{
    "resultCode": "Error",
    "messageCode": "E00001",
    "messageText": "An error occurred during processing. Please try again.",
    "token": "&amp;lt;&amp;lt;&amp;lt; REDACTED &amp;gt;&amp;gt;&amp;gt;",
    "transactionData": {}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2024 12:36:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90483#M56921</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-10-12T12:36:47Z</dc:date>
    </item>
    <item>
      <title>The infamous "An error occurred during processing" error when trying to submit the form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90486#M56925</link>
      <description>&lt;P&gt;I'm using the Accept Hosted form (on the test environment) and I'm running into this error when trying to submit the payment. I'm able to successfully submit the getHostedPaymentPageRequest and get back the successful response with the token. The form is loaded correctly, but when I fill out all the fields and click Pay, I see the error "&lt;SPAN&gt;An error occurred during processing. Please try again." at the bottom of the page. I had several email exchanges with the Authorize.NET support but they were unable to come up with anything useful. Just wondering how can I troubleshoot it? I tried running it in the debugger and set some breakpoints in JavaScript and I only see the "resizeWindow" events coming back. Any suggestions?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2024 14:37:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90486#M56925</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-10-12T14:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: The infamous "An error occurred during processing" error when trying to submit the for</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90487#M56926</link>
      <description>&lt;P&gt;UPDATE: I can see that the code successfully calls POST&amp;nbsp;&lt;A href="https://test.authorize.net/Payment/Api.ashx" target="_blank"&gt;https://test.authorize.net/Payment/Api.ashx&lt;/A&gt;&amp;nbsp;but the response is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "resultCode": "Error",
    "messageCode": "E00001",
    "messageText": "An error occurred during processing. Please try again.",
    "token": "&amp;lt;&amp;lt;&amp;lt;REDACTED&amp;gt;&amp;gt;&amp;gt;",
    "transactionData": {}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2024 14:54:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90487#M56926</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-10-12T14:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90797#M57078</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, to hear about this, I did check the log that you shared above, it seems looks correct. Could you please refer this PHP sample code and compare your implementation?&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/accept-sample-app/blob/master/getHostedPaymentForm.php" target="_blank"&gt;https://github.com/AuthorizeNet/accept-sample-app/blob/master/getHostedPaymentForm.php&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 07:35:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90797#M57078</guid>
      <dc:creator>dipespat</dc:creator>
      <dc:date>2024-11-21T07:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90802#M57081</link>
      <description>&lt;P&gt;Dipesh, thanks for getting back to me! Yes, I compared my PHP to the sample and there are no substantial differences there. As I mentioned previously, I'm able to obtain a token successfully, the error only occurs when I fill out the payment form and click Submit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 13:22:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90802#M57081</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-11-21T13:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: The infamous "An error occurred during processing" error when trying to submit the for</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90804#M57083</link>
      <description>&lt;P&gt;Could you please share more details on this:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Timestamp this error happened&lt;/LI&gt;&lt;LI&gt;Correlation Id&lt;/LI&gt;&lt;LI&gt;if you are doing test transaction sample Merchant id&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 22 Nov 2024 00:30:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90804#M57083</guid>
      <dc:creator>dipespat</dc:creator>
      <dc:date>2024-11-22T00:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: The infamous "An error occurred during processing" error when trying to submit the for</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90805#M57084</link>
      <description>&lt;P&gt;The timestamp, as you can see in the log above, is&amp;nbsp;Sun, 06 Oct 2024 16:22:45 GMT. Not sure about the correlation ID and merchant ID - where do I get these values from? I have an API ID, if that's what you are looking for.&lt;/P&gt;&lt;P&gt;I can try again tomorrow my time and let you know. Is there any way I can contact you directly via email?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 01:32:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90805#M57084</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-11-22T01:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90810#M57086</link>
      <description>&lt;P&gt;I just tried again with the same results, the timestamp is&amp;nbsp;&lt;SPAN&gt;Fri Nov 22 14:49:11 2024 UTC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The request for token returns successfully and the XML is:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;getHostedPaymentPageResponse xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&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;Ok&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;token&amp;gt;....&amp;lt;/token&amp;gt;&amp;lt;/getHostedPaymentPageResponse&amp;gt;&lt;/P&gt;&lt;P&gt;Then I proceed to fill out the form and submitting it, and it shows this error in the form, right above the buttons:&amp;nbsp;&lt;SPAN&gt;An error occurred during processing. Please try again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 14:52:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90810#M57086</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-11-22T14:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90811#M57087</link>
      <description>&lt;P&gt;One more thing - I debug the JavaScript in the browser and after clicking Pay button I do see the resizeWindow event received and processed successfully, but nothing after that.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 15:01:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90811#M57087</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-11-22T15:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90816#M57092</link>
      <description>&lt;P&gt;Pay button should not do the resize, it should call the&amp;nbsp;payBtnHandler, could you please add debug point to&amp;nbsp;payBtnHandler function in main.bundle.js and see if you can debug the code?&lt;/P&gt;&lt;P&gt;please share your contact will connect on Monday&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 21:00:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90816#M57092</guid>
      <dc:creator>dipespat</dc:creator>
      <dc:date>2024-11-22T21:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90817#M57093</link>
      <description>&lt;P&gt;Yes, I added breakpoint to the payBtnHandler function, it is invoked, and finishes without any error, and then I get the resizeWindow event - and nothing else.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 21:07:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90817#M57093</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-11-22T21:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90818#M57094</link>
      <description>&lt;P&gt;I also added breakpoint to the callServer function and I see that&amp;nbsp;this.httpService.post(n) response is&amp;nbsp;E00001&amp;nbsp;An error occurred during processing. Please try again. So this means javascript is working correctly and the remote service returns E00001.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 21:12:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90818#M57094</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-11-22T21:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90819#M57095</link>
      <description>&lt;P&gt;Thats good, your integration is working, something wrong with the token, it is rejecting. send me the apikey on my email.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 21:32:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90819#M57095</guid>
      <dc:creator>dipespat</dc:creator>
      <dc:date>2024-11-22T21:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90824#M57100</link>
      <description>&lt;P&gt;Dipesh, you were right! Thank you for pointing me to the right direction! Turns out my XML request to obtain a token was malformed, my user values were set incorrectly, and yet, the getHostedPaymentPageResponse was successful, but when the payment is submitted, the response is error. So, it is still a mystery why the response to malformed XML was still successful, but I finally was able to resolve my problem. Thank you again for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 17:08:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90824#M57100</guid>
      <dc:creator>javaduke</dc:creator>
      <dc:date>2024-11-23T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Infamous "An error occurred during processing" when trying to submit a payment form</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90832#M57108</link>
      <description>&lt;P&gt;Glad, that you found the issue in request and able to resolve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Dipesh Patel&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 17:44:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Infamous-quot-An-error-occurred-during-processing-quot-when/m-p/90832#M57108</guid>
      <dc:creator>dipespat</dc:creator>
      <dc:date>2024-11-25T17:44:30Z</dc:date>
    </item>
  </channel>
</rss>

