Guest Posted July 27, 2005 Share Posted July 27, 2005 Hi, We have enabled our website to accept payments via SECPay and have come across a slight issue that hopefully someone knows how to resolve. As standard when an item is purchased from our website an order number is generated for the purchase and if the customer chooses to make payment via SECPay, a new order number is generated for the payment. tep_draw_hidden_field('trans_id', STORE_NAME . date('Ymdhis')) Which gives a really long reference number to use used as the trans_id with Secpay, is there anyway to have the order number that is created by OSCommerece to be passed to Secpay at the stage of ordering and if so, does anybody know how to do this or any workarounds. Thanks for any help in advance. Quote Link to comment Share on other sites More sharing options...
MarcoZorro Posted July 27, 2005 Share Posted July 27, 2005 You cant pass the oscommerce order id as its not generated until after the order has been completed by secpay. The only other option you have is to store the order number sent to secpay in the orders table. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 27, 2005 Share Posted July 27, 2005 Hi, Thanks for getting back to me. Do you (or anyone else) know how I can do this easily as I am a newbie in the OSCommerece world? I have PHP Admin running on the server and I am also using Navicat windows software to view the database. Thanks Quote Link to comment Share on other sites More sharing options...
MarcoZorro Posted July 27, 2005 Share Posted July 27, 2005 If you dont know any php then I would suggest that you look for a developer to do this for you. They shouldnt charge you much for such a small piece of work. Quote Link to comment Share on other sites More sharing options...
flappy Posted October 6, 2010 Share Posted October 6, 2010 (edited) The Quickbuy module connects to secpay (now PayPoint) and also provides 1-click payment for returning customers. I've put a link to it at www.wyzz.info/links_page.html in case it helps? Installation support is apparently available too, but I don't know if it costs. Edited October 6, 2010 by flappy Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.