#munlightshadow

1 messages · Page 1 of 1 (latest)

burnt lynxBOT
plush crest
#

the best solution is to pass the country parameter when you create the account in the API, set to the country where your user is.

visual night
#

Can you explain how can I do this?

visual night
#

Yes, Understand! Thanks!

And another question:
before I do this:

    $transfer = \Stripe\Transfer::create([
        'amount' => $price,
        'currency' => 'usd',
        'destination' => $userTo->getStripeAcc(),
        'transfer_group' => $transferGroup,
    ]);

But now I can see this:

$transfer = \Stripe\Transfer::create([
"amount" => 1000,
"currency" => "usd",
"source_transaction" => "{CHARGE_ID}",
"destination" => "{{CONNECTED_STRIPE_ACCOUNT_ID}}",
]);

source_transaction - is required parameter?

plush crest
visual night
#

Ok. Thank you! It was very helpful!