Read about whitelisting your store url before you can accept payments on your woocommerce store.
- Log in to your Wordpress Admin Dashboard.
- Search for the downloaded plugin, extract and copy this plugin in the plugin folder (/wp-content/plugins) of your website.
- Activate plugin Cashfree from Wordpress Plugins Page.
- Go to WooCommerce > Settings > Payments > Cashfree.
- Select the checkbox against Enable/Disable field.
-
Enter your Cashfree Payment Gateway App ID in the App Id field and your Secret Key in the Secret Key field. Use the keys that match the environment you set up in the next step:
- Sandbox environment (Enable Cashfree Sandbox selected): use your sandbox keys.
- Production environment (Enable Cashfree Sandbox cleared): use your production keys.
- Click on Enable Cashfree Sandbox to enable sandbox if required.
- Click on Enable In Context to use without redirection payment flow.
- Click Save Changes.
If you see an “Authentication Failed” error message during integration, please clear the option “Enable Cashfree Sandbox” in the WooCommerce plugin Settings page.
The most common cause of an authentication failure on WooCommerce, even when the plugin is installed and active, is a mismatch between your API keys and the environment mode configured in the plugin. Go to WooCommerce > Settings > Payments > Cashfree. If Enable Cashfree Sandbox is checked, use your sandbox credentials from the Merchant Dashboard test environment; if it is unchecked, use your production API keys. Never mix sandbox keys with production mode, or vice versa. To locate or regenerate your API keys, see Generate API keys.
Frequently asked questions
This FAQ covers moving your WooCommerce store from test mode to production.How do I move the Cashfree WooCommerce plugin from test mode to production?
How do I move the Cashfree WooCommerce plugin from test mode to production?
To go live with the Cashfree WooCommerce plugin:
- Obtain production API keys from the Merchant Dashboard. See Generate API Keys.
- Go to WooCommerce > Settings > Payments > Cashfree and clear the Enable Cashfree Sandbox checkbox.
- Replace the App Id and Secret Key with your production API keys, and then click Save Changes.
- Whitelist your website domain in the Merchant Dashboard for production payments. See Whitelist Store URL.