A simple tutorial showing how to create a Clover hosted checkout session, process a payment, and redirect to the merchant site. There are two ways to get started with these instructions.
- If you are using Visual Studio Code for your editor, you can step through a walkthrough of the app.
- Install the CodeTour extension
- Checkout the
complete
branch - Start the Codelab intro tour and walk through the codebase
- Run the app with
yarn dev
.
- All other readers can learn about the repo by reading the Hosted Checkout Codelab docs
🚩 IMPORTANT
The purpose of this tutorial is to teach Clover developers about the hosted checkout API. The resulting application should not be used in the production environment.
This lesson provides a Vue app bootstrapped with Nuxt.js as a starting point. You will learn how to configure the app to interact with Clover's hosted checkout API. This API is the simplest option for adding Clover payments to a merchant's website. It is ideal for small businesses wanting to quickly set up an online payment option for their customers.
There are some limitations to consider when choosing to integrate with hosted checkout.
- A merchant's Clover inventory cannot be used with hosted checkout.
- Refunds and voids are not available with hosted checkout. Hosted checkout provides a customer-facing payment interface, not a fully-featured payment system for merchants.
main
- the current stable version of the codelabcomplete
- a version of the codelab with all steps completed (except for the setup of the.env
file)
© 2021 Clover Network, Inc.