conastatu
02-11-2008, 06:19 AM
I'm working on a custom shopping cart for my wife's small work-at-home business. The cart is working as expected and I'm up where I need to transmit the data to the payment gateway.
Using a secure connection, we are transmitting the necessary data to the gateway. I have a form setup with the form action set to the gateway's server.
I can't seem to wrap my head around how to read the response from the gateway. The transaction responses are returned in the body of the HTTP
response in a query string name/value format delimited by ampersands. For
example: variable1=value1&variable2=value2&variable3=value3
So, once the buyer clicks "Checkout", the info is sent to the gateway, but how do I read the response?
Any insight would be greatly appreciated. (My wife bakes great cookies).
Using a secure connection, we are transmitting the necessary data to the gateway. I have a form setup with the form action set to the gateway's server.
I can't seem to wrap my head around how to read the response from the gateway. The transaction responses are returned in the body of the HTTP
response in a query string name/value format delimited by ampersands. For
example: variable1=value1&variable2=value2&variable3=value3
So, once the buyer clicks "Checkout", the info is sent to the gateway, but how do I read the response?
Any insight would be greatly appreciated. (My wife bakes great cookies).