Yii 中的信用卡交易 [英] Credit card transactions in Yii
问题描述
我们如何在 Yii 中实现信用卡交易?
How can we implement credit card transactions in Yii?
推荐答案
您的问题没有详细说明您尝试过的内容,或者您询问的 API 或其他内容.我只能说
Your question is not that detailed of what you have tried or you are asking about API or something. What i can say is
条纹有一个 PHP 库,无需商家帐户即可接受信用卡.
Stripe has a PHP library to accept credit cards without needing a merchant account.
如果您需要快速和脏的东西,您可以使用PayPal的
购买"按钮并将它们放在您的页面上.这些会将人们带到场外的 PayPal,在那里他们可以使用 PayPal 帐户或信用卡付款.这是免费的,而且非常容易实现.
If you need something quick and dirty, you can just use PayPal's
"Buy" buttons and drop them on your pages. These will take people off-site to PayPal where they can pay with a PayPal account or a credit card. This is free and super easy to implement.
如果您希望人们使用信用卡在现场支付更好的东西,那么您可能需要研究那些第 3 部分支付提供商之一.
If you want something a bit nicer where people pay on-site with their credit card, then you would want to look into one of those 3rd part payment providers.
基本程序类似于 PayPal
的工作原理
Basic procedure is something like PayPal
works like
这篇关于Yii 中的信用卡交易的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!