Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trouble with PayPal not returning to correct OSC page


airtap

Recommended Posts

Posted

I hope someone can help me with the code on this problem. The problem is: When a customer chooses the PayPal option and then opts to use PayPal's Credit Card option, the transaction goes through but when the "Return to Merchant" button is selected, PayPal returns the customer to the "Login" page, not the "checkout_success.php" page as is necessary for the order to be entered and show up in the Admin Panel under "Orders". Now, when the customer uses the PayPal - PayPal Account option and places the order, the return URL (" checkout_success.php" - set by me in the "Website Preferences" page) brings the customer to the proper page and the order gets entered. After DAYS trying to contact PayPal for a solution on how to set the URL return for the CC option, I was finally told that a variable (URL) in "checkout_confirmation.php" needs to be set to guarantee the customer returns to "checkout_success.php" Is this how this is supposed to work? I can't be the only one using PayPal who has experienced this problem. Can anyone explain how to code the "checkout_confirmation.php" page as PayPal stated. There are no obvious URL's to change that I can see. If this is not the way to go, can someone please offer a way to make this work? Your help is very much appreciated. JP

Posted

Hello

I did not change anything on my site files, only changed the return URL on my paypal profile to return to the checkout_success.php and then enabled it.

if any files were to be changed then i would have thought it would be the paypal.php in modules, depending on which version of OSC and which type of PayPal module you use.

Paypal PRO, Express, standard etc....

Hope it helps you

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
I hope someone can help me with the code on this problem. The problem is: When a customer chooses the PayPal option and then opts to use PayPal's Credit Card option, the transaction goes through but when the "Return to Merchant" button is selected, PayPal returns the customer to the "Login" page, not the "checkout_success.php" page as is necessary for the order to be entered and show up in the Admin Panel under "Orders". Now, when the customer uses the PayPal - PayPal Account option and places the order, the return URL (" checkout_success.php" - set by me in the "Website Preferences" page) brings the customer to the proper page and the order gets entered. After DAYS trying to contact PayPal for a solution on how to set the URL return for the CC option, I was finally told that a variable (URL) in "checkout_confirmation.php" needs to be set to guarantee the customer returns to "checkout_success.php" Is this how this is supposed to work? I can't be the only one using PayPal who has experienced this problem. Can anyone explain how to code the "checkout_confirmation.php" page as PayPal stated. There are no obvious URL's to change that I can see. If this is not the way to go, can someone please offer a way to make this work? Your help is very much appreciated. JP

I'm sorry that I don't have a solution for your problem but, it sounds as if you might be able to help me with mine: I'm having trouble getting my customers back to my site from PayPal AT ALL. For examples sake, if the web address is: www.socks.com, what is the full URL address that includes the "checkout_success.php" portion that must be entered in the PayPal Profile?

Posted
I'm sorry that I don't have a solution for your problem but, it sounds as if you might be able to help me with mine: I'm having trouble getting my customers back to my site from PayPal AT ALL. For examples sake, if the web address is: www.socks.com, what is the full URL address that includes the "checkout_success.php" portion that must be entered in the PayPal Profile?

 

 

To get customers to return from PayPal to your site you must log in to your PayPal account. Click on the profiles tab and then the Instant Payment Notification Preferences link.

 

Set the value to on/true/yes or whatever it is and then set the return url to checkout_succes.php which should be something like http://socks.com/catalog/checkout_success.php. "Catalog" needs to be replaced by the file or files path relevant to your site.

Posted
Hello

I did not change anything on my site files, only changed the return URL on my paypal profile to return to the checkout_success.php and then enabled it.

if any files were to be changed then i would have thought it would be the paypal.php in modules, depending on which version of OSC and which type of PayPal module you use.

Paypal PRO, Express, standard etc....

Hope it helps you

 

Hi Fimble - thanks for the reply. Are you saying that by setting the return URL in Website Preferences (as I outlined earlier) that your customers will return to "checkout_success.php" even when using the CC option? This is the part I can't get my setup to do. As I stated, It works fine when my customer uses the PayPal acount - just not when he uses CC option. Is there a specific type of PayPal account I should be using? What type do you use? Thanks again for your help. Jerry P.

Posted
To get customers to return from PayPal to your site you must log in to your PayPal account. Click on the profiles tab and then the Instant Payment Notification Preferences link.

 

Set the value to on/true/yes or whatever it is and then set the return url to checkout_succes.php which should be something like http://socks.com/catalog/checkout_success.php. "Catalog" needs to be replaced by the file or files path relevant to your site.

 

 

Hello Aiden. Thank you, too for the response. Can you explain how setting the return URL from "Instant Payment Notification Preferences" (as you mention) differs from setting it from "Website Payment Preferences"? I'm not really sure what the IPN does when I redirect to my "checkout_success.php" page. I appreciate your (and anyone else's) help. Jerry P.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...