需要 Beanstream 支付网关集成脚本
我需要在我的 php 代码中实现 BeanStream 支付网关。我是支付网关实现的新手。有人可以帮助我完成演示项目或脚本吗?事先谢谢。
I need to implement BeanStream payment gateway in my php code.I am new in payment gateway implementation. Can anybody help me with any demo project or scripts? prior thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我知道这是一个老问题,但由于我刚刚在我的代码中实现了 Beanstream 支付网关,我想无论如何我都会回答记录:
一旦您拥有 Beanstream 帐户,您将能够访问他们的 API 手册,其中提供了一些很好的信息有关所有请求和响应字段的文档。您可以使用 PHP 中的curl 库非常轻松地连接到 Beanstream API。这是一个基于他们的文档执行简单支付的示例方法($global_ccauth 只是一个包含我的请求信息的 ORM 对象,我每次都将其存储在数据库中,包括来自 Beanstream 的响应字符串,但要小心,你可能会这样做)想要在将 ORM 模型中的信用卡号保存到数据库之前对其进行混淆,就像我一样):
我还实现了他们的定期付款来自动处理每月付款,而且似乎运行良好。您只需按照他们的 API 文档调整发送的参数即可。
I know this is an old question, but since I just implemented the Beanstream payment gateway in my code I thought I would answer for the record anyway:
Once you have an account with Beanstream you will be able to access their API manuals which provide some good documentation on all of the request and response fields. You can use the curl library in PHP to connect to the Beanstream API this very easily. Here is a sample method for performing a simple payment based on their documentation ($global_ccauth is just an ORM object that contains my request information, which I store each time in my database, including the response string from Beanstream, but BE CAREFUL AND YOU PROBABLY WANT TO obfuscate the credit card number in the ORM model before it is saved to the database, like I do):
I have also implemented their recurring payments for processing monthly payments automatically and it seems to be working well. You just have to adjust the parameters you send as per their API documentation.
PHP-Payments 似乎正是您正在寻找的 http:// payments.calvinfroedge.com/
PHP-Payments seems to be what you're looking for http://payments.calvinfroedge.com/