Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Checkout and workflows

The Exponential checkout from the inside - the four shop operations and their trigger points, the temporary order, and the workflow events that add shipping, take payment or branch by condition - with a page for each…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/e-commerce/checkout/README.md

On this page

Checkout and workflows

This part is for developers and technically minded merchants who need to know what happens between Add to basket and a placed order. The customer's view of the path is described in Basket and checkout flow; these pages explain the machinery underneath: operations, triggers, workflow processes and the events that run in them.

Contents

  1. The idea in three sentences
  2. The pages of this part
  3. Where workflows are managed
  4. What runs in the background

The idea in three sentences

Each shop step that changes something is an operation (kernel/shop/operation_definition.php): addtobasket, updatebasket, confirmorder and checkout. Each operation has trigger points; a workflow connected to a trigger runs its events there, and an event can accept, reject, show a page or send the customer elsewhere and wait. Shipping and payment are such events.

The pages of this part

PageAnswers
Checkout operations step by stepWhat each operation does, in which order, from basket to activated order
Temporary orders and activationWhy an order exists before it is placed, and what activation changes
Workflows on shop triggersWhich events fit which trigger, and how to set them up
Payment gateway eventSelecting gateways, the customer's choice, redirect and callback
Simple shipping eventThe flat shipping line and its limits
Multiplexer in the shopRunning a sub-workflow only for some customers or products

Where workflows are managed

ScreenAddressUse
WorkflowsSetup > WorkflowsCreate a workflow and add events to it
TriggersSetup > TriggersConnect a workflow to a trigger
Workflow processesSetup > Workflow processesSee processes that are waiting, for example a payment in progress

All three are described in Workflows. One workflow per trigger: to run several events on one trigger, put them in one workflow in the order they should run.

What runs in the background

  • The workflow.php cron script (part frequent in settings/cronjob.ini) resumes processes that were deferred to cron (Workflows).
  • The basket_cleanup.php script (part infrequent) removes baskets of expired sessions.
  • A redirect gateway's callback arrives as a separate request from the provider; it is not a cron job, so the site must be reachable from the internet (Payment gateway event).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x