mathiasfrey / ecrterm

Python ZVT 700 interface (electronic cash registers)
GNU Lesser General Public License v3.0
34 stars 31 forks source link

Abort payment #11

Open doczoidberg opened 3 years ago

doczoidberg commented 3 years ago

Is it possible to abort a running payment?

raphaelm commented 3 years ago

I don't think so with the current API

g4borg commented 3 years ago

Did you try sending the abort packet? Might not work.

On Thu, 22 Apr 2021, 19:58 Daniel Zuidinga, @.***> wrote:

Is it possible to abort a running payment?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mathiasfrey/ecrterm/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQBMATGGKIQ2YUKJCGUUTTKBPTNANCNFSM43M73VYA .

raphaelm commented 3 years ago

I think the main problem is that payment() blocks, so you'd need a multi-threaded approach or change the API