#someone
1 messages · Page 1 of 1 (latest)
Hello! Webhook Endpoints must use HTTPS, which requires a domain. The URL you specify should be publicly accessible so Stripe can send Events to it. I'm not sure how much help I can provide with the specific network/routing setup on your end beyond providing that guidance, but if you have any specific questions beyond that I'll do my best!
so I cant use cloudflare?
That's not really something I can answer, I don't know enough about how CloudFlare works. You would need to ask them for help.
okey, i have removed cloudflare DNS and have to wait for changes to save
ahhh i found reason
my stripe listen is still connecting to test mode
idk why because i have changed it
do you know why?
Stripe CLI is a testing/development tool. It's not intended to be used in live mode. For live mode you need an actual Webhook Endpoint pointing to a public URL on your server.
shouldnt it be some-development.store/webhook?
That depends on how your server is set up.
Your Webhook Endpoint URL needs to point to the URL on your server where Events should be sent.
so its should be some-development.store/webhook
It might be some-development.store or some-development.store/webhook or some-development.store/stripe/webhooks/go/here or anything else, really. It's entirely up to you and how your server is configured to work.
If that's your webhook route hander, then yep, it should be some-development.store/webhook.
there is no errors
What Event types is that Webhook Endpoint configured to listen to?
this one. and it was working on test
How are you triggering that Event?
So you're making a purchase in Checkout to trigger them? And you're using an async form of payment?
And you're waiting for that async payment to succeed?
Are you sure you don't want to listen for checkout.session.completed instead? https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
The async in your code and the async in checkout.session.async_payment_succeeded have nothing to do with each other.
In your code async means that function is asynchronous. In checkout.session.async_payment_succeeded it means the method of payment is asynchronous, like a bank transfer that takes several days to settle for example.
okey i will check with checkout.session.completed
i have to wait a few hours because OVH is really slow with changing dns records for domains
Why would you need to wait for a DNS change?