Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal IPN w/ Paypal Sandbox -- does it work?


Recommended Posts

Posted (edited)

Hi all,

 

I have installed the Paypal IPN module, this is the version judging from catalog/includes/modules/payment/paypal_ipn.php:

 

paypal_ipn.php,v 1.1.2.11 2004/12/05 19:14:35

 

I spent some time messing around with paypal sandbox, creating three accounts (one of each type), and getting them to verified status, etc. I tested sending money and everything.

 

However, I must still be doing something wrong. The way I understand it, Paypal IPN is supposed to enter a customer ORDER into osC, as soon as they see the confirm checkout screen, i.e. before they are redirected to paypal to make the payment.

 

Now, I am seeing the orders come up no problem, set to "Preparing [Paypal IPN]" status. But when I actually log into paypal (as a test customer) and send the money, nothing seems to happen.

 

I've configured the Paypal IPN module to use the TEST gateway server, not Live. The receiving and sending accounts are both valid paypal sandbox accounts. The money is being sent fine through paypal sandbox. However, there are two huge problems:

 

1) Paypal IPN doesn't seem to be working for me, in that osC is not updating the order status once the Paypal payment is made. If I understand correctly, Paypal (even the sandbox hopefully) is supposed to send some data to osC so that it knows the payment went through, and then osC is supposed to change the order status (in the config screen I've set this to "Processing", but whatever..)

 

It's not doing this for me, leading me to believe that Paypal IPN either doesn't work with sandbox, or that SSL is required (I have turned encrypted payments off), or something else I'm missing. Can someone please help me with this?

 

 

2) The customer isn't sent an email about their order unless they hit the "continue" button from paypal after the payment is made, which redirects them back to the store. Maybe this is a design limitation, but I thought this was part of what Paypal IPN was designed to get around. Not a huge deal, though.

Edited by raddygast
Posted

I just upgraded to the Paypal IPN version that is 1.2.something, posted to the contrib section by someone from Portugal.

 

It changed the description of the payment method (Which now reads "Visa, Mastercard, American Express.... (Paypal)" ) and it added a couple of seemingly useless textboxes in the module configuration menu, but it still doesn't work.

 

I went to the paypal site and read up on how the URL's are supposed to work, that Paypal sends a FORM POST, and my site is supposed to sent an HTTP POST back, etc, with all those "VERIFIED" / "INVALID" status messages. But I have no idea if I'm supposed to do that manually or if the Paypal IPN module is supposed to do it for me.

 

Can anyone state the obvious for me here?

Posted
I just upgraded to the Paypal IPN version that is 1.2.something, posted to the contrib section by someone from Portugal.

 

It changed the description of the payment method (Which now reads "Visa, Mastercard, American Express.... (Paypal)" ) and it added a couple of seemingly useless textboxes in the module configuration menu, but it still doesn't work.

 

I went to the paypal site and read up on how the URL's are supposed to work, that Paypal sends a FORM POST, and my site is supposed to sent an HTTP POST back, etc, with all those "VERIFIED" / "INVALID" status messages. But I have no idea if I'm supposed to do that manually or if the Paypal IPN module is supposed to do it for me.

 

Can anyone state the obvious for me here?

I was wondering the same as I have just installed the same prog, which worked fine insofar as it runs through the whole exercise and I end up back on the checkout success page. I look in the sandbox and find the amount credited, but have not actually received a notification from PayPal (via email?) that my a/c has been credited.

 

Although it seems to work fine, having read the PP site I am a trifle confused!!??

 

Steve

Posted
I was wondering the same as I have just installed the same prog, which worked fine insofar as it runs through the whole exercise and I end up back on the checkout success page. I look in the sandbox and find the amount credited, but have not actually received a notification from PayPal (via email?) that my a/c has been credited.

 

Although it seems to work fine, having read the PP site I am a trifle confused!!??

 

Steve

 

 

There were two things that were wrong for me:

 

1) PayPal sometimes sucks with IPNs. At least in Sandbox mode. This was an issue back in February apparently. But I had the issue two nights ago. Notifications were delayed over an hour, but they did arrive eventually.

 

2) The big bug was that at first, I hadn't copied the file "ipn.php" to my main catalog directory, when I first installed the package! I just didn't notice it sitting in the root of the zipfile. Once I copied that I started getting notifications right away.

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