【问题标题】:Square payment unable to test payment flow in iOS appSquare 支付无法在 iOS 应用中测试支付流程
【发布时间】:2018-03-20 13:05:00
【问题描述】:

我已经开发了带有沙盒凭证的方形支付 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 应用程序内部获取地理定位,我无法对其进行调查。

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

【问题讨论】:

    标签: ios square square-connect


    【解决方案1】:

    由于您不在 Square 支持的国家/地区,您将无法使用 Square Point of Sale 应用和 API 测试卡支付。但是,您可以禁用卡支付作为一种支付方式,并且只启用CASH 支付方式。然后您将能够完成应用程序切换,无论位置如何。

    【讨论】:

    • 那我该如何为我的客户开发应用程序呢?
    • 我不想在印度使用该应用程序,但作为一名开发人员,我为我的美国客户开发了该应用程序,他们希望整合支付方。如果您甚至不允许我测试 POS 的沙盒支付,我该如何完成开发。如何完成我的应用流程?请给我是否可能仅用于开发。我们希望集成到我们的 Android 和 iOS 应用程序中。
    • @BhadreshMulsaniya 我实际上弄错了,您可以测试现金交易。我会更新我的答案
    • 如何在方形仪表板中查看交易 ID,因为我在成功交易后看不到我在应用中获得的交易 ID?
    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-07-08
      • 2012-03-17
      • 1970-01-01
      • 1970-01-01
      • 2013-08-20
      • 2019-12-07
      • 2012-04-10
      相关资源
      最近更新 更多