【发布时间】:2018-02-21 10:54:25
【问题描述】:
有人可以帮助我了解制作付款表单对商家的作用吗? 我正在电子商务网站上工作,商家可以在该网站上销售他们的产品。为了使用 Square 作为支付提供商,我使用 OAuth 来检索访问令牌(效果很好)。 我使用 Payment Form(获取卡 nonce)来收款。在付款表单初始化时,我需要发送 ApplicationID 和 LocationId。我能够得到最后一个但不是第一个参数。
如果我尝试使用自己的 ApplicationID,我会在 Transactions/Charge
上收到错误消息{
"errors":[{
"category":"INVALID_REQUEST_ERROR",
"code":"NOT_FOUND",
"detail":"Card nonce not found in this `sandbox` application environment. Please ensure an application ID belonging to the same environment is used for the SqPaymentForm."
}]
}
【问题讨论】:
标签: oauth square square-connect