Learn how to create a LearnWorlds user on Razorpay payment using Pabbly Connect. Step-by-step tutorial for seamless integration. Explore efficient methods for automating routine tasks with clear, concise instructions suited for both newcomers and experienced professionals.

Watch Step By Step Video Tutorial Below


Accessing Pabbly Connect for Integration

To integrate Razorpay with LearnWorlds, you first need to access Pabbly Connect. Start by navigating to the Pabbly website and signing in to your account. If you are a new user, you can sign up for a free account which provides 100 tasks per month.

Once logged in, locate the Pabbly Connect application from the dashboard. This platform is essential as it allows you to automate workflows between Razorpay and LearnWorlds seamlessly.


Creating a Workflow in Pabbly Connect

In this section, you will create a workflow specifically for creating a LearnWorlds user upon receiving a Razorpay payment. Start by naming your workflow as ‘How to Create LearnWorlds User on Razorpay Payment’. Select the folder where you want to save this workflow. using Pabbly Connect

After naming your workflow, click on the ‘Create’ button. You will see two boxes appear: one for the trigger and another for the action. The trigger will be set to Razorpay, and the action will be set to LearnWorlds.

  • Select ‘Razorpay’ as the trigger application.
  • Set the trigger event to ‘Payment Captured’.
  • Choose ‘LearnWorlds’ as the action application.
  • Select ‘Create User’ as the action event.

With these selections, you are setting up the necessary connections to automate the user creation process in LearnWorlds based on Razorpay payment events.


Configuring Webhook in Razorpay

To facilitate the connection between Razorpay and Pabbly Connect, you will need to set up a webhook in Razorpay. This webhook acts as a bridge for communication. Go to your Razorpay account and navigate to the ‘Developers’ section, then select ‘Webhooks’.

Click on ‘Add New Webhook’ and enter the webhook URL provided by Pabbly Connect. Also, ensure to select the event ‘Payment Captured’ to trigger the workflow whenever a payment is successfully made. This step is crucial for the automation to work correctly.

  • Enter the webhook URL from Pabbly Connect.
  • Select ‘Payment Captured’ as the event to trigger the webhook.
  • Save the webhook settings.

This setup ensures that every time a payment is captured, Razorpay sends the relevant data to Pabbly Connect, which will then process it to create a user in LearnWorlds.


Mapping Data to Create User in LearnWorlds

After setting up the webhook, it’s time to map the data received from Razorpay to create a user in LearnWorlds. In your Pabbly Connect workflow, you will configure the action step to include user details like email, name, and phone number.

Use the mapping feature to pull data directly from the Razorpay response. For example, map the email address field to the corresponding email data received from Razorpay. This ensures that the user is created with accurate information.

Map the email address from Razorpay to the user email field in LearnWorlds. Map the user’s name and phone number accordingly. Ensure all required fields in LearnWorlds are filled correctly.

Once the mapping is complete, save your workflow. This step finalizes the connection and prepares it for testing.


Testing the Integration

To ensure everything is functioning correctly, you need to test the integration. Go back to your Razorpay account and perform a test payment. This can be done using dummy data to simulate a real transaction.

After completing the test payment, check your LearnWorlds account to verify that a new user has been created with the details provided during the payment process. This confirms that Pabbly Connect has successfully processed the payment information and created the user.

If the user appears in LearnWorlds, then the integration is successful. If not, revisit the mapping and webhook settings to troubleshoot any issues.


Conclusion

By following this tutorial, you learned how to create a LearnWorlds user on Razorpay payment using Pabbly Connect. This integration streamlines the process, allowing for automatic user creation with each payment, enhancing your online learning platform’s efficiency.

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