#usefuldm
1 messages · Page 1 of 1 (latest)
Hi 👋
What you are describing for the most part sounds like why we advise our users to include webhooks in their integration
https://stripe.com/docs/webhooks
Yes absolulely
Since you don't actually control the execution environment for your front-end code, we recommend keeping the critical business logic server-side
Okay, so if i have a critical status on webhook , can i call my local microservice server-side for do other action? Is It a good practice?
I'm not sure what you mean here. If you have specific actions you want your integration to take I recommend you base those off webhook notifications from Stripe. You can trigger other actions as you wish but that way you can confirm that the changes you are taking action on have occurred on your Stripe account.
Okay, another question Is :
How can deploy my custom webhook on the internet ?
Because i Need that Stripe send notification to webhook and i Need a free option for now
I'm sorry that question doesn't make sense to me. The webhook endpoint is just a URL on your server that Stripe will send POST requests to.
If you want to test this approach out first (I recommend it) you can use the Stripe CLI to forward webhook events to your local development web server https://stripe.com/docs/cli/listen
Okay, thank you