#kaustuva-le-connect-webhook

1 messages · Page 1 of 1 (latest)

tall wasp
#

Hey, which event are you expecting?

stiff epoch
#

failed and success

#

evt_1K67zzCDHBgVd6LZ9n1FSATw

#

seeing this event, any idea what it means?

tall wasp
#

Wow, that's a very old event

#

It's a capability.updated event

#

Outlines how the events/webhooks work in relation to onboarding accounts

stiff epoch
#

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?

tall wasp
#

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

stiff epoch
#

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

tall wasp
#

This event?

#

Looks like your webhook handler returned a successful response

stiff epoch
#

Yeah

#

Looks like it

#

Thanks for checking....could be something on our end

stiff epoch
tall wasp
#

Yes, all accounts need to be onboarded and verified

stiff epoch
#

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

tall wasp
stiff epoch
#

Will the connect also work on test mode?

#

Or do we need to configure it separately for test mode?

tall wasp
#

Connect works in test mode yes

stiff epoch
#

is it set up as a connect in test mode?

#

The account id above

tall wasp
#

I'm not sure, you just need to enable Connect in your Dashboard

stiff epoch
#

The Payment Intent above could not have been created if it wasn't connected

#

We're using the platform account's key

tall wasp
#

Which Payment Intent?

stiff epoch
#

pi_3KeH5iCDHBgVd6LZ11JwrDct

tall wasp
#

Yeah, looks like a direct charge

stiff epoch
#

so I don't need to test further right?

#

my webhook should also work with connect?

#

it's configured on the platform account

tall wasp
#

Is it a Connect webhook?

stiff epoch
#

Yes

#

it works for other connect accounts fine

#

we_1JXdlxJYxzz9q9i9kkxIhn9C

tall wasp
#

Is there a specific issue?

stiff epoch
#

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

pearl ginkgo
#

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.

stiff epoch
#

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?

pearl ginkgo
#

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

Collect payment and address information from customers who use Apple Pay, Google Pay, and browser-saved cards with Payment Request APIs such as Microsoft Pay on Edge.

stiff epoch
#

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?

pearl ginkgo
#

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.

stiff epoch
#

But that doesn't seem to be the case for this:
acct_18NGoVFUtwYrZPVC

pearl ginkgo
#

Correct, that account appears to have been connected to your platform twice. Once in test mode and once in live mode.

stiff epoch
#

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

pearl ginkgo
stiff epoch
#

I don't understand

#

My other connect account is working fine

#

in both modes

pearl ginkgo
#

How did you create/connect that account?

stiff epoch
#

I'm not sure, it's a very old account

#

I can find out any specifics that you need

pearl ginkgo
#

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.

stiff epoch
#

Can I connect the same connect account in live and test mode?

pearl ginkgo
#

Yes

stiff epoch
#

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?

pearl ginkgo
#

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.

pearl ginkgo
stiff epoch
#

test key for test mode

pearl ginkgo
#

Do you have the ID of that payment intent?

stiff epoch
#

pi_3KeJPiCDHBgVd6LZ0FK8cejT

#

what's a non-standard account called?

pearl ginkgo
stiff epoch
#

acct_18NGoVFUtwYrZPVC

#

is this a standard account?

#

Did the payment intent help?

pearl ginkgo
#

Yes it is a standard account.

stiff epoch
#

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

pearl ginkgo
#

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.

stiff epoch
#

Why do I need to explicitly connect it in test mode?

#

If they're already connected

pearl ginkgo
#

You don't, unless you want to see the account listed on that page.

stiff epoch
#

So it doesn't matter whether the account is listed in the page?

#

webhooks will still work ?

pearl ginkgo
#

Oh, webhooks are a whole different story.

stiff epoch
#

it's set up on my platform account

#

what do I need to do to make it work?

pearl ginkgo
#

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.

stiff epoch
#

pi_3KeJPiCDHBgVd6LZ0FK8cejT

pearl ginkgo
#

Are you referring to the event that was triggered when that payment completed? Do you have the ID for that event?

stiff epoch
#

evt_3KeJPiCDHBgVd6LZ0TDOaxEc

pearl ginkgo
#

Yeah, that event was sent to your platform's webhook endpoint.

stiff epoch
#

So that would mean the connect with webhook is working fine ? since it is set up on platform?

pearl ginkgo
#

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.