Recommend this page to a friend! |
Classes of Ujah Chigozie peter | PHP Payment Gateway Library | docs/CHARGES.md | Download |
|
DownloadCHARGEYou can use charge class to calculate and build your transaction fee Register Charges namespace
Initialize charge class instance
Set total transaction amount (Required)
Set transaction fee or merchant fee (Optional)
Or Set transaction fee by rate
Set shipping fee (Optional)
Build your charges
Get charges after building Get total amount
Get total as integer
Convert total to cent integer
Convert total to cent float
Get Fee
|