具有兼容GAE的Python SDK的支付网关
我正在寻找一个提供可在 GAE 上运行的 Python SDK 的支付网关。到目前为止,我已经研究过 Braintree[1] 和 TrustCommerce[2],两者都需要基于 C 的库才能工作,而这在 GAE 上不起作用。如果没有这样的东西,您会推荐哪个支付网关提供可能基于 JSON 的 API 或不错的 RESTful API。
[1] http://www.braintree payments.com/ [2] http://www.trustcommerce.com/
Braintree 使用基于 C 的 PycURL 库 TrustCommerce 附带了一些需要在安装过程中编译的 C 文件
编辑: 我对此投接近票,因为有人建议这种事情是不可能的,因为 URLfetch 有 10 秒的限制,在这种情况下这是不够的。对于那些感兴趣的人,有人建议我使用代理进行付款处理会更好。
I'm looking for a Payment gateway that offers Python SDK which would run on GAE. So far I've looked at Braintree[1] and TrustCommerce[2], and both required C-based libraries to work, which won't work on GAE. If there's no such thing, which payment gateway would you recommend that provides a possibly JSON-based API or a nice RESTful API.
[1] http://www.braintreepayments.com/
[2] http://www.trustcommerce.com/
Braintree uses PycURL library which is C-based
TrustCommerce comes with some C files that need to be compiled during install
EDIT:
I'll vote close on this, because it's been suggested that such thing is impossible because URLfetch has a 10 second limit which is not sufficient in this case. For those interested, it has been suggested to me that using a proxy for payment processing would be better.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您提供链接,这将非常有帮助。我用谷歌搜索并找到了这个 TrustCommerce,但我想这可能是一家不同的公司你之所以谈论这个,是因为他们说有示例 Python 代码。
我注册试用帐户并不是为了看看 Python API 是否需要 C 库。毕竟,也许它甚至不是您所看到的 TrustCommerce。
这并不是真正适合您进行研究的网站,如果您在找到/选择一个 API 后在使用 API 时遇到问题,您应该回来寻求帮助。
It would be really helpful if you provided links. I googled and found this TrustCommerce, but I guess maybe it's a different company to the one you are talking about because they say there is sample Python code.
I didn't sign up for a trial account just to see if the Python API requires a C library. Afterall maybe it's not even the same TrustCommerce you have looked at.
This isn't really the right site to do your research, you should come back and ask for help if you have problems using the API when you have found/chosen one.