andrewfr Posted February 14, 2003 Posted February 14, 2003 I am trying to create a purchase module for online cc processing by my bank. They require a reference number to accompany the transaction. It would be convenient to use the order number as generated by osCommerce, but this number is generated after the purchase module kicks in. Can anyone suggest a solution? Thanks in advance, Andrew
Guest Posted February 14, 2003 Posted February 14, 2003 which bank is the module for?... somebody may well have a working module.
Guest Posted February 14, 2003 Posted February 14, 2003 Hi, It does depend on what module you are using, but if it is a requirement you can add the following code into the module and simply pass it to your provider as a hidden field $uid. $uid = tep_create_random_value(16, 'digits'); // Create a UID This will create a random 16 didgit number on each call of the page ie: 4567865456548563 If you want a smaller value simply change the number.... :D Hope this is what you are after. Regards Ed i-netmedia[/code]
andrewfr Posted February 18, 2003 Author Posted February 18, 2003 Many thanks for the replies The Bank is the Siam Commercial Bank in Bangkok. I'll try the random number code. It will also need to be posted to the order info DB. Regards, Andrew
Mayhem Posted February 18, 2003 Posted February 18, 2003 Just wondering if you got this working? I'm considering trying this to but would appreciate feedback... E.
andrewfr Posted February 19, 2003 Author Posted February 19, 2003 Give me a week or so and I'll let you have a copy... Rgds, Andrew
poj Posted December 8, 2003 Posted December 8, 2003 I'm about to use payment gateway service from SCB(Siam commercial Bank) too, would you please kindly send me your SCB payment module via E-mail? Thank you [email protected]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.