Services Plugins FAQs

PayPal Recurring Payments Plugin: Cancel URL decoding

Hi,

A few Qs on how to handle unsuccessful payments:

  1. Will the Cancel URL will be used for all non-successful payments? If not, what other ways is there to capture them?

  2. How can I decode what the error is when PayPal goes to my Cancel URL? I understand it’s the ba_token that’s that’s the magic, but how do I extract the cancel reason?

Thanks, Peter

Hi @philledille,

Thanks for reaching out. Let me help you here.

It captures all non-successful payments for plan subscriptions.

If you’d like to use some sort of error handling for a better UI/UX, we have implemented these two events:

So you can easily use them in your workflows. :pray:

Best,
Alex