Prerequisites
Integration Steps
One Click Checkout is supported on Shopify and for 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:-
Order Creation Requirements: Ensure the following parameters are passed when creating an order:
cart_details: Include detailed information about the cart.one_click_checkout: Include one click checkout configuration details under the object product.
Sample cURL
-
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.
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.💻 Quick dev-to-dev talk
You clearly care about building better payment experiences for your clients, here’s a quick tip: Earn additional income doing exactly what you’re doing now!Join the Cashfree Affiliate Partner Program and get rewarded every time your clients use Cashfree.What’s in it for you?- Earn up to 0.25% commission on every transaction.
- Be more than a dev - be the trusted fintech partner for your clients.
- Get a dedicated partner manager, your go-to expert.
- Instant activation, go live in minutes.
- Industry-best success rate across all payment modes.
- Effortlessly accept international payments in 140+ currencies.