PHP 贝宝类
有人可以推荐一个最新的类(或支付系统)来使用 PHP 处理 paypal 定期付款吗?
谢谢你!
更新:我最终使用了 Peter Reisinger 的 PaypalNVP 课程。不幸的是,那是很久以前的事了,我似乎无法在网上找到它(自述文件和类文件没有 URL - 只有名称)。如果您能找到它,那就是一门很棒的课程,我强烈推荐它。
Could anybody recommend a up-to-date class (or payment system) for handling paypal recurring payments with PHP?
Thank you!
UPDATE: I ended up using the PaypalNVP class by Peter Reisinger. Unfortunately, that was a very long time ago and I can't seem to locate it online (the readme and class files had no URL - just the name). If you can find it, that's a great class and I highly recommend it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
如果您可以自由选择网关,请选择一个为我们提供定期计费服务和 API 的网关。我知道 authorize.net 确实如此。
您真的、真的、真的不想存储信用卡信息。真的。
如果您想做“保存我的信息”之类的事情,请找到支持为您存储卡详细信息的供应商。 Braintree 就是这样做的,我相信其他供应商也这样做。
If you have the freedom to pick a gateway, pick one that provides recurring billing services and APIs to us them. I know authorize.net does.
You really, really, really, don't want to store credit card information. Really.
If you want to do a "save my information" kind of thing, find a vendor that supports storing the card details for you. Braintree does this, and I'm sure other vendors do as well.
以防万一您仍然对其中一个感兴趣。这个效果非常好,而且非常容易实现:
http://www.micahcarrick.com/04-19-2005/php-paypal-ipn-integration-class.html
Just in case you are still interested in one. This one is working really great and extremely easy to implement:
http://www.micahcarrick.com/04-19-2005/php-paypal-ipn-integration-class.html
我发布了一个真正简化 Paypal API 使用的类,您可以查看在 Binpress 上。我最近刚刚添加了定期付款支持
I published a class that really simplifies using the Paypal API, you can check it out over on Binpress. I just recently added recurring payments support
Paypal 提供了一个非常好的代码片段来处理 Paypal 交易,然后只需设置一个 cron 作业,从数据库中提取要处理的交易即可。
Paypal provides a very nice code snippet for processing paypal transactions, then it's just a matter of setting up a cron job that pulls from a DB what transactions to process.
Paypal、Authorize.net 和 2Checkout 的 PHP 支付库:
http://www.phpfour.com/blog/2009/02/php- payment-gateway-library-for-paypal-authorizenet-and-2checkout/
PHP Payment Library for Paypal, Authorize.net and 2Checkout:
http://www.phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/