How to Integrate a Custom Payment Gateway?

How to Integrate a Custom Payment Gateway?


Integrating a custom payment gateway is a strategic move for businesses seeking greater control over their payment processes, user experience, and transaction costs. Unlike off-the-shelf solutions, a custom gateway allows you to tailor the payment flow to match your business needs and brand identity.


This level of customization can enhance customer trust, improve conversion rates, and offer deeper insights into payment data. Additionally, it enables seamless integration with your internal systems, supports preferred local payment methods, and strengthens security by adhering to your compliance standards.


Through this documentation, we’ll guide you on through the step-by-step process of how you can integrate a custom payment gateway, ensuring your platform is flexible as well as future-ready.

Warning
Availability Based on Plan:
For Power and Maxx Plans, you will have an option to integrate your own Payment Gateways. 
Available Payment Gateways for integration: 
1. Razorpay (Indian & International Payments Supported)
2. Easebuzz 
(Only Indian Payments Supported)
3. Stripe 
(Indian & International Payments Supported)
4. Paypal (Only International Payments Supported)


Notes
If you are not in the Power & Maxx Plans, please refer this document to Integrate Edmingle Payment Gateway with your account. 

Let’s get started 🚀

Navigation

To access advanced features and connect your learning platform with other useful tools, you need to navigate to the Integration section. This section enables you to integrate your learning environment with applications such as video conferencing, content libraries, or HR systems, making your courses more accessible and your data more organized. Visiting the Integration section helps streamline your learning experience, saves time by reducing manual work, and ensures all your resources work smoothly together.


Carefully follow the instructions below that will guide you on how to navigate to the “Integration” section in your organization’s learning platform.


Click on the “Settings” dropdown to unwrap it, then click on the “Integration” option.


Integrate a Custom Payment Gateway into the Platform

Integrating a custom payment gateway allows your platform to process transactions tailored to specific business needs or regional requirements. The following steps will walk you through the essential steps to securely and efficiently connect a custom payment solution. Whether you're building from scratch or adapting an existing system, seamless integration ensures a smooth checkout experience for users.


Available Custom Payment Gateways: 

  1. Razorpay

  2. Eazebuzz

  3. Stripe

  4. Paypal


Carefully follow the instructions that will guide you on how you can efficiently Integrate a Custom Payment Gateway into your organization’s learning platform:

Step 1:Choose the custom payment gateway you’d like to integrate with the platform and click ‘Connect’. In this case, we are integrating Razorpay with the learning platform.



Step 2: A pop-up will come asking you to enter ‘Razorpay Key ID’ and ‘Razorpay Key Secret’. 



Please refer to this help documentation to generate ‘Razorpay Key ID’ and ‘Razorpay Key Secret’:  Document Link Here


Note: If you already use RazorPay on another platform, you need to enter the same “Razor Key ID” and “Razor Key Secret” here. This helps keep your RazorPay account linked across both platforms. If you don’t enter the same details, your RazorPay account on the other platform might stop working.


Step 3: Choose if you’d like to apply this payment gateway for all the branches or this particular branch. After that, click ‘Save and Activate’.



Step 4: Add Edmingle Payment Webhook in the Razorpay Platform. You can refer this link on “How to set up Webhooks on Razorpay


By completing these 4 steps, you have successfully integrated the Custom Payment Gateway (Razorpay) on the platform. 


Similarly, you can integrate the other payment gateways as well. Follow the 4 steps using the support documentations here:


  1. Razorpay (Key ID & Key Secret)

    1. How to Generate API Keys: Link Here

    2. How to Add Edmingle Webhook: Link Here


  1. Easebuzz (Key & Salt)

    1. How to Generate API Keys:

      1. Key and Salt details are sent over your email ID registered with Easebuzz. You can find it with the subject line: “Easebuzz Payment Gateway Credentials”.

      2. In case you do not receive the Key & Salt details over email, you can connect with the respective RM / Sales team.


  1. How to Add Edmingle Webhook:

    1. Log in to the Easebuzz Merchant Dashboard: Access your account on the Easebuzz payment gateway.

    2. Navigate to Account Settings: On the left-hand side menu, locate and click on Account Settings.

    3. Access Webhook Settings: Within the Account Settings page, find the option related to Webhooks.

    4. Choose the Webhook Type: Select the specific type of webhook you want to set up, such as Transaction Webhook. Easebuzz allows different endpoints for Transaction, Payout, and Refund.

    5. Enter the Webhook URL: In the designated field for the chosen webhook type (e.g., Transaction Webhook Call), enter the URL of your webhook endpoint. This is the URL where Easebuzz will send notifications about relevant events.

    6. Enable the Webhook: After entering the URL, ensure you enable the webhook by clicking the Enable button or toggling the corresponding setting.

    7. Save Settings: Save the changes to apply the webhook configuration.


  1. Stripe (Publishable Key, Secret Key, Webhook Secret)

    1. How to Generate API Keys:

      1. Access API Keys: Log in to your Stripe account and navigate to the Developers section in the left-hand menu, then select API keys.

      2. Locate Keys: On this page, you will find your Publishable Key under Standard Keys. This key is used in your client-side code (e.g., in your website or mobile app) and is safe to expose.

      3. Reveal Secret Key: To access your Secret Key, which is used for server-side authentication and must be kept confidential, click the Reveal live key token or Reveal test key button (depending on whether you are viewing live or test data).


  1. How to Add Edmingle Webhook:

    1. Navigate to Webhooks in the Developers section and click on Webhooks.

    2. Click Add Endpoint to configure a new webhook.

    3. Enter the Endpoint URL where Stripe should send webhook events and select the event types you want to receive.

    4. Stripe will generate a Webhook Signing Secret after configuration. Click Reveal to view and copy this secret. It is used to verify the authenticity of webhook events and should be kept strictly confidential.


  1. PayPal (Client ID and Client Secret)

    1. How to Generate API Keys: Link Here

    2. How to Add Edmingle Webhook: Link Here



Post-Integration Access

After activation:

  • Payments made by learners will be processed through your Razorpay-linked account.

  • You can track payment activity under the Sales → Payments section of your dashboard.

  • Refunds and settlements will follow Razorpay's standard processes.

Warning

For Clients in the Private Instance Plan, please reach out to your CSM for the webhooks. 


InfoPlease reach out to support@edmingle.com for any queries. We would be happy to help you. 

    • Related Articles

    • How to set up custom email domains in Edmingle?

      Enabling email automation is a powerful way to streamline communication, nurture customer relationships, and boost overall efficiency. By automating repetitive email tasks (like welcome messages, order confirmations, and follow-ups), you not only ...
    • How to set up custom SMS Headers in Edmingle?

      Integrating SMS into your LMS ensures that learners receive instant updates and reminders directly on their mobile devices, making communication faster and more reliable than email alone. From class reminders and assignment alerts to payment ...
    • How to Integrate WhatsApp Messaging with Edmingle?

      Enable seamless communication with your learners by integrating WhatsApp directly into your Edmingle account using AiSensy. This guide will walk you through the step-by-step process to get started. Every WhatsApp notification that is sent from the ...
    • How to Integrate Freshdesk Messaging (Freshchat) with Your Edmingle LMS?

      Integrating Freshdesk Messaging (Freshchat) with your Edmingle LMS allows you to offer real-time learner support directly within your platform. Learners can raise queries instantly through a floating chat widget on their dashboard, enabling smooth ...
    • Edmingle Webhooks Guide: Automation, Events, and Monitoring

      Webhooks in Edmingle enable seamless integration with third-party tools by triggering automated workflows based on specific platform events. Whether it’s user enrollment, course completion, or payment updates, Webhooks help automate external actions ...