Supporting an organization
How a visitor pays an organization online, and how KarmaCircle checks the payment before counting it.
Anyone can support an organization that has switched its Support button on. They pick an amount, pay through Razorpay, and KarmaCircle checks the payment is real before counting it. No account is needed.
How a payment works
Pick an amount (at least 1 rupee) and, if you like, a name to show the organization.
Pay in Razorpay's secure window.
KarmaCircle checks the payment with Razorpay's signature. Only a checked payment is counted, and it can never be counted twice.
Good to know
- Payments are in Indian rupees only, up to 10 lakh at a time.
- An organization can receive support only when it is live and has switched support on.
- Its page shows two figures: "Raised via KarmaCircle" (checked payments) and "Funds raised (stated)" (typed in by the organization).
- The organization sees recent supporters on its dashboard. Anyone who gave no name shows as "Anonymous supporter".
Your data
What we collect
| Data | When | Required |
|---|---|---|
| Which organization you support | You open the Support window | Yes |
| Amount and currency (rupees) | You choose an amount | Yes |
| A name to show the organization | You type one | No |
| Razorpay's order and payment references | Razorpay creates them | Automatic |
| Whether the payment was confirmed | KarmaCircle checks it | Automatic |
| Date and time | Automatically | Automatic |
KarmaCircle never sees your card, UPI or bank details. You type those into Razorpay's own window, and Razorpay keeps them under its own rules. You do not need an account, and no account is linked to the payment.
Why
- Organization and amount are the payment itself.
- The name lets the organization thank you. Leave it empty to stay anonymous.
- Razorpay's references and the confirmation prove the payment really happened, so only real payments are counted, and never twice.
What we do with it
- The organization sees your name, or "Anonymous supporter", with the amount on its dashboard.
- The public sees only the organization's total "Raised via KarmaCircle", never who paid.
- Razorpay receives the amount, and your name if you gave one, to run the payment.
- Kept for good, as a record of money received. A payment record cannot be deleted while the organization exists.
How it moves
- Order:
POST /payment/organizations/:handle/orderwithamountin rupees. The API converts to paise, creates a Razorpay order inINR, and saves apayment_ordersrow ascreated. - Verify:
POST /payment/organizations/:handle/verifycomputes HMAC-SHA256 of"<order id>|<payment id>"withRAZORPAY_KEY_SECRETand compares it timing-safely. A match marks the orderpaidand adds its paise toorganizations.raised_via_platform_paisein one transaction; only the call that changes the status credits it. - Without Razorpay keys the API answers 503.
payment_orders.statusiscreated,paidorfailed; money is stored in paise.
| Piece | Where |
|---|---|
| Support window | SponsorOrganizationModal.tsx |
| Service | payment.service.ts |
| Table | order.model.ts (payment_orders) |