Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V7.7.5 Upstream Changes #124

Merged
merged 12 commits into from Feb 25, 2020

Update Wyre ETH purchase url (#8051)

* Revert "Revert "Update Wyre ETH purchase url" (#7631)"

This reverts commit bc67d1eecabb123bf21445e604780d2454d52d3e.

* Restrict widget to just debit card payments

Apple Pay apparently only works on Safari.
  • Loading branch information
Gudahtt authored and ryanml committed Feb 14, 2020
commit 8c2ab4b1f636832d18e56f665464cdc42a2543ea
@@ -17,7 +17,7 @@ function getBuyEthUrl ({ network, amount, address, service }) {

switch (service) {
case 'wyre':
return `https://dash.sendwyre.com/sign-up`
return `https://pay.sendwyre.com/?dest=ethereum:${address}&destCurrency=ETH&accountId=AC-7AG3W4XH4N2&paymentMethod=debit-card`
case 'coinswitch':
return `https://metamask.coinswitch.co/?address=${address}&to=eth`
case 'coinbase':
@@ -20,7 +20,7 @@ describe('buy-eth-url', function () {
it('returns coinbase url with amount and address for network 1', function () {
const wyreUrl = getBuyEthUrl(mainnet)

assert.equal(wyreUrl, 'https://dash.sendwyre.com/sign-up')
assert.equal(wyreUrl, 'https://pay.sendwyre.com/?dest=ethereum:0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc&destCurrency=ETH&accountId=AC-7AG3W4XH4N2&paymentMethod=debit-card')

})

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.