PayPal Donation Extension

Paypal link ipn don't work - PayPal Donation Extension

Paypal link ipn don't work

by Vastasia2018 » Fri Jan 18, 2019 5:23 pm

Hi, I installed the extension on my forum (3.2.3). I did a test and everything works perfectly but, after that, it stopped working.

Precisely, after choosing the amount and clicking on the "Donation" button, a new page opens with links

Code: Select all

https://ipnpb.paypal.com/cgi-bin/webscr
and stay several minutes loading. After a few minutes this screen is shown

Image

I have a Paypal business account.
In Paypal "Instant payment notification (IPN)" settings I read

URL notification https://xxxxx/app.php/ipn-listener
Message delivery Activated


Why did it stop working?
Can you help me?
Thank you.
Vastasia2018
Registered User
Posts: 125
Joined: Wed Oct 24, 2018 12:34 pm
Contact:

Re: Paypal link ipn don't work

by Skouat » Fri Jan 18, 2019 6:37 pm

Hi,

Please read this post
Skouat
Code Contributor
Posts: 1038
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: Paypal link ipn don't work

by Vastasia2018 » Sat Jan 19, 2019 8:34 am

Skouat wrote:Hi,

Please read this post
Thanks Skouat,

replacing link

Code: Select all

https://ipnpb.paypal.com/cgi-bin/webscr
to

Code: Select all

https://www.paypal.com/cgi-bin/webscr
in main_controller.php file now works (I checked before, the link https://ipnpb.paypal.com/cgi-bin/webscr is still not working).

Should I report to Paypal?
Vastasia2018
Registered User
Posts: 125
Joined: Wed Oct 24, 2018 12:34 pm
Contact:

Re: Paypal link ipn don't work

by Skouat » Sat Jan 19, 2019 11:06 am

Vastasia2018 wrote:Should I report to Paypal?
You can, but normally it's up to me to reported this. :oops:
I haven't yet taken the time to do it.
Skouat
Code Contributor
Posts: 1038
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: Paypal link ipn don't work

by kwakaphp » Sun Feb 17, 2019 6:17 am

This extension is not working for me.

Changing the link to https://www.ipnpb.paypal.com/cgi-bin/webscr in the main_controller.php results in
PayPal-ipnpbIssue6.PNG
Testing the IPN works fine in the Sandbox but not live. However, the IPN tested OK with https://tld.com but not with https://tld.com/forum

Sandbox:
PayPal-ipnpbIssue3.PNG
PayPal-ipnpbIssue4.PNG
PayPal-ipnpbIssue5.PNG
Not working in live/production environment.
PayPal-ipnpbIssue.PNG
PayPal-ipnpbIssue2.PNG
PayPal account is a business account.

Any hints or help would be appreciated.

Thanks
kwakaphp
Registered User
Posts: 23
Joined: Mon Dec 22, 2008 10:46 am
Name: Bazz
Contact:

Re: Paypal link ipn don't work

by Skouat » Sun Feb 17, 2019 4:33 pm

kwakaphp wrote:Changing the link to https://www.ipnpb.paypal.com/cgi-bin/webscr in the main_controller.php results in
This is because you changed with an invalid link.
Please read this thread and apply the correct change. ;)
Skouat
Code Contributor
Posts: 1038
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: Paypal link ipn don't work

by kwakaphp » Mon Feb 18, 2019 7:50 am

Sorry, the first image is what I get with the addition of www in the URL

I meant to include in my post that the PayPal URL was changed back to https://ipnpb.paypal.com/cgi-bin/webscr and the remaining pics are what I get.
kwakaphp
Registered User
Posts: 23
Joined: Mon Dec 22, 2008 10:46 am
Name: Bazz
Contact:

Re: Paypal link ipn don't work

by kwakaphp » Mon Feb 18, 2019 8:21 am

UPDATE: I tested the PayPal extension again today, clicked on the button and it worked fine. Took me to PayPal without issue BUT I cancelled the donation and was directed back to the forum. All good so far.

Then a short time later I tested extension again and got those errors. Session cookie issue perhaps?
kwakaphp
Registered User
Posts: 23
Joined: Mon Dec 22, 2008 10:46 am
Name: Bazz
Contact:

Re: Paypal link ipn don't work

by Skouat » Mon Feb 18, 2019 3:46 pm

As indicated in the second message of this thread, please apply the changes mentionned in this post ;)
Skouat
Code Contributor
Posts: 1038
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: Paypal link ipn don't work

by kwakaphp » Tue Feb 19, 2019 9:29 am

Nope, no go with changing the URL but I'm pretty sure I've found why this happens as per my UPDATE here ;)
kwakaphp
Registered User
Posts: 23
Joined: Mon Dec 22, 2008 10:46 am
Name: Bazz
Contact:

Re: Paypal link ipn don't work

by Skouat » Fri Feb 22, 2019 9:03 pm

Thanks for the feedback.
Skouat
Code Contributor
Posts: 1038
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact: