Skip to content

Commit bf91a50

Browse files
authored
Merge pull request #30 from khoazero123/fix/token_authorization
Fix token_authorization method: reference & currency are empty
2 parents 1eefda5 + 2478007 commit bf91a50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Gateway.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ public function token_authorization($amount, $reference, $card_token, $currency
279279
$payload = array(
280280
'customer_ip' => $customer_ip,
281281
'card_token' => $card_token,
282-
'reference' => $this->reference,
282+
'reference' => $reference,
283283
'amount' => $int_amount,
284-
'currency' => $this->currency,
284+
'currency' => $currency,
285285
'capture' => false
286286
);
287287

0 commit comments

Comments
 (0)