Conscent.ai Developer Documentation
  • Version 2.0
    • Using Conscent.ai
    • Web SDK
    • Login
    • Logout
    • User Details Drawer
    • Google One Tap
    • Mobile SDK
      • iOS(Swift)
        • In-App Purchases with Conscent
      • Android SDK
      • React Native SDK
      • Google In-App Purchases with Conscent
      • Apple In-App Purchases with Conscent
    • Facebook SSO Integration Guide
    • Landing Page API v 2.0
    • AMP Integration
    • Integrating APIs(v2)
      • Purchase Details
      • User Registered Or Not
      • User Registrations
      • Subscription Plans Details
      • Get User Details
      • Add Subscription If User Registered
      • Update UserDetails
      • Update SubscriptionDetails
      • Get All Transaction Details
    • IAM System API Documentation
  • Version 1.0
    • Getting Started
    • On Board
    • Using Conscent.ai
    • Authentication
    • Web SDK
    • Login
    • Logout
    • Amp Documentation
    • Mobile SDK
      • Android
      • Flutter
      • iOS(Swift)
      • React Native SDK
    • Auto Login
    • Creating External Purchases
    • Landing Page API
  • Login Screen Customization
  • Integrating Client Payment Gateway
  • Integrating with APIs
    • User Details and Subscriptions Information
    • Purchased Subscriptions
    • User and Purchase Details
    • Client Purchases
    • Client Micropayments
    • Client Passes
    • Cancel Active Subscriptions
    • Delete User
  • Events API Docs
    • Different Types of Events
    • SSO Login Flow
  • Discount Coupon
    • Dynamic Coupon API Generation:
  • New Webhooks
    • Meter Banner Webhook
    • Paywall Webhook
    • SignUp Webhook
    • Refund Webhook
    • Purchase Webhook
    • Subscription Landing Page Webhook
    • Popup Webhook
    • User Update Webhook
    • Payment Gateway Webhook
    • Review Page Webhook
    • Transaction Webhook
    • Login Webhook
    • Cancel Subscription Webhook
  • Old Webhooks
    • Sign Up Webhook
    • Login Webhook
    • Subscription Payment Webhook
    • Subscription Cancelled Webhook
    • Pass Payment Webhook
    • Subscription Bundle Payment Webhook
    • Review Subscription Webhook
    • Micro Payment Webhook
    • How to validate Webhooks?
  • Registering The Content
    • Create Content
    • Edit Content
    • View Content
  • Country Code List
  • Supported Currencies and Payment Gateways
    • Stripe Supported Country with Currency
    • Razorpay Supported Country with Currency
    • Paypal Supported Country with Currency
  • Errors
  • Loyalty System
    • Web SDK
    • iOS SDK
    • Android SDK
    • Flutter SDK
    • API from server
Powered by GitBook
On this page

Integrating Client Payment Gateway

Conscent offers a straightforward method to configure your payment gateway directly from the dashboard.

PreviousLogin Screen CustomizationNextIntegrating with APIs

Last updated 7 months ago

Steps to integrate the payment gateway:

a. Visit the on Conscent Dashboard

b. Navigate to the Payment Gateway tab.

c. Click on Add Gateway and enter your Razorpay credentials i.e. Key ID and Key Secret, and an alias name. Then Save and Continue

Note: Key Secret will not be physically displayed on the dashboard for security reasons.

d. After saving, you'll need to enter the generated webhook URL and secret in your webhook section on the Razorpay dashboard.

Domain Whitelisting and Razorpay Configuration Guide (For Production):

Step 1: Whitelist Your Domain

To set up your domain for payments, start by creating a CNAME record pointing to the new payment gateway.

Instructions:

1. Access DNS Management:

  • Log in to the control panel of your domain registrar or DNS hosting provider.

2. Create a CNAME Record:

  • Host/Name/Alias: Enter payment (e.g., this will create payment.clientname.com).

  • Type: CNAME

  • Value/Points to: payment-v2.netlify.app

3. Save Changes:

  • Confirm and save the new CNAME record.

  • Note that DNS changes may take up to 24-48 hours to propagate.

Step 2: Configure Razorpay Settings

Once the CNAME is active, update your Razorpay account to recognize your new subdomain.

Instructions:

  1. Log in to Razorpay Dashboard:

  1. Navigate to Account Settings:

  • Click your profile icon in the top-right corner.

  • Select “Account & Settings” from the dropdown.

  1. Update Business Website Details:

  • In the “Business Website Details” section, update your domain to payment.clientname.com.

  1. Save Changes:

  • Click “Save” or “Update” to apply your new settings.

Step 3: Configure Razorpay for One-Time and Recurring Transactions

Enable and test payment modes for one-time and recurring transactions on your Razorpay account.

Instructions:

  1. Enable Payment Modes:

  • Go to “Settings” > “Payment Methods” on the Razorpay dashboard.

  • Enable all relevant payment methods (Credit Card, Debit Card, Net Banking, etc.).

  1. Set Up Recurring Payments:

  • Under “Payments”, navigate to “Subscriptions” and click “Enable Recurring Payments.”

  • Follow any on-screen instructions to complete the setup.

  1. Test Payment Flow:

  • Use Razorpay’s test mode to conduct test transactions for both one-time and recurring payments to ensure smooth functionality.

Go to and log in.

dashboard.razorpay.com
Monetise Section