meng1204/canada-wechat-alipay

Integrate Wechat Pay and Alipay through Alpha Pay Payment Gateway APIs. Allow Canadian merchants to easily accept Wechat Pay and Alipay for their E-commerce Platform.

1.0.0 2020-07-07 20:03 UTC

This package is auto-updated.

Last update: 2024-09-07 07:42:33 UTC


README

安装 Install

Composer require meng1204/canada-wechat-alipay

使用方法 How to use

use AlphaPay;

$alphapay = new AlphaPay([
    'PARTNER_CODE' => '',
    'CREDENTIAL_CODE' => '',
    'description' => '',
    'price' => '',
    'notify_url' => '',
    'operation' => '',
    'currency' => '',
    'order_id' => '',
]);

$alphapay->pay->Jsapi();
$alphapay->pay->Qr();
$alphapay->pay->H5();
$alphapay->pay->refund();

$alphapay->commonApi->orderQuery();

More Information on Alpha Pay Page

Visit the Alpha Pay Official Website to know more details.