#jw_connect-account-onboarding

1 messages ยท Page 1 of 1 (latest)

nova lindenBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1229450034626433124

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

slim ventureBOT
brazen flax
#

Hello

#

If you are creating a session for your Connected Account then they would have to enable this via that Settings page in their own Dashboard for you to use this default config. Otherwise, you want to create a config (https://docs.stripe.com/api/customer_portal/configurations/create) and pass that in your Session creation (https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-configuration).

worn vector
#

"If you are creating a session for your Connected Account then they would have to enable this via that Settings page in their own Dashboard" - Thanks, how do I access this when in test mode? I have created a dummy connected account for testing

brazen flax
#

You would need to login to that account and go to the Settings page

#

Really though you should use the Config approach here

#

Since you shouldn't rely on your users going to this page and enabling this

worn vector
#

I see, good point. I'll give it a try and come back to you. (Thanks for your help btw)

brazen flax
#

Sure thing

worn vector
#

That worked, thank you

#

May I ask another related question please?

brazen flax
#

Sure

worn vector
#

Thanks

#

Our application is membership. Users login and they can join multiple clubs. In this situation users = customers and clubs = 'stores'

#

Will the customer billing portal show subscriptions for all the 'clubs'/'stores' they have subscribed to?

nova lindenBOT
brazen flax
#

Customer Portal will show Subscriptions based on the Customer ID

#

So meaning any Subscriptions for that specific Customer that the Portal Session was created for

worn vector
#

Ok, I will try create another store and test to see what they see

#

Sorry to push my luck, may I ask one last related question please?

tepid mortar
#

Hi ๐Ÿ‘‹

#

I'm stepping in for my colleague who has to go

#

What is your question?

worn vector
#

Thank you bismarck, hi snufkin ๐Ÿ™‚

#

When creating 'connected accounts' in test mode. I am struggling with getting all the test parameters correct, so I don't have to go through verification

#

\Stripe\Stripe::setApiKey(env("STRIPE_SECRET"));

\Stripe\Account::create([
    "type" => "custom",
    "country" => "AU",
    "capabilities" => [
        "card_payments" => [
            "requested" => true,
        ],
        "transfers" => [
            "requested" => true,
        ],
    ],
    "business_type" => "individual",
    "external_account" => [
        "object" => "bank_account",
        "country" => "AU",
        "currency" => "aud",
        "account_number" => "000123456",
        "routing_number" => "110000",
    ],
    'tos_acceptance' => ['date' => 1609798905, 'ip' => '8.8.8.8'],
    "business_profile" => [
        "mcc" => 5045,
        "url" => "https://accessible.stripe.com",
    ],
    "individual" => [
        "first_name" => "Test",
        "last_name" => "User",
        "phone" => "000-000-0000",
        "email" => "test1@example.com",
        "id_number" => "222222222",
        "address" => [
            "line1" => "Successful verification",
            "city" => "Fitzroy",
            "postal_code" => "3065",
        ],
        "dob" => [
            "day" => 01,
            "month" => 01,
            "year" => 1901,
        ],
        "verification" => [
            "document" => [
            "front" => "file_identity_document_success"
            ]                       
        ],
    ],
]);
#

I did get one to work, going through the onboarding wizard and entering test information

#

I just wondered if there was some easier option during test like 'createConnectedAccout('testmode') and it defaults to everything test value?

tepid mortar
#

Not that I know of. We try to make the Testmode approach fairly similar to what your Connected Accounts will experience in Live mode and I don't think we have any helper functions to automatically fill in all the data for you

worn vector
#

Just some feedback then. When creating a test connected account, the start of the wizard does have buttons like 'use test mode data' etc. But then there's the point you have to enter the business details and it no longer has any of those convenience buttons. You have to view the documentation and put specific data entries in based on the result (pass/fail) you want from the wizard. It would be convenient if you could select from the test mode options as going through the wizard

#

Anyway, just some feedback. I'm sure a lot of it is my inexperience as well!

#

Thank you for your time today, most appreciated

tepid mortar
#

I can definitely share the feedback internally!

worn vector
tepid mortar
#

Yup, I'm familiar with these screens

#

I will pass along that you would find an automated test value wizard useful here.

worn vector
#

Thanks, have a great rest of your day

tepid mortar
#

You too!