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 Settings in WooCommerce, click Checkout and select Cashfree in Payment Gateways section.
- Select the checkbox against Enable/Disable field.
- Enter your Cashfree Payment Gateway App Id and Secret Key.
- 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.