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.
PayPal Instant Payment Notification Warning
-
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
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
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
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
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
- burt
- Core Team
- Posts: 4851
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy A Coffee
- Has thanked: 293 times
- Been thanked: 489 times
Re: PayPal Instant Payment Notification Warning
@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!
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
Sorry, I don't quite understand. I will pm John. Thank you!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!
- burt
- Core Team
- Posts: 4851
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy A Coffee
- Has thanked: 293 times
- Been thanked: 489 times
Re: PayPal Instant Payment Notification Warning
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.
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.
I am here to build with you. Let's help each other.
- BrockleyJohn
- Certified Developer
- Posts: 201
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version: too.ashamed.to.say
- : Buy A Coffee
- Has thanked: 2 times
- Been thanked: 38 times
Re: PayPal Instant Payment Notification Warning
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.
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.
