#someone

1 messages · Page 1 of 1 (latest)

feral cryptBOT
shy root
#

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!

shy root
#

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.

rigid pine
#

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

shy root
#

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.

rigid pine
#

so I just need this yes?

#

or sth else

shy root
#

Yep, that's it.

#

Stripe will send the Events you've configured to that URL.

rigid pine
#

shouldnt it be some-development.store/webhook?

shy root
#

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.

rigid pine
#

so its should be some-development.store/webhook

shy root
#

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.

rigid pine
#

hmm

#

i have changed it and its still not working

shy root
#

What does "not working" mean?

#

Are you seeing errors in the Dashboard for the Events?

rigid pine
#

there is no errors

shy root
#

What Event types is that Webhook Endpoint configured to listen to?

rigid pine
#

this one. and it was working on test

shy root
#

How are you triggering that Event?

rigid pine
#

ehmm it was triggering after purchase

#

automatically

shy root
#

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?

rigid pine
#

i can check but im using async

shy root
#

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.

rigid pine
#

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

shy root
#

Why would you need to wait for a DNS change?

feral cryptBOT