Skip to content

Documentation

Purchasing, Paying and Running Machine Programs

Section titled “Purchasing, Paying and Running Machine Programs”

This section describes a complete testing scenario using multiple simulators working together:

  • Vending Unit Simulator
  • Coin Acceptor Simulator
  • Banknote Acceptor Simulator
  • Machine Simulator
  • Printer Simulator
  • Backend Order View

This scenario demonstrates a full transaction lifecycle - from selecting machine programs to payment, execution, receipt generation, and backend verification.


  1. Add programs to the cart
  2. Pay using Coin and Banknote simulators
  3. Start machines via Machine Simulator
  4. Monitor program execution
  5. View printed receipt
  6. Verify order in backend

Step 1 - Select Programs in Vending Unit Simulator

Section titled “Step 1 - Select Programs in Vending Unit Simulator”

Vending Unit Simulator

  • Choose a washing machine (e.g., Washing Machine 1)

Vending Unit Simulator. Choosing Washing Machine

  • Select a program (e.g., Delicate Laundry – 4.50€)

Vending Unit Simulator. Adding Washing Machine Program to Cart

  • Add it to the cart

When selecting a new program for a washing machine, the previously selected program in the cart is replaced with the new one.

The cart can contain no more than one program per machine (for example, one washing machine program, one dryer program, and one detergent dispenser program).

  • Choose a dryer (e.g., Dryer 6)
  • Select a program (e.g., 10 Minutes – 1.50€)
  • Add it to the cart

Vending Unit Simulator. Adding Drying Machine Program to Cart

The cart icon updates with the number of selected items.


Step 2 - Review Cart and Proceed to Payment

Section titled “Step 2 - Review Cart and Proceed to Payment”

Open the cart page.

The cart displays:

  • Selected machines
  • Program names
  • Individual prices
  • Total amount

Example:

  • Washing Machine 1 – 4.50€
  • Dryer 6 – 1.50€
  • Total: 6.00€

Click Pay Now.

Vending Unit Simulator. Paying Order in the Cart


Step 3 - Payment via Coin & Banknote Simulators

Section titled “Step 3 - Payment via Coin & Banknote Simulators”

Next screen - the payment page.

Vending Unit Simulator. Payment Page

It shows:

  • Accepted coin denominations
  • Accepted banknotes
  • Total amount
  • Paid amount
  • Remaining amount

Example:

  • Total: 6.00€
  • Paid: 0.00€
  • Remaining: 6.00€

3.1 Insert Coins (Coin Acceptor Simulator)

Section titled “3.1 Insert Coins (Coin Acceptor Simulator)”

Open the Coin Acceptor Simulator.

  1. Select a denomination (e.g., 1.00€)
  2. Click Insert Coin
  3. Observe log output confirming:
    • Channel mapping
    • Sorting path

Repeat until partial payment is completed.

Coin Acceptor Simulator. Inserting 1 EUR


3.2 Insert Banknotes (Banknote Acceptor Simulator)

Section titled “3.2 Insert Banknotes (Banknote Acceptor Simulator)”

Open the Banknote Acceptor Simulator.

  1. Select denomination (e.g., 5.00€)
  2. Click Insert Bill
  3. Confirm acceptance in log

Banknote Acceptor Simulator. Bill 5 EUR

If overpayment occurs, system simulates payout.

When total paid ≥ required amount, transaction completes.


After full payment:

  • Screen displays Payment Successful
  • Instructions appear to close the machine doors and press Start
  • Receipt preview becomes available

Vending Unit Simulator. Payment Successful

The system transitions to machine activation state.


Step 5 - Start Machines (Machine Simulator)

Section titled “Step 5 - Start Machines (Machine Simulator)”

Open the Machine Simulation Dashboard.

Machine Simulation User Dashboard

For each purchased machine:

  • Click Door Close
  • Click Start Washing or equivalent action

Machine status changes:

  • From FreeRunning
  • Remaining time becomes visible
  • Program number is displayed

Service Simulation Page displays:

  • Current status (Running / Finished)
  • Program number
  • Remaining time
  • Door state

Service Simulation Page

You can:

  • Observe countdown
  • Force stop if needed

Once program completes:

  • Status changes to Finished
  • Machine becomes available again after reset

Step 7 — View Receipt (Printer Simulator)

Section titled “Step 7 — View Receipt (Printer Simulator)”

Open the Printer Simulator.

Printer Simulator

You can:

  • View XML template
  • See receipt preview
  • others

In the backend system:

  1. Navigate to Sales
  2. Locate the transaction

Order Details

  1. Verify:
    • Payment details
    • Timestamps
    • Receipt generation
    • others