What is a Webhook

Synchronous flow
  • How will your App know how long to wait for a payment confirmation? Can we guarantee a fixed max time ?
  • What if the user refresh the page during that flow or lose the connection ?
  • What if the payment confirmation takes a long time and your App will timeout during that flow? That may result with: you’re client not getting the ebook but being charged anyway. Isn’t that Scary !?
Asynchronous flow part 1
Asynchronous flow part 2

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
CoderDidit (Martin Kuzdovich)

CoderDidit (Martin Kuzdovich)

I am a Software Engineer 👨‍💻 that works remotely, builds his own projects, and shares the journey online