尝试使用 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"
}
}