Skip to content

Commit 47f5300

Browse files
committed
Merge branch 'frontend-btcdirect-crypto-selection' into staging-btcdirect-sell
2 parents 1954f11 + b2ea229 commit 47f5300

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

frontends/web/public/btcdirect/coin-to-fiat.html

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,10 @@
8686
theme: theme || 'light',
8787
});
8888

89-
btcdirect('set-parameters',
90-
mode === 'production' ? {
91-
baseCurrency: currency,
92-
fixedCurrency: true,
93-
quoteCurrency,
94-
// paymentMethod: any of 'bancontact', 'bankTransfer', 'creditCard', 'giropay', 'iDeal', 'sofort', 'applepay'
95-
// showWalletAddress: false,
96-
} : {
97-
baseCurrency: currency,
98-
fixedCurrency: true,
99-
paymentMethod: 'sofort', // sandbox currently only supports sofort payment method
100-
quoteCurrency,
101-
// showWalletAddress: false,
102-
}
103-
);
89+
btcdirect('currencies', {
90+
crypto: currency,
91+
fiat: quoteCurrency,
92+
});
10493

10594
break;
10695

0 commit comments

Comments
 (0)