-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#1931 Prevent PayPal from double-encoding the IPN Notify URL #18980
Conversation
(Standard links)
|
@christianwach style warning |
@mattwire Argh, thanks for the heads up. |
8bb1437
to
9b2d484
Compare
Thanks @christianwach |
@agileware-justin are you able to test this? |
@eileenmcnaughton patch has been deployed to production for 2 days - no issues reported. OK to merge AFAIK |
I have done OK to merge. This should also be a considered for 5.32. |
Merging based on review of @kcristiano and @agileware-justin |
@kcristiano @christianwach per "This should also be a considered for 5.32." - if you want to put up a PR against 5.32 I'm happy to merge it to the rc / look at it for any future 5.31 releases. It's not clear to what extent it's a regression but I guess it at least sort of is |
@eileenmcnaughton I think it's a PayPal regression :) It might be an issue related to the work we did in 5.26 for the WP URL changes, or something PayPal did. It's a big enough deal that I'd like it in sooner rather than later. |
Overview
Solves this issue on the Lab.
Before
PayPal IPN return URLs contain double-encoded entities, e.g.
After
PayPal IPN return URLs do not contain double-encoded entities, e.g.
Technical Details
When CiviCRM does not use Clean URLs (or, in WordPress, if a Shortcode is used for a Contribution Page) then IPN notifications fail to register contributions as "Completed". This applies to all CMSes where Clean URLs are not in use.