Square支付无法测试iOS应用中的支付流程

时间:2018-03-20 13:05:01

标签: ios square square-connect

我开发了带有沙盒凭据的方形支付SDK的演示应用程序,以便付款。

每次我收到失败错误并且说'

Error Domain=SCCAPIErrorDomain Code=6 "User not activated. Please visit https://squareup.com/activate. The logged-in account cannot take credit card payments.  This could be because the account is from a country where Square does not process payments, because the account did not complete the initial activation flow, or because it has been deactivated for security reasons." UserInfo={error_code=user_not_active, NSLocalizedDescription=User not activated. Please visit https://squareup.com/activate. The logged-in account cannot take credit card payments.  This could be because the account is from a country where Square does not process payments, because the account did not complete the initial activation flow, or because it has been deactivated for security reasons.}

因为我来自印度,可能会限制我进行测试。它正在从他们的POS应用程序内部进行地理定位,并且我无法查看它。

我有什么方法可以测试付款流程吗?这样我就可以将它集成到我的实时应用程序中。

2 个答案:

答案 0 :(得分:0)

由于您位于Square支持的国家/地区之外,您将无法使用Square Point of Sale应用和API测试卡付款。但是,您可以将卡付款作为投标类型禁用,并且仅启用CASH投标。然后,无论位置如何,您都可以完成应用程序切换。

答案 1 :(得分:0)

Square Auto在创建Square帐户时会检测货币和位置。当我尝试将Square与美国和英国客户的现有应用程序集成时,我遇到了同样的问题。 我的建议是让您的客户或美国的联系人从那里创建帐户并根据其位置链接美国或英国的银行帐户。 Square确实支持多个国家,例如美国,英国,加拿大,日本和澳大利亚。 必须从您的客户所属的国家/地区拥有一个Square帐户,这样才能轻松进行测试。 另一种建议是尝试使用两个Square帐户,因为您可以将一个Square帐户用作开发帐户,而将一个用于生产帐户作为开发人员帐户,以防止将来出现很多问题。