I have created a paypal Unsubscribe button in Java , when user click on it and after login to paypal account and unsubscribes , the paypal posts on the notifyurl successfully and i am able to update my database.But i want to return to my site after unsubscription. But not able to do so.
Is there any way so that i can return to my site,to display the GUI.
The unsubscribe but开发者_如何学JAVAton code paypal has only provided me with following url https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_subscr-find&alias=sellr1_1252495907_biz%40gmail%2ecom
The notify url is my servlet.
Thanks in advance.
-Zeeshan
As far as I know there is always some kind of return URL parameter in the paypal api. Have you searched for that in the documentation?
The parameters you want are the Success URL and Cancel URL. When you setup your Subscription button, open up the "Step 3: Customize advanced features" option. There, you'll see two checkboxes with input fields, one for the URL you want people to go to if they cancel the subscription, and one for if the agree to the payments.
精彩评论