-
Notifications
You must be signed in to change notification settings - Fork 0
Fix pump statuses in pre-auth workflow documentation #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -129,16 +129,16 @@ Pre-Auth is used outside Germany and for unmanned stations. The payment is pre-a | |||||||
| ### Flow Overview | ||||||||
|
|
||||||||
| ``` | ||||||||
| Pump status: free | ||||||||
| Pump status: locked ← pre-auth idle state (default for Pre-Auth pumps) | ||||||||
| ↓ server sends UNLOCKPUMP | ||||||||
| Pump status: locked | ||||||||
| Pump status: free ← pump is now open for this specific customer to fuel | ||||||||
| ↓ customer starts fueling | ||||||||
| Pump status: in-use | ||||||||
| ↓ customer finishes fueling | ||||||||
| Pump status: locked ← back to locked, not ready-to-pay | ||||||||
| Pump status: locked ← session still active, awaiting CLEAR (not ready-to-pay) | ||||||||
| ↓ client sends TRANSACTION (open, using FSCTransactionID) | ||||||||
| ↓ server sends CLEAR | ||||||||
| Pump status: free | ||||||||
| Pump status: locked ← back to pre-auth idle, available for next customer | ||||||||
| ``` | ||||||||
|
|
||||||||
| ### Handling UNLOCKPUMP | ||||||||
|
|
@@ -169,7 +169,7 @@ S5 OK | |||||||
|
|
||||||||
| Then update the pump status: | ||||||||
| ``` | ||||||||
| * PUMP 3 locked | ||||||||
| * PUMP 3 free | ||||||||
| ``` | ||||||||
|
|
||||||||
|
||||||||
| > **Clarification:** Immediately after a successful `UNLOCKPUMP`, the pump should be published as `free` so the customer can begin fueling. If you see an example elsewhere in the walkthrough showing `locked` immediately after `UNLOCKPUMP`, treat that as outdated — `locked` is not the correct post-unlock status transition here. |
Copilot
AI
Apr 15, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the Pre-Auth full example, after CLEAR the pump status is updated to locked, but Step 6 describes CLEAR as freeing the pump and shows * PUMP 3 free on success (walkthrough/part-3.md:249-274). Please reconcile these two descriptions (e.g., document that Post-Pay returns to free while Pre-Auth returns to locked idle, and adjust the Step 6 guidance accordingly).
Uh oh!
There was an error while loading. Please reload this page.