strangerstudios / paid-memberships-pro

WordPress membership plugin to restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
https://www.paidmembershipspro.com
Other
457 stars 357 forks source link

BUG: PMPro Core – IPNs for Recurring Payment Payments Are Not Logged #1187

Open tictag opened 4 years ago

tictag commented 4 years ago

Describe the bug I am testing PayPal IPNs. During this testing I have noticed that PayPal IPNs created when a Recurring Payment is setup are NOT being logged in ../wp-content/plugins/paid-memberships-pro/logs/ipn.txt

Note: Standard one-time payment IPNs are correctly recorded in the log. Note: The payment is processed by PMPro correctly

All received IPNs should be logged.

Please find attached details of three separate PayPal Express checkouts made one after the other: (1) Standard one-off PayPal payment at 11/25/2019 21:52:09 (2) Recurring PayPal payment at 11/25/2019 21:59:44 (3) Standard one-off PayPal payment at 11/25/2019 22:12:23

Only (1) and (3) are logged in ipn.txt despite the IPN being processed successfully (see attached).

To Reproduce i. Enable IPN debugging ii. Checkout with a PayPal recurring payment iii. Check the IPN log

Screenshots ipn.txt

2019-11-25_22-25-28

Expected behavior All IPNs are logged.

Isolating the problem (mark completed items with an [x]):

WordPress Environment PHP v7.1.33 WordPress v5.3 PMPro v2.2

tictag commented 4 years ago

Note: The recurring payment is processed correctly by PMPro as mentioned above but the transaction details are NOT stored correctly, please refer to https://github.com/strangerstudios/paid-memberships-pro/issues/1077 for further information on this bug.

I do not know whether these two are related.