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

CashApp doesn't recognize invoice as "Bitcoin Wallet" when scanning QR code #2099

Closed
pretyflaco opened this issue Dec 3, 2020 · 9 comments · Fixed by #2100
Closed

CashApp doesn't recognize invoice as "Bitcoin Wallet" when scanning QR code #2099

pretyflaco opened this issue Dec 3, 2020 · 9 comments · Fixed by #2100
Assignees
Labels
Invoice Related to Invoices in BTCPay

Comments

@pretyflaco
Copy link

Describe the bug
Customer reported that "when scanning the BTCPay QR code, I get an error that it's not a Bitcoin wallet"

The BTCPay instance version is v1.0.6.0.

To Reproduce
Don't have CashApp to reproduce.

Expected behavior
Recognize either on-chain or off-chain invoice

@pavlenex
Copy link
Contributor

pavlenex commented Dec 3, 2020

Hi, we need a bit more context to the issue.

What's the address format that you're using for your wallet? SegWit/Legacy/P2SH? Do you by any chance have the Include lightning invoice fallback to on-chain BIP21 payment url enabled in Store > Checkout experience?

@britttttk
Copy link
Contributor

I can reproduce this @pretyflaco regardless of wallet type it will not work, it gives the error you mentioned. I tried with and without payment amounts specified in cash app.

I can however send to the BTCPay Wallet's Receive page from cash app.

@pavlenex
Copy link
Contributor

pavlenex commented Dec 3, 2020

Could be due to BIP21 fallback. Let's see.

@pavlenex pavlenex added Invoice Related to Invoices in BTCPay need-info Requires more information labels Dec 3, 2020
@britttttk
Copy link
Contributor

I can reproduce it does not work with or without: lightning/payjoin/bip21.

@pretyflaco
Copy link
Author

Address format is P2SH
Include lightning invoice fallback to on-chain BIP21 payment url is not enabled

@pavlenex pavlenex removed the need-info Requires more information label Dec 3, 2020
@britttttk
Copy link
Contributor

It works in version 1.0.5.9 but stopped in 1.0.6.0

@pavlenex
Copy link
Contributor

pavlenex commented Dec 3, 2020

Ok so the issue is most likely that we've added uppercase for the QR in 1.0.6.0
BITCOIN:BC1XYZ?amount=0.00000001 vs bitcoin:bc1xyz?amount=0.00001 So uppercase BITCOIN which should be according to BIP21 protocol isn't recognized by the CashApp. Would be good to test this with a few other wallets.

@rockstardev
Copy link
Member

rockstardev commented Dec 3, 2020

So uppercase BITCOIN: which should be according to BIP21 protocol isn't recognized by the CashApp.

I think it's likely that BITCOIN: is supported, but uppercased Bech32 address in QR code is not supported. @britttttk since you have CashApp can you go to:

https://www.the-qrcode-generator.com

And then try following combinations:

BITCOIN:BC1Q6APR55WRXTDTK3CJ6M69MXAYW99VVGTVDNVUNT?amount=0.00005142
BITCOIN:bc1q6apr55wrxtdtk3cj6m69mxayw99vvgtvdnvunt?amount=0.00005142
bitcoin:BC1Q6APR55WRXTDTK3CJ6M69MXAYW99VVGTVDNVUNT?amount=0.00005142
bitcoin:bc1q6apr55wrxtdtk3cj6m69mxayw99vvgtvdnvunt?amount=0.00005142

Obviously don't send any funds... just see if QR codes generated can be scanned.

@britttttk
Copy link
Contributor

@rockstardev

  1. No
  2. No
  3. Yes - bitcoin:BC1Q6APR55WRXTDTK3CJ6M69MXAYW99VVGTVDNVUNT?amount=0.00005142
  4. Yes - bitcoin:bc1q6apr55wrxtdtk3cj6m69mxayw99vvgtvdnvunt?amount=0.00005142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invoice Related to Invoices in BTCPay
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants