I'm testing PMPro with PayPal Express sandbox, the initial payment is successful, and the recurring payment profile is created successfully, however when a recurring payment is paid, my website do not get the information, and it doesn't show in the user invoices.
digging deeper I enabled IPN logs, and found that PayPal actually notifies PMPro about the payment, but the process fails with the following message in the logs:
ERROR: Couldn't find last order for this recurring payment ().
I compared [recurring_payment_id] in the paypal message to the contents of payment_transaction_id in the wp_pmpro_membership_orders table and it matches, so I don't know what is the problem.
Similarly, if the user cancel's their account via Paypal, the IPN is sent to the website, but the process also fails with
No recurring payment id or item number. txn_type = subscr_eot
Is this issue also existing out of the sandbox? or am I doing something wrong?
Thank you for this great plugin