Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal payment not working "ReturnURL is invalid."


woodde

Recommended Posts

Hi there i need some help to get the Paypal Express or Paypal Standard payment working for my Shop.

 

I'm using osCommerce Online Merchant v2.3.3

 

When choosing Paypal Express payment from cart it loops back to the cart again with the error message "ReturnURL is invalid." Where can i modify that Return URL and what do i have to change?

 

In Admin Panel at Payment modules i've tried "Test API Credentials" and it returns this error

 

Warning: require(../includes/modules/payment/paypal_express.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/*****/html/admin/ext/modules/payment/paypal/paypal_express.php on line 15
Warning: require(../includes/modules/payment/paypal_express.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/*****/html/admin/ext/modules/payment/paypal/paypal_express.php on line 15
Fatal error: require() [function.require]: Failed opening required '../includes/modules/payment/paypal_express.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/*****/html/admin/ext/modules/payment/paypal/paypal_express.php on line 15

 

configure.php is like that

define('HTTP_SERVER', 'http://www.****.de');
define('HTTPS_SERVER', 'http://www.****.de');
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_IMAGES_PRODUCTS', 'http://images.****.de/');
define('DIR_WS_IMAGES_PRODUCTS_SMALL', 'http://images.****.de/products_small/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

Edited by woodde
Link to comment
Share on other sites

Hi Woodde, I am anewbie to OSC. but i think that I can help you.

 

Try to update those modules into the catalog instead of uploading it into the admin folder

Edited by abuisaacm
Link to comment
Share on other sites

Hi Woodde, I am anewbie to OSC. but i think that I can help you.

 

Try to update those modules into the catalog instead of uploading it into the admin folder

 

Thanks for your reply.

 

I've already copied all files from the standard version modules folder into my catalog / modules folder and nothing changed. Still the same error.

Edited by woodde
Link to comment
Share on other sites

  • 1 month later...

Hey woodie

Return URL you need to modify in your paypal account under PayPal under Website Preferences.

It should be http://www.yoursite.com/checkout_process.php

 

Moreover set in your configure.php file

 

define('HTTP_COOKIE_DOMAIN', 'www.yoursite.com');

define('HTTPS_COOKIE_DOMAIN', 'www.yoursite.com');

 

 

Hope this will solve the problem.

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