如何将 paypal 集成到应用程序中?

发布于 2024-08-17 07:40:18 字数 148 浏览 2 评论 0原文

我计划允许人们在网站上创建高级帐户。有一个简单的注册表单,最后我想引导人们到 paypal 进行付款,然后被发送回我的网站,他们新创建的帐户现已激活(如果交易成功)。

我不需要完全托管的解决方案(“网站支付专业版”),而是需要您离开网站,然后在付款后返回的解决方案。

Im planning to allow people to create premium accounts on a site. There is a simple registration form, at the end of which I want to direct people to paypal where they will make a payment, and then be sent back to my site with their newly created account now activated (if transaction went thru).

I dont want a fully hosted solution ("Website Payments Pro"), but something where you leave the site, and then come back to it after payment.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

赢得她心 2024-08-24 07:40:18

使用 PayPal API,您将能够将用户发送到 PayPal 来处理付款。交易完成后,它将向您网站上的脚本发送响应,您可以根据该脚本执行相应操作。例如,在会员数据库表中将特定用户的状态更新为“已付费”或“未付费”。

您想查看 PayPal IPN。这样,您可以将这些页面 URL 作为隐藏字段发送,然后 PayPal 会将用户返回到您提交的成功、失败、IPN 处理程序等页面。

Using the PayPal API, you'll be able to send users to PayPal to handle payments. Once the transaction has been completed it will then send a response to a script on your site, which you can then act on accordingly. For example, update a particular user's status as 'Paid' or 'Unpaid' in your members database table.

You want to look at PayPal IPN. With that, you can send these pages URLs as hidden fields and PayPal will then return the user to the page you submitted for success, failed, IPN handler etc.

盛夏已如深秋| 2024-08-24 07:40:18

是的,这是可能的,请查看 PayPal 上的“立即购买”方法,他们可以进行场外付款,也可以进行现场付款。这取决于您想在每次销售上花费多少时间和百分比。

Yes that's possible, look into the "Buy now"-method on PayPal, they have an off-site payment possibility and they have on-site payment. It's up to you how much you want to spend on both time and percentage on each sale.

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