The checkout flow is used for purchase. It requires a logged in user, so it will start of in the auth flow.
URL Path: /flow/checkout
The checkout flow can be just a few steps, or it can be more. It depends on the current state of the user, client configuration, and query parameters.
It starts with the auth flow, and then appends the following steps.
- Choose product in campaign, only shown when
campaign_idis supplied, and
- Choose product, only shown when
product_idis not supplied
- Choose payment method
- Enter payment details, only shown if user chooses new payment method
- Process payment
- Receipt, optional, default enabled
Flow is initiated by path
/flow/checkout and require query parameters
response_type. Optional query parameters include, among others,
The flow automatically use the login view. This can however be overridden by appending the parameter
signup=1 to the url, which will render the signup view instead.
Client teaser and Custom CSS is applied to all of the steps. See Flows for more info.
- About flows
- Auth/Login/Signup flow
- Checkout flow
- Forgot password flow
- Profile update flow
- Payment method flow
Did you spot an error? Or maybe you just have a suggestion for how we can improve? Leave a comment, or better yet, send us a pull request on GitHub to fix it (in-browser editing, only takes a moment).
Do you have questions, or just want to contribute some newly gained insight? Want to share an example? Please leave a comment. SPiD reads and responds to every question. Additionally, your experience can help others using SPiD, and it can help us continuously improve our documentation.