Skip to content
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

Abort Payment #1

Open
doczoidberg opened this issue Jan 12, 2021 · 1 comment
Open

Abort Payment #1

doczoidberg opened this issue Jan 12, 2021 · 1 comment

Comments

@doczoidberg
Copy link

Hi,
great work! How can I abort a payment?

@jugunter
Copy link
Member

Hi @doczoidberg,

this feature is not supported at the moment, but it can be easiliy implemented i think:

  • Register a Ctrl-C handler that sends an abort command (06 0B) to the terminal, provided a payment command is still active
  • It's important that the program does not exist, when a transaction can not be aborted

See https://www.terminalhersteller.de/downloads/PA00P015_13.09_final_en.pdf page 57 for abort command.

Feel free to commit your code and create a pull request.

Cheers Julian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants