Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal Express checkout don't redirect to Paypal (Oscommerce)


Recommended Posts

Posted

Hello all! Before start, thanks for your help.

 

 

My problem is the following:

 

 

I have a webhosting with Oscommerce v2.3.1 and i want to apply a Paypal Express payment method.

 

For do it, i made a sandbox account in paypal and enabled/configured in Oscommerce the Paypal express checkout module with:- API Username - API Password- API Signature. The other options are configured by default and the transaction method are configured by sandbox.

 

 

Making Test from the admin panel I get the following error:

 

 

Failure!

The PayPal Express Checkout credentials are not set up correctly for the sandbox environment.

 

array(0) { }

 

 

 

Making a debug to my mail,I get the following:

 

 

$HTTP_POST_VARS:

 

 

$HTTP_GET_VARS:

 

 

 

It is produced when I select a product and Paypal express checkout payment method

 

 

URL don't redirect to PayPal and returns de follow:

 

 

 

catalog/shopping_cart.php?error_message=

 

 

 

I tried to install Oscommerce in local and all works fine.

 

 

The configuration of php.ini in web hosting show cURL and OpenSSl enabled

phpinihosting.jpg

 

The configuration of php.ini in local

phpinilocal.jpg

 

 

Anyone know the solution o had a similar problem?

 

Thank you very much, Sorry for my bad english!

Posted

You will need to create php.ini file in the following folder: /catalogue/ext/modules/payment/paypal with the following code:

register_globals = On

 

try?

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted

You will need to create php.ini file in the following folder: /catalogue/ext/modules/payment/paypal with the following code:

register_globals = On

 

try?

Hello! Thanks for answer.

I created a php.ini with register globals on in this folder, but still not work.

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.

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...