C# SDK Simulator
When the C# SDK simulator is started on a terminal, its menu will look like this:
[0]: Start session 0 [1]: Cancel Session [2]: Close Session 0 [3]: query sessions [4]: reader state [5]: cash sale [6]: alert [7]: ftp socket test [8]: screen control [9]: link stats [10]: quit
Where:
- Start session 0: Starts a session (a transaction).
- Cancel Session: Cancels the transaction as if you pressed Nayax's device X button.
- Close Session 0
- Query sessions: Gives information about which sessions are currently open. This option is relevant from 4.0.0.22 and above.
- Reader state: Gives information about whether the reader is
enabled (1)/disabled (0)
. This option is relevant from 4.0.0.22 and above . - Cash sale: Simulates cash sale.
- Alert: Sends an alert to the DCS. It can be seen in Last Alerts.
- FTP socket test: Allows the peripheral to use Nayax's modem for its own needs.
- Screen control: Tests the Display Control feature. Needs configurations in the DCS.
- Link stats: Provides information about the number of CRC errors, packet retransmissions, and communication losses.
- Quit: Quits the simulator program.
Transaction Flow Examples
Below are examples of the flow for each transaction type:
- Regular Transaction (Single Session):
- Start a session: with
[0]: Start session
. - Present card, wait for authorization and "Thank you" screen.
- Start a session: with
- Multi-Session Transaction:
- Start a session with
[0]: Start session 0
. - Start another session with
[2]: Start session 1
. - Present card, wait for authorization and "Thank you" screen for each session.
- Close sessions individually using
[1]: Close Session 0
and[4]: Close Session 1
.
- Start a session with
- Unsuccessful Transaction:
- Start a session with
[0]: Start session
. - Present card, wait for authorization.
- Close the session with an error status:
[1]: Close Session 0
.
- Start a session with
Updated 7 months ago