在用条带设置Apple的中,步骤告诉您创建一个带有条带元素的支付请求,以显示apple pay按钮--示例请求是一次性直接收费。您必须有一个付款请求来显示按钮-那么我如何创建一个订阅付款请求?支付请求对象是条元素,而不是在stripe中描述的。
var elements = stripe.elements();
var prButton = elements.create('paymentRequestButton', {
paymentRequest: paymentRequest,
});
// Check the availability of the Paymen
在index.html中使用条带付款的结帐按钮时,条带向我抛出以下错误: The domain (C:/../index.html) that redirected to Checkout is not enabled in the dashboard 我阅读了文档,他们告诉我们应该在URL:https://dashboard.stripe.com/settings/checkout中添加签出域,所以我添加了index.html,但它仍然是一样的 我不明白发生了什么事,请帮帮忙
我正在实现一个条带演示,其中付款将被分成多个目的地(多个服务提供商).In,正如我所看到的,当我使用以下给定的数组进行多次付款时,它抛出了一个语法错误,当网页加载时。
//Create a Transfer to a connected account (later):
$transfer = \Stripe\Transfer::create([
'amount' => 7000,
'currency' => 'usd',
'destination' => 'HERE WILL BE STRI