python 要实施的最简单的支付网关是什么?(使用 Django)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2505072/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the Simplest Possible Payment Gateway to Implement? (using Django)
提问by rdegges
I'm developing a web application that will require users to either make one time deposits of money into their account, or allow users to sign up for recurring billing each month for a certain amount of money.
我正在开发一个 Web 应用程序,该应用程序将要求用户将一次定期存款存入他们的帐户,或者允许用户每月注册定期结算一定数量的钱。
I've been looking at various payment gateways, but most (if not all) of them seem complex and difficult to get working. I also see no real active
Django projects which offer simple views for making payments.
我一直在研究各种支付网关,但它们中的大多数(如果不是全部)看起来很复杂且难以使用。我也没有看到active
提供简单的付款视图的真正的Django 项目。
Ideally, I'd like to use something like Amazon FPS, so that I can see online transaction logs, refund money, etc., but I'm open to other things.
理想情况下,我想使用 Amazon FPS 之类的东西,以便我可以查看在线交易日志、退款等,但我对其他事情持开放态度。
I just want the EASIEST possible payment gateway to integrate with my site. I'm not looking for anything fancy, whatever does the job, and requires < 10 hours to get working from start to finish would be perfect.
我只希望最简单的支付网关与我的网站集成。我不是在寻找任何花哨的东西,无论工作是什么,并且需要 < 10 个小时才能从头到尾工作是完美的。
I'll give answer points to whoever can point out a good one. Thanks!
谁能指出一个好的答案,我会给出答案。谢谢!
EDIT: This is to accept payments in the US only. I don't need an international payment gateway. And it only needs to support US English.
编辑:这仅在美国接受付款。我不需要国际支付网关。而且它只需要支持美国英语。
采纳答案by dan-manges
Braintreehas a Python client library that could give you the quick integration that you're looking for. Here is the link to the Braintree developer documentation for the Python SDK: https://developers.braintreepayments.com/guides/transactions/python.
Braintree有一个 Python 客户端库,可以为您提供所需的快速集成。以下是 Python SDK 的 Braintree 开发人员文档的链接:https: //developers.braintreepayments.com/guides/transactions/python。
回答by Michael
Authorize.net is pretty simple, this question suggested a few Django apps that are at least started: Python/Django: Which authorize.net library should I use?
Authorize.net 非常简单,这个问题建议了一些至少已启动的 Django 应用程序:Python/Django:我应该使用哪个 authorize.net 库?
回答by Gabriel Hurley
I've done successful integrations for both Google Checkout and PayPal ExpressCheckout in Django. Both services have stable, well-developed APIs, and neither one was too difficult to implement. There are good Python libraries already written to do the heavy lifting for you, too.
我已经在 Django 中成功集成了 Google Checkout 和 PayPal ExpressCheckout。这两种服务都有稳定、完善的 API,而且都不太难实现。已经编写了一些优秀的 Python 库来为您完成繁重的工作。
回答by emesik
You may check Django payments app Mamonawhich I started not so long time ago. It currently handles PayPal only. It doesn't support refunds and recurring payments yet, but is very simpleand can be attached to any other application without changing it's code.
您可以查看我不久前开始使用的Django 支付应用 Mamona。它目前仅处理 PayPal。它尚不支持退款和定期付款,但非常简单,可以附加到任何其他应用程序而无需更改其代码。
回答by jb.
Consider enabling more than one payment gateways. If you add only one, and this gateway fails for some reason you'll start losing money (actually happened to one of the persons I know).
考虑启用多个支付网关。如果您只添加一个,并且此网关由于某种原因失败,您将开始赔钱(实际上发生在我认识的一个人身上)。