#niroda - webhooks

1 messages · Page 1 of 1 (latest)

severe forum
#

hey there, taking a look

#

Are you creating checkout sessions on connected account, or your own account?

untold jolt
#

Hey, I tried both, neither work. But I want it to work on connected account

severe forum
#

can you share an example event from your dashboard that you didnt receive?

#

so i can take a look where it was sent and what happened

untold jolt
#

That's another problem. I think (if I'm looking at the correct section) there is only:
200 OK POST /v1/checkout/sessions

severe forum
#

can you share any session or requst example id so i can pull up the account logs?

#

eg req_123

untold jolt
#

req_xw8y5OMATsS72W

severe forum
#

ty

#

looking

untold jolt
#

Thanks!

severe forum
#

and the events would go to your own account endpoint

#

(and least the checkout session events)

#

and you only have a connect endpoint configured

#

you need to set up an endpoint for your own account (not connect) to receive these events

untold jolt
#

May I ask please, maybe I did it incorrectly. What I would like to do is to help others with this integration. They connect their account and I handle the proccess of creating a session and handling subscriptions etc. And I would like to take a fee on each transaction. Is my session creation correct for such scenario?

untold jolt
severe forum
#

there should be two sections in your dashboard webhooks view, one for your own account events and one for connect events:

#

see here for context

untold jolt
#

Here it is, only one webhook

severe forum
#

ah yes, the UI there changed

#

so see where it says type=connect?

#

you need one that is not connect

#

and depending on what youre doing you might not need the connect one

#

but for now create another endpoint, and do not set it to "listen to connected accounts"

untold jolt
#

Ok I will give it a try. Thanks a lot!

severe forum
#

NP!

untold jolt
#

And btw, was my way of creating the session correct for the scenario I mentioned=

#

?

wispy gust
#

I'm catching up here @untold jolt give me a min

wispy gust
#

give me a bit, bouncing through a bunch of other threaxcs

#

threads

untold jolt
#

Ok

wispy gust
#

what is your intended fund flow?

Destination Charges? Or Direct Charges?

untold jolt
#

Well, that's the original question. I don't know which to use

wispy gust
untold jolt
#

Thanks! well it sounds like direct charges what is best for my use case. But is there a way to select subscription mode in direct charge?

wispy gust
#

yes