Taking payment for orders
Where you tell Kooday how a customer pays for an order your assistant takes - the payment link and the payment instructions - what each one does today and what the screen refuses.
When your assistant takes an order, the customer needs to know how to pay you. The Payments screen is where you say so. Open Payments under Settings in the dashboard. Only an account admin can see or change it, and it is there for businesses that have What you sell turned on, because that is where orders live.
There are two settings. You can fill in one or both, but they do different things today:
- The payment link is in use now. Your assistant’s payment link feature builds a link for each order from it and sends it to the customer.
- The payment instructions are saved now, and are shown to customers once payment steps in flows are switched on. Until then nothing sends them. If you fill in only the instructions, your assistant cannot send payment details yet.
Payment link
One web address that every order’s payment message is built from. Put {order_id}
where the order number belongs and every customer gets the page for their own order:
https://pay.example.com/o/{order_id}
- It must start with https://.
- It must contain {order_id}. A link without it would send every customer to the same page, which is nearly always a mistake. If you only have one fixed page, put it in the payment instructions instead.
- No spaces, line breaks or invisible characters. A space inside a link breaks it.
- No other
{...}word.{order_id}is the only one the link understands, so anything else would be sent to your customer exactly as typed. - At most 2048 characters.
Under the field the screen shows what a customer gets for a sample order, so you can open it and check it lands on the right kind of page. It shows the link you have saved, so save first to see a change.
Your assistant never makes up a payment address. It only uses this one, with the order’s own number filled in.
Payment instructions
Plain text, up to 500 characters, that your customer will read exactly as you type it, once payment steps in flows are switched on: a UPI id, your bank details, or a fixed payment page that has no address for each order.
UPI: acme@okbank
Or bank transfer: Acme Traders, A/c 1234, IFSC ABCD0001
Line breaks are kept. Control characters and invisible text are refused, so what you see is what your customer sees. That covers zero-width and filler characters, line and paragraph separators, and characters that flip the direction of the text. Emoji and other scripts are fine. Text with nothing a person can see counts as empty. The screen counts the characters as you type.
If you leave both empty, your assistant has no payment link to send.
Payment confirmation message
Under the instructions the screen has two more fields: Payment confirmation message and Template language. They name a WhatsApp message you have already created and had approved, which Kooday will send to a customer once a flow order is marked paid and no flow is waiting for that payment any more: a customer who pays after the wait ended is told you received it, instead of hearing nothing. This starts once payment steps in flows are switched on; until then nothing sends it. It is sent once per payment, to customers who can be messaged, and never counted against your daily limit for marketing messages.
- It must be an approved utility template with exactly two blanks: the order number, then the total. Create it on the Templates screen and wait for approval first.
- Type its name, and the language it was approved in (
en,hiand so on; empty meansen). Save checks the name against your approved templates and refuses one that is missing, not approved, not a utility message or has the wrong number of blanks. The reason appears under the field. - Leave the name empty to send nothing. A customer whose flow is still waiting is answered by the flow itself while the chat window is open. If that customer has been silent for more than 24 hours, the flow sends nothing and Kooday sends this template instead, once.
Saving
- Press Save. The screen sends only what you changed.
- Empty a field and save to clear it.
- If something is refused, the reason appears under the field it is about, and nothing is saved. Your text stays as you typed it, so you can fix it and save again.
- If you have changes you have not saved, the screen says so, and asks before you leave by a link or close the tab. Discard changes puts the saved text back.
Changes apply to the next payment link your assistant sends. A message already sent keeps what it said.
Your own Razorpay account
If you have a Razorpay account, you can connect it on the same screen, under Your Razorpay account. Customers then pay through a Razorpay link made in your account, the money goes straight to your Razorpay account and never passes through Kooday, and the order is marked paid when Razorpay tells us. It is saved now. It is used by payment steps in flows, by the payment link button in your inbox and by your assistant’s own payment link, all together, once Kooday switches online ordering on (it is one switch for every account, not a setting of yours); until then nothing sends a Razorpay link, and the inbox button and your assistant keep using your payment link above.
To connect it:
- In Razorpay, open Account & Settings and generate an API key. Copy the key id
(it starts with
rzp_live_, orrzp_test_to try it out) and the key secret. Razorpay shows the secret once. - On the Payments screen, enter the key id, the key secret and a webhook secret: any text of 8 to 128 characters with no spaces, which you choose now and type again in Razorpay in the next step. Press Connect Razorpay.
- The screen then shows a webhook address. In Razorpay, open Webhooks, add a
webhook at that address, enter the same webhook secret and tick the
payment_link.paidevent. Without this step a customer can pay and the order will not be marked paid.
Once it is connected the screen shows only the last four characters of the key id. The secrets are stored encrypted and are never shown again, so to change them press Replace keys and enter all three values again.
Remove disconnects the account. Links already sent stay open at Razorpay, and a customer who pays through one will not be marked paid here: you would see the money in Razorpay and mark the order paid by hand. Cancel any link you do not want paid in Razorpay first.
If a customer pays a different amount than the order total, pays for an order you have already cancelled, or pays an order that was already paid another way, the order is not changed. Kooday emails you, the order shows what was paid, and you decide what to do: mark it paid after talking to the customer, or refund outside Kooday. There is no refund button.
Staging and production
Payment details are never copied from your staging account to production. Type them again on production, so a test bank account never reaches a real customer.
Still stuck? We answer support mail the same working day.
Email support