如何使用 paypal 立即购买按钮在我的网站上实施定期付款?我不想使用订阅按钮..?
我想在我的网站上实施每月定期付款,但我不想使用 paypal 的订阅按钮,但我将使用“立即购买”按钮。那么我的方法有哪些优点和缺点以及如何实施呢?
I want to implement to monthly recurring payments on my website but i don't want to use paypal 's subscription button but i will use Buy Now button instead. So what are the pros and cons of my approach and how do i implement it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您上次的回答,我建议考虑将 PayPal IPN 与单个“立即购买”按钮结合使用。
通过使用 IPN,您可以在数据库中记录和跟踪每个“订阅”,并在所有“订阅者”的“个人资料”到期之前向其发送通知电子邮件。
PayPal IPN 允许您(异步)处理订单信息,而不必依赖买家返回您的网站来完成订单。
您可以通过设置从 PayPal 接收此 (POST) 数据的脚本来使用 IPN。此外,您必须在按钮和/或 API 调用中包含以下代码:
对于网站付款标准(其中“xxxxxxxx”是 IPN 脚本的完整 URL):
您可以找到示例代码、文档和更多信息关于 PayPal IPN 此处
Based on your last answer, I would suggest looking into using PayPal IPN in combination with a single 'Buy now' button.
By using IPN you can record and track each "subscription" in your database, and send all "subscribers" a notification email prior to the expiration of their "profile".
PayPal IPN allows you to (asynchronously) process order information while not having to depend on the buyer to return to your website to complete the order.
You can use IPN by setting up a script which receives this (POST) data from PayPal. In addition, you must include the following code in your button and/or API call(s):
For Website Payments Standard (where "xxxxxxxx" is the full URL to your IPN script):
You can find sample code, documentation and further information on PayPal IPN here