Learn how to automate user enrollment in specific courses selected on Razorpay Payment Page using Pabbly Connect. Follow our step-by-step tutorial for seamless integration. Eliminate manual repetitive tasks from your workflow. Discover proven automation methods with intuitive steps designed for efficiency-minded professionals.
Watch Step By Step Video Tutorial Below
1. Accessing Pabbly Connect for Integration
To start integrating Razorpay with course enrollment using Pabbly Connect, first visit the Pabbly Connect dashboard. You can access it by searching for ‘Pabbly.com/connect’ in your browser. If you don’t have an account, sign up for free in just two minutes.
Once logged in, click on ‘Create Workflow’ to begin. Name your workflow, for instance, ‘Razorpay to Graphy’. This sets up the environment where you will automate the enrollment process based on the payment received through Razorpay.
2. Setting Up the Trigger with Razorpay
In this section, you will set up a trigger to capture payment details from Razorpay using Pabbly Connect. In the trigger window, choose Razorpay as your app, and select ‘Payment Captured’ as the trigger event. This allows Pabbly Connect to react whenever a payment is successfully made.
- Select Razorpay from the app list.
- Choose ‘Payment Captured’ as the trigger event.
- Copy the webhook URL provided by Pabbly Connect.
Next, go to your Razorpay account settings and navigate to the webhook section. Here, paste the copied webhook URL and set the active event to ‘payment.captured’. This connects Razorpay with Pabbly Connect, allowing it to send payment data automatically.
3. Capturing Payment Details in Pabbly Connect
After setting up the webhook, Pabbly Connect will wait for a payment response from Razorpay. To test this, make a sample payment through your Razorpay payment page. Ensure you enter all required details, including the course name.
Upon successful payment, Pabbly Connect will capture the payment details, including customer information and the course selected. You will see this data reflected in the trigger window, confirming that the integration is working correctly.
- Verify that the payment amount and details are accurate.
- Check for customer details such as name, email, and selected course.
- Ensure the payment status reflects as successful.
This step is crucial as it ensures that Pabbly Connect is receiving the right information from Razorpay, which will be used for the next action in your workflow.
4. Adding the Customer to Graphy
Now that you have captured the payment details, the next step is to add the customer as a learner in your Graphy account using Pabbly Connect. In the action window, select Graphy as your app and choose ‘Create Learner’ as the action event.
You will need to connect your Graphy account by entering the API key and subdomain. This information can be found in your Graphy account under integrations. Once connected, map the customer details captured from Razorpay to the respective fields in Graphy, such as email and full name.
5. Enrolling the User in the Selected Course
After successfully adding the customer to Graphy, you will now enroll them in the specific course they selected during payment. Use Pabbly Connect to create a router in your workflow, allowing you to handle multiple course enrollments based on the user’s selection.
Set up conditions for each course (e.g., PHP for Beginners and React.js). For each route, map the course name to the respective action in Graphy, ensuring the user is enrolled in the correct course based on their payment selection.
Finally, test the automation by making another payment with a different course selection. Verify that the user is enrolled in the correct course in Graphy, confirming that the entire workflow is functioning as intended.
Conclusion
Using Pabbly Connect, you can automate the process of enrolling users in specific courses based on their selections on the Razorpay payment page. This integration streamlines the workflow, saving time and reducing manual errors.
Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.
- Check out Pabbly Connect – Automate your business workflows effortlessly!
- Sign Up Free – Start your journey with ease!
- 10,000+ Video Tutorials – Learn step by step!
- Join Pabbly Facebook Group – Connect with 21,000+ like minded people!
By following the steps outlined in this tutorial, you can efficiently manage course enrollments and enhance the user experience for your learners.