Check in a customer and verify Toss payment
Prepare an available test terminal and a transaction approved for testing.
After this taskCustomer, transaction ID, amount and approval outcome match.
Starting conditions and inputs
Confirm merchant connection and the test-payment operator. This procedure can create a real charge.
Values for this task
entry_url, terminal_id, customer_id, amount, purchase_id, transaction_url
Command sequence
open "$entry_url" && snapshot -i
# Outside browser: The on-site operator confirms the customer and performs one agreed test reception and payment. Obtain reception and transaction IDs.
snapshot -i
click "$purchase_row" && snapshot -i
get text body
open "$transaction_url" && snapshot -i
get text bodyRef targets and expected results
| # | Command / ref | Target and verification |
|---|---|---|
| 1 | Outside browser | The on-site operator confirms the customer and performs one agreed test reception and payment. Obtain reception and transaction IDs. |
| 2 | click $purchase_row | Purchase linked to the test transaction |
| 3 | get text | Read customer, purchase amount and payment state. |
| 4 | open | Confirmation for the original terminal transaction |
| 5 | get text | Compare purchase and transaction amounts and identifiers. |
Check the result
Customer, transaction ID, amount and approval outcome match.
Resuming after interruption
Check the original request ID and outcome first. Do not resubmit while its result remains unknown.
Prepare a test transaction
Prepare an available test terminal and a transaction approved for testing. Agree on product, quantity, amount, and cancellation handling. If recording only the UI, state that no payment approval is performed.
Confirm the customer
Find the customer in the plugin and check an identifier beyond the name. Confirm the reservation or check-in details. Resolve duplicate names against the source customer before continuing.
Request and approve payment
Check the product and amount, then request payment on the terminal. Do not repeat the request while approval is pending. On failure, record the transaction identifier and time before checking approval.
Match the purchase record
Compare the Laney customer, product, amount, and status with terminal approval. Use the recovery guide when they differ. If the test is cancelled, verify both the actual cancellation and the purchase record.