
To let customers pay invoices by card or Razorpay, connect a payment gateway. Go to Settings → Payment Gateways.

Click Add a payment provider and choose Stripe or Razorpay, then enter:
Mode — Test (for trying it out) or Live (for real payments).
Publishable key — your gateway's public key (Stripe publishable key / Razorpay Key ID).
Secret key — your gateway's secret key (stored encrypted).
Webhook secret — used to verify payment notifications from the gateway.
An optional minimum amount.
A gateway can only be enabled once its keys are filled in.

The Add a Payment Provider window allows you to connect a payment gateway to your CRM by providing the required API credentials. Once configured, your CRM can securely process online payments through the selected gateway.
Select Stripe to accept online payments using credit cards, debit cards, and other payment methods supported by Stripe worldwide.
Select the environment in which the payment gateway will operate.
Test – Use test API credentials to verify your integration without processing real payments.
Live – Use live API credentials to accept actual customer payments.
Note: Switch to Live mode only after successfully testing your payment gateway integration.
Enter your payment gateway's Publishable Key.
This key is used on the client side to securely identify your payment account and initiate payment requests.
Enter your payment gateway's Secret Key. To get keys, Click here.
This key is used by the server to authenticate API requests and perform secure payment operations.
Important: Keep your Secret Key confidential and never share it publicly.

The Add a Payment Provider window allows you to connect your Razorpay account to the CRM using your API credentials. Once configured, you can securely accept online payments and receive real-time payment status updates.
Select Razorpay as your payment gateway to accept payments through:
UPI
Credit and Debit Cards
Net Banking
Wallets
Other payment methods supported by Razorpay
Choose the environment for your Razorpay integration.
Test – Use test API credentials to verify your integration without processing real payments.
Live – Use live API credentials to accept actual customer payments.
Note: Ensure your integration is fully tested before switching to Live mode.
Enter your Razorpay Key ID.
The Key ID identifies your Razorpay account and is used to authenticate payment requests.
Enter your Razorpay Key Secret.
The Secret Key is used by the server to securely authenticate API requests with Razorpay.
Important: Keep your Secret Key confidential and never expose it publicly.
Webhooks are how the gateway tells the CRM a payment succeeded, failed, or was refunded — this is what settles the invoice automatically. The settings page shows the exact webhook URL to paste into your gateway dashboard, plus the events to subscribe to:
Stripe — payment_intent.succeeded, charge.succeeded, charge.refunded, payment_intent.payment_failed, payment_intent.canceled.
Razorpay — payment.captured, payment.failed, refund.processed.
OpenAI Engage and apply what you just learned to your own workspace.
Open AI Engage CRM