#sung - webhooks
1 messages · Page 1 of 1 (latest)
Hi
the CLI should not be used for production cases, only for testing and development
i recommend starting here: https://stripe.com/docs/webhooks
you'll need to set up a webhook endpoint and a handler in your server code
Ok... I will look up the manual then... Thanks.
Ok.. Cli is just a "helper" for Dev process. All I need to listen stripe signals are webhooks endpoint on secure HTTPS site and registered endpoint on stripe dashboard. If webhooks listening worked fine on Dev env, can I safely assume that it's going to work the same way in production mode? Please confirm if I understand correctly.
i'm not sure what you mean by "work the same way". production and test event objects should look roughly the same (e.g. ids will will be in the format "evt_" and the returned parameters per event will be the same)
I am not skeptical of the structure of Object. I was not sure if "CLI" is required software for receiving signal from stripe or not. It seems like helper software for Developers. I was over-thinking.
ah no worries! no, the CLI is not required for configuring or using webhooks. some folks just find it helpful to have a tool like this as a lightweight way to test requests, webhooks, etc.