Jump to content

Redirect Payment Gateway


JamieGill

Recommended Posts

Hi Guys,

 

Just a quick enquiry Im currently having a crack at doing a Redirect payment gateway to Servebase. They have sent me the relevant details which Ive created a form to pass the relevant UN/PW/Amount which then sends me to their URL which generates a successful session ID Message.

 

This is where Im hitting a brick wall as thats classed as the Response Request which if I use another form to send the session ID and UN it opens the gateway fine. How would I send the UN and Session ID back upon a Response so when the first form goes it collects it and relays it. As obviously I cant create two forms it all has to be done one Pay now button. Any info to get me passed this brickwall would be great.

 

Thanks in advance

J

Link to comment
https://forums.phpfreaks.com/topic/274821-redirect-payment-gateway/
Share on other sites

I've never worked with (or heard of) Servebase but I suspect you need to use something like cURL to do the Response Request part of it - and then present only the "second form" to the end-user. Upon submitting this, they will be redirected to the payment gateway to continue payment.

 

For a decent tutorial on cURL, you can check out this one at Nettuts.

I've never worked with (or heard of) Servebase but I suspect you need to use something like cURL to do the Response Request part of it - and then present only the "second form" to the end-user. Upon submitting this, they will be redirected to the payment gateway to continue payment.

 

For a decent tutorial on cURL, you can check out this one at Nettuts.

 

Thanks Ill take a look but that makes sense on how it should be done.

 

I'll take a look at the tutorial today, as the client wants it asap if I still dont achieve the goal if your interested in the job please do not hesitate to get in touch.

 

Many thanks

J

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.