From ec2674a0a247f0bcc66457337cd7951af905a5fe Mon Sep 17 00:00:00 2001 From: Anton Kovalenko Date: Thu, 12 Aug 2021 20:57:30 +0300 Subject: [PATCH] Added zamobile, ghmobile (South Africa, Ghana) --- src/App.svelte | 2 ++ src/payways.js | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/src/App.svelte b/src/App.svelte index 5884d6a..b9f5f40 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -97,6 +97,8 @@ "USD":"$", "KZT":"β‚Έ", "NGN":"₦", + "ZAR":"R", + "GHS":"β‚΅", } let accountComplete = false; diff --git a/src/payways.js b/src/payways.js index 0d3e0d7..eeb82b6 100644 --- a/src/payways.js +++ b/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,