Registry / http-client / wechatpay-wechatpay

wechatpay-wechatpay

JSON →
library1.4.12phppackagistunverified

[A]Sync Chainable WeChatPay v2&v3's OpenAPI SDK for PHP

composer require wechatpay/wechatpay
INSTALL
IMPORT
SIG · WECHATPAY-WECHATPA
W
wechatpay-wechatpay
http-clientphpv1.4.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use WeChatPay\Client;

Create a native payment transaction

use WeChatPay\Client; $client = new Client(['mchid' => 'your_mchid', 'key' => 'your_key']); $response = $client->post('/v3/pay/transactions/native', ['amount' => ['total' => 1]]);
Debug
Known issues
breakingRequires PHP 7.4+ and ext-curl
fix
Install PHP 7.4+ with curl extension
affects: >=1.0.0
Upgrade
Version history
1.4.12latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
38
Resources
wechatpay-wechatpay — pip install wechatpay-wechatpay · libregistry