Skip to content

Commit

Permalink
FIX: enable apple pay on moonpay
Browse files Browse the repository at this point in the history
  • Loading branch information
Overtorment committed Sep 7, 2020
1 parent fc7ba44 commit 73c7acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buy-bitcoin-redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
if (mercuryo_currencies.indexOf(currency) !== -1) mercuryo_url += "&fiat_currency=" + currency;
window.location = mercuryo_url;
} else {
var moonpay_url = 'https://moonpay-redirect.herokuapp.com/?apiKey=pk_live_IkhSI2lIXSiolwakfd95QFD4p3908cZa&enabledPaymentMethods=credit_debit_card%2Csepa_bank_transfer%2Cgbp_bank_transfer&currencyCode=BTC&colorCode=%2368BBE1&showWalletAddressForm=false';
var moonpay_url = 'https://moonpay-redirect.herokuapp.com/?apiKey=pk_live_IkhSI2lIXSiolwakfd95QFD4p3908cZa&enabledPaymentMethods=credit_debit_card%2Capple_pay%2Csepa_bank_transfer%2Cgbp_bank_transfer&currencyCode=BTC&colorCode=%2368BBE1&showWalletAddressForm=false';
if (address) moonpay_url += '&walletAddress=' + address;
if (moonpay_currencies.indexOf(currency) !== -1) moonpay_url += '&baseCurrencyCode=' + currency;
window.location = moonpay_url;
Expand Down

0 comments on commit 73c7acf

Please sign in to comment.