OsCommerce + Paypal = Fucking BS

Status
Not open for further replies.

SeoDave

Bumbling Optimist
Mar 22, 2007
367
13
0
I'm rather new to the whole e-commerce thing as I usually just put up adsense/AM sites. So I set up an e-commerce site using osCommerce. For the most part I like osCommerce. It's easy to setup and customize. I am accepting payment for items using Paypal. Here's the problem.

1) Person adds item to shopping cart
2) Person goes to shopping cart to checkout
3) checkout requires login
4) after login checkout verifies address/price
5) Person clicks confirm and is sent to paypal
6) Person pays in paypal and is sent to a PAYPAL CONFIRMATION page

THIS IS WHERE THE PROBLEM IS

When people hit the "Payment successfully sent" page they then have to option to return to my osCommerce site (via a link that says CLICK here to return to SITE) or just bounce, or continue to their paypal account. If they do anything other than return to my osCommerce site, I receive the payment but osCommerce doesn't process the transaction and assumes they never paid so the order doesn't show as "pending". WTF? So basically the customer has to return to my site after using paypal to pay or else the order doesn't work?

Well, if that's the case is there a way to setup the order page so they are automatically redirected to my site? I really have to either fix this from the Paypal end (by redirecting to my site after payment) or on the osCommerce end (receive confirmation from paypal WITHOUT the user returning to my site and then process order).

Anyone else run into this before?
 


Right-
You need to use IPN and have a page setup which receives the response from PayPal. This is how I process the payments on my current site. This way, if the user doesn't click the "Return to XYZ" link after they're through with PayPal, your site will still process the transaction.

This problem was driving me crazy until I discovered IPN.
 
Status
Not open for further replies.