Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal "Return to Merchant" link don't work


MikeMike

Recommended Posts

When I arrive on paypals login page and click on the "Return to merchant" link, it takes me back to my site as it is suppose to.

BUT, if I login to paypal and click the "Return to merchant" link (on first page after logging in) it basically just refresh the same page and not taking me back to my site.

 

Someone in another thread mentioned that it could be an error in my config.php.

I don't see any errors there, but here it is. Maybe someone else can see what's wrong:

 

define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.domain.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'domain.com');

define('HTTPS_COOKIE_DOMAIN', 'domain.com');

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_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/account/www/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'userhere');

define('DB_SERVER_PASSWORD', 'pwhere');

define('DB_DATABASE', 'dbname');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql');

Link to comment
Share on other sites

That reminds me. Someone earlier had a problem where the Return to Merchant link was garbled and it turned out that it was a PayPal issue. Might try contacting their support and seeing if they know what's going on.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

I just received this email from paypal.

Could that be related?

 

Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

 

http://www.yourshop.com/paypal_notify.php

 

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.

 

I don't understand where that paypal_notify.php would come from. It's not on the location they mention above and I don't see it anywhere else on my server or in the contributions I have installed:

 

osCommerce PayPal IPN Module v1.0 For 2.2MS2

PayPal Website Payments Pro (US/UK) by dynamoeffects v0.9.2

Link to comment
Share on other sites

I had my settings in paypals "Instant Payment Notification Preferences" like this:

 

Instant Payment Notification (IPN) On

Instant Payment Notification (IPN) URL: http://www.yourshop.com/paypal_notify.php

 

The url field should be left empty right?

I'm pretty sure I read somewhere that paypal_notify.php isn't needed anymore.

Link to comment
Share on other sites

I'm confused, why do you have both WPP AND Paypal IPN installed? Express Checkout replaces the need for IPN.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

I'm confused, why do you have both WPP AND Paypal IPN installed? Express Checkout replaces the need for IPN.

 

ooops :-" That took care of everything. Now the links back from paypal are working. For some reason I had the idea that paypal express let your customers checkout without creating an account.

 

Thanks for the help and sorry about the confusion...

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