Unable to send requests from Scan QR to Pay option in app
Describe the bug
We wrote our custom wallet API as per documentation provided here.
When we scan a QR to Fetch payment options with URL format as bitcoin:?r=https://bitpay.blockchainsimplified.com/i/<invoiceId> and https://bitpay.blockchainsimplified.com/i/<invoiceId>
end-point from the Wallet mobile app, the app stuck at with a spinner and message fetching payment options.... We also found that the request never hits the server after the scan.
To Reproduce Steps to reproduce the behavior:
- Go to Bitpay wallet mobile app
- Click on exchange icon present in the center of bottom navigator
- Click on Scan option.
- Scan a QR code with URL containing endpoint to server and invoiceID with format
bitcoin:?r=https://bitpay.blockchainsimplified.com/i/<invoiceId>orhttps://bitpay.blockchainsimplified.com/i/<invoiceId>.
Expected behavior List of payment options returned from the server.
Smartphone (please complete the following information):
- Device: iPhone6s
- OS: iOS 14.8
- App Version 12.9.1
You are sending the GET request to the wrong URL. The full URL for the list of payment options from bitpay is https://bitpay.com/i/<invoiceId>. The list of payments is returned in a JSON format check here https://bitpay.com/docs/payment-protocol#paymentoptions or see attached picture
PS: If you need a developer to implement and fix your product, you can reach out to me.