#karsh

1 messages Β· Page 1 of 1 (latest)

wanton lightBOT
vague mountain
#

I'm doing a test payment (with test api keys) on a connected account.
Could you please share the PaymentIntent Id ?

rose fossil
#

pi_3NixzNQTTVUuUszO0RoqDAMP

vague mountain
#

For example there was this event payment_intent.succeededevt_3NixzNQTTVUuUszO02FXj7VA

#

it was sent to this webhook endpoints:
we_1LfnnHKWokmZWsWf0wYSuwuA and we_1KYg88FhmmKwfzK9gIcmF1Qm

rose fossil
#

Hmm I can't seem to find that event - not in the platform account nor the connect account

#

And when I check out those endpoints I see that they're on live mode, but the purchase was made on test mode 😦

#

(the webhook endpoints)

vague mountain
#

What Platform Account Id you are referring to ?

#

and what Connect AccountId ?

rose fossil
#

THis is the connect account id: acct_1M9PD4QTTVUuUszO

Platform I need to look where to find it, one moment

vague mountain
rose fossil
#

Thanks okay I found that now πŸ™‚

I guess our platform id is: acct_1M9PD4QTTVUuUszO but not 100% sure

#

It's called Kenn**

vague mountain
#

I guess our platform id is: acct_1M9PD4QTTVUuUszO but not 100% sure
No this is your Connect Account

rose fossil
#

Oh right

#

Where can I find the platform id?

vague mountain
#

Your platform Account Id should be this one: acct_1It6V3KWokmZWsWf

#

You need to log in to your dashboard as the Platform Account

rose fossil
#

YEs that's correct, that's the platform ID

#

So my confusion is: this payment_intent is done in test mode.
It has sent webhooks to live mode endpoints

vague mountain
#

Which live mode endpoints ?

rose fossil
#

The ones you mentioned:

we_1LfnnHKWokmZWsWf0wYSuwuA and we_1KYg88FhmmKwfzK9gIcmF1Qm

They're live mode webhooks

warm marsh
#

πŸ‘‹ taking over for my colleague. Let me catch up.

rose fossil
#

Actually I can't find this one:

we_1KYg88FhmmKwfzK9gIcmF1Qm
Not sure where this is set up. Don't see it in live or test mode on the platform account

warm marsh
#

For Connect webhooks, it’s important to note that while only test webhooks will be sent to your development webhook URLs, both live and test webhooks will be sent to your production webhook URLs. This is due to the fact that you can perform both live and test transactions under a production application. For this reason, we recommend you check the livemode value when receiving an event webhook to know what action, if any, should be taken.

rose fossil
#

Hmm okay, then how can I make sure this test payment sends a webhook to my development webook URLs?

BEacuse that didn't seem to have happened

warm marsh
#

do you have an existing endpoint where you think it should be sent to but it's not being sent to that endpoint?

rose fossil
#

we_1NixyJKWokmZWsWf8Bqi16uK

#

I was expecting to see the event there πŸ™‚

warm marsh
#

I'm checking

rose fossil
#

Thank you!

warm marsh
#

would you mind trying again?

#

all I can think of is maybe the fact that the webhook endpoint was created a couple of minutes before the event

#

maybe there was not enough time for the new webhook endpoint to be used for that event

rose fossil
#

Okay I'll try again

#

Wait actually

#

I've done a couple of test payments today using a connect account and they all don't show up.

However in that older one you do see some events from august 18

#

The only difference I could find so far is that it seems like the ones that DO show up, are made with a connect account that can be found here:
https://dashboard.stripe.com/acct_1It6V3KWokmZWsWf/test/connect/accounts/overview

So in the 'connect' tab of the platform account (still having test mode enabled)

warm marsh
#

ok so basically what happened is that the connected account acct_1M9PD4QTTVUuUszO is only connected to your platform in live mode and not test mode

rose fossil
#

ah...

#

I'd like to fix that for all the connect accounts

#

Is that possible or is this just how it is

warm marsh
#

in that case you would only receive the events from both live and test events to your live endpoint

rose fossil
#

We're just using the onboarding wizard, they're all standard accounts

warm marsh
#

just to describe the different flows

#

your case is the left bottom one

#

whereas what you need is the right scenario

rose fossil
#

Are these from internal docs? if not I'd like to see all the context around it πŸ˜„

#

And yes i'd love the right scenario

warm marsh
#

so you need to create the connection both in live and test modes

rose fossil
#

Can you point me to the docs for that?

#

As far as I understand now, that connection is made during the onboarding wizard from stripe

rose fossil
#

Okay, and does this replace the current flow?

warm marsh
#

no

rose fossil
#

Or the link you gave me is on top of that

warm marsh
#

this is additional only when you need to connect in test mode as well

rose fossil
#

Okay

#

I'm reading that the user needs to click a link to take them to stripe - can we do this all in the background automatically or is that not recommended

warm marsh
#

you shouldn't connect with all of your Connected accounts in test mode

#

you just need to have one for testing purposes

rose fossil
#

Oh okay just grab 2-3

#

Got it

#

Or 1 :p

warm marsh
#

yeah

rose fossil
#

Finally, this has bothered me for a long time (had chats about this a year ago already but never had a solution)
Thanks! Another think for on the backlog.

Appreciate it! Have a good day