From a9788c22255316439a7f74ae3d15d281f535f4e9 Mon Sep 17 00:00:00 2001 From: Anton Kovalenko Date: Tue, 20 Jul 2021 00:21:42 +0300 Subject: [PATCH] Added ngmobile (Nigerian mobile topups) --- src/App.svelte | 1 + src/payways.js | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/src/App.svelte b/src/App.svelte index a08d1fd..5884d6a 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -96,6 +96,7 @@ "RUB":"₽", "USD":"$", "KZT":"₸", + "NGN":"₦", } let accountComplete = false; diff --git a/src/payways.js b/src/payways.js index b270af0..0d3e0d7 100644 --- a/src/payways.js +++ b/src/payways.js @@ -4,6 +4,7 @@ const masks = { }, telru: { mask: "{+}{7} 000 000-0000" }, telua: { mask: "{+}{3}{8} {\\0}00 000 0000"}, + telng: { mask: "{+}{2}{3}{4} 000 000 0000"}, tel: { mask: [ { @@ -144,6 +145,17 @@ export default [ "id":"strelka", "placeholder":"0000 0000 000", }, + {"name":"📱 🇳🇬 NGN ₦ Mobile top-up", + "currency":"NGN", + "min":50, + "max":5000, + "imask":masks.telng, + "acc":"Phone number", + "autocomplete":"tel", + "inputmode":"tel", + "id":"ngmobile", + "placeholder":"+234 905 555 1234", + }, {"name":"🌐 🇷🇺 RUB ₽ Flex provider", "currency":"RUB", "min":20,