Learn how to use Pabbly Connect to enroll students in LearnDash automatically upon Razorpay payment. This step-by-step guide covers all integration details. Discover hidden automation capabilities within your existing tools. This guide shows you how to connect your essential applications and permanently eliminate redundant manual processes.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Integration

To begin with, you need to access Pabbly Connect. This platform will facilitate the integration between Razorpay and LearnDash for automatic student enrollment. You can start by visiting the Pabbly Connect website and either signing in or creating a new account.

If you’re a new user, click on the ‘Sign Up Free’ option. Existing users can simply log in. Once you’re logged in, navigate to the dashboard where you can create a new workflow to manage your integrations effectively.


2. Creating a Workflow in Pabbly Connect

In this step, you will create a new workflow in Pabbly Connect to automate the enrollment process. Start by clicking on the ‘Create Workflow’ button. You will be prompted to name your workflow. You can name it something like ‘Enroll Student in LearnDash on Razorpay Payment’.

  • Click on the folder icon to create a new folder for better organization.
  • Select the trigger application as Razorpay and the action applications as WordPress and LearnDash.

After naming your workflow, proceed to define the trigger event. The trigger will be set as ‘Payment Captured’ in Razorpay, which will initiate the workflow when a payment is successfully processed.


3. Setting Up the Webhook in Razorpay

Next, you will need to set up a webhook in Razorpay using the URL provided by Pabbly Connect. Copy the webhook URL from your Pabbly Connect account and navigate to your Razorpay dashboard. Under the ‘Accounts and Settings’ section, find the ‘Webhooks’ option.

Click on ‘Add New Webhook’ and paste the copied URL. Select the event as ‘Payment Captured’ and save the webhook. This step is crucial as it connects Razorpay with Pabbly Connect, allowing it to send payment information whenever a payment is captured.


4. Mapping Data for Student Enrollment

After setting up the webhook, you need to perform a test payment to generate data that will be mapped for student enrollment. This step ensures that the payment data is received correctly in Pabbly Connect. Make a test payment using dummy details and complete the payment process.

  • Ensure to enter the correct course details and payment method.
  • After payment, check the response in Pabbly Connect to confirm receipt of payment data.

Once the payment is verified, proceed to set up the action events. The first action will be to create a user in WordPress, which is necessary before enrolling the student in LearnDash.


5. Enrolling the Student in LearnDash

With the user created in WordPress, the final step is to enroll the student in LearnDash. In Pabbly Connect, select LearnDash as the next action application. Choose the action event as ‘Enroll into Course’ and connect your LearnDash account.

Map the user ID from the previous step and select the course ID for the enrollment. After completing these steps, you can send a test request to confirm that the student has been successfully enrolled in LearnDash. Check your LearnDash dashboard to see the newly enrolled student.


Conclusion

In this tutorial, we explored how to use Pabbly Connect to automate student enrollment in LearnDash upon payment through Razorpay. Following these steps will streamline your enrollment process efficiently.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.