Yii 中的信用卡交易 [英] Credit card transactions in Yii

查看:22
本文介绍了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆