How to add online payments to your business app
An AppCub app can take payments in two ways: a payment button that uses your own Razorpay account, so customers pay by UPI or card inside the app, or a simple "Pay via UPI" button that opens their UPI app with your UPI ID and the amount filled in. In both cases the money goes to you.
Updated 2026-11-09
Two ways to take payments
A Razorpay payment button is the full way. The customer taps Pay, chooses UPI, card or another method Razorpay offers, and pays inside the app. Your app records that the payment went through against the order, booking or fee. This needs your own Razorpay account and your own Supabase database, both connected from the AppCub chat, because the payment record has to be kept outside the phone. Razorpay charges its own fee on each payment; check its pricing page.
A "Pay via UPI" button is the simple way. It opens the customer's UPI app with your UPI ID, your name and the amount already filled in. The customer pays from their own app. Your app does not get told the payment went through, so you check your bank app and mark it paid. It suits small shops, tuitions and tiffin services where you know your customers. The app can also show your UPI QR code on screen for someone to scan.
Where the money goes
With either way, the money goes to your own Razorpay or bank account. AppCub never holds your customers' money and does not take a cut of it. Your AppCub plan is a separate cost for building and changing the app.
Good practice
- Show the amount, what it is for and your business name before the customer pays
- Give every payment a record: who paid, how much, for what, when and its status
- Keep a "Paid on WhatsApp / cash" option so you can mark payments that happen outside the app
- Write your refund and cancellation terms in the app, in plain words
- Test with small amounts first, then switch to live keys; never share your Razorpay secret key in a WhatsApp chat or a screenshot
Selling digital things on Google Play
If your app is on Google Play and sells digital things used inside the app, such as course videos, premium features or in-app coins, Google Play's rules generally require Google Play Billing for those. Payments for real-world goods and services, such as tiffin, salon visits, tuition fees or shop orders, can use Razorpay. If you are unsure which applies, read Google Play's payments policy before you publish.
With AppCub
Ask in the chat, for example: "Add a Pay button on each order that takes payment with my Razorpay account, and mark the order Paid when it succeeds." AppCub asks you to connect Supabase and Razorpay first, shows the payment screens in the plan, then builds them. For the simple way, say: "Add a Pay via UPI button with my UPI ID and the order total."
Questions
Does the money go to AppCub?
No. Payments go to your own Razorpay or bank account. AppCub does not hold or share in that money.
Why do I need Supabase for Razorpay payments?
The payment record must be kept outside the phone so it is safe and every device sees it. Supabase is your own database and has a free plan.
Can I take UPI payments without Razorpay?
Yes, with a Pay via UPI button or a UPI QR code. The app will not confirm the payment; you check your bank app.
Does Razorpay charge a fee?
Yes, Razorpay charges its own fee on payments. See Razorpay's pricing; AppCub does not add a fee.
Can my app take subscriptions or monthly fees?
It can ask for each month's payment with a Pay button, and a reminder on the phone when it is due. Automatic recurring charges are not promised.
Do I need Google Play Billing?
Only for digital things used inside an app sold on Google Play. Real-world goods and services can use Razorpay.
Can I test payments before going live?
Yes. Use Razorpay's test mode keys first, then switch to your live keys.
Read next
- Can a website take payments?
- How to add PDF bills to your app
- App guides by business
- App for an abacus class
- App for an AC repair service
- App for a fertiliser and seeds shop
- App for an alumni group
- App for an ambulance service
- App for an appliance repair shop
Make yours with AppCub
Seeing the plan is free. Building starts with a 2-day trial for ₹99.