arleslie/2checkout

为 Laravel 定制的 2checkout 包

dev-master 2016-09-06 17:41 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:03:57 UTC


README

注意:此包仍在积极开发中。

安装

composer require arleslie/2checkout

添加服务提供者 arleslie\TwoCheckout\ServiceProvider

门面支持

将发布目录中的文件复制到您的配置目录中并更新它。(将其重命名为 2checkout.php)

然后您可以使用 TwoCheckout::account()->getPayments() 来检索过去的支付。

类支持

use arleslie\TwoCheckout\Base as TwoCheckout;

$TwoCheckout = new TwoCheckout(<user>, <password>, <privateKey>, <sellerId>);
$TwoCheckout->account()->getPayments(); // Retreieve Past Payments