doubledee Posted April 1, 2011 Share Posted April 1, 2011 Not sure if my title line was worded correctly, but here is what I am trying to understand... I need to hook my website up to a payment gateway to accept credit cards. After I package up the customer's payment details and send the payment gateway an XML string, their server supposedly sends back a request for more information OR it indicates a Pass/Fail message. This is where I am getting lost. If I send data over HTTPS using POST, then how am I supposed to receive a message back from them? It's not like we are on the telephone and there is a "live" link between my web server and theirs?! Can someone please explain how this works? Thanks, Debbie Quote Link to comment https://forums.phpfreaks.com/topic/232419-how-do-you-receive-a-message-over-https/ Share on other sites More sharing options...
lastkarrde Posted April 1, 2011 Share Posted April 1, 2011 I've only worked with Paypal's API so I can only comment on that. They send a POST request to a script location that you specify (generally known as a postback). The POST request contains all of the information about the transaction (was it successful, etc). This will give you an idea on how to interpret the postback. Quote Link to comment https://forums.phpfreaks.com/topic/232419-how-do-you-receive-a-message-over-https/#findComment-1195649 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.