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
- Create a Razorpay account at razorpay.com (if you don't have one)
- Complete KYC verification with Razorpay
- In your Razorpay Dashboard, go to Settings > API Keys
- Generate a new API key pair (Key ID + Key Secret)
- In DogsVilla, go to Settings > Payments
- Enter your Key ID and Key Secret
- Click Save Credentials
- Click Test Connection to verify
Webhook Setup
For real-time payment status updates, set up a webhook in Razorpay:
- In Razorpay Dashboard, go to Settings > Webhooks
- Add a new webhook with URL:
https://yourkennel.app.dogsvilla.com/api/payments/webhook - Select events:
payment.captured,payment.failed,refund.processed - 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.