Registry / http-client / ecpay-sdk

ecpay-sdk

JSON →
library1.3.20240508phppackagistunverified

ECPay SDK provides payment integration for ECPay services.

composer require ecpay/sdk
INSTALL
IMPORT
SIG · ECPAY-SDK
E
ecpay-sdk
http-clientphpv1.3.20240508
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.

ECPayClient
use ECPay\SDK\ECPayClient;

Initialize ECPay client and create a payment order

use ECPay\SDK\ECPayClient; $client = new ECPayClient([ 'MerchantID' => 'your_merchant_id', 'HashKey' => 'your_hash_key', 'HashIV' => 'your_hash_iv' ]); $result = $client->createOrder(['TotalAmount' => 100]);
Debug
Known issues
breakingRequires PHP 7.4+ and ext-json
fix
Ensure PHP version meets requirement and json extension is enabled
affects: >=1.0
Upgrade
Version history
1.3.20240508latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Resources
ecpay-sdk — pip install ecpay-sdk · libregistry