#rdsdaw2022 - testing connect

1 messages ยท Page 1 of 1 (latest)

warm torrent
#

Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐Ÿ™‚

wicked fog
#

thank you

warm torrent
#

Hey there, are you trying to change the account you're sending to, or you want to resolve that issue with the account you're already using?

#

It sounds like you're using connect and destination charges with an account that doesn't set have the necessary capabilities

wicked fog
#

yeah

#

I am trying to understand how it work. I need to be able to send application_fee_amount. For that I need, transfer_data[destination] to be sent. So I created a account form Dashboard->Connect.

warm torrent
#

Can you share the request ID you're trying to make?

wicked fog
#

however, I see that card payments and transfers are both Inactive for that account. How can I activate it, in test mode?

warm torrent
#

Most likely, you need to onboard the account

wicked fog
#

you mean payment_intent_id?

warm torrent
#

Is it an express account or custom?

#

no, request ID like req_1234 where you get the error

wicked fog
#

i created custom

#

{
"error": {
"code": "insufficient_capabilities_for_transfer",
"message": "Your destination account needs to have at least one of the following capabilities enabled: transfers, legacy_payments",
"type": "invalid_request_error"
}
}

#

this is the response I get

warm torrent
wicked fog
#

I can do that even on test mode?

warm torrent
#

yep, in fact you must (or provide th same info via the API)

#

You need to activate the capabilities by providing required info

wicked fog
#

oh ok

#

let me do that

wicked fog
#

Can we use the account_id of a valid customer on test mode? Will it not send fund to the account?

#

{
"error": {
"message": "The 'transfer_data[destination]' param cannot be set to your own account.",
"param": "transfer_data[destination]",
"type": "invalid_request_error"
}
}

warm torrent
wicked fog
#

when I mean test mode, I mean using test publishable and secret keys

warm torrent
warm torrent
#

No actual payments will be collected, but test most funds will transfer to the test mode connected account, yes

warm torrent
#

rdsdaw2022 - testing connect

wicked fog
#

Looks like we have 2 accounts set up, one is the base account (account1) and another (account2) is for the customer for whom we need to pay using stripe. When the end users submit payment, the application_fee_amount should go to account1 and rest of the payment should go to account2. So should the base account have account2 connected to it? And we should be able to connect account2 to account1 using the 'connect' tab in the dashboard, correct?

quick needle
#

Hi there, taking over for @warm torrent. Give me a few minutes to get caught up

wicked fog
#

ok

quick needle
#

So should the base account have account2 connected to it?
yes, they will have to be connected in order for transfer of funds to happen (this is disallowed if you're not using Connect)

And we should be able to connect account2 to account1 using the 'connect' tab in the dashboard, correct?
No, this will need to be done via the API: https://stripe.com/docs/connect/standard-accounts

wicked fog
#

Can we collect application_fee_amount using Direct charge as well?

#

without connecting? because I have base account1 and another account2, but they are not connected. I would not want initial payment come to account1. It should directly go to account2.

#

I see that we can use
const paymentIntent = await stripe.paymentIntents.create({
amount: 1000,
currency: 'usd',
application_fee_amount: 123,
}, {
stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}',

});

quick needle
#

No, because you would need to be able to facilitate payment on behalf of Account2, which you cannot do without connecting to the account

wicked fog
#

oh...so even if I use direct Charge using the stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}', I should still connect account1 to account1, correct?

quick needle
#

Yes. There's no way around that unfortunately

wicked fog
#

I see the 'Connect' menu in the Dashboard. Why cannot we use that to connect account2 to account1?

#

It can only be done using API?

quick needle
#

It's just a limitation of the Dashboard. It doesn't have that functionality built in

wicked fog
#

I see. Thank you. However, I do see Connect tin the Dashboard. What is that used for then?

quick needle
wicked fog
#

I am a developer. I am just asking the use of that. Because my manager has access to the dashboard.

#

and she has created accounts already. So can I use those created account2 to connect to the platform account?

#

Also, if I use API to create new connected account, the publishable and secret key that I will be using is from the platform stripe account, correct?

quick needle
#

You can create accounts from the Dashboard, but you won't be able to connect pre-existing accounts to your platform via the Dashboard

#

Also, if I use API to create new connected account, the publishable and secret key that I will be using is from the platform stripe account, correct?
Correct

wicked fog
#

ok

#

So, can she create new connected accounts from the Dashboard, then? Asking because she is hesitant to give all the information for the new account. If she could from the dashboard, she could just give me the account id. If not, I will need to create new connected accounts using API.

halcyon iron
#

๐Ÿ‘‹ stepping in and catching up. Give me a moment

wicked fog
#

ok thanks

halcyon iron
#

What type of Connected Accounts?

wicked fog
#

Standard

#

She has already created account2 where the payment should directly go to. and only the application fee should be sent to account 1.

#

but she created account2 as a separate account, not connected account. That is where my confusion is.

halcyon iron
#

You can connect a non-connected Standard Account to your Account via OAuth.

#

You can create an OAuth link via the Dashboard

#

If you click "Create" on the Connect Tab

wicked fog
#

that would be great. I clicked create on the Connect Tab in the Dashboard on my personal test stripe account, looks like I need to cretae another strip account to test as I need to send them one time link. Doing that now.

halcyon iron
#

๐Ÿ‘

wicked fog
#

I created new stripe account (acct_1KxadKL4OojVReq8), and then clicked the onboarding link from the platform account, so now I see a new account_id in my platform account connect tab. However, it is different. I have acct_1KxajGBe66jDbbtt as the connected account_id. Do you know why?

halcyon iron
#

When you clicked "Create" did it give you a link to go to for onboarding?

wicked fog
#

yes

#

and i clicked that

#

I see. The moment you click that link, it creates a new account? I just created another standard by clicking Create, and clicking the onboarding link and it created new connected account. But then where would I put the back details etc to collect payment? I do not see that option at all. I was wanting to link my new stripe account as a connected account to my base account.

halcyon iron
#

Okay and then did you enter your email and password for an account you had already created?

#

If you enter your email/password of an already created account it will ask you if you want to connect that already-created account or create a new account

wicked fog
#

ok I will try one more time

#

It just says your onboarding is complete, you can close this form, even thought it shows my new email address, as I am logged into stripe on a different browser with my new email address from where I am clicking the omboarding link. Is it because I am in test mode? because I clicked 'skip this form' the as I am test mode. I also tried not skipping, but then its asks for bacnk account info etc.

halcyon iron
#

Ah yeah you have to create a real account for this to happen

#

If you just created a test account by "skipping the form" then you can't connect that account to another account

#

If you create a separate account, not through Connect, then go through the process above, you will be able to connect that new account to the platform.

wicked fog
#

you mean via API? Even for test mode?

halcyon iron
#

Let's back up one second.

#

The account that you eventually want to connect

#

How was it created?

wicked fog
#

yes...it was already created, separate stripe account with its own publishabe/secret keys

halcyon iron
#

Okay thanks

#

In top left of your Dashboard there is a dropdown

#

When you click that

#

There is an option for "new account"

#

Click this and create a new account that way.

#

It will use the same email/password as your current platform

#

Then you can go through the above process and test out connecting that new account you just created

wicked fog
#

I see. I will do that again once. Thanks.

#

Nope...every time it just creates new connected account ๐Ÿ˜ฆ I did create new account from the top left. Its accoun_id is no where seen in the connected account list.

#

How do you connect that new account? There is no where I can pass the account_id of the new account.

halcyon iron
#

It is connected based on entering the correct email/password into the onboarding form which lets us know that there is already an account associated with that email.

#

At this point it may be better to write into our Support team here

#

And share exact details of your Account

#

With screenshots

#

They can then walk you through the process

wicked fog
#

hmmm...ok Thanks for trying to help me. I could not find where I could put email address during the onboarding process.

#

Thanks again

halcyon iron
#

The first screen after you access the OAuth link should prompt you for email/password

#

Did it not?

#

Are you continuing to click "Skip and create test account"?

wicked fog
#

no it did not

halcyon iron
#

Can you screenshot what you see when you access the link?

wicked fog
#

I tried without skipping too, but then it asks for back details

#

ok I will

#

Now I will click on it on a separate browser

#

I can now either verify the login, after which it asks for bank details to complete. or just click the skip the form. It did ask me for username/pwd because I signed out.

halcyon iron
#

Okay thanks. I think I know the issue.

#

I think you actually need to connect the account in livemode

wicked fog
#

ok I see

#

ok

halcyon iron
#

So create the new link in livemode

#

Sorry

wicked fog
#

I can tell my manager that now ๐Ÿ™‚

halcyon iron
#

You can still test this

#

With your account you just created

wicked fog
#

really?

halcyon iron
#

Can you try creating the OAuth link in livemode?

wicked fog
#

ok

halcyon iron
#

Yes it will still connect that new account

wicked fog
#

When I click 'Live Mode' 'Create' button in the COnnect tab, gets disabled.

#

oh you mean new account? I can try that

halcyon iron
wicked fog
#

nope...because my platform account does not have billing credentials. Is that why?

#

this is my personal stripe account which does not have billing details.

halcyon iron
#

Yeah if it isn't submitted then you can't create/connect accounts in livemode

wicked fog
#

I see

halcyon iron
#

But for your live platform that should do it!

wicked fog
#

I at least know why I cannot now. I will ask her. Thanks so much.