I'm using an Acer Chromebook R11 in Dev channel (v 60.x) to develop an HTML5 POS app with Square. I'm trying to fire a basic Android intent with a hyperlink, like so:
<a target="_blank" href="intent:#Intent;action=com.squareup.pos.action.CHARGE;package=com.squareup;S.browser_fallback_url=**my website**;S.com.squareup.pos.WEB_CALLBACK_URI=**my website's main index.php* file*;S.com.squareup.pos.CLIENT_ID=**my ID**;S.com.squareup.pos.API_VERSION=v2.0;i.com.squareup.pos.TOTAL_AMOUNT=100;S.com.squareup.pos.CURRENCY_CODE=USD;S.com.squareup.pos.TENDER_TYPES=com.squareup.pos.TENDER_CARD,com.squareup.pos.TENDER_CARD_ON_FILE,com.squareup.pos.TENDER_CASH,com.squareup.pos.TENDER_OTHER;end">Send me $</a>
Square POS is giving the following error: The WEB_CALLBACK_URI parameter does not match any of the expected web callback URIs.
What does this even mean?
Have you set your web callback in the dashboard yet? If not here's how.
Go to your app dashboard https://connect.squareup.com/apps
Click on your app and then "Point of Sale API"
Put your desired WEB_CALLBACK_URI on the bottom of the page where you see "Web Callback URLs" and click "Save".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With