【发布时间】:2017-02-25 06:46:51
【问题描述】:
使用 Square web api(Android) 启动交易返回给定的 WEB_CALLBACK_URI,error_code 为 UNSUPPORTED_API_VERSION 和 error_description 为“安装的 Square Point of Sales 版本太旧。它不支持此版本销售点 SDK"
我安装了最新的 Square 应用版本=4.57
我在我的 html 页面上使用了以下代码
<a href="intent:#Intent;
action=com.squareup.register.action.CHARGE;package=com.squareup;
S.browser_fallback_url=http://08e71683.ngrok.io;
S.com.squareup.register.WEB_CALLBACK_URI=http://08e71683.ngrok.io/abc;
S.com.squareup.register.CLIENT_ID=sandbox-sq0idp-6Lo2W9zX8K9b08zKxmfUtw;
S.com.squareup.register.API_VERSION=v2;
i.com.squareup.register.TOTAL_AMOUNT=100;
S.com.squareup.register.CURRENCY_CODE=USD;
S.com.squareup.register.TENDER_TYPES=com.squareup.register.TENDER_CARD,com.squareup.register.TENDER_CARD_ON_FILE,com.squareup.register.TENDER_CASH,com.squareup.register.TENDER_OTHER;
end">
Send me $
</a>
我在谷歌上尝试了很多寻找解决方案,但找不到。希望有人帮忙。
【问题讨论】:
标签: square-connect