Skip to content

Commit df1f406

Browse files
Merge pull request #18 from PaystackHQ/patch/multi-currency-support
add support for EGP, KES, and XOF
2 parents 9e5b118 + 59aa6bb commit df1f406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paystack/paystack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public function checkCurrency($cart)
318318
public function checkCurrencyNGN($cart)
319319
{
320320
$currency_order = new Currency($cart->id_currency);
321-
if ($currency_order->iso_code == 'NGN' || $currency_order->iso_code == 'GHS' || $currency_order->iso_code == 'ZAR' || $currency_order->iso_code == 'USD') {
321+
if ($currency_order->iso_code == 'NGN' || $currency_order->iso_code == 'GHS' || $currency_order->iso_code == 'ZAR' || $currency_order->iso_code == 'USD' || $currency_order->iso_code == 'XOF' || $currency_order->iso_code == 'KES' || $currency_order->iso_code == 'EGP') {
322322
return true;
323323
}
324324
return false;

0 commit comments

Comments
 (0)