Sessions Generator
Interactive session generator to demo checkout using sessions.
Take note that Session
ids are generated from the backend. To know more about sessions visit the documentation.
Demo
1. Prepare checkout data [frontend]
Prerequisite: Enable Checkout, and Create Products
2. Create a Session [backend]
Create a session using the data from Step 1. Note that the "mode"="payment"
means that you are creating a one-time payment session. Node.js sample here.
3. Checkout using Session id [frontend]
Follow this sample code below:
Last updated