使用此代碼向 Stripe 上的關(guān)聯(lián)帳戶轉(zhuǎn)賬時// // 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'].'}',]);付款存儲在連接帳戶的儀表板上并顯示已完成,但當(dāng)它存儲在我的“付款”選項(xiàng)卡上時,顯示付款未完成并且買家尚未完成付款上一頁 上一頁 2
1 回答

紅糖糍粑
TA貢獻(xiàn)1815條經(jīng)驗(yàn) 獲得超6個贊
confirm=true
您需要通過在創(chuàng)建時提供或致電 來確認(rèn)支付意向/confirm
。
您正在創(chuàng)建從您的帳戶到連接的帳戶的轉(zhuǎn)帳,該轉(zhuǎn)帳成功,并且您從未完成過付款。
- 1 回答
- 0 關(guān)注
- 174 瀏覽
添加回答
舉報(bào)
0/150
提交
取消