Prerequisites

Ensure that you have the One Click Checkout product activated. You can activate it from here.


Integration Steps

One Click Checkout is supported on Shopify and custom websites.

Shopify Integration

To integrate One Click Checkout on Shopify, follow the guide here.

Custom Websites

For custom websites, use any of our web and app checkout integrations and make the following changes:

  1. Order Creation Requirements: Ensure the following parameters are passed when creating an order:

    • cart_details: Include detailed information about the cart.
    • one_click_checkout: Set this to enable One Click Checkout with specific conditions:
      • enabled: Set to true to activate One Click Checkout with default conditions.
      • conditions: Additional conditions for the checkout, if any.
  2. Order Details Endpoint: This endpoint provides detailed order information, including:

    • Customer Information: Details about the logged-in user.
    • Shipping and Billing Addresses: Information about the recipient for whom the order was placed.
    • Applied Offers: Any discounts or offers applied at checkout.

    For more details on the API, refer to the documentation here.

The response includes a customer details object with information about the logged-in user, and the shipping address object contains details about the recipient for whom the order was placed.