【问题标题】:Stripe Alipay onboarding with v3 js API使用 v3 js API 引入 Stripe 支付宝
【发布时间】:2018-09-01 15:58:47
【问题描述】:

尝试使用 Stripe 向支付宝收费,但它一直报告此错误消息。我可以在 Stripe Panel 中看到支付宝选项是绿色的。谁有类似的经验和解决方案?

<script src="https://js.stripe.com/v3/"></script>

// Create a Stripe client
var stripe = Stripe('<?php echo $stripe['publishable_key'];?>');

stripe.createSource({
  type: 'alipay',
  amount: 1099,
  currency: 'usd',
  redirect: {
    return_url: 'var_dump.php',
  },
}).then(function(result) {
  window.location=result.source.redirect.url;
});


</script>

来自 api.stripe.com/v1 的控制台错误

{
  "error": {
    "type": "invalid_request_error",
    "message": "Your Alipay onboarding is still pending review, so you can only create testmode Alipay sources. Please try again later or contact support@stripe.com with any questions.",
    "code": "pbl_pending"
  }
}

【问题讨论】:

    标签: stripe-payments alipay


    【解决方案1】:

    出现此错误的一个常见原因是,如果您有多个 Stripe 账户,并且您使用的 API 密钥与获准接受支付宝付款的账户不同。

    如果您的 API 密钥用于正确的帐户,那么您需要写信给支持人员以进行排序。

    【讨论】:

    • 问题已解决。支付宝需要申请的截屏才能批准直播源。
    猜你喜欢
    • 2020-07-18
    • 1970-01-01
    • 2019-06-26
    • 1970-01-01
    • 1970-01-01
    • 2011-10-08
    • 2019-01-20
    • 2019-04-04
    • 2010-11-04
    相关资源
    最近更新 更多