Guest Posted April 22, 2004 Share Posted April 22, 2004 i use the Plugnpay module contrib http://www.oscommerce.com/community/contributions,395/page,9 The order # i recieve from Plugnpay after a successfull transaction is different from that with the osCommerce has generated for that same particular transaction. It is horribly confusing when recieving confirmation emails or when I try identifying transactions for activities like voids and returns. I have come up with two possible solutions 1. the Plugnpay support team suddgested that i update the osCommerce cart to grab the 'orderID' field and seomt it somehwere in the osCommerce databases. - This one i dont even know where to start so i looked for another solution 2. I read the Plugnpay documentation and there is a option that allows me to submit a unique order # with the varariable 'orderID' this will alow me to specify what Plugnpay should use for as order #. - osCommerce generates order # only after the transaction has been approved/authenticated and confirmed by Plugnpay. - How do i configure the module to generate a unique 'orderID' and submit it along with other transaction details like the card no. shipping address etc. so that Plugnpay will use the "order #" that osCommerce has specified. Link to comment Share on other sites More sharing options...
Guest Posted April 23, 2004 Share Posted April 23, 2004 i found this in \includes\modules\payment\plugnpay.php # generate pnp orderid so that we don't get duplicates $pnp_date = date("YmdHis"); $pnp_orderID = $pnp_date . substr(getmypid(),0,3); can u help me replace pnp_orderID value with the osCommerce order number and not the current date thanks alot in advanced Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.