Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal not returning to store


csqepaul

Recommended Posts

I installed Paypal_IPN_v2.2 and configured it with Enable Encrypted Web Payments set to true and the key and certificate files set. the process seems to work up to the point of clicking the "Complete your Order Confirmation" button in PayPal. Instead of returning to the store I am sent to a page displaying a 404 error with file not found. The page URL is https://www.paypal.com/us/cgi-bin/checkout_process.php. The error says the file was not found on this server. Any ideas what is wrong here?

Link to comment
Share on other sites

Happy to help on this one Paul. We ran into this problem today on a test site.

This is caused by your shop not having SSL configured. The url your shop passes to Paypal as the return processing address assumes SSL is configured. If not, it passes a blank url and you are left with paypal filling in the blanks with its own url.

 

If you don't have SSL you'll have to hack the code to use a NONSSL href.

 

Now if I could just get my IPN to function...

Link to comment
Share on other sites

I installed Paypal_IPN_v2.2 and configured it with Enable Encrypted Web Payments set to true and the key and certificate files set. the process seems to work up to the point of clicking the "Complete your Order Confirmation" button in PayPal. Instead of returning to the store I am sent to a page displaying a 404 error with file not found. The page URL is https://www.paypal.com/us/cgi-bin/checkout_process.php. The error says the file was not found on this server. Any ideas what is wrong here?

It looks like the problem is that you have not set the return URL correctly in your Paypal profile.

I doubt that your domain is called www.paypal.com and as you see the checkout_process.php is appended to that domain. You shoud give the full path to your checkout_process.php like ie. https://www.yourdomain.com/checkout_process.php or, if you have installed into the default osC subdir, https://www.yourdomain.com/catalog/checkout_process.php (leave the s from https of if you do not have SSL on your checkout pages).

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