Available in🇺🇸 United States
Connect Razorpay Payment Gateway to Moon Invoice to accept payments on your invoices. This guide covers configuration, verification and going live.
1. Build Integration
Generate your Live Mode API keys and connect Razorpay in Moon Invoice.
2. Verify the Integration
Confirm the connection with a low-value live invoice.
3. Go-Live Checklist
Check capture settings and settlement before you invoice customers.
1. Build Integration
1.1 Generate API Keys
Generate Live Mode keys. Moon Invoice rejects Test Mode keys, so there is no Test Mode step in this integration.- Log in to the Razorpay Dashboard and switch to Live Mode.
- Navigate to Account & Settings → API Keys → Generate Key.
- Download the Key ID and Key Secret.
1.2 Connect Razorpay in Moon Invoice
Before you start:- Your Razorpay KYC is approved and your business is activated.
- You have your Live Mode Key ID and Key Secret.
- Log in to your Moon Invoice account.
- Click Integrations in the left sidebar.
- Scroll to the Payment Methods section and find the Razor Pay card.
- Click Connect. The Setup Online Payment modal opens with two fields, Key ID and Secret Key.
- Enter your Key ID and Key Secret, then click Save.
Handy Tips
- Moon Invoice labels the integration Razor Pay (two words) rather than Razorpay. It is the same integration.
- Razorpay is connected per company. If you run more than one company in Moon Invoice, connect it for each company you invoice from.
2. Verify the Integration
Because Moon Invoice does not accept Test Mode keys, you cannot make a simulated test payment. Verify the connection with a low-value real invoice instead, then refund it. To verify the integration:- In Moon Invoice, create a low-value invoice made out to yourself or a colleague.
- Confirm Razor Pay appears in the invoice’s payment methods, then send the invoice.
- Open the invoice as the recipient and click Pay Now. The Moon Invoice payment page opens with your merchant name, the invoice reference and the amount.
- Click the Razorpay button. Razorpay Checkout opens with the invoice amount and the available payment methods.
- Complete the payment.
Verify Payment Status
- In the Razorpay Dashboard
- In Moon Invoice
- Log in to the Razorpay Dashboard and navigate to Transactions → Payments.
- Check whether a
payment_IDhas been generated and note the status. A successful payment shows ascaptured.
Refund the Verification Payment
Once you have confirmed the payment and the invoice status, refund it from the Razorpay Dashboard under Transactions → Payments. See Refunds for how refunds are processed and how long they take to reach the customer.3. Go-Live Checklist
You are already using Live Mode keys, so work through the checks below before you send invoices to real customers.3.1 Confirm the Connection
- In Moon Invoice, open Integrations → Payment Methods and confirm the Razor Pay card shows the blue checkmark.
- Confirm Razorpay is connected for every company you invoice from.
- Confirm your verification payment appears in Transactions → Payments in the Razorpay Dashboard.