One Click Checkout for Shopify
Learn how to integrate One Click Checkout on your Shopify store
This guide outlines the steps to onboard and activate One Click Checkout (OCC) for Shopify merchants using Cashfree Payments.
Prerequisites
Before proceeding with the installation, complete the following steps:
-
Fill out the support form or contact your account manager
-
Create and share the collaborator request code by following these steps:
-
Sign in to your Shopify store using your admin credentials.
-
Navigate to Settings > Users and permissions.
-
Scroll down to the Collaborators section and copy the collaborator request code.
-
Share your Shopify store URL.
-
-
Within 48 hours, Cashfree will send you an app installation link, dashboard details, and setup instructions via your registered email ID.
Installation
To install the OCC app on Shopify:
-
Click the installation link and log in to Shopify to complete the installation.
-
Shopify will redirect you to the merchant dashboard to finalize the installation.
-
To confirm the installation, check the installed apps in Shopify. The app should be listed as
cashfree-occ-<brand>
. -
You can now access your One Click Checkout dashboard.
Configure theme
Follow these steps to configure checkout on Shopify:
-
Sign in to Shopify using your credentials.
-
Navigate to Sales Channel > Online Store > Themes.
-
Select the ellipsis (⋮) next to the live theme, then select Duplicate to create a copy.
-
Select the ellipsis (⋮) next to the duplicated theme, then select Edit code.
-
Search for and open the
theme.liquid
file. -
Add the following code before the
</head>
tag: -
Select the ellipsis (⋮) next to the duplicated theme, then select Preview. Review and confirm the checkout.
-
Click Publish to set the updated theme as live.
Was this page helpful?