Paypal 退订返回网址
我在 Java 中创建了一个 paypal 取消订阅按钮,当用户点击它并登录到 paypal 帐户并取消订阅后,paypal 成功在 notificationurl 上发布,我能够更新我的数据库。但我想在取消订阅后返回我的网站。但无法这样做。
有什么办法可以让我返回我的网站,显示 GUI。
取消订阅按钮代码 paypal 仅向我提供了以下网址 https://www. sandbox.paypal.com/cgi-bin/webscr?cmd=_subscr-find&alias=sellr1_1252495907_biz%40gmail%2ecom
通知网址是我的 servlet。
提前致谢。
-泽山
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 button 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知,paypal api 中总是有某种返回 URL 参数。您在文档中搜索过吗?
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?
您需要的参数是成功 URL 和取消 URL。当您设置订阅按钮时,打开“第3步:自定义高级功能”选项。在那里,您将看到两个带有输入字段的复选框,一个是您希望人们在取消订阅时访问的 URL,另一个是他们同意付款时的 URL。
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.