XF 2.0 Stripe Destination charges

XenConcept

Well-known member
Hello,

I would like to redirect fees to another account. Do you know how to do it ?

I read the doc me I do not understand or find the parameter CONNECTED_STRIPE_ACCOUNT_ID

https://stripe.com/docs/connect/destination-charges

Example code

PHP:
// Set your secret key: remember to change this to your live secret key in production
// See your keys here: https://dashboard.stripe.com/account/apikeys
\Stripe\Stripe::setApiKey("sk_test_7w8WnrSUQ1tYDtefDneMHqwe");

$charge = \Stripe\Charge::create(array(
  "amount" => 1000,
  "currency" => "eur",
  "source" => "tok_visa",
  "destination" => array(
    "account" => "{CONNECTED_STRIPE_ACCOUNT_ID}",
  ),
));

Can you help me ? @Chris D @Mike

Regards
 
No idea :)

You’ll be best asking the service provider where to find the info or reading their docs further.
 
Top Bottom