Jump to content
Sign in to follow this  
jonathanz

2checkout module

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

:D God bless you thanks .. verry helpfull now it works

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.

Share this post


Link to post
Share on other sites

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: wanki_yeung@yahoo.com pass: qwe123

 

 

thanks

 

Toyhippo

Share this post


Link to post
Share on other sites

The temp acc: wanki_yeung@yahoo.com.hk 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: wanki_yeung@yahoo.com pass: qwe123

thanks

 

Toyhippo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×