Skip to main content
Select the integration workflow for your platform to set up Cashfree One Click Checkout (OCC).
  • Shopify: Add One Click Checkout to your Shopify store with OTP sign-in, pre-filled address details, UPI and card payments, cash on delivery (COD), and abandoned cart recovery..
  • Custom website: Enable One Click Checkout on your existing Cashfree integration by extending the Create Order API and retrieving order details after payment.
  • Mobile app: Extend One Click Checkout to your Shopify mobile app using the native Cashfree extension in Appmaker.
Ensure the One Click Checkout product is activated. To activate it, Log in to the Merchant Dashboard and go to Payment Gateway > PG Products > One Click Checkout.
Complete setup in the following phases:
PhaseDescription
OnboardingSend your Shopify collaborator request code to the Cashfree team. You will receive an app installation link within 48 hours.
InstallationInstall the Cashfree OCC app using the link, then connect it to your Merchant Dashboard.
Theme configurationAdd a Cashfree snippet to your theme.liquid file to activate the checkout experience.
Before launching, configure shipping rules, COD settings, discounts, and branding in the Merchant Dashboard.Follow these steps to onboard and activate One Click Checkout (OCC) on your Shopify store.

Prerequisites

Before proceeding with the installation, complete the following steps:
  1. Complete the Cashfree support form or contact your account manager.
  2. Create and share the collaborator request code. Use these steps:
    1. Log in to your Shopify store using your admin credentials.
    2. Navigate to Settings > Users and permissions.
    3. Scroll down to the Collaborators section and copy the collaborator request code.
    4. Share your Shopify store URL.
  3. Within 48 hours, you receive an app installation link, dashboard details, and setup instructions from Cashfree at your registered email address.

Installation

To install the OCC app on Shopify:
  1. Open the installation link, then Log in to Shopify to complete the installation.
  2. Shopify redirects you to the Merchant Dashboard to finalise the installation.
  3. To confirm the installation, check the installed apps in Shopify. The app should be listed as cashfree-occ-<brand>.
  4. You can now access your One Click Checkout dashboard.

Configure theme

Follow these steps to configure checkout on Shopify:
  1. Log in to Shopify using your credentials.
  2. Navigate to Sales channels > Online Store > Themes.
  3. Select the ellipsis (⋮) next to the live theme, then select Duplicate to create a copy.
  4. Select the ellipsis (⋮) next to the duplicated theme, then select Edit code.
  5. Search for and open the theme.liquid file.
  6. Add the following code before the </head> tag:
    {% render 'cashfree' %}
    
  7. Select the ellipsis (⋮) next to the duplicated theme, then select Preview. Review and confirm the checkout.
  8. Select Publish to set the updated theme as live.
To verify your configuration before launch, complete the Go Live Checklist.If you have questions about the Shopify integration, submit a request through the Cashfree support form.