Browse Source

Added zamobile, ghmobile (South Africa, Ghana)

master
Anton Kovalenko 3 years ago
parent
commit
ec2674a0a2
  1. 2
      src/App.svelte
  2. 24
      src/payways.js

2
src/App.svelte

@ -97,6 +97,8 @@
"USD":"$",
"KZT":"₸",
"NGN":"₦",
"ZAR":"R",
"GHS":"₵",
}
let accountComplete = false;

24
src/payways.js

@ -5,6 +5,8 @@ const masks = {
telru: { mask: "{+}{7} 000 000-0000" },
telua: { mask: "{+}{3}{8} {\\0}00 000 0000"},
telng: { mask: "{+}{2}{3}{4} 000 000 0000"},
telgh: { mask: "{+}{2}{3}{3} 000 000 000"},
telza: { mask: "{+}{2}{7} 00 000 0000"},
tel: {
mask: [
{
@ -156,6 +158,28 @@ export default [
"id":"ngmobile",
"placeholder":"+234 905 555 1234",
},
{"name":"📱 🇬🇭 GHS ₵ Mobile top-up",
"currency":"GHS",
"min":1,
"max":100,
"imask":masks.telgh,
"acc":"Phone number",
"autocomplete":"tel",
"inputmode":"tel",
"id":"ghmobile",
"placeholder":"+233 302 555 123",
},
{"name":"📱 🇿🇦 ZAR R Mobile top-up",
"currency":"ZAR",
"min":3,
"max":500,
"imask":masks.telza,
"acc":"Phone number",
"autocomplete":"tel",
"inputmode":"tel",
"id":"zamobile",
"placeholder":"+27 87 555 1234",
},
{"name":"🌐 🇷🇺 RUB ₽ Flex provider",
"currency":"RUB",
"min":20,

Loading…
Cancel
Save