Skip to content

Commit 4067d9d

Browse files
Update paystack.php
1 parent 22e566a commit 4067d9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

catalog/controller/extension/payment/paystack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function index()
6565
$data['currency'] = $order_info['currency_code'];
6666
$data['ref'] = uniqid('' . $this->session->data['order_id'] . '-');
6767
//$data['amount'] = intval($order_info['total'] * 100);
68-
$data['amount'] = $this->currency->format(intval($order_info['total'] * 100), $order_info['currency_code'], $order_info['currency_value'], false);
68+
$data['amount'] = intval($this->currency->format($order_info['total']*100, $order_info['currency_code'], $order_info['currency_value'], false));
6969
$data['email'] = $order_info['email'];
7070
$data['callback'] = $this->url->link('extension/payment/paystack/callback', 'trxref=' . rawurlencode($data['ref']), 'SSL');
7171

0 commit comments

Comments
 (0)