我正在使用 Stripe Connect 处理付款,并且用于从我的应用程序接收付款的客户端 ID 返回错误“没有此类商家:ca_8xxx”。我的代码是:
try {
$charge = \Stripe\Charge::create(array(
"amount" => $amount,
"currency" => "usd",
"source" => $token,
"description" => "Strike Charge",
"application_fee" => 500,
"destination" => $client_id //not working
));
} catch(\Stripe\Error\Card $e) {
// The card has been declined
}