Skip to main content

Payments and invoices

Route: /org/ecom/orders · Permission: Send Invoice to COD order after manual payment acknowledgement


1. What this covers​

Getting paid, and proving it — chiefly for cash on delivery, where payment happens away from the system and has to be recorded by hand.

ConceptMeaning
Payment statusPENDING or paid — independent of the order's status
COD to collectCOD orders still PENDING
Payment reminderA nudge to the customer
InvoiceA document, emailed on request

2. How COD money is recorded​

Nothing marks a COD order paid automatically

The money changes hands off-system. Until someone updates the payment status, the order stays on the COD to collect list however many times it has been delivered.

That list is the reconciliation worklist — if it grows, cash is being collected and not recorded.


3. Working COD​

Step 1 · Filter​

COD to collect — "Show only Cash-on-Delivery orders awaiting collection" — scopes to payment_method = COD and payment_status = PENDING.

Step 2 · Nudge​

A payment reminder can be sent to the customer. The card records when the last one went, so a follow-up is not sent blind.

Step 3 · Record the payment​

Update the payment status once cash is in hand. The chip changes from COD · TO COLLECT to COD · PAID.

Step 4 · Send the invoice​

Emailing an invoice needs Send Invoice to COD order after manual payment acknowledgement, and the permission's own description is explicit: "Send Invoice to COD order after manual payment acknowledgement."

Acknowledge the payment first, then invoice

An invoice sent while the order still reads TO COLLECT tells the customer they owe money they have already handed over. The permission is worded to make the order of operations obvious.


4. Field reference​

ElementBehaviour
Payment chipCOD · TO COLLECT or COD · PAID
COD to collect toggleCOD + pending
Payment reminderSends a nudge; the last-sent time is shown
InvoiceEmailed; downloadable as an admin invoice or bill

5. The admin contract​

PrerequisiteWithout it
Send Invoice to COD order after manual payment acknowledgementNo invoice can be emailed
COD enabledThe whole flow is moot
A COD payment QRCustomers have no scan-to-pay route
A working email channelInvoices and reminders do not send

6. Downstream​

Payment status drives the COD to collect worklist, what the shopper sees in my orders, and whether an invoice is appropriate.


7. Don't confuse this with…​

ThingWhy it differs
Payment statusWhether money arrived
Order statusWhere the order is
InvoiceEmailed document
ReceiptPrinted at handover
Credit noteMoney going back

8. Troubleshooting​

SymptomCause
Delivered orders still on COD to collectPayment was never recorded
Cannot email an invoiceMissing Send Invoice to COD order after manual payment acknowledgement
Customer says they already paidThe payment status was not updated
No QR in the COD emailSee payment gateways