Bitcoin Forum

Alternate cryptocurrencies => Service Discussion (Altcoins) => Topic started by: bacobaco on May 17, 2018, 04:45:44 AM



Title: [HELP] bitpay url to address
Post by: bacobaco on May 17, 2018, 04:45:44 AM
I am curious how to convert bitpay url to real bitcoin cash address.


Title: Re: [HELP] bitpay url to address
Post by: OmegaStarScream on May 17, 2018, 10:06:04 AM
You can use this solution. I haven't tried it with BitcoinCash but since It's simply a fork of bitcoin, It should work.

This one should do the trick (and it doesn't require you to download/install anything): https://decoder.bip70.org/

Just paste the whole bitpay payment url (i.g bitcoin:?r=https://bitpay.com/i/G4qZiiFieMyVb1oUrAebfA) and the tool will give you the amount and address.




Title: Re: [HELP] bitpay url to address
Post by: cissrawk on May 17, 2018, 10:57:23 AM
You can use this solution. I haven't tried it with BitcoinCash but since It's simply a fork of bitcoin, It should work.

This one should do the trick (and it doesn't require you to download/install anything): https://decoder.bip70.org/

Just paste the whole bitpay payment url (i.g bitcoin:?r=https://bitpay.com/i/G4qZiiFieMyVb1oUrAebfA) and the tool will give you the amount and address.
Not work with bitcoincash, but work with bitcoin. I already try it and this is what it said
Quote
Invalid URL. Provide direct request URL, or a bip70 bitcoin uri - Invalid BIP21 URI: bitcoincash:?r=https://bitpay.com/i/SKyMZ6hscYkzWhQNzENnBd
Image (https://i.imgur.com/YGLnKfo.png)
I see BIP21. So, maybe need BIP21 decoder instead of bip70 decoder?


Title: Re: [HELP] bitpay url to address
Post by: JacobLiam12 on May 18, 2018, 10:31:30 PM
Bitcoin has the vision to replace the flat currency with the digital currency that will provide a faster and less fee transaction processing systems. It is bitcoin which has introduced the idea. Now many and many coins are coming following the idea of bitcoin. But not all are good enough like bitcoin. So when bitcoin is trying top replace cash, we should not try to replace bitcoin with cash.


Title: Re: [HELP] bitpay url to address
Post by: jonloner011 on May 19, 2018, 12:29:08 AM
I am fully agreed with @OmegaStarScream. He mentioned the best solution and it is supposed to work.


Title: Re: [HELP] bitpay url to address
Post by: TryNinja on May 19, 2018, 01:14:21 AM
After a lot of research, I have found a way of getting the address+amount from any Bitpay BCH payment url.

Just use this tool: https://cashaddress.github.io/paymentbridge.html

Or you can do it manually by sending a GET request to your invoice page (e.g: https://bitpay.com/i/HPYjyjEF5tsUNwrjjWbCXg) with the "Accept" header equal to "application/payment-request"; The json return will have the address and amount to be sent.


Title: Re: [HELP] bitpay url to address
Post by: cissrawk on May 19, 2018, 04:36:05 AM
Just use this tool: https://cashaddress.github.io/paymentbridge.html
Hey thanks a lot, it worked! This is what i got
Quote
Until deadline in seconds: 700
Currency: Bitcoin Cash
Minimum Fee Sat/KiloByte: 1000.00000
Exact Output Amount (BCH): 0.00845600
Output Address: qpjf6y7wlsvn362vfrd2jg3pdfa0a2xcz5vmf44hss
Image (https://imgur.com/a/0vpUJ3c)
and it will appear second form which is "Raw Transaction". Looks like i need to create transaction but not broadcast it. Based on that site
Quote
After this tool shows you the address and the amount, a transaction should be made (but not broadcast!) and should be pasted in this tool, to complete the purchase.

Or you can do it manually by sending a GET request to your invoice page (e.g: https://bitpay.com/i/HPYjyjEF5tsUNwrjjWbCXg) with the "Accept" header equal to "application/payment-request"; The json return will have the address and amount to be sent.
I like the first one because its easier to use, but thanks for information.


Title: Re: [HELP] bitpay url to address
Post by: jasonhart on May 19, 2018, 02:29:18 PM
Why do you want to do so? Will it be more usefull than bitpay? I mean what are the objectives of your such decision? If the answers are justified, then i'll do the same. ::) ???


Title: Re: [HELP] bitpay url to address
Post by: TryNinja on May 19, 2018, 02:40:37 PM
and it will appear second form which is "Raw Transaction". Looks like i need to create transaction but not broadcast it. Based on that site
Quote
After this tool shows you the address and the amount, a transaction should be made (but not broadcast!) and should be pasted in this tool, to complete the purchase.
I'm not sure what is that about. AFAIK, sending the transaction manually with your BCH wallet would work. But I will take a look at the code.

I like the first one because its easier to use, but thanks for information.
The second method is if you don't want to "trust" the first tool. But I took a look at the code and it looks legit.


You can ask help from bitcoin cash on this regard. I tried it with bitcoin it worked. But I guess Bitcoin cash has different procedure. You can ask help from them.
Why do you want to do so? Will it be more usefull than bitpay? I mean what are the objectives of your such decision? If the answers are justified, then i'll do the same. ::) ???
Wtf are those posts?


Title: Re: [HELP] bitpay url to address
Post by: WhalePanda on June 08, 2018, 11:09:32 AM
I've always used https://bitpaydecoder.org but just for bitcoin payments


Title: Re: [HELP] bitpay url to address
Post by: Patatas on June 08, 2018, 01:34:13 PM
I've always used https://bitpaydecoder.org but just for bitcoin payments
lol Glad that it is working for you but for me it's a big NO! Why I can't I just pay with Visa or something rather wasting 30 minutes of my precious time over some tech bullshit I'm not familiar with?BitPay is the reason services wouldn't use bitcoin payment systems as they make things more complicated then it's suppose to be.


Title: Re: [HELP] bitpay url to address
Post by: leowonderful on June 08, 2018, 01:40:45 PM
I've always used https://bitpaydecoder.org but just for bitcoin payments
lol Glad that it is working for you but for me it's a big NO! Why I can't I just pay with Visa or something rather wasting 30 minutes of my precious time over some tech bullshit I'm not familiar with?BitPay is the reason services wouldn't use bitcoin payment systems as they make things more complicated then it's suppose to be.
Ideally, BIP70 is actually meant to simplify things and make middleman attacks more difficult to pull off (as each BIP70 URL has an SSL certificate attached to it to make it easier to view who you are sending your coins to), but the problem is that there's lots of opposition towards it like from some wallets, including Blockchain.info and Samourai wallet, and people like you and me can't transact with Bitpay. According to Bitpay's blog here (https://blog.bitpay.com/bitpay-and-payment-protocol/), the rationale that made them adopt BIP70 included actually the fact that people paid too little or too much, too late, or miner fees resulted in long confirmation times-

Quote from: BitPay Blog
For a while now, we’ve wanted to reduce or completely eliminate payment errors to BitPay invoices. Payment errors occur when someone pays too much, too little, too late, or their payment doesn’t include a sufficient miner fee (resulting in a delay in confirmation). These are not isolated incidents. Before Payment Protocol, wallets or exchange accounts not suitable for spending (along with user error) created more than a thousand of these errors for BitPay purchasers every week.

Bitpay likely didn't mean anything bad with adopting this, as logically adopting BIP70 would help them become more efficient as a payment processor and possibly reduce staff costs as they'd need less people handling transaction errors, but for whatever reason many wallets still don't support it. It's just a shame those wallets don't support BIP70 URLs, because the regular Bitcoin user might not be as tech savvy as the people on these forums and a nonworking payment URL leaves a bad taste in a newbie's mouth.


Title: Re: [HELP] bitpay url to address
Post by: Patatas on June 08, 2018, 01:50:24 PM
Ideally, BIP70 is actually meant to simplify things and make middleman attacks more difficult to pull off (as each BIP70 URL has an SSL certificate attached to it to make it easier to view who you are sending your coins to), but the problem is that there's lots of opposition towards it like from some wallets, including Blockchain.info and Samourai wallet, and people like you and me can't transact with Bitpay. According to Bitpay's blog here (https://blog.bitpay.com/bitpay-and-payment-protocol/), the rationale that made them adopt BIP70 included actually the fact that people paid too little or too much, too late, or miner fees resulted in long confirmation times-
I totally agree with that but that dissolves the point of creating a payment gateway.Users want things simplified, they're over complicating it.They can at least have an option to reveal address and recommend a suitable transaction fee.Right now, it is very difficult for an average user with blockchain.info wallet to use their service.Needless to say, people aren't like it at all.It's a potential loss for the services.

Bitpay likely didn't mean anything bad with adopting this, as logically adopting BIP70 would help them become more efficient as a payment processor and possibly reduce staff costs as they'd need less people handling transaction errors, but for whatever reason many wallets still don't support it. It's just a shame those wallets don't support BIP70 URLs, because the regular Bitcoin user might not be as tech savvy as the people on these forums and a nonworking payment URL leaves a bad taste in a newbie's mouth.
You and I can understand the technical implementations of that system but technology is suppose to make stuff easier for noobs.Me being a technical guy had a hard time to send my first payment through BitPay as I had to install Electrum to broadcast the transaction from the URL provided.


Title: Re: [HELP] bitpay url to address
Post by: coupable on June 11, 2018, 10:37:03 PM
There is another problem with paiement using BitPay Invoice (BitPay protocol for secured paiements dedicated to campagnies) is that paiements should be made from a wallet that is supported by the BitPay Invoice. BitPay invoices only work with wallets that are updated to work with Payment Protocol

For bitcoin paiements, use one of the following list:
- BitPay  (https://bitpay.com/wallet)
- Copay (https://copay.io/)
- Mycelium (https://wallet.mycelium.com/index.html)
- Airbitz (https://airbitz.co/bitcoin-wallet/)
- Electrum (https://electrum.org/#home)
- Bitcoin Core (https://bitcoin.org/en/wallets/desktop/windows/bitcoincore/)
- Bitcoin.com (https://wallet.bitcoin.com/)
- BRD (https://breadapp.com/)

The following wallets are fully compatible for BitcoinCash paiements:
- BitPay  (https://bitpay.com/wallet)
- Copay (https://copay.io/) 
- Bitcoin.com (https://wallet.bitcoin.com/)
- Electron Cash (https://electroncash.org/)

Check this page (https://support.bitpay.com/hc/en-us/articles/115005701523) to know more about compatible wallets.
Check this paiement guide (https://support.bitpay.com/hc/en-us/articles/115005559826) for further instructions.


Title: Re: [HELP] bitpay url to address
Post by: ralle14 on June 12, 2018, 12:26:43 AM
There is another problem with paiement using BitPay Invoice (BitPay protocol for secured paiements dedicated to campagnies) is that paiements should be made from a wallet that is supported by the BitPay Invoice. BitPay invoices only work with wallets that are updated to work with Payment Protocol
These wallets mentioned by Bitpay are only suggestions OP can still pay on any btc/bch wallet by extracting the address from the link given by Bitpay. By doing this it saves you time and a little bit of fees if you're not using a compatible wallet. Also the guide is always linked in every one of their invoice no need to repeat it.


Title: Re: [HELP] bitpay url to address
Post by: loughlin on June 14, 2018, 09:52:55 PM
Now I am just trying to send BTC from my Trezor wallet to Bitpay url. There I need to use another one wallet. It is too complicated and does not work.
I try with Electrum wallet and they success read Bitpay url, but they can't read balance from my trezor and transaction is not possible.
IDK why is so hard to have a visible address for copy/paste


Title: Re: [HELP] bitpay url to address
Post by: TryNinja on June 16, 2018, 01:05:18 AM
There I need to use another one wallet.
Or you can just use one of the methods I described above.

I try with Electrum wallet and they success read Bitpay url, but they can't read balance from my trezor
This shouldn't be an issue. Have you tried to contact Trezor's support?


Title: Re: [HELP] bitpay url to address
Post by: WhalePanda on June 25, 2018, 04:00:22 PM
Now I am just trying to send BTC from my Trezor wallet to Bitpay url. There I need to use another one wallet. It is too complicated and does not work.
I try with Electrum wallet and they success read Bitpay url, but they can't read balance from my trezor and transaction is not possible.
IDK why is so hard to have a visible address for copy/paste

using a decoder is easy, as many already said this: https://bitpaydecoder.org


Title: Re: [HELP] bitpay url to address
Post by: loughlin on June 29, 2018, 09:17:51 PM
There I need to use another one wallet.
Or you can just use one of the methods I described above.

I try with Electrum wallet and they success read Bitpay url, but they can't read balance from my trezor
This shouldn't be an issue. Have you tried to contact Trezor's support?

Not this time. I had very little time to make this transaction, I could not wait for an answer from Trezor.
I will try next time again, also will try to use https://bitpaydecoder.org seems like a good solution


Title: Re: [HELP] bitpay url to address
Post by: TryNinja on June 29, 2018, 09:58:35 PM
Not this time. I had very little time to make this transaction, I could not wait for an answer from Trezor.
I will try next time again, also will try to use https://bitpaydecoder.org seems like a good solution

Just be careful with those non open-source tools. I see that this website does a lot of requests to a PHP page, which I don't see the reason why. They could provide you with a fake address controlled by the owner of the website.

Better to get the addresses yourself by sending the GET request to the URL with the "Accept" header equal to "application/payment-request", or use a more trusted open source tool like https://decoder.bip70.org/


Title: Re: [HELP] bitpay url to address
Post by: Patatas on June 29, 2018, 10:08:56 PM
Not this time. I had very little time to make this transaction, I could not wait for an answer from Trezor.
I will try next time again, also will try to use https://bitpaydecoder.org seems like a good solution

Just be careful with those non open-source tools. I see that this website does a lot of requests to a PHP page, which I don't see the reason why. They could provide you with a fake address controlled by the owner of the website.
That's very much possible! I wouldn't touch that site with a 10 inch pole!  I did checkout the network requests but nothing unusual. Typical 200/400/401 errors depending on the data validation. However I don't know what
Code:
rec.php?hash=
request meant. It is a post request but no data in header or response.

Better to get the addresses yourself by sending the GET request to the URL with the "Accept" header equal to "application/payment-request", or use a more trusted open source tool like https://decoder.bip70.org/
I doubt non-techies can afford investing their time to call the API's. The open-source option is better.


Title: Re: [HELP] bitpay url to address
Post by: TryNinja on June 29, 2018, 10:13:02 PM
That's very much possible! I wouldn't touch that site with a 10 inch pole!  I did checkout the network requests but nothing unusual. Typical 200/400/401 errors depending on the data validation. However I don't know what
Code:
rec.php?hash=
request meant. It is a post request but no data in header or response.
It hashes the URL you put in the textbox and sends it to their server. Why? Don't know.

There is more at the code.js file, which is responsible for getting the address and amount of the Bitpay URL.