#rehan_connect-account-capabilities
1 messages ยท Page 1 of 1 (latest)
๐ 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/1291060266531815435
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Hi
So you are using OAuth to connect already-existing accounts?
Or you are creating new accounts here?
yes
Okay and once you connect them you are saying you see on their account object that charges are disabled?
Like you retrieve the account and see charges_enabled: false?
i dont know about this what you are saying
i am usign oAuth connect for the shovller to connect their acocunt
yes this is case
you can see the screen shot
Okay that is your own object that you are sharing
So I don't know how you are populating those values
But you would want to look at the requirements hash of the account object if you see charges_enabled: false to get more information on why charges wouldn't be enabled yet.
but when i check the stripe dashboard i can see their charge are enabled
When are you retrieving this account info?
Immediately upon connection?
What do you see if you retrieve it now?
yes
Does it align with the Dashboard and show charges_enabled ?
yes if i reterive it now i can see the charges_enabled
Okay and when you retrieve it immediately what do you see in the requirements hash?
immediately
That would indicate why charges are disabled at that time.
is their any webhook that i can implemetnt
Yes you can listen for account.updated
yes i am listening this webhook but no result
can share the webhook code for you>
?
No that's not necessary. Can you supply the account ID from the above screenshot in text so I can look at it?
Okay so yeah this account was created during the OAuth process. When that happens there is async verification that takes place, like ID verification. So that is why charges were initially disabled -- it is waiting for that verification.
There will indeed be an account.updated Webhook that comes through when this happens. https://dashboard.stripe.com/test/events/evt_1Q5Tl0RxleqtLD8DTI1KKYqZ is the specific Event here where that account flipped from charges disabled --> enabled.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So you do need to check on your Webhook handler to make sure you are receiving that Event and ingesting the data
i have add account.updated webhook in my code and in webhook event as well. then what could be reason my document is not getting updated?
Hi ๐
I'm stepping in as my colleague had to go.
sure
The account.updated event has not fired yet for this account. That is why you have not received it
If you want to test your webhook handling code to make sure you are receiving these events and properly handling them, you can use the Stripe CLI to trigger an acccount.updated event in Test mode
let's agree on disagree
see when shovelelr connect his connect it is dsiabled and wehn i chekc the stripe dashboard it is enabled
Is the account you are referencing the ID you shared earlier?
yes
I am looking at that account and all related events for it. I don't see any account.updated
sorry that is connect account which is shoveller account id
do you need platfrom account id in which i an event account.updated
you can see the screen shot
The screenshot does not help
Can you rephrase your actual question? I think we are talking past each other
sure
i am developing shovel-house platform where houseowner post the job adn shoveller will competed that job
in order to pay the hsoveller we have setup stripe oauth connect account
during the regiestration process we ask the shovller to setup stripe connect account. that account will be used to payout to shvoller in future if he had earn any amount of monye
yes i am assuming shoveller wil have already stripe account
which he will connect with our platform
Okay, so then you use OAuth to create the connection with your platform.
yes
Okay so what is your question?
the question is when shvoeller connect their stripe account during the onbaording process which is oauth onboardiing provieded by stripe.
when he regiestr his account i reteriveve their accountid and charges_enabled adn store these attribute in databse. The issue is when shoveller register his account i get his accountid but the charges_enabled is false. when i check the stripe dashboard for that particluar connect account i can see their charges enable
The account in question was created today in this request: https://dashboard.stripe.com/test/logs/req_6UU8YtLgi60OEH
I am reviewing all the changes to this account currently
Capabilities when from inactive to pending 77 minutes ago
Most becaue active 75 minutes ago
And then in another minute the last 3 became active.
This is an asychronous process and you should not expect immediate activation of these capabilities
the problem is i have to navigate the shoveller to the next screen if he si done with setup
so what i can do in this case. i need way to ensure shoveller connect his account and he is authorized to use our platfrom and we can pay him as well.
That may take a few minutes and you need to design your system so that it can handle that delay
can you tell me the eastimate delay
Unfortunately no, I cannot. We do not have any specific guarantees. This is why you need to listen for the account updated event.
It looks like you created this account in Test mode (using your testmode key). In that case there are events that are fired
But you need to make sure you are listening for Test mode events
Here is an example: https://dashboard.stripe.com/test/events/evt_1Q5TlTRxleqtLD8DzIEkMRl0
i thing there should be one webhook as well
This event was not sent to any webhook endpoints
yes i am using test account
That means there wasn't one set up to receive it when it was generated
but i have setup this event can i share you my platform accoutn id where i ahve register webhook for the updated account
?7
acct_1Pv37VRvOCLWc0jZ
this is my platform account id
please chekcout this one
That is a normal webhook
You need to set up a webhook for Connect Events
The webhook you have now will only show you events that occur on your account
ohh i see
You need to follow this guide to set one up for events on Connected Accounts
https://docs.stripe.com/connect/webhooks
can you please tell how can i register
Snufkin Thank You very much
i do not have words for you the way you helped me
thaks a lot
Great! I'm happy I could be helpful ๐