mh2design Forums

Development => Help and Support => Topic started by: amerintconcepts on August 27, 2008, 08:59:51 PM



Title: IPN not working.
Post by: amerintconcepts on August 27, 2008, 08:59:51 PM
I installed the newest version of MH2 Treasury and I first used a dummy paypal email addy until I was told what the real paypal email addy would be and my Professor didn't know that I didn't have the real email up so he tried to donate to a non existent paypal account.  My site received the emails notifying us that the Professor was trying to donate.

After I changed the Paypal email addy to what it should be, I did a trial donation and, though I received an email from paypal, the site didn't receive an email notifying us of the donation. Other emails are going through to the email addy. The email addy is correct in the module and I even re-copied and pasted the IPN url at the bottom of the paypal settings page to the IPN in Paypal.

I tried playing in the Paypal sandbox but it told me it couldn't connect to the IPN url that the site gives at the bottom of the Paypal settings.

Could you let me know what I did wrong or how I can fix this please?

TIA,

amerintconcepts


Title: Re: IPN not working.
Post by: Mick on August 28, 2008, 03:09:47 AM
I did not setup the component to work with the Paypal Sandbox so that option will not work.  May be something that I will add later on.

In the live site, plugging that url (http://yoursite.com/components/com_mh2treasury/ipn/ipnppd.php) into the Paypal IPN area should have no issues.

Did you setup Paypal for IPN verification in the live site?


Title: Re: IPN not working.
Post by: amerintconcepts on August 28, 2008, 07:38:08 PM
"In the live site, plugging that url (http://yoursite.com/components/com_mh2treasury/ipn/ipnppd.php) into the Paypal IPN area should have no issues.

Did you setup Paypal for IPN verification in the live site?"

Yes, I did cut/paste that url into the Paypal IPN area and I checked the box to activate the Paypal IPN area.

Strangely, when the person tried to donate to Paypal using the dummy email addy, I had not set up Paypal for IPN nor had I pasted the url into the module.

The below is what Paypal is saying on the front page after I sign in:

3 Set up your payment solution

Step                         Info Required    Time to Complete    Action
Implement Website                                                                    Go
Payments Standard
             
Find a new solution|Multiuser Access(Demo)|TechnicalOverview|Integration Guide (PDF)
/end of message

I really need to get this up and working for a non profit organization.

TIA,

Tori


Title: Re: IPN not working.
Post by: amerintconcepts on August 28, 2008, 07:48:47 PM
One of the items in the results.txt says:

Logging events<br>

Debug mode activated
Connection to db - OK!
Assigning Post Variables
Opening connection and validating request with PayPal...
Connected to PayPal
Connection to db - OK!
Assigning Post Variables
Opening connection and validating request with PayPal...
Connected to PayPal
Incorrect receiver email: tori@my-email.com , PP Said , aborting
[Business]

But the real email addy is the correct one.  I used a fake one for posting on the forum.

Tori


Title: Re: IPN not working.
Post by: Mick on August 29, 2008, 10:50:00 AM
Add that email address to PayPal for it to be verified.  The issue you are having is that PayPal requires a verified email to match for the IPN to work.

That is a restriction of the PayPal verification process.


Title: Re: IPN not working.
Post by: amerintconcepts on August 29, 2008, 12:09:40 PM
The email addy is correct in both the Donation Module paypal settings and Paypal.  The correct email addy has already been confirmed and is the primary and only email addy in Paypal.

I just used tori@my-email.com in place of the real email addy when I posted on this forum for privacy's sake.  It's a place holder for the real email addy in that last post of mine.



TIA,

Tori


Title: Re: IPN not working.
Post by: Mick on August 31, 2008, 06:32:28 AM
If your email matches the main PayPal information, it almost sounds like the IPN notification has not been turned on and pointed to the correct destination.

-- From the instructions:
Once everything is to your satisfaction, the IPN system return MUST be setup in PayPal for the
automated tracking. The IPN URL link from the last step needs to be added to the PayPal IPN
configuration at the following URL:

https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-ipn-notify

Please make sure that your IPN is turned on and the IPN address matches what is shown in the component.

If you still cannot get it working, please PM me contact information (Teamspeak, Phone, Etc) and I will contact you to assist.


Title: Re: IPN not working.
Post by: amerintconcepts on September 03, 2008, 11:52:10 AM
Mick,

About 3 hours after we spoke, the IPN email came through and this morning I donated $1 again and the donation went through, the email went through, and the transaction was reported in the transaction section so it's working.

I have no idea why it wasn't working but at least it is now.

Thanks,

Tori


Title: Re: IPN not working.
Post by: Mick on September 03, 2008, 05:42:16 PM
I am glad that it is working, I think I received an email from PayPal stating an outage was planned.

That may have been the issue, but I am glad you are all set!