goodypay / goodypay-calculator
A payment calculator library for GoodyPay.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/goodypay/goodypay-calculator
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-10-28 16:07:36 UTC
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)