#rdsdaw2022 - testing connect
1 messages ยท Page 1 of 1 (latest)
Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐
thank you
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
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.
Can you share the request ID you're trying to make?
however, I see that card payments and transfers are both Inactive for that account. How can I activate it, in test mode?
Most likely, you need to onboard the account
you mean payment_intent_id?
Is it an express account or custom?
no, request ID like req_1234 where you get the error
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
You should use an account link to send the account to onboarding and provide all the required info:
https://stripe.com/docs/connect/connect-onboarding#info-to-collect
I can do that even on test mode?
In test mode you need to provide the valid test data:
https://stripe.com/docs/connect/testing#identity-and-address-verification
yep, in fact you must (or provide th same info via the API)
You need to activate the capabilities by providing required info
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"
}
}
What do you mean exactly? You can send to any connected account with sufficient capabilities and in a supported region for your platform
when I mean test mode, I mean using test publishable and secret keys
Yea you can't transfer to yourself, that doesn't make sense
What about your test keys, exactly? Yes, you need to create and onboard test accounts in test mode using test keys and then create test mode payments using your test keys.
No actual payments will be collected, but test most funds will transfer to the test mode connected account, yes
rdsdaw2022 - testing connect
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?
Hi there, taking over for @warm torrent. Give me a few minutes to get caught up
ok
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
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}}',
});
No, because you would need to be able to facilitate payment on behalf of Account2, which you cannot do without connecting to the account
oh...so even if I use direct Charge using the stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}', I should still connect account1 to account1, correct?
Yes. There's no way around that unfortunately
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?
It's just a limitation of the Dashboard. It doesn't have that functionality built in
I see. Thank you. However, I do see Connect tin the Dashboard. What is that used for then?
I wish I could help, but this chat is focused on developers and technical questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email
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?
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
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.
๐ stepping in and catching up. Give me a moment
ok thanks
What type of Connected Accounts?
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.
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
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.
๐
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?
When you clicked "Create" did it give you a link to go to for onboarding?
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.
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
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.
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.
you mean via API? Even for test mode?
Let's back up one second.
The account that you eventually want to connect
How was it created?
yes...it was already created, separate stripe account with its own publishabe/secret keys
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
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.
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
hmmm...ok Thanks for trying to help me. I could not find where I could put email address during the onboarding process.
Thanks again
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"?
no it did not
Can you screenshot what you see when you access the link?
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.
Okay thanks. I think I know the issue.
I think you actually need to connect the account in livemode
I can tell my manager that now ๐
really?
Can you try creating the OAuth link in livemode?
ok
Yes it will still connect that new account
When I click 'Live Mode' 'Create' button in the COnnect tab, gets disabled.
oh you mean new account? I can try that
You can't click "create" in live mode on your Connect Tab?
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.
Yeah if it isn't submitted then you can't create/connect accounts in livemode
I see
But for your live platform that should do it!
I at least know why I cannot now. I will ask her. Thanks so much.