Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is it relatively easy to..


Guest

Recommended Posts

Posted

Here's my situation.

 

I have integrated barclays epdq as a pay module (available on request if anybody wants it) - but I have a small problem.

 

OSCommerce doesnt conclude the order until epdq has returned the user to the checkout_process page, which lots of people may not do!

 

EPDQ does send (server to server) a link back, to tell you the result of the charge, but this is without user intervention, making it difficult to call checkout_process automatically.

 

I think I need to save the cookies in a database and use the return oid (that I supplied, and the only reference I get back) but I dont know what ones.

 

Any ideas?

 

Mike

Posted

ok, I've tried to do this alone, here's my results so far.

 

It seems the easiest way for me to succeed it to restore a session with its id and then call checkout_process on its own.

 

This however causes problems as the epdq server does not recognise header:location requests, causing the checkout to fail (but it still does not send an email!)

 

i've tried replacing rep_redirect with include(FILENAME_CHECKOUT_SUCCESS); but without success funnily enough.

 

What's the easiest way to restor the session before I include checkout_process.php so that the correct variables are there as if somebody had returned from the "pay" page automatically?

  • 9 months later...
Posted

Mike,

 

DOes your EPDQ module use curl?

 

My ISP doesn't actually support curl, but before I move everything over to a new host, is there anything I can do? :shock:

Some people see things as they are and say "Why?", I dream things that never were and say "Why Not!"

Archived

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

×
×
  • Create New...