Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: jamesg72 on January 03, 2018, 08:56:31 AM



Title: PSA: how to get baddress from bitpay URI (now REQUIRED)
Post by: jamesg72 on January 03, 2018, 08:56:31 AM
(this info below was a big deal for me as i use tails in live dvd mode only when using my btc wallet,  and its now very difficult to use tails with bitpay, see very bottom for more info, im just trying to get info that would have helped me bigtime, out to others):

1- Bitpay invoices (and their 15m countdown of stress) no longer provide a BTC address to send your BTC to. They provide a bitcoin URI, like this: bitcoin:?r=https://bitpay.com/i/LSn1DrmQ2RF2VaF8nFHvdt


2- change the url to THIS, and paste that into any browser and you will get the ACTUAL BTC address to send to.
 

https://bitpay.com/invoice-noscript?id= (YOUR ID)

so thus:

https://bitpay.com/invoice-noscript?id=LSn1DrmQ2RF2VaF8nFHvdt

(not trying to double post from reddit to here, but i really wish i had been able to find this info 4 hours ago as i use Tails exclusivly when needing to send btc,  so see below url for more info from my post there).
tks

https://www.reddit.com/r/Bitcoin/comments/7ntfv6/psa_how_to_get_address_from_bitpay_uri_now/


Title: Re: PSA: how to get baddress from bitpay URI (now REQUIRED)
Post by: HCP on January 03, 2018, 12:40:33 PM
That's a great find... thanks for the info. Previously, I had been using Electrum to load the invoice, and getting the bitcoin address from there, but this looks like a much more direct method! I've also been toying with creating a Python script to extract it... but will just use this trick for now ;)


Title: Re: PSA: how to get baddress from bitpay URI (now REQUIRED)
Post by: achow101 on January 03, 2018, 06:51:19 PM
Nice find!

I can't imagine that Bitpay is going to leave that there any longer though, it seems like a mistake for them to do so and now that it is publicly known, it will probably go away.

Also, this link
https://bitpay.com/invoice-noscript?id=LSn1DrmQ2RF2VaF8nFHvdt
does not work, probably because the invoice expired already.

I've also been toying with creating a Python script to extract it... but will just use this trick for now ;)
You can use the one I wrote: https://github.com/achow101/payment-proto-interface


Title: Re: PSA: how to get baddress from bitpay URI (now REQUIRED)
Post by: jamesg72 on January 07, 2018, 06:11:18 PM
Nice find!

I can't imagine that Bitpay is going to leave that there any longer though, it seems like a mistake for them to do so and now that it is publicly known, it will probably go away.


I actually thought the exact same as you,  in putting this out as pub. as i can, bitpay will now remove it (which will hurt me bc i always use tails liveOS for ANY btc wallet access)..   BUT it looks like this was the right move!  (and right move by bitpay, for once).   the post here  and at reddit,  got a reply from one of their reps (on reddit, of course :(  ,  but they published this KB (so looks like the -noscript url trick will stay!! ):

https://support.bitpay.com/hc/en-us/articles/115003014566-Why-can-t-I-pay-a-BitPay-invoice-in-my-Tor-browser-