Skip to content

Commit

Permalink
Update Wyre purchase URL (#9414)
Browse files Browse the repository at this point in the history
  • Loading branch information
wachunei authored Sep 15, 2020
1 parent 86adca8 commit e205124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/lib/buy-eth-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function getBuyEthUrl ({ network, address, service }) {

switch (service) {
case 'wyre':
return `https://pay.sendwyre.com/?dest=ethereum:${address}&destCurrency=ETH&accountId=AC-7AG3W4XH4N2&paymentMethod=debit-card`
return `https://pay.sendwyre.com/purchase?dest=ethereum:${address}&destCurrency=ETH&accountId=AC-7AG3W4XH4N2&paymentMethod=debit-card`
case 'coinswitch':
return `https://metamask.coinswitch.co/?address=${address}&to=eth`
case 'metamask-faucet':
Expand Down
2 changes: 1 addition & 1 deletion test/unit/app/buy-eth-url.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('buy-eth-url', function () {
it('returns wyre url with address for network 1', function () {
const wyreUrl = getBuyEthUrl(mainnet)

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

})

Expand Down

0 comments on commit e205124

Please sign in to comment.