goodypay/goodypay-calculator
Composer 安装命令:
composer require goodypay/goodypay-calculator
包简介
A payment calculator library for GoodyPay.
README 文档
README
Table of Contents
Features
Calculate the pricing of base on Paymongo specifically for **Card, E-Wallet and Online Banking**
Installation
Run
composer require goodypay/goodypay-calculator
composer install
Requirements
PHP version 5.3.0
Guide
1. Using GoodyPayCalculator Class
GoodyPayCalculator::Compute('paymentMethod', $amount, true)- Accept payment method such as
"Gcash","Paymaya","Grabpay","Card","Online banking" - Compute
("Gcash", 3000, true)Gcash(Payment Method)3000(Amount)true(Foreign, specific for online banking)
2. For direct use using the static method
GoodyPayCalculator::ComputeGcash ($amount)GoodyPayCalculator::ComputeCard ($amount, $foreign = null)GoodyPayCalculator::ComputeOnlineBanking ($amount)GoodyPayCalculator::ComputeGrabPay ($amount)GoodyPayCalculator::ComputeMaya ($amount)
Contributors
- Gandalla, Reymark Jan (s.gandalla.reymarkjan@cmu.edu.ph)
- Ortizuela, Robin (robinortizuela456@gmail.com)
- Salvame, Grace Ann (salvamegraceann@gmail.com)
- Tamala, James Lester (s.tamala.jameslester@cmu.edu.ph)
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-25