We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e828fd6 + ce10bd3 commit 9b290f3Copy full SHA for 9b290f3
1 file changed
modules/gateways/paystack.php
@@ -111,7 +111,7 @@ function paystack_link($params)
111
112
// Invoice
113
$invoiceId = $params['invoiceid'];
114
- $amountinkobo = intval(floatval($params['amount'])*100);
+ $amountinkobo = round(floatval($params['amount'])*100);
115
$currency = $params['currency'];
116
///Transaction_reference
117
$txnref = $invoiceId . '_' .time();
0 commit comments