alicele1512 / weareicers_payment
A payment processing library for various gateways like MoMo, Stripe, PayPal, and Card.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/alicele1512/weareicers_payment
This package is auto-updated.
Last update: 2025-12-05 13:22:59 UTC
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