jonathanz Posted December 26, 2006 Share Posted December 26, 2006 Hi, I am using 2checkout payment module, it works fine after I went through the 2checkout web interface to go enter my credit card info etc. The payment went through and card is charged. However at the last step when I click on "Click here to finalize" button, 2checkout forwarded me back to checkout_payment.php with an error saying there's a error processing your credit card. Hence the order did not enter into my store's database. what's wrong? I'm sure someone has encountered this before.. I am using oscommerce v2.2. thanks! Quote Link to comment Share on other sites More sharing options...
jonathanz Posted December 26, 2006 Author Share Posted December 26, 2006 after I enabled Direct-Return at 2checkout's website, now when user finishes ordering process at 2checkout, he won't be return to my site, but his order info does correctly get entered to my oscommerce database. Which is great. what is causing it not able to pass the info back to my oscommerce database in the case when direct return is not enabled? I read somewhere that one is using post, and the other is using get... so why isn't direct-return off not working?? thanks! Quote Link to comment Share on other sites More sharing options...
jonathanz Posted December 26, 2006 Author Share Posted December 26, 2006 Ok I have figured out why 2checkout isn't updating my oscommerce database and return to my site properly in the case when Direct-return is false after user clicks on finalize order: It seems that an earlier version of 2checkout is not returning parameters to my site correctly. So i changed my code to use version 2 in pm2checkout.php: //$this->form_action_url = 'https://www.2checkout.com/cgi-bin/Abuyers/purchase.2c'; $this->form_action_url = 'https://www2.2checkout.com/2co/buyer/purchase'; However I still have problem when Direct-Return is turned on, it simply doesn't return to my site. what's wrong? Quote Link to comment Share on other sites More sharing options...
bidsea Posted December 26, 2006 Share Posted December 26, 2006 I use 22checkout and my problem is that the order information is not passed to my oscommerce shop and it dont show up in my email that i placed in send extra order to,,,, can you tell me where to pase the code or how to fix this please?? Ok I have figured out why 2checkout isn't updating my oscommerce database and return to my site properly in the case when Direct-return is false after user clicks on finalize order: It seems that an earlier version of 2checkout is not returning parameters to my site correctly. So i changed my code to use version 2 in pm2checkout.php: //$this->form_action_url = 'https://www.2checkout.com/cgi-bin/Abuyers/purchase.2c'; $this->form_action_url = 'https://www2.2checkout.com/2co/buyer/purchase'; However I still have problem when Direct-Return is turned on, it simply doesn't return to my site. what's wrong? Quote Link to comment Share on other sites More sharing options...
jonathanz Posted December 27, 2006 Author Share Posted December 27, 2006 I use 22checkout and my problem is that the order information is not passed to my oscommerce shop and it dont show up in my email that i placed in send extra order to,,,, can you tell me where to pase the code or how to fix this please?? find the file catalog\includes\modules\payment\pm2checkout.php. change the line from:$this->form_action_url = 'https://www.2checkout.com/cgi-bin/Abuyers/purchase.2c'; to:$this->form_action_url = 'https://www2.2checkout.com/2co/buyer/purchase'; and also turn direct-return off under look and feel in 2checkout. Quote Link to comment Share on other sites More sharing options...
bidsea Posted December 29, 2006 Share Posted December 29, 2006 :D God bless you thanks .. verry helpfull now it works find the file catalog\includes\modules\payment\pm2checkout.php. change the linefrom:$this->form_action_url = 'https://www.2checkout.com/cgi-bin/Abuyers/purchase.2c'; to:$this->form_action_url = 'https://www2.2checkout.com/2co/buyer/purchase'; and also turn direct-return off under look and feel in 2checkout. Quote Link to comment Share on other sites More sharing options...
scalextric Posted June 17, 2007 Share Posted June 17, 2007 Hello eveyone, I use OS2.2 and pm2checkout v2.1b. Eveything works fine. The only problem is the amount send to 2checkout is wrong. In the confirmation page of by site : Item : $34.99 + shipping 5.1 = 40.09 When it forwards to 2checkout, it shows: Qty Purchase Item Price Total 1 Cart 20070617221923 $ 75.13 USD $ 75.13 USD What is the problem?? I have tried paypal, the amount passed to paypal is correct. Here is my site: www.toyhippo.com you can try using a temp acc: [email protected] pass: qwe123 thanks Toyhippo Quote Link to comment Share on other sites More sharing options...
scalextric Posted June 17, 2007 Share Posted June 17, 2007 The temp acc: [email protected] pass: qwe123 thanks Hello eveyone, I use OS2.2 and pm2checkout v2.1b. Eveything works fine. The only problem is the amount send to 2checkout is wrong. In the confirmation page of by site : Item : $34.99 + shipping 5.1 = 40.09 When it forwards to 2checkout, it shows: Qty Purchase Item Price Total 1 Cart 20070617221923 $ 75.13 USD $ 75.13 USD What is the problem?? I have tried paypal, the amount passed to paypal is correct. Here is my site: www.toyhippo.com you can try using a temp acc: [email protected] pass: qwe123 thanks Toyhippo Quote Link to comment Share on other sites More sharing options...
Guest Posted June 20, 2007 Share Posted June 20, 2007 hi, it this solved?? how?? 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.