Skip to content

Commit b4d68dd

Browse files
authored
Merge pull request #4536 from EdgeApp/paul/banxaIdeal
Re-enable ideal for Banxa
2 parents 94dc9b3 + c13714c commit b4d68dd

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
## 3.20.0
88

9+
- added: Banxa purchase with iDEAL
910
- added: Asset status card to remotely communicate known issues or important info
1011
- added: Paybis buy with credit card
1112
- changed: 'legacyLanding' experiment config set to 0% probability

src/constants/plugins/GuiPlugins.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@ export const guiPlugins: { [pluginId: string]: GuiPlugin } = {
9797
nativePlugin: amountQuoteFiatPlugin,
9898
displayName: 'ACH Bank Transfer'
9999
},
100+
ideal: {
101+
pluginId: 'amountquote',
102+
storeId: '',
103+
baseUri: '',
104+
lockUriPath: true,
105+
nativePlugin: amountQuoteFiatPlugin,
106+
forceFiatCurrencyCode: 'iso:EUR',
107+
displayName: 'XX Do not show'
108+
},
100109
interac: {
101110
pluginId: 'amountquote',
102111
storeId: '',

src/constants/plugins/buyPluginList.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,17 @@
308308
"paymentTypeLogoKey": "cash",
309309
"deepPath": "/"
310310
},
311+
{
312+
"id": "ideal",
313+
"pluginId": "ideal",
314+
"paymentType": "ideal",
315+
"paymentTypes": ["ideal"],
316+
"title": "iDEAL",
317+
"description": "Fee: 4%\nSettlement: Instant - 24 hours",
318+
"forCountries": ["NL"],
319+
"cryptoCodes": [],
320+
"paymentTypeLogoKey": "ideal"
321+
},
311322
{
312323
"id": "interac",
313324
"pluginId": "interac",

src/plugins/gui/fiatPluginTypes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const asFiatPaymentType = asValue(
2525
'fasterpayments',
2626
'googlepay',
2727
'iach',
28+
'ideal',
2829
'interac',
2930
'iobank',
3031
'payid',

src/plugins/gui/providers/banxaProvider.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const allowedPaymentTypes: AllowedPaymentTypes = {
4040
credit: true,
4141
fasterpayments: true,
4242
googlepay: true,
43+
ideal: true,
4344
interac: true,
4445
iobank: true,
4546
payid: true,
@@ -107,6 +108,7 @@ const asBanxaPaymentType = asValue(
107108
'DIRECTCREDIT',
108109
'DLOCALPIX',
109110
'DLOCALZAIO',
111+
'IDEAL',
110112
'MANUALPAYMENT',
111113
'MONOOVAPAYID',
112114
'WORLDPAYAPPLE',
@@ -681,6 +683,7 @@ const typeMap: { [Payment in BanxaPaymentType]: FiatPaymentType } = {
681683
DIRECTCREDIT: 'directtobank',
682684
DLOCALPIX: 'pix',
683685
DLOCALZAIO: 'iobank',
686+
IDEAL: 'ideal',
684687
MANUALPAYMENT: 'turkishbank',
685688
MONOOVAPAYID: 'payid',
686689
WORLDPAYAPPLE: 'applepay',

0 commit comments

Comments
 (0)