Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2checkout module


jonathanz

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!

Link to comment
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!

Link to comment
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?

Link to comment
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?

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

  • 5 months later...

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...