Razorpay Integration for Paid Submissions
Overview
Directify’s Razorpay integration allows you to accept payments for paid submissions using Razorpay's secure payment gateway. Whether you offer one-time payments or subscription-based plans, this integration ensures smooth transactions for your directory.
1. Enable Paid Submissions
- Go to Settings in your directory dashboard.
- Navigate to the Paid Submissions section.
- Enable Paid Submissions and select Razorpay as the payment provider.
2. Configure Razorpay API Keys
To integrate Razorpay, you need to obtain your API credentials:
- Log in to your Razorpay Dashboard.
- Go to Settings > API Keys.
- Click Generate Key and copy the following credentials:
- Paste these keys into the Razorpay Integration section in your directory settings.
3. Set Up Webhooks
Webhooks are required for processing payments and keeping transaction records updated.
- In your directory settings, locate the Webhook URL.
- Go to Razorpay Dashboard > Webhooks.
- Click Add New Webhook and paste the Webhook URL provided by your directory.
- Select the following events to listen to:
payment.authorized
payment.failed
subscription.activated
(for recurring payments)
- Click Save.
4. Create Payment Plans in Razorpay
- Go to Products in your Razorpay dashboard.
- Click Create New Plan and set up pricing:
- Choose Subscription Plans (e.g., Monthly, Yearly).
- Set up One-Time Payments if applicable.
- Save your plans.
5. Sync Payment Plans with Your Directory
Once Razorpay is connected, Directify will automatically fetch available plans.
- Verify that your plans are listed under Paid Submissions Settings.
- You can:
- Edit descriptions.
- Modify pricing.
- Change plan visibility.
- Click Save to finalize your setup.
6. User Experience for Paid Submissions
- A user submits content to your directory.
- They are directed to the payment page.
- They choose a subscription or one-time payment plan.
- Payment is securely processed via Razorpay Checkout.
- Upon successful payment, the submission is queued for review and approval.
Conclusion
Your directory is now fully integrated with Razorpay, enabling seamless paid submissions. Users can easily submit their listings, make secure payments, and choose between flexible pricing options.
If you experience any issues, check the Razorpay dashboard for transaction logs and troubleshooting.