#pythonian
1 messages · Page 1 of 1 (latest)
👋 happy to help
Hi tarzan, please what do you think i can do to troubleshoot this issue?
sorry for keeping you waiting
would you mind sharing your account ID?
are you still here @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.
do you have a connect account ID?
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
Alright.
You mentioned that you want to check the Live mode events, but I only see an Test mode Connect webhook.
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?
You can, what's your challenge then?
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.
Could you please share an example event ID?
Okay for instance evt_1NVWFoAOjrujWr90XdpkKCks
This one was made on your Platform account, that's why your Connected webhook endpoint didn't receive anything.
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
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.
Okay, so do i need to define webhooks for both my account and connected accounts or just only for my connected account?
It depends on your needs.
If you perform no activity on your Platform account, you might not need your own webhook.
Alright thank you.
Happy to help!
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?
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).
Alright, seems to be lots of efforts using stripe Subscription. Thank you