alicele1512/weareicers_payment 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Source Code Latest Version Software License

Donate

If you'd like to support the project, please donate via: Buy Me a Coffee Sponsor Sponsor

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-05