【发布时间】:2017-11-10 22:13:02
【问题描述】:
我在开发频道 (v 60.x) 中使用 Acer Chromebook R11 来开发带有 Square 的 HTML5 POS 应用程序。我正在尝试使用超链接触发基本的 Android 意图,如下所示:
<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 出现以下错误:WEB_CALLBACK_URI 参数与任何预期的 Web 回调 URI 都不匹配。
这是什么意思?
【问题讨论】:
-
对于对此投反对票的人,您能否至少提供一个答案或反馈,说明您为什么认为这是一个糟糕的问题?我什至在 Square 的开发者门户中都找不到这个错误记录。
标签: android html square-connect