【文件属性】:
文件名称:paypal_ec:用于 CodeIgniter 的 Paypal Express Checkout 库
文件大小:9KB
文件格式:ZIP
更新时间:2021-06-14 12:57:23
PHP
Paypal_ec : CodeIgniter 的 Paypal Express Checkout 库
这是 Paypal Express Checkout 的一个简单实现。 它并不彻底,因为它只处理销售操作类型。 但对于大多数人来说,这就是你所需要的。 这个库不处理订单和授权(还没有承诺)。 它也不处理经常性付款。
Paypal_ec.php - 是您的 CodeIgniter 库
test.php - 是您的示例 CodeIgniter Controller,用于演示如何使用该库
如何使用
这个库需要 PHP cURL 库
将 Paypal_ec.php 放在您的应用程序/库文件夹中
您可以从任何控制器功能加载 Paypal_ec,但我建议使用 __construct()
您需要在加载库之前创建一个凭证数组。
$ paypal_credentials = array (
'
【文件预览】:
paypal_ec-master
----test.php(8KB)
----README.md(2KB)
----Paypal_ec.php(14KB)