Finance

Connecting Payment Gateways (Razorpay, Stripe, GCash)

Step-by-step guide to integrating Razorpay, Stripe, GCash, and other payment gateways for online fee collection.

Last updated: Jun 10, 2026 10 min read

Connecting Payment Gateways

TL;DR: Connect your preferred payment gateway to enable online fee payments. EduSuite OS supports Razorpay, Stripe, PayU, GCash, Maya, and more. Setup takes 10-15 minutes once you have your gateway credentials.


Supported Gateways

GatewayRegionsPayment Methods
RazorpayIndiaUPI, Cards, Net Banking, Wallets
StripeGlobal (135+ countries)Cards, Apple Pay, Google Pay
PayUIndia, SE AsiaUPI, Cards, Net Banking
GCashPhilippinesGCash Wallet
MayaPhilippinesMaya Wallet, Cards
PayPalGlobalPayPal, Cards

Step 1: Get Gateway Credentials

Razorpay (India)

  1. Sign up at razorpay.com.
  2. Complete KYC verification (takes 1-2 business days).
  3. From Dashboard → Settings → API Keys, generate:
    • Key ID (starts with rzp_live_)
    • Key Secret

Stripe (Global)

  1. Sign up at stripe.com.
  2. Verify your identity and bank account.
  3. From Dashboard → Developers → API Keys, copy:
    • Publishable Key (starts with pk_live_)
    • Secret Key (starts with sk_live_)

Step 2: Configure in EduSuite OS

  1. Go to Settings → Finance → Payment Gateway.
  2. Click + Add Gateway.
  3. Select your gateway provider.
  4. Enter your credentials:
    • API Key / Key ID
    • API Secret / Key Secret
    • Webhook Secret (if applicable)
  5. Choose the mode:
    • Test Mode — For testing with dummy cards (use first!)
    • Live Mode — Real payments
  6. Click Save & Test Connection.

Step 3: Test the Integration

  1. Keep the gateway in Test Mode.
  2. Go to any student's fee page.
  3. Click Pay Online and complete a test payment.
  4. Verify the transaction appears in:
    • EduSuite OS: Finance → Transactions
    • Gateway dashboard: Razorpay/Stripe dashboard
  5. Once verified, switch to Live Mode.

Test Card Numbers

GatewayTest CardCVVExpiry
Razorpay4111 1111 1111 1111Any 3 digitsAny future date
Stripe4242 4242 4242 4242Any 3 digitsAny future date

Step 4: Configure Webhooks

Webhooks ensure EduSuite OS receives real-time payment confirmations:

  1. In your gateway dashboard, go to Webhooks settings.
  2. Add this URL: https://yourschool.edusuiteos.in/api/webhooks/payment
  3. Select events to listen for:
    • payment.captured (Razorpay)
    • checkout.session.completed (Stripe)
    • payment.failed
    • refund.processed
  4. Copy the Webhook Secret and paste it in EduSuite OS's gateway settings.

Step 5: Transaction Fees

Understand gateway charges:

GatewayTransaction FeeSettlement Time
Razorpay2% per transactionT+2 days
Stripe2.9% + ₹2 / $0.30T+2 days
PayU1.9% per transactionT+3 days
GCash2.5% per transactionT+1 day
Info

These fees are charged by the gateway, not EduSuite OS. You can choose to absorb them or pass them to parents as a "convenience fee."


Convenience Fee Setup

To pass gateway charges to parents:

  1. Go to Settings → Finance → Payment Gateway → Fees.
  2. Enable "Add Convenience Fee".
  3. Set the fee type:
    • Percentage — e.g., 2.5% of payment amount
    • Fixed — e.g., ₹25 / $1 per transaction
  4. Parents will see the convenience fee during checkout.

Multiple Gateways

You can configure multiple gateways simultaneously:

  • Parents can choose their preferred payment method at checkout.
  • Set a primary gateway for auto-debit and default payments.
  • Different gateways for different regions (useful for international schools).

Troubleshooting

Q: "Payment failed" but money was deducted. A: The payment is likely in a pending state at the gateway. Check the gateway dashboard. Most auto-refund within 5-7 business days.

Q: Webhook not receiving events. A: Verify the webhook URL is correct and publicly accessible. Check your gateway's webhook logs for delivery attempts and errors.

Q: Test mode works but live mode fails. A: Ensure you're using live API keys (not test keys). Verify KYC is complete on your gateway account.

Q: Can parents pay using UPI? A: Yes, if using Razorpay or PayU. UPI is automatically available as a payment option for Indian parents.


Need help choosing a payment gateway for your region? Talk to our team.

Was this article helpful?

Your rating helps us improve our content for school leaders.