Jump to content

create random order number for EPDQ payments


roldahayes

Recommended Posts

Hi, Im integrating Barclays EPDQ into a website and am coming unstuck with generating an order numer for it.

 

At the moment, the code for the order id is:

 

$params.="&oid=123";

 

So when the item is payed for, the order number is "123"

 

Is there a simple way for the page to generate a new order ID everytime the button is clicked?

;D THanks for that! works well.

 

Now, if I wanted to take this a step further, would it be possible to code a buy button with a set price, to jump to this page where the line

 

$params.="&total=150.00";

 

could be automatically adjusted?

 

Hope that makes sense!

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.