veritrans / SNAP-whmcs

MIT License
2 stars 3 forks source link

add config useInvoiceAmountAsPaid #9

Closed rizdaprasetya closed 4 years ago

rizdaprasetya commented 4 years ago

work around for issue https://github.com/veritrans/SNAP-whmcs/issues/8

If you use non IDR currency on WHMCS and encounter issue of paid amount is too big or does not match with invoice amount:

Try to enable configuration Use Invoice amount as paid amount to use the invoice amount as paid amount. Note: this will also means it will not check the actual paid amount on Payment Gateway, but it can avoid currency conversion issues.

TODO: Proper fix may still need to be implemented, which should use proper conversion of PG paid amount to original currency