Takuhii
Takuhii

Reputation: 935

Choose Different Payment Method on Cancel with PayPal

I am using JSP and have just integrated Paypal with my shopping cart. Would anyone know how I can serve a custom message should a customer use Paypal, then decide to cancel the transaction and return to my store to use a different payment method?

Any help would be greatly appreciated, as I can't find what I am looking for in the PayPal API

Upvotes: 1

Views: 60

Answers (1)

Drew Angell
Drew Angell

Reputation: 26056

You can set the CancelURL to whatever you want, so you could add some URL parameter or something like &canceled=true, and then display a message based on whether or not that URL parameter is included.

Upvotes: 2

Related Questions