#munlightshadow

1 messages ยท Page 1 of 1 (latest)

wet pilotBOT
halcyon heart
#

Hey there

uneven mason
#

Hello ๐Ÿ™‚

halcyon heart
#

Rocket Rides is an Express account demo, you seem to be creating Custom accounts, no?

uneven mason
#

I think yes

#

$stripe = new \Stripe\StripeClient(env('STRIPE_SECRET'));

    $answer = $stripe->accounts->create(
      [
        'country' => 'US',
        'type' => 'custom',
        'capabilities' => [
          'card_payments' => ['requested' => true],
          'transfers' => ['requested' => true],
        ],
      ]
    );

    $answer2 = $stripe->accountLinks->create([
      'account' => $answer['id'],
      'refresh_url' => 'https://example.com/reauth',
      'return_url' => 'https://example.com/return',
      'type' => 'account_onboarding',
    ]);

    return json_encode($answer2);
#

So. Everything all right?

halcyon heart
#

Yep that's why

#

With Custom accounts there is no Stripe Dashboard, so we don't collect login information (email + phone) like you see on the RocketRides demo

#

With Express, the Connected Account user has access to the Express Dashboard

uneven mason
#

And with custom account I can send money from my platform balance to client. Correct?

halcyon heart
#

Yep, that works with Custom or Express

uneven mason
#

Perfect! Thanks ๐Ÿ™‚

#

And another question please

#

When I create test account on onbording I can choose only US. And when I'm trying to make transfer

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

I have this error:
"message": "Funds can't be sent to accounts located in US because it's restricted outside of your platform's region; please contact us via https://support.stripe.com/contact for details.",

#

how can I sand money to clients from US?

halcyon heart
#

Where is your platform located?

#

And are you anticipating waiting to send funds at a later date after payment, or do you want to send them immediately?

uneven mason
#

I think in Europe.

#

I want send later

halcyon heart
#

Okay then unfortunately this isn't possible. You want to use Separate Charges and Transfers (https://stripe.com/docs/connect/charges-transfers) which requires the Connected Account to be in the same region as your platform in order to send a transfer.

uneven mason
#

Oh...
Can I create 2 platform for example?

halcyon heart
#

If you have a business in the US then yes

#

You can create a test account anywhere you like

#

But you do need a business entity in the country in order to activate the account

uneven mason
#

Ok. I understand. Thank you