此包已被废弃,不再维护。作者建议使用 solidgate/php-sdk 包。

适用于Signedpay支付网关的PHP API SDK

v1.1 2016-02-27 09:18 UTC

This package is not auto-updated.

Last update: 2020-02-04 14:02:55 UTC


README

此库提供了SignedPay支付网关的基本API选项。

安装

使用Composer

$ composer require signedpay/api
{
    "require": {
        "signedpay/api": "~1.0"
    }
}

用法

<?php

use Signedpay\API\Api;

$api = new Api('YourMerchantId', 'YourPrivateKey');

$response = $api->charge(['SomePaymentAttributes from API reference']);