Cashfree Payment Integration

Modified on Sun, 12 Jul at 9:03 PM

Cashfree Integration with FlexiFunnels

Connect your Cashfree account with FlexiFunnels to securely accept online payments. This guide explains how to connect Cashfree, generate API credentials, verify your domain, configure webhooks, and troubleshoot common issues.


Before You Begin

  • Active FlexiFunnels account.
  • Active Cashfree merchant account.
  • Access to your Cashfree dashboard.
  • Your website or subdomain ready for verification.
Important: Complete domain verification and webhook configuration before accepting live payments.


Payment gateway quick integration Document- https://docs.google.com/document/d/1p1Ud0bnRuJL0xaqC_5Jnb2BsZtfuJkRGTEileuWv714/edit?tab=t.0#heading=h.u867kljykfzf

 



CASHFREE INTEGRATION 

Click on Settings Tab Visible on FlexiFunnels dashboard. 

Then click on Payment Integrations.

 

Once you follow the steps this screen will appear. 

 

 

Then click on the "+Add Payment" Button to see a list.

 

 

Once this screen is displayed, click on the "connect" button.

After clicking this connect button.

 

 

Enter The AppID and Key Secret Created in your Cashfree Settings And click "save".


How To get the APP id & Secret details from Cashfree.


  1. Login to your Cashfree Payments Account > on the left navigation click Developers.
  2. In the Auto Collect section, click API Keys.
  1. Click Generate API Keys. Download the API Keys and keep them safe, do not share them with anyone.
1433



Verify your Domain/Subdomain in Cashfree

If you are getting this error on your checkout page, it means the domain is not verified in Cashfree, kindly follow below steps to do the process

1. Click on the access button in the Payment Gateway


2. Go to Developer's option


3. You will get the whitelisting option to verify your domain


4. Add your domain as a new request and wait for 5-10 minutes for its become to be activated.


Note- if you verify your domain on Cashfree. It should include the domain.com/subdomain only.

It shouldnt consist of any extra thing like /,. or something.

For eg. Just FlexiFunnels.com should be added in Cashfree, not FlexiFunnels.com/ or https://flexiFunnels.com/.


In case of subdomain, Just www.FlexiFunnels.com should be added in Cashfree, not www.FlexiFunnels.com/ or https://www.FlexiFunnels.com



Critical Update


Cashfree has upgraded to Version 3, bringing new features and enhancements. If you're integrating Cashfree with FlexiFunnels, it's important to set up the webhook URL for seamless payment processing. 

Follow these steps to ensure a smooth integration:

  1. 1. Go to the "Payment Gateway" option 

  2. 2. Click on the Developers option inside the webhook.


  3. 3. Click on the "Webhook" option in the Developer area.
     


4. You will get the option to add a "Webhook URL" in the Webhook endpoint which is shared below to be added.

Webhook URL- https://api.myflxfnls.com/webhook-response.


5. Add success payment and failed payment as the event to be captured by webhook



Lastly, Click on the "Add Webhook" Button to successfully add the webhook URL.



Benefits of doing it-

1. Enhanced Security: Transactions are more secure with advanced authentication and domain/app package whitelisting.


2. Faster Checkout Process: Users enjoy quicker transaction processing, reducing wait times during checkout.


3. Seamless Payment Experience: A broader range of flexible payment options, including Buy Now Pay Later and Cardless EMI.


Congratulations!! You have done Cashfree Integration successfully.
Other payment integration options:

Razorpay-  https://help.flexifunnels.com/a/solutions/articles/36000437224  
Paypal-https://help.flexifunnels.com/support/solutions/articles/36000317001-paypal-integration
Stripe-https://help.flexifunnels.com/support/solutions/articles/36000308530-stripe-integration
Instamojo-https://help.flexifunnels.com/support/solutions/articles/36000308528-instamojo-integration


Troubleshooting

  • Verify App ID and Secret are copied correctly.
  • Confirm your domain is whitelisted in Cashfree.
  • Ensure the webhook URL is configured correctly.
  • Verify success and failed payment events are enabled.
  • Republish your checkout page after updating the integration.


Before Contacting Support

  • Share screenshots of the error.
  • Confirm whether you are using Test or Production credentials.
  • Verify domain approval status.
  • Verify webhook configuration.


Common Use Cases

  • Online courses
  • Memberships
  • Digital products
  • Coaching programs
  • Service bookings


Congratulations

Your Cashfree integration is now ready. Once your credentials, domain verification, and webhook configuration are complete, you can begin accepting payments through FlexiFunnels.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article