• Hi

    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

    http://wordpress.org/plugins/paid-memberships-pro/

Viewing 1 replies (of 1 total)
  • Hi Bouzid,

    Sorry for the late reply here. We’ve recently made some changes the PMPro in the newest version that should address a lot of issues users were having. If you haven’t already, can you update to the latest version of PMPro and let us know if this issue still occurs?

    Also, can you verify if your IPN Handler URL is being cached by a plugin or server caching? You’ll want to exclude this URL from caching if possible.

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘"Couldn't find last order for this recurring payment" when receiving PayPal IPN’ is closed to new replies.