Hello everyone, I recently found a lot of people struggling to use Bitpay's Payment Protocol implementation. It was a while since they announced it and there were some solutions (decoders). But the problem with them is that they can just show you the wrong address/amount and there is no way for you to verify it.
I'm going to show you how to get the address/amount yourself.
Its quite simple. When you get payment getway, you need to get the link from there. Then you need to send a GET request to that link with header: "Accept" and value "application/payment-request" You will get JSON response with the address and amount required to pay. Now, not everyone is in tech business and knows how to do that. You will need a free tool called Postman. Download it and from there it should be straightforward.
Example: https://i.imgur.com/Qoy71hJ.png
Not a lot of wallets support BIP 70 yet, and I don't see why should anyone whose wallet don't support that switch to another one just to make payments to Bitpay. Hope I've helped someone out 🙂
submitted by /u/RaZZeR_SRB
[link] [comments]
Source and link to Reddit topic: Paying to Bitpay without Payment Protocol
Author: Reddit.com
Leave a Reply