# How do I connect Razorpay to my store?

Razorpay lets customers in India pay by UPI, card, netbanking or wallet on Razorpay's secure page, using your own Razorpay account. It charges in Indian rupees (INR); if international payments are enabled on your Razorpay account, it can also charge in USD, EUR, AED and other currencies.

## Steps

1. In your Razorpay dashboard, open **Account & Settings > API Keys** and generate a key. Test keys start with `rzp_test_`, live keys with `rzp_live_`.
2. In Dropify, go to **Apps**, find **Razorpay** and click **Install and connect**.
3. On the app page click **Connect Razorpay**, type an **Account name**, fill in **Key ID**, **Key secret**, **Webhook secret** and **Currencies**, then click **Add account**. Dropify checks the keys with Razorpay before saving. In **Currencies** choose "INR and other currencies" only if international payments are enabled on your Razorpay account.
4. Recommended: under **Webhook URL** click **Copy webhook URL** and add it in Razorpay (**Account & Settings > Webhooks**, event payment_link.paid, with a secret you also paste in **Webhook secret**). Payments are then confirmed even if the customer closes the page.
5. In the **Settings** section choose **Sandbox Mode** to test or **Live Mode** for real payments, with the matching keys.
6. Go to **Payments > Payment methods** and switch Razorpay on. You can also set a **Discount for prepaid orders** for it.
7. Place a test order in INR and pay on the Razorpay test page.

## Common problems

- "Razorpay rejected these keys in test mode…" → keys of the other mode, or copied with spaces. Copy them again or switch the mode in **Settings**.
- Razorpay does not show at checkout → your prices (or the visitor's currency) are not in INR, or Razorpay is switched off in **Payments > Payment methods**.
- The customer sees "You cancelled the payment. You can try again or choose another payment method." → they left the Razorpay page without paying.
- An order paid later stays unpaid → the webhook is missing or its secret does not match. Paste the webhook URL in Razorpay and copy the secret again.

## Related
- [How do I connect Cashfree to my store?](https://help.dropify.shop/en/payments_gateways/cashfree/)
