This example was written in Javascript and requires Node.js, but you can rewrite this code to any other server-side language you want.
Click here you can find an instruction how it works step by step.
- Express.js - to simplify and clarify parsing the ongoing webhook request.
- Firebase Functions - to deploy our code to a public HTTPS server.
- Firebase Realtime Database - to store the order based on user session.