#kaustuva-le-connect-webhook
1 messages · Page 1 of 1 (latest)
failed and success
evt_1K67zzCDHBgVd6LZ9n1FSATw
seeing this event, any idea what it means?
Wow, that's a very old event
It's a capability.updated event
Outlines how the events/webhooks work in relation to onboarding accounts
Why do you think the webhook doesn't work?
Do I need to verify? If so how is the payment going through and only the webhook not working?
what's a capability.updated event?
What doesn't work?
That event is from December last year. There's not much context there as we don't retain events that old
Okay, that event is unrelated then
Going back to the original query...
pi_3KeH5iCDHBgVd6LZ11JwrDct
This is a payment intent
for which the webhook hasn't been received
for success
https://stripe.com/docs/connect/identity-verification-api
Is this a mandatory step after setting up a new account?
Yes, all accounts need to be onboarded and verified
Is there a checklist of what else is to be done?
apart from this, to use the api with a new account
Could you please check if the above step is pending for this account?
acct_1Jkez2CDHBgVd6LZ
also, the paymentIntent and events shared above are from the same account
Seems like this account is onboarded and verified already?
Will the connect also work on test mode?
Or do we need to configure it separately for test mode?
Connect works in test mode yes
But you should use the test data for onboarding accounts: https://stripe.com/docs/connect/testing
I'm not sure, you just need to enable Connect in your Dashboard
The Payment Intent above could not have been created if it wasn't connected
We're using the platform account's key
Which Payment Intent?
pi_3KeH5iCDHBgVd6LZ11JwrDct
Yeah, looks like a direct charge
so I don't need to test further right?
my webhook should also work with connect?
it's configured on the platform account
Is it a Connect webhook?
Is there a specific issue?
I don't see the webhook event for this in my platform account:
evt_3KeIxDCDHBgVd6LZ1FCTuba3
Platform account:
acct_187vnhJYxzz9q9i9
Can you check if this account has been set up correctly as a connect with above account on both prod and test modes?
acct_1Jkez2CDHBgVd6LZ
This is the connect account
If you're referring to not being able to see that event when logged into the Stripe dashboard as your Platform, then this is expected behavior. The event was sent to your Platform's webhook endpoint, but the event belongs to the Connected account and resides on that account.
Okay, thanks. Could you please check the last message and ifthe account has been setup correctly?
Also do we need to register the domains somewhere when dealing witha new connect account?
Sorry, but "setup correctly" is a very broad scenario that fluctuates based on your integration path and use case. I'd recommend that you try using the account in your test flows and see if it works as expected for your scenarios. If you run into specific errors along the way then we can help you understand those.
Not 100% certain, but judging from your Platform's settings I'm assuming your referring to registering domains for Apple Pay. It also looks like you're using Standard Connected accounts, so I'm assuming your using Direct Charges in which case you will need to register your Connected account's domains for them in order for Apple Pay to function.
https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#html-js-using-with-connect
When checking the connect accounts on my platform account
I see the connect account when on live mode but not on test mode
Why is this the case?
When I follow this link on my platform that is:
https://dashboard.stripe.com/test/connect/accounts/overview
Connected accounts are only connected in one mode (depending on what mode you were using at the time), those connections are not shared across live and test mode.
But that doesn't seem to be the case for this:
acct_18NGoVFUtwYrZPVC
Correct, that account appears to have been connected to your platform twice. Once in test mode and once in live mode.
Great
that is what I mean by setup correctly on both modes
I need to connect this in test mode:
acct_1Jkez2CDHBgVd6LZ
it is already connected to live mode
how do I do that? i.e. connect in test mode again
You'll use our OAuth flow for connecting existing accounts, being sure to use your test mode client ID in that process.
https://stripe.com/docs/connect/oauth-standard-accounts
How did you create/connect that account?
If you're not familiar with how to conenct existing Stripe accounts to your platform, then I recommend following the guide that I linked above as it walks through that process.
Can I connect the same connect account in live and test mode?
Yes
I am able to create a paymentIntent on my connect account using my platform key. Doesn't that mean it is already connected in test mode?
Part of the process that guide outlines is building a link, and within that link you provide your client ID. Your account has a unique ID for each mode, and the ID that you use controls which mode the connection is made in.
Depends, are you using your live or test key?
test key for test mode
Do you have the ID of that payment intent?
Standard is a type of Connected account, the other two choices are Express or Custom.
https://stripe.com/docs/connect/accounts
Yes it is a standard account.
I am able to create a paymentIntent on my connect account using my platform key. Doesn't that mean it is already connected in test mode?
using test key
The accounts are connected, but if you're not seeing that account listed on the Connected accounts page in test mode then it wasn't explicitly connected in test mode.
You don't, unless you want to see the account listed on that page.
So it doesn't matter whether the account is listed in the page?
webhooks will still work ?
Oh, webhooks are a whole different story.
Do you have an example of an event that didn't work? The ones that have been posted so far were sent to your platform's webhook endpoint.
pi_3KeJPiCDHBgVd6LZ0FK8cejT
Are you referring to the event that was triggered when that payment completed? Do you have the ID for that event?
evt_3KeJPiCDHBgVd6LZ0TDOaxEc
Yeah, that event was sent to your platform's webhook endpoint.
So that would mean the connect with webhook is working fine ? since it is set up on platform?
Everything seems to be working as expected.
To clarify regarding webhook events.
If the Connected account is connected in Test Mode Only, then its test events will be sent to your platform's test connect webhook endpoints.
If the Connected account is connected in Live Mode Only, then its test and live events will be sent to your platform's live connected webhook endpoints.
If the Connected account is connected in both Test and Live mode, then its test events will be sent to your platform's test connect webhook endpoints, and its test and live events will be sent to your platform's live connected webhook endpoints.