• Resolved bsmithatwp

    (@bsmithatwp)


    What happens when a recurring payment is cancelled at Paypal and how do I test it?

    FYI, the sandbox feature for testing the IPN handler URL says everything is fine (and credit card payments seem to work great) but I can’t see a way to test for what happens when subscriptions are cancelled on the PayPal side at all…

    I’m guessing this is where the IPN handler URL comes into play but I’d love a way to actually test it so please tell me I’m missing something obvious ??

    https://www.ads-software.com/extend/plugins/paid-memberships-pro/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    I wish that PayPal IPN testing was easy, but it’s not really.

    If paid-memberships-pro/logs/ipn.txt is writable, PMPro will write some debug info to that file when the services/ipnhandler.php code is run.

    I use the Postman REST client plugin for Chrome to test some API stuff:
    https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en

    The trick is knowing how PayPal will encode their messages and setting up calls that look the same and use real member data from your site.

    The ipnhandler, should see the cancel from PayPal and cancel the users account. Let me know if that isn’t happening.

    Thread Starter bsmithatwp

    (@bsmithatwp)

    ipn.txt does have some info about my test cancellations so it is obviously seeing *something* from PP.

    I’ll make a note to create a subscription and cancel it after going live to double-check but it seems all is fine.

    Thanks for the info about ipn.txt and for a great plugin ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Paypal subscription cancellations’ is closed to new replies.