Is it possible to redirect a user to a custom URL if the payment is not completed using PayPal?

  • intchina
    Asked on May 4, 2015 at 3:18 PM

    Dear JotForm:

    When embedding Paypal Merchant buttons into my website directly, I was able to designate a specific URL for incomplete/cancelled payments, so that when a customer cancels the payment they are redirected to a page on my website that contains information on how to resume the payment.

    The Paypal payment via JotForm does not seem to have this option.

    Is it possible to set a URL for cancelled payments? (sort of like there is a Thank You URL you can send customers to after the transaction is successfully completed?)

    Thank you in advance!

  • raul
    Replied on May 4, 2015 at 3:46 PM

    I think you could use the IPN relay settings in your form by enabling this feature on your PayPal account. Basically, the IPN would let you know if the payment was completed successfully. So, in your case you would need to check if the IPN was not triggered in a timely manner and then redirect your users to the page you want to show or send them an email reminder, etc.

    You can find more information about PayPal's IPN here: https://developer.paypal.com/docs/classic/products/instant-payment-notification/

    I hope this information helps.

    Should you have further questions, please let us know.