У меня есть интегрированный процесс оплаты с полосой подключения Я снимаю с учетной записи администратора, она работает нормально, но при подключении к учетной записи возвращен недостаточный баланс ошибка
$payableAmount = $payableAmount * 100;
//Stripe admin account charge process
$charge = \Stripe\Charge::create(array(
"amount" => 100, // $15.00 this time
"currency" => 'GBP',
"customer" => $stripeDetails['stripe_customer_id']
));
//charge working fine (In Dashboard currency converted GBP to UD)
$splitAmount = 100 * 2 / 100;
$splitAmount = 90 - $splitAmount;
$transfer = \Stripe\Transfer::create(array(
'amount' => $splitAmount * 100,
'currency' => 'GBP',
'destination' => $storeData['stripe_account_id']
));
//transfer return Insufficient funds in Stripe account. In test mode, you can add funds to your available balance.