Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal IPN 0.96 Issue


Skeeter

Recommended Posts

I haven't seen this issue raised yet, so I thought I'd post it in case somebody else runs into it.

 

I was having trouble getting the module to work. The payment was successful and the transaction appeared in the database. The problem was that no emails were sent and, in my case, no download links were displayed. The orders_status was still set to Paypal Processing (99999).

 

The problem turned out to be that the PayPal email address I use in the IPN module does not match the 'primary' email address that I have listed with PayPal. As you probably know, you can have multiple email address listed with PayPal. This seems to be a condition that the IPN module doesn't take into account.

 

The problem is in the paypal_notify.php file on the line

if (strtolower($receiver_email)==strtolower(MODULE_PAYMENT_PAYPALIPN_ID)) { ... }

To make it work for me, I just added my 'primary' address

    if (strtolower($receiver_email)== (strtolower(MODULE_PAYMENT_PAYPALIPN_ID) || '[email protected]')) { ... }

Fortunately I didn't lose too much hair over this one. :wink:

Scott
Link to comment
Share on other sites

Hi Skeeter!

 

Thanks for it!

 

That problem is already solved in the new and unreleased yet v0.97 thanks to someguy ( :roll: I forget his name, but the thread is somewhere on this forum) that had the same problem.

 

v0.97 is already done and ready to be released, but the truth is that I dont have the time right now to test it with the new osCommerce releases.

 

As soon as I get the change to test it I will upload the new release that fix some bugs and improve some things.

 

Best regards

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