Checkout

Guest checkout flow and order capture.

Admin section
Sales
Version
1.0.0 · torgash.checkout
Installed with
Minimum, Shop
Needs
Cart, Catalog, Media

Buying in one click

A “Buy in one click” button on the product page: the customer leaves a phone number, the shop places a real order, and the manager rings back to agree the rest.

Real is the whole point. Many engines make one click a “call request” with an order attached, and because a call request is not an order it has to invent an email address for the buyer to place one at all. Here it goes through the same PlaceOrder as the checkout form and the API, so stock, statuses, currencies, taxes and the order log behave identically — and the email column stays empty rather than being filled with something made up. No address means no confirmation email; the shop is phoning them anyway.

Setting it up takes three ticks

  1. Switch Buying in one click on in this module’s settings.
  2. Open the delivery method such an order should be placed with and tick “Use this one for orders placed in one click”.
  3. Do the same on the payment method.

Both are needed. An order is placed with methods that really exist, so until the shop says which ones, the button does not appear at all.

The methods to nominate are the ones that mean “we will agree it when we call you” — a delivery method priced by hand, and a payment method with no gateway behind it. The manager changes them on the order screen after the call, which is exactly what the delivery re-quote and the payment picker there are for.

The one thing that can stop it

The nominated delivery method needs a rate that covers a customer whose address nobody knows yet — in practice, a rate in the catch-all zone. Without one the shop genuinely cannot promise delivery, and one click says so rather than placing an order it cannot fulfil.

What the order looks like

It arrives in the shop’s default status with the product, the phone number and the two nominated methods, and with customer_ref derived from the phone — so a guest who buys twice is one counterparty in 1C and in any CRM, without an account ever being created for them.

The form is guarded like every other public one (honeypot, form age, rate limit per address and per phone). It matters more here than anywhere else: this endpoint creates orders, and an order that has already moved stock is an expensive piece of spam.

Checkout fields of your own

The checkout asks the usual: who the order is for, how to reach them, where to deliver, how to pay. Anything else your shop needs to know is a field of your own — Sales → Checkout fields.

What a field can be

TypeLooks like
Line of textone line
Several linesa box of a few lines
Drop-down lista list to pick from
One of severalthe answers as buttons in a row, one tap each
Tick boxa box with your words beside it
Datea calendar

Each field has a name, a description under it, a hint inside the box, and can be required.

Where and of whom

  • Where on the page — under the recipient, under the delivery, or above the order notes.
  • Asked of — everyone, private persons only, or companies only (when the shop takes orders from companies — the checkout settings).
  • Only for these deliveries — tick the delivery methods it belongs to; none ticked means whatever the delivery.

A field is asked only where it applies, and required only there: a courier’s question marked required does not stop an order collected from a branch. Change the delivery on the page and the field appears or goes.

Where the answers go

Onto the order, as “Name: answer” — never into the customer’s notes, which stay their own words:

  • the order’s card in the admin;
  • the customer’s order page;
  • the letters — {order_details} prints them, {order_fields} prints only them;
  • automations — {{ order.fields.CODE }} for one answer, {{ order.fields_text }} for all of them;
  • the order export (the “Checkout fields” column) and the API (fields).

The code is what an automation names the answer by. Leave it empty and it is made from the name.

A choice is kept in the shop’s base language, whatever language the customer bought in, so “How did you find us” can be counted: write the answers of every language in the same order — they are matched by line.

Deleting a field does not touch the orders: each keeps the answers it was given.

Examples

A flower shop — “Who takes the bouquet”. Line of text, under the delivery, only for the courier, required. Description: “Name and phone of the person we hand the bouquet to.” A pickup order is never asked.

“How did you find us”. One of several, above the order notes, not required. Answers: Google, Instagram, TikTok, A friend told me. Description: “One question — thank you for answering.”

Bank details of a company. Line-of-text fields asked of companies only:

  • Russia: KPP, OGRN, legal address, bank, BIK, account;
  • Ukraine: VAT payer (a tick box), IBAN, legal address.

The company’s name and tax code (INN / EDRPOU) are already asked by the checkout itself.

A gift note. Several lines, above the order notes: “A card to go with it — we will write it by hand.”

A delivery date. Date, under the delivery, only for the courier.

Payment surcharge and who a method is for

A payment method can cost the customer something extra: a 10% surcharge on an invoice for a company, a 2.5% fee for paying by card on delivery. It can also be offered only to some customers or with some deliveries. Both are set on the method itself: Admin → Payment, open the method.

The surcharge

The Payment surcharge card:

  • Percent and fixed amount. Use either one or both: 2.5% + 10.

  • Calculated from:

    • Goods after discounts: the goods once every discount is off (a coupon, bonus points, cart promotions).
    • Goods after discounts + delivery: the delivery the shop charges.

    Taxes never count towards it.

  • Title: what the line is called in the bill, for example “Invoice fee”. Empty means “Payment surcharge”.

There is no negative surcharge. A discount for paying a certain way is a cart promotion with the “Payment method” condition. Make it unpublished, and it will have no page of its own.

What comes first. Cart promotions are worked out first, and their thresholds look at the goods, never at the surcharge. Then the surcharge is taken from what is left. Then comes its tax.

Where the customer sees it

There are two separate settings, because a shop often wants one without the other:

  • In the list of payment methods: the percent ("+10%"), the amount ("+100"), or nothing.
  • In the order total: a line of its own, or no line at all. With no line, the surcharge is still part of the total. It is just not named in the checkout, on the order page or on the invoice.

Taxes on the surcharge

With the taxes module on, the method has a Taxes on the surcharge card. The taxes ticked there are charged on the surcharge as well, and they appear in the same tax line as the goods’ taxes. With nothing ticked, the surcharge carries no tax.

On a placed order

The order keeps the terms it was placed with. Editing the goods works the surcharge out again by those same terms, while editing the method in the settings leaves older orders alone. Changing the order’s payment method in the admin takes the new method’s terms.

Who a method is offered to

The Who it is offered to card:

  • Buyer: anybody, private persons only, or companies only. This needs orders from companies switched on in the checkout settings. A typical setup is “Invoice for companies”, with a surcharge, for companies only.
  • Customer groups: visitors without an account, any customer with an account, or particular groups. Nothing ticked means everybody.
  • Only with these delivery methods: for example “Cash to our courier”. Nothing ticked means any delivery.

At the checkout the list of payment methods changes as the customer picks a delivery or ticks “Company”. If the method they had chosen is no longer offered, the first one that is gets ticked instead, and the total follows it.

A manager creating an order in the admin sees every method. The limited ones carry a note, and the order is never refused: the order screen only warns. A one-click order uses the method the shop named for it, whatever the limits say.

A delivery cost for information

A shipping method has a Delivery cost setting. Admin → Shipping, open the method:

  • Charged: the cost is in the order total. This is how every method works by default.
  • For information: the customer pays the carrier on receipt (Nova Poshta “from 80”). The order total, the shop’s statistics, the online payment, 1C and the profit report all leave it out. The customer sees “≈ 80, paid to the carrier on receipt” instead of “Free”. A free rate stays free, because then the shop pays.

Where else it goes

  • The bank’s receipt: the surcharge goes as a line of its own or spread over the goods. This is set on the gateway, see the payment gateways' guide.
  • 1C: the surcharge is a service line. Its 1C nomenclature id goes in Exchange with 1C → Orders. A delivery for information goes as a note with its estimate, not as a line.
  • Order export: the columns “Payment surcharge”, “Delivery paid to the carrier” and “Delivery estimate”.
  • Profit of the order: the surcharge is the shop’s income. A delivery for information is not.