Paypal 退订返回网址

发布于 2024-08-07 12:58:06 字数 506 浏览 3 评论 0原文

我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

巾帼英雄 2024-08-14 12:58:06

据我所知,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?

暮凉 2024-08-14 12:58:06

您需要的参数是成功 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文