#pythonian

1 messages · Page 1 of 1 (latest)

quartz stratusBOT
cinder briar
#

👋 happy to help

old swan
#

Hi tarzan, please what do you think i can do to troubleshoot this issue?

cinder briar
#

sorry for keeping you waiting

#

would you mind sharing your account ID?

#

are you still here @old swan?

old swan
#

Hi, okay let me check for my account ID and get back to you

#

Here is my ID: acct_1D8Sn8AOjrujWr90

#

Let me know if there is any other information to provide.

cinder briar
#

do you have a connect account ID?

old swan
#

Connect account ID?

#

How do i find that please

agile girder
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

old swan
#

Alright.

agile girder
#

You mentioned that you want to check the Live mode events, but I only see an Test mode Connect webhook.

old swan
#

Okay let me get something clear. I am developing an application that enables users to onboard on my site by creating a Stripe connected account under my platform account. Now these users will through my site, be able to manage their subscriptions. So in my local development, i use the stripe CLI to test my webhook endpoints, and it works. Now i want to see how the webhook also works when i use the hosted endpoints for my custom domain name, while using the test api keys. Is this something i cant do?

agile girder
#

You can, what's your challenge then?

old swan
#

My challenge is that, the events are not sent to my webhook endpoints. While i can see that the events are logged in the Events tab, the events i am looking out for are not sent to my endpoint

#

And i dont know where to look at to fix the issue.

agile girder
#

Could you please share an example event ID?

old swan
#

Okay for instance evt_1NVWFoAOjrujWr90XdpkKCks

agile girder
#

This one was made on your Platform account, that's why your Connected webhook endpoint didn't receive anything.

old swan
#

Wow. so what do you suggest i change/adjust please? Since it worked locally during development, i didnt realise i might need to adjust something when i am using the connected webhook hosted endpoint

agile girder
#

If you want to listen to events happening on your connected accounts, you need to trigger an event on your connected account first.

#

Hence the distinction between your own webhooks and Connected accounts webhooks.

old swan
#

Okay, so do i need to define webhooks for both my account and connected accounts or just only for my connected account?

agile girder
#

It depends on your needs.
If you perform no activity on your Platform account, you might not need your own webhook.

old swan
#

Alright thank you.

agile girder
#

Happy to help!

old swan
#

So let me ask though, in this case, which is more preferable to use for enabling users create a subscription, stripe.Checkout with mode as subscription or stripe.Subscription?

agile girder
#

Checkout gives you a Stripe-hosted interface, while raw Subscription will require a pre-saved Payment Method, or collecting it via your own interface (with Payment Element, for example).

old swan
#

Alright, seems to be lots of efforts using stripe Subscription. Thank you