Payment Setup

Connect Razorpay so your customers can pay you directly.

How Payments Work

When a customer makes a payment through your portal or CRM, the money goes directly to your Razorpay account. DogsVilla never holds or touches your revenue.

Setting Up Razorpay

  1. Create a Razorpay account at razorpay.com (if you don't have one)
  2. Complete KYC verification with Razorpay
  3. In your Razorpay Dashboard, go to Settings > API Keys
  4. Generate a new API key pair (Key ID + Key Secret)
  5. In DogsVilla, go to Settings > Payments
  6. Enter your Key ID and Key Secret
  7. Click Save Credentials
  8. Click Test Connection to verify

Webhook Setup

For real-time payment status updates, set up a webhook in Razorpay:

  1. In Razorpay Dashboard, go to Settings > Webhooks
  2. Add a new webhook with URL: https://yourkennel.app.dogsvilla.com/api/payments/webhook
  3. Select events: payment.captured, payment.failed, refund.processed
  4. Copy the webhook secret and paste it in DogsVilla's payment settings

Payment Types

Your customers can pay for:

  • Booking deposits — required to confirm a reservation
  • Invoices — full service payment after completion
  • Loyalty packages — pre-paid boarding bundles
  • Wallet top-ups — credit balance for future use

Security

Your Razorpay credentials are encrypted at rest using AES-256-GCM encryption. They are never stored in plain text and are only decrypted in memory when processing a payment.