PayPal Instant Payment Notification Warning

Open to all! Ask other shopowners for help.
User avatar
drtom
Member
Posts: 49
Joined: Sat May 24, 2025 3:59 am
Phoenix Version: v1.1.0.2
Has thanked: 21 times
Been thanked: 3 times

Re: PayPal Instant Payment Notification Warning

Post by drtom »

Hey John,

Spend no more of your time on this. I'm pretty sure this is Paypal's mistake.

Has to do with a customer who dealt with me directly and not through the shop. Paid me directly through PP. I think . . . Though I still wonder why the 404.

I'll report back if I learn otherwise. I'm grateful as always.



Join The Code Co-op to get access to your library in the Code Co-op Forum
artfulweb
Contributor
Posts: 222
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 34 times
Been thanked: 14 times

Re: PayPal Instant Payment Notification Warning

Post by artfulweb »

Hello John,
Since upgrading to Phoenix 1.1.0.6 I am having the same problem even though my Paypal IPN notifications are
https://www.mysite.com/ext/modules/paym ... rd_ipn.php

Checked that I do have the paypal payment included in Phoenix 1.1.0.6 so don't know where the errpr is coming from

artfulweb
Contributor
Posts: 222
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 34 times
Been thanked: 14 times

Re: PayPal Instant Payment Notification Warning

Post by artfulweb »

Hi John,
I finally have more information on my error. Paypal sent the full URL that is being refused. I have a multilanguage store so the the url on paymant is apparently amended to the customers language (example below). As in Paypal we can oly put https://www.xxx.com/ext/modules/payment ... rd_ipn.php, they will be stopping my payment notifications if it isn't fixed so I do not know what to do. If you could help I would appreciate it. On Phoenix 1.1.0.8.

https://www.xxx.com/ext/modules/payment ... anguage=fr

User avatar
burt
Core Team
Posts: 4851
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 293 times
Been thanked: 489 times

Re: PayPal Instant Payment Notification Warning

Post by burt »

@artfulweb You might try commenting ( // ) out this particular line of code;

https://github.com/CE-PhoenixCart/Phoen ... d.php#L543

@BrockleyJohn is the expert in this area, but that change might do it.
Note that I do not know what unintended consequence that might have!

artfulweb
Contributor
Posts: 222
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 34 times
Been thanked: 14 times

Re: PayPal Instant Payment Notification Warning

Post by artfulweb »

burt wrote: ↑Tue Oct 20, 2026 2:48 pm @artfulweb You might try commenting ( // ) out this particular line of code;

https://github.com/CE-PhoenixCart/Phoen ... d.php#L543

@BrockleyJohn is the expert in this area, but that change might do it.
Note that I do not know what unintended consequence that might have!
Sorry, I don't quite understand. I will pm John. Thank you!

User avatar
burt
Core Team
Posts: 4851
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 293 times
Been thanked: 489 times

Re: PayPal Instant Payment Notification Warning

Post by burt »

Ok. Find that same line of code in the same file at your shop;
includes/modules/payment/paypal_standard.php

Add two slashes in front of that line of code, as so;

// $notify_url->set_parameter('language', $ipn_language);

Save.
Test it to see if `language=fr` is now gone.
Test for unintended side effects.
I am not here to build for you.
I am here to build with you. Let's help each other.

User avatar
BrockleyJohn
Certified Developer
Posts: 201
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version: too.ashamed.to.say
Has thanked: 2 times
Been thanked: 38 times

Re: PayPal Instant Payment Notification Warning

Post by BrockleyJohn »

For anyone else experiencing the same issue: cloudflare was blocking paypal from accessing the ipn listener and returning a 404.

This was not related to updating Phoenix and not because of changing any settings in cloudflare - cloudflare just suddenly started treating paypal's notifier as a bot and blocked it.



Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply