Using Chirai · Chapter 14

Payments

Sites take payments into your account. Chirai never holds your customers' money. Set payments up once in Payments; every site of yours uses it.

Choose how you're paid

OptionWhat customers seeGood for
RazorpayUPI, cards, netbanking, walletsShops in India
StripeStripe's hosted checkout pageShops outside India
PayUUPI, cards, netbanking, wallets, EMIShops in India
Dodo PaymentsDodo's hosted checkout page, in the buyer's currency, tax addedDigital products sold worldwide
Your own payment linkYour link (e.g. a UPI or payment page), with the amount and order number filled inGetting started without a gateway
Cash on delivery"Pay on delivery" at checkoutTurn on per shop in Manage site → Shop & business

For Razorpay, paste your Key ID (rzp_…) and Key Secret; for Stripe, your secret key (sk_…). For PayU, your merchant key and salt. Use test keys first, place a test order, then switch to live keys.

Dodo Payments

Dodo Payments sells on your behalf (a "merchant of record"): it takes the payment, adds and files the sales tax, VAT or GST, and pays you out. It accepts digital products only: courses, downloads, software, memberships. It does not accept physical goods, in-person services, bookings or food, so a shop that ships things should use Razorpay, PayU or Stripe.

  1. In your Dodo dashboard, make one product: one-time payment, Pay what you want switched on, in the currency your site sells in, with a low minimum price. Chirai sets each order's amount on it.
  2. Copy the product ID (pdt_…) and an API key (Developer → API Keys).
  3. In Chirai → Payments, choose Dodo Payments, paste both, pick Test or Live, and press Save and test.

Try it in Test mode first (a test-mode key and a test-mode product), then switch to Live.

NoteWith your own payment link, Chirai can't see whether money arrived. You mark each order paid by hand in Manage site. Your link can include {amount} and {reference} placeholders.

Your keys are safe

Secret keys are stored encrypted, are never sent to your sites or shown again, and are used only by Chirai's server to create and verify payments. To change a key, type the new one; leave the field empty to keep the saved one.

Prices, GST and delivery

Set in Manage site → Shop & business → Checkout: currency, whether prices include GST, delivery fee, free delivery above an amount, minimum order. Totals are always calculated on the server, so a visitor can't change a price in their browser.

Refunds

Open the order in Manage site and press Refund: for Razorpay, Stripe, PayU and Dodo Payments the refund goes back through the gateway; the customer is emailed.

Paying Chirai

Your Chirai plan is paid separately, on a secure checkout page run by Dodo Payments (card, UPI or wallet, from any country). See Plans and billing.