@@ -1926,7 +1926,8 @@ public function add_paystack_currencies($currencies)
19261926 'symbol_padding ' => ' ' ,
19271927 'thousand_separator ' => ', ' ,
19281928 'decimal_separator ' => '. ' ,
1929- 'decimals ' => 2
1929+ 'decimals ' => 2 ,
1930+ 'code ' => 'NGN '
19301931 );
19311932 }
19321933
@@ -1940,35 +1941,39 @@ public function add_paystack_currencies($currencies)
19401941 'symbol_padding ' => ' ' ,
19411942 'thousand_separator ' => ', ' ,
19421943 'decimal_separator ' => '. ' ,
1943- 'decimals ' => 2
1944+ 'decimals ' => 2 ,
1945+ 'code ' => 'GHS '
19441946 );
19451947 }
19461948
19471949 // Check if the currency is already registered.
19481950 if (!array_key_exists ('ZAR ' , $ currencies )) {
1949- // Add GHS to the list of supported currencies.
1951+ // Add ZAR to the list of supported currencies.
19501952 $ currencies ['ZAR ' ] = array (
19511953 'name ' => 'South Africa Rand ' ,
19521954 'symbol_left ' => 'R ' ,
19531955 'symbol_right ' => '' ,
19541956 'symbol_padding ' => ' ' ,
19551957 'thousand_separator ' => ', ' ,
19561958 'decimal_separator ' => '. ' ,
1957- 'decimals ' => 2
1959+ 'decimals ' => 2 ,
1960+ 'code ' => 'ZAR '
19581961 );
19591962 }
19601963
1964+
19611965 // Check if the currency is already registered.
1962- if (!array_key_exists ('USD ' , $ currencies )) {
1963- // Add GHS to the list of supported currencies.
1964- $ currencies ['USD ' ] = array (
1965- 'name ' => 'United States Dollar ' ,
1966- 'symbol_left ' => '$ ' ,
1966+ if (!array_key_exists ('KES ' , $ currencies )) {
1967+ // Add KES to the list of supported currencies.
1968+ $ currencies ['KES ' ] = array (
1969+ 'name ' => 'Kenyan Shillings ' ,
1970+ 'symbol_left ' => 'KSh ' ,
19671971 'symbol_right ' => '' ,
19681972 'symbol_padding ' => ' ' ,
19691973 'thousand_separator ' => ', ' ,
19701974 'decimal_separator ' => '. ' ,
1971- 'decimals ' => 2
1975+ 'decimals ' => 2 ,
1976+ 'code ' => 'KES '
19721977 );
19731978 }
19741979
0 commit comments