<?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: Payment page returns error, but payment data arrives at our server (wpStoreCart) in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40986#M22228</link>
    <description>&lt;P&gt;I found the 500 error, and it's an issue with wpStoreCart that I can't easily diagnose or fix (and the site doesn't out put a php error log for some reason), but at least I have something to go on now (I'll try updating the software, then we'll see).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In any case, thanks so much for pointing out the 200 message - I would never have tested for this otherwise :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 May 2014 21:58:24 GMT</pubDate>
    <dc:creator>rlund</dc:creator>
    <dc:date>2014-05-09T21:58:24Z</dc:date>
    <item>
      <title>Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40946#M22208</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use WordPress and wpStoreCart - a shopping cart solution that has an API that works with authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if anyone here knows about wpStoreCart - one other issue is that American Express payments do not seem to work at all, but that's not why I'm writing here today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that the cart is passing invoice information to&amp;nbsp;&lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll."&gt;https://secure.authorize.net/gateway/transact.dll.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I enter a credit card, and then I receive this message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

      This transaction has been approved.

It is advisable for you to contact the merchant to verify that you will receive the product or service.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The email contains this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Your script timed out while we were trying to post transaction results to it. &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the interesting thing is that our server logs clearly show that the payment information is received by us. We get the approval code, card type, last 4 digits, etc.&lt;/P&gt;&lt;P&gt;However, authorize.net still throws an error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data that is submitted to the payment gateway includes x_relay_url and the correct URL to our server - and obviously, that is working since we do receive the payments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I access that url myself, the server responds (by default with an empty page, but I changed that - see later).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During&amp;nbsp;3 long chats with support, I was given the following information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://support.authorize.net/authkb/index?page=content&amp;amp;id=A663&amp;amp;actp=search&amp;amp;viewlocale=en_US&amp;amp;searchid=1399584399612"&gt;https://support.authorize.net/authkb/index?page=content&amp;amp;id=A663&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which&amp;nbsp;includes a list of troubleshooting steps. I tried all of them and couldn't find anything wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next person gave me this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;To begin troubleshooting an error 52 (time out error) please review the following information from our help files:&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-Before doing anything else, have your script start writing to your receipt page. For example: Print your page headers and the first part of the page body. If your script prints to the screen first, we recognize that you and your customer have received the transaction results.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-Check that your script permissions are correct and that it can accept an HTTPS POST.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-Check that the script is not completing other functions before writing to the screen such as writing to a database or sending e-mails.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-Please check to see if there are different processes that are used in your script for approvals, declines, or errors. Check each process to be sure that they write to the screen before any other functions.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-Verify that your script is not using redirects upon receiving the response from our servers. Redirects are strongly discouraged because they can potentially interfere with the process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The development site says this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;if the merchant’s web server does not send a positive response after ten seconds, then the connection will time-out&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I'm figuring there's something that their server expects from ours since all is working on our end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I started following the steps and created an HTML header first thing before anything else happens and throw it out on the page. That works when I open the page directly in a browser.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Still nothing...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My system is running PHP, but even developers who use other languages might be able to help here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I basically need to know:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does their server expect as a correct response in order to not call the connection a timeout?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="im"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 May 2014 22:12:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40946#M22208</guid>
      <dc:creator>rlund</dc:creator>
      <dc:date>2014-05-08T22:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40958#M22214</link>
      <description>&lt;P&gt;What is on the relay response page?&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 11:27:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40958#M22214</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-05-09T11:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40962#M22216</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's just it - I don't know what SHOULD be on there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Originally, the shopping cart system returned nothing. Then I tried returning "success", then I followed the suggestion in what I'd been given and created a full simple html page that returns "success" inside the HTML body. I did not set any header data - I just started the HTML code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neither of these has returned a success message from the authorize.net API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what is it that I SHOULD be sending back to the server?&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 13:27:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40962#M22216</guid>
      <dc:creator>rlund</dc:creator>
      <dc:date>2014-05-09T13:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40964#M22217</link>
      <description>&lt;P&gt;Now the interesting thing is that our server logs clearly show that the payment information is received by us. We get the approval code, card type, last 4 digits, etc.&lt;/P&gt;&lt;P&gt;However, authorize.net still throws an error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so authorize.net did post(relay) data back to your site, it expecting a web page in return.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have you try curl the same data to your relay response page and see what the response is?&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 14:37:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40964#M22217</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-05-09T14:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40968#M22219</link>
      <description>&lt;P&gt;No, I have not tried that, but that's a good idea!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I HAVE tried is to just open that page in a web browser, and while it won't post any payment data, it does return a full HTML page back to my browser...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'll try curl and see what happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still wondering, though, what the API expects to receive as a response...&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 14:44:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40968#M22219</guid>
      <dc:creator>rlund</dc:creator>
      <dc:date>2014-05-09T14:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40974#M22222</link>
      <description>&lt;P&gt;OK, I just tried re-sending a payment that has worked before, and I received "Success!" as a response. This is what the shopping cart system sends by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what else could I be missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 20:14:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40974#M22222</guid>
      <dc:creator>rlund</dc:creator>
      <dc:date>2014-05-09T20:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40976#M22223</link>
      <description>&lt;P&gt;have you see this&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://community.developer.authorize.net/t5/Integration-and-Testing/SIM-Relay-Response-Timeout/m-p/12574/highlight/true#M7664"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/SIM-Relay-Response-Timeout/m-p/12574/highlight/true#M7664&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 20:37:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40976#M22223</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-05-09T20:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40978#M22224</link>
      <description>&lt;P&gt;No, I hadn't!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for that!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did notice that it took maybe one or two seconds for the "Success!" response to appear, but if I remember correctly, the timeout is listed in their documentation as 10 or 20 seconds (don't remember, but it had a zero at the end).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I can try manually setting the header to 200 and see if that does something.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 20:39:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40978#M22224</guid>
      <dc:creator>rlund</dc:creator>
      <dc:date>2014-05-09T20:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40980#M22225</link>
      <description>&lt;P&gt;I'm curious to know--if your site wasn't responding with an HTTP 200, which HTTP response code was it sending?&lt;/P&gt;
&lt;P&gt;I can work on updating our documentation to mention we're expecting an HTTP 200, but I'd like a better idea of the use case of forcing the HTTP 200, and why it might need to be forced.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 20:58:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40980#M22225</guid>
      <dc:creator>Lilith</dc:creator>
      <dc:date>2014-05-09T20:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40982#M22226</link>
      <description>&lt;P&gt;Well, honestly I doubt it's a 200 issue since the page loads fine in a browser (when I add HTML output like some documentation suggests) and its output also loads fine using cURL...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am grasping at straws here - I'll try anything at this point!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be frank, the owner of the site is considering alternative payment providers at this point - I have probably wasted 8 hours of intensive research and support chats and am no closer to figuring this out. And I know everything works in our direction because the payments do make it to us... It bugs me when a company gets so big that they refuse to have a developer on call for escalated issues :-( It should be so easy for a developer to watch the logs and simply let me know what our site is not doing that it should be doing - a matter of minutes! But no ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I don't know what else to do, so I will try to force a 200 header even though I doubt it'll make a difference.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 21:03:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40982#M22226</guid>
      <dc:creator>rlund</dc:creator>
      <dc:date>2014-05-09T21:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40984#M22227</link>
      <description>&lt;P&gt;Ah, guess what, the site is NOT sending a 200 - it is sending a 500, but without any visible notice - I had to set cURL to verbose mode to find this!&lt;/P&gt;&lt;P&gt;I hadn't seen any error messages in the server logs so I never even looked at this...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So thanks for pointing this out, or I would never have found this! :-)&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 21:06:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40984#M22227</guid>
      <dc:creator>rlund</dc:creator>
      <dc:date>2014-05-09T21:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40986#M22228</link>
      <description>&lt;P&gt;I found the 500 error, and it's an issue with wpStoreCart that I can't easily diagnose or fix (and the site doesn't out put a php error log for some reason), but at least I have something to go on now (I'll try updating the software, then we'll see).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In any case, thanks so much for pointing out the 200 message - I would never have tested for this otherwise :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 21:58:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/40986#M22228</guid>
      <dc:creator>rlund</dc:creator>
      <dc:date>2014-05-09T21:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50537#M25974</link>
      <description>&lt;P&gt;This thread mentioned that authorize.net was not getting anything back from the merchant's site. I think I am having that problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i click "Submit Payment" on my custom checkout page, the url I see becomes the secure authorize.net site. The page is mostly blank except that one word (hello) that I have in my relay/response page is there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it looks like authorize.net is finding my relay/response page ok, but the receipt&amp;nbsp;page is&amp;nbsp;not sending back anything to authorize.net. Or, maybe the relay/response page is never redirecting to the receipt page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code in my relay/response page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR /&gt;if ($_SERVER["SERVER_PORT"] != 443)&lt;BR /&gt;{&lt;BR /&gt;header('Location: &lt;A target="_blank" href="https://www.site/relay.php');"&gt;https://www.site/relay.php');&lt;/A&gt;&lt;BR /&gt;}&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script type=”text/javascript” charset”utf-8”&amp;gt;&lt;BR /&gt;window.location='&lt;A target="_blank" href="https://www.site.com/receipt.php';"&gt;https://www.site.com/receipt.php';&lt;/A&gt;&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;noscript&amp;gt;&lt;BR /&gt;&amp;lt;meta http-equiv=”refresh” content=”1;url=https://&lt;BR /&gt;www.site/receipt.php”&amp;gt;&lt;BR /&gt;&amp;lt;/noscript&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;hello!&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code in my receipt page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR /&gt;if ($_SERVER["SERVER_PORT"] != 443)&lt;BR /&gt;{&lt;BR /&gt;header('Location: &lt;A target="_blank" href="https://www.site/receipt.php');"&gt;https://www.site/receipt.php');&lt;/A&gt;&lt;BR /&gt;}&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&amp;lt;?php&lt;BR /&gt;if ($_SERVER["SERVER_PORT"] != 443)&lt;BR /&gt;{&lt;BR /&gt;header('Location: &lt;A target="_blank" href="https://www.site/receipt.php');"&gt;https://www.site/receipt.php');&lt;/A&gt;&lt;BR /&gt;}&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;?php&lt;BR /&gt;$card=$_REQUEST['x_card_num'];&lt;BR /&gt;echo"$card and hello";&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The receipt.php does work. I see "and hello" when I go there directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to get my receipt.php page to send something back to authorize.net?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, if the relay/response page is not redirecting to receipt.php, what can I do about that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of the my&amp;nbsp;ttansactions are successful, but I&amp;nbsp;never see the receipt page (I'm using sandbox, but I was using secure authorize.net, and I got the same behavior there),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried removing the SSL coding, but that doesn't help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2015 18:47:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50537#M25974</guid>
      <dc:creator>r2d2</dc:creator>
      <dc:date>2015-05-03T18:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50538#M25975</link>
      <description>&lt;P&gt;The receipt.php does work. I see "and hello" when I go there directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what about your relay.php what do you see If you go there directly?&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2015 19:12:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50538#M25975</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-05-03T19:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50539#M25976</link>
      <description>&lt;P&gt;I see "hello!" when I go to relay.php directly. This is the same as I get when I complete a transaction, but the url at the top of that page is the secure authorize.net url.&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2015 20:09:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50539#M25976</guid>
      <dc:creator>r2d2</dc:creator>
      <dc:date>2015-05-03T20:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50540#M25977</link>
      <description>&lt;P&gt;If you only see hello when you go to relay.php directly, that look to me your redirect is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you see what is the page source on the web browser when you go to relay.php directly?&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2015 21:49:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50540#M25977</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-05-03T21:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50541#M25978</link>
      <description>&lt;P&gt;I looked at the relay.php page source, as you suggested. There were some quotation marks that looked odd, so I removed those and put in some regular quotation marks. As soon as I did that, relay.php redirected me to the receipt.php page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had copied and pasted the code in relay.php from authorize.net, so I'm pretty sure other people could have this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very grateful for you suggestion (source code) because I &amp;nbsp;had spent hours trying to resolve this problem. I can't thank you enough!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I got that problem fixed, but that revealed another problem. I thought I was going to be able collect data from my shopping cart on my receipt.php page. However, I've been unable to do that. I noticed you discussed this problem with someone else, but I think that person may have been using .asp pages. I'm using php. Here is the link to that other discussion:&amp;nbsp;&lt;A target="_blank" href="https://community.developer.authorize.net/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50049/highlight/true#M25551"&gt;https://community.developer.authorize.net/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50049/highlight/true#M25551&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You advised that person to insert the shopping cart data into a db while on the relay.php page, and then use a key to recall it on the receipt.php page. I hope I have that right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I'm using php, couldn't I create session variables on the relay.php page and then echo the session variables on the receipt.php page? I know session variables may not be that secure, but the data I want to echo on the receipt.php page is not that sensitive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 01:35:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50541#M25978</guid>
      <dc:creator>r2d2</dc:creator>
      <dc:date>2015-05-04T01:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50545#M25982</link>
      <description>&lt;P&gt;Because I'm using php, couldn't I create session variables on the relay.php page and then echo the session variables on the receipt.php page? I know session variables may not be that secure, but the data I want to echo on the receipt.php page is not that sensitive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't know if that will work or not, because the site that display the relay.php is authorize.net and not your site, and session don't go across website. But you can try and see if it works or not.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 11:23:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50545#M25982</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-05-04T11:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Payment page returns error, but payment data arrives at our server (wpStoreCart)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50546#M25983</link>
      <description>&lt;P&gt;Session cookies do not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have decided not to have the relay page. Instead, I am having the hosted gateway receipt. That's a nice receipt, and it has a link back to my site, and I can still use my custom shopping cart. When I click "Pay Now" in the shopping cart, I get the receipt from authorize.net. Very nice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;input type='hidden' name='x_receipt_link_method' value='LINK' /&amp;gt;&lt;BR /&gt;&amp;lt;input type='hidden' name='x_receipt_link_text' value='Click here to return&lt;BR /&gt;to the Site&amp;nbsp;home page' /&amp;gt;&lt;BR /&gt;&amp;lt;input type='hidden' name='x_receipt_link_URL' value='&lt;A target="_blank" href="http://site.com/'"&gt;http://site.com/'&lt;/A&gt; /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this works as well in the secure authorize.net site as it does in sandbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to get me through this! I will give you some kudos.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 11:50:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Payment-page-returns-error-but-payment-data-arrives-at-our/m-p/50546#M25983</guid>
      <dc:creator>r2d2</dc:creator>
      <dc:date>2015-05-04T11:50:03Z</dc:date>
    </item>
  </channel>
</rss>

