Stripe Connect error 'No such merchant'

Viewed 1245

I am processing payments using Stripe Connect and the client ID that is meant to receive payments from my application is returning the error "No such merchant: ca_8xxx". My code is :

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
}
1 Answers
Related