Skip to main content

Orders

An order is the record of a sale. It always belongs to a customer, who must exist before the order does, and it keeps the amounts, the addresses, the status of the payment and of the shipment, and the items bought.

What it holds​

  • Amounts. The gross total, the shipping cost and the currency.
  • Payment status, from created to paid, failed or refunded, with the Stripe checkout session, payment intent and invoice link, and what happened with refunds and disputes.
  • Shipment. The shipping and billing addresses, the shipping status (unassigned, shipped, delivered) and the carrier's tracking link, which you set by hand after dispatch.
  • Items. Each line names the exact variant bought, the quantity and the prices frozen at the time of sale: net and gross for the unit and for the line, the VAT rate applied, the name of the variant and its cover image. The product can change later, the order does not. A line can also carry free data the customer gave (an engraving, a name): see Personalizations on lines.

Money amounts come as strings, to keep decimals exact and avoid the rounding errors of floating-point numbers.

Two ways to manage orders​

Automatic, with Stripe. Webround creates the order when the customer starts paying, and updates it with the events Stripe sends: payments, anti-fraud holds, failures. The order is born with the intention to buy, not with the payment, so you can see checkouts that were started and where customers give up. Amounts and items cannot be changed: they are the real movement of money. You can update the shipping status and the tracking link.

Manual. For shop sales, orders by phone or imports from other systems. Stripe is not involved and nothing is locked: you set prices, items and statuses as you like, and you can change any field at any time.

Returns​

A customer can ask for a return of the items of an order only if the order is paid. A guest who bought without an account asks through a link that Webround emails to the address of the order. See Customers.