alicele1512/weareicers_payment
Composer 安装命令:
composer require alicele1512/weareicers_payment
包简介
A payment processing library for various gateways like MoMo, Stripe, PayPal, and Card.
README 文档
README
A payment processing library for various gateways like MoMo, Stripe, PayPal, and Card.
Donate
If you'd like to support the project, please donate via:
Usage Example
use WeareicersPayment\Helpers\PaymentHelper;
$trans_id = PaymentHelper::generateTransactionId(); $formattedAmount = PaymentHelper::formatCurrency(100.0, 'USD'); PaymentHelper::logTransaction("Transaction $trans_id: Payment of $formattedAmount initiated."); $isValidAmount = PaymentHelper::validateAmount(100.0);
if ($isValidAmount) { // Proceed with the payment processing } else { // Handle invalid amount }
Installation
You can install the package via Composer:
composer require alicele1512/weareicers_payment:dev-main
or
git clone https://github.com/alicele1512/weareicers_payment.git
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-05