Skip to content

Commit

Permalink
Re-enable ideal for Banxa
Browse files Browse the repository at this point in the history
  • Loading branch information
paullinator committed Oct 19, 2023
1 parent 94dc9b3 commit 4474400
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/constants/plugins/GuiPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ export const guiPlugins: { [pluginId: string]: GuiPlugin } = {
nativePlugin: amountQuoteFiatPlugin,
displayName: 'ACH Bank Transfer'
},
ideal: {
pluginId: 'amountquote',
storeId: '',
baseUri: '',
lockUriPath: true,
nativePlugin: amountQuoteFiatPlugin,
forceFiatCurrencyCode: 'iso:EUR',
displayName: 'XX Do not show'
},
interac: {
pluginId: 'amountquote',
storeId: '',
Expand Down
11 changes: 11 additions & 0 deletions src/constants/plugins/buyPluginList.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,17 @@
"paymentTypeLogoKey": "cash",
"deepPath": "/"
},
{
"id": "ideal",
"pluginId": "ideal",
"paymentType": "ideal",
"paymentTypes": ["ideal"],
"title": "iDEAL",
"description": "",
"forCountries": ["NL"],
"cryptoCodes": [],
"paymentTypeLogoKey": "ideal"
},
{
"id": "interac",
"pluginId": "interac",
Expand Down
1 change: 1 addition & 0 deletions src/plugins/gui/fiatPluginTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const asFiatPaymentType = asValue(
'fasterpayments',
'googlepay',
'iach',
'ideal',
'interac',
'iobank',
'payid',
Expand Down
3 changes: 3 additions & 0 deletions src/plugins/gui/providers/banxaProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const allowedPaymentTypes: AllowedPaymentTypes = {
credit: true,
fasterpayments: true,
googlepay: true,
ideal: true,
interac: true,
iobank: true,
payid: true,
Expand Down Expand Up @@ -107,6 +108,7 @@ const asBanxaPaymentType = asValue(
'DIRECTCREDIT',
'DLOCALPIX',
'DLOCALZAIO',
'IDEAL',
'MANUALPAYMENT',
'MONOOVAPAYID',
'WORLDPAYAPPLE',
Expand Down Expand Up @@ -681,6 +683,7 @@ const typeMap: { [Payment in BanxaPaymentType]: FiatPaymentType } = {
DIRECTCREDIT: 'directtobank',
DLOCALPIX: 'pix',
DLOCALZAIO: 'iobank',
IDEAL: 'ideal',
MANUALPAYMENT: 'turkishbank',
MONOOVAPAYID: 'payid',
WORLDPAYAPPLE: 'applepay',
Expand Down

0 comments on commit 4474400

Please sign in to comment.