Get API Credentials (Sandbox)
Email email@example.com with your merchant account details. We will email you with your developer account information, where you can sign in to access API keys.
Implement Snap Checkout Using Our SDK or Plugins.
Implement Order Completion Using API
The checkout process culminates in order completion. Order completion is performed by the merchant's back-end, using the following endpoint.
Detailed documentation on endpoints can be found here.
Test Your Integration
We encourage you to see how the customer will interact with your website.
You can incorporate logging or other code in your website at the following touch points to confirm that the Snap Checkout button is functioning properly.
Touch points for testing
- Initialization: The onInit method will be invoked when your page loads and the button is rendered.
- Launch: The onClick method will be invoked when the Snap Checkout button is clicked and the modal is launched.
- Approved: The onApproved method will invoke on your website, passing in the ID of the approved application.
- Denied: The onDenied method will invoke on your website, passing in the ID of the denied application.
The customer will go through a series of application steps as shown in the demo. Upon completion the merchant site will receive an 'approved' or 'denied' decision.
Step 1. Contact firstname.lastname@example.org to get the production credentials.
Step 2. Replace the sandbox credentials and API end points with production credentials and end points.
Step 3. Configure the production environment.