yx1hlqbk / paynow
v1.0
2022-10-26 08:37 UTC
Requires
- guzzlehttp/guzzle: ^7.0
This package is auto-updated.
Last update: 2025-03-07 12:46:58 UTC
README
說明
目前有提供電子發票/金流與物流功能,版本資訊如下:
- 發票 v1.5
- 金流 v1.7.0.4
- 物流 v2.4
安裝
composer require yx1hlqbk/paynow
環境要求
>= PHP 7.4
範例
require "./vendor/autoload.php"; use Ian\PayNow\PayNow; try { $PayNow = new PayNow(); $invoice = $PayNow->invoice('', ''); // 使用發票功能 // .... $cash = $PayNow->cash('', ''); // 使用金流 // .... $logistic = $PayNow->logistic('', ''); // 使用物流 // .... } catch (\Throwable $th) { echo $th->getMessage(); }