SocialSwap Documentation
  • Start
    • Introduction
    • Requirements
    • Installation
    • Purchase Code
  • Updates
    • Update 1.0.7
    • Update 1.0.6
    • Update 1.0.5
    • Update 1.0.4
    • Update 1.0.3
    • Update 1.0.2
    • Update 1.0.1
  • How it Works
    • Dispute Overview
    • Listing Overview
    • Offer Overview
    • Message Overview
    • Subscription Overview
    • Plan Overview
  • Database Setup
    • phpMyAdmin MySQL DB Setup
  • Cloud Storage
    • AWS Storage Setup
      • Create AWS Account:
      • Create IAM User
      • Create S3 Bucket
      • Configure S3 Bucket
    • Wasabi Storage Setup
    • CloudFlare Storage Setup
  • PAYMENT GATEWAYS SETUP
    • Paypal Setup
    • Stripe Setup
    • RazorPay Setup
    • Paystack Setup
    • Flutterwave Setup
  • SUBSCRIPTION PLANS
    • Subscription Plan
      • Paypal Plan ID
      • Stripe Plan ID
      • Razorpay Plan ID
      • Paystack Plan ID
      • Flutterwave Plan ID
  • SMTP SETUP
    • SMTP Configuration
  • SOCIAL MEDIA LOGIN
    • Google Login
    • Facebook Login
  • One Signal
    • One Signal Setup
  • TAWK.TO SETUP
    • Tawk.to Setup
  • GOOGLE SETTINGS
    • Google Maps
    • Google Analytics
    • Google reCaptcha
  • TRANSLATE INTERFACE
    • Language Translations
  • CRON JOB SETUP
    • CRON Job
  • Customization
    • Files Structure
    • Frameworks
  • Troubleshooting
    • Troubleshooting
  • Changelog
    • Initial Release v1.0
Powered by GitBook
On this page
  1. PAYMENT GATEWAYS SETUP

RazorPay Setup

For accepting payments both for Subscriptions and for Deposit options you can use RazorPay.

PreviousStripe SetupNextPaystack Setup

Last updated 10 months ago

You need to enter your RazorPay credentials in the Admin panel under Finance Manager -> Payment Settings -> RazorPay. Ensure you include all your RazorPay credentials and activate the RazorPay checkbox(es).

  • RAZORPAY_KEY_ID

  • RAZORPAY_KEY_SECRET

  • RAZORPAY_WEBHOOK_SECRET

  • RAZORPAY_BASE_URI=https://api.razorpay.com

  • RAZORPAY_WEBHOOK_URI=https://YOURDOMAINNAME/webhooks/razorpay

How to get Razorpay webhook:

  1. Login to your Razorpay account at .

  2. Retrieve your API keys by navigating to Account & Settings -> API Keys.

  3. To set up your webhook, go to Account & Settings -> Webhooks.

  1. Afterwards click on Add New Webhook button as shown in the image below.

  1. Enter your webhook URL in the following format: https://YOURDOMAINNAME/webhooks/razorpay. Replace YOURDOMAINNAME with your actual domain.

  2. Generate a webhook secret key, which you will need for the Payment Settings page of the script.

  3. Select the two subscription events, as depicted in the image below, and click on the Create Webhook button.

  1. Include all this information to Admin -> Finance Manager -> Payment Settings -> Razorpay section.

Razorpay.com