fix moonpay on desktop

This commit is contained in:
Sean Yesmunt 2020-12-08 11:33:00 -05:00
parent b9bd7d3f7b
commit 0ef0966226

View file

@ -70,6 +70,8 @@ export default function BuyPage(props: Props) {
url += `&email=${encodeURIComponent(email)}`;
}
url += `&enabledPaymentMethods=${encodeURIComponent('credit_debit_card,sepa_bank_transfer,gbp_bank_transfer')}`;
const query = new URL(url).search;
const signature = Base64.stringify(hmacSHA256(query, MOONPAY_KEY));