@@ -1946,7 +1946,7 @@ public function add_paystack_currencies($currencies)
19461946
19471947 // Check if the currency is already registered.
19481948 if (!array_key_exists ('ZAR ' , $ currencies )) {
1949- // Add GHS to the list of supported currencies.
1949+ // Add ZAR to the list of supported currencies.
19501950 $ currencies ['ZAR ' ] = array (
19511951 'name ' => 'South Africa Rand ' ,
19521952 'symbol_left ' => 'R ' ,
@@ -1960,7 +1960,7 @@ public function add_paystack_currencies($currencies)
19601960
19611961 // Check if the currency is already registered.
19621962 if (!array_key_exists ('USD ' , $ currencies )) {
1963- // Add GHS to the list of supported currencies.
1963+ // Add USD to the list of supported currencies.
19641964 $ currencies ['USD ' ] = array (
19651965 'name ' => 'United States Dollar ' ,
19661966 'symbol_left ' => '$ ' ,
@@ -1972,6 +1972,20 @@ public function add_paystack_currencies($currencies)
19721972 );
19731973 }
19741974
1975+ // Check if the currency is already registered.
1976+ if (!array_key_exists ('KES ' , $ currencies )) {
1977+ // Add KES to the list of supported currencies.
1978+ $ currencies ['KES ' ] = array (
1979+ 'name ' => 'Kenyan Shillings ' ,
1980+ 'symbol_left ' => 'KSh ' ,
1981+ 'symbol_right ' => '' ,
1982+ 'symbol_padding ' => ' ' ,
1983+ 'thousand_separator ' => ', ' ,
1984+ 'decimal_separator ' => '. ' ,
1985+ 'decimals ' => 2
1986+ );
1987+ }
1988+
19751989 return $ currencies ;
19761990 }
19771991
0 commit comments