使用此代码将资金转入Stripe上的关联帐户时
// // Create a PaymentIntent:
$method = \Stripe\PaymentMethod::create([
'type' => 'card',
'card' => [
'number' => '4242424242424242',
'exp_month' => 12,
'exp_year' => 2020,
'cvc' => '314',
],
]);
$paymentIntent = \Stripe\PaymentIntent::create([
'amount' => $AMOUNT1,
'currency' => 'nzd',
'payment_method_types' => ['card'],
'payment_method' => $method->id,
'customer' => CUSTOMER_ID,
'transfer_group' => '{ORDER'.$_SESSION['order_id'].'}',
]);
// Create a Transfer to a connected account (later):
$transfer = \Stripe\Transfer::create([
'amount' => $AMOUNT2,
'currency' => 'nzd',
'destination' => $ACC_ID,
'transfer_group' => '{ORDER'.$_SESSION['order_id'].'}',
]);
付款存储在关联帐户的信息中心上并显示已完成,但是当付款存储在我的“ 付款”标签上时,它表示付款不完整并且买方尚未完成付款
答案 0 :(得分:0)
您需要通过在创建时提供confirm=true
或致电/confirm
来确认付款意向。
您正在创建从您的帐户到关联帐户的转账,该转账成功,并且您从未完成的付款。