We are looking to build a solution for our customer who caters to a B2B customer audience whereby the Sales invoice is printed when a sale is concluded in POS.
I was thinking of creating an infocode that pops up and asks if the user wished to print an invoice. The user then selects Yes or no and we link a business event to the creation of an infocode transaction where the value is Yes.
Now I am trying to figure out where to link the infocode. I did this on the Functionality profile, on the operation "at end of transaction". But this then pops up when you use the option to edit and order and select "Pay balance later".
I only want the infocode to pop up when payment is taken - and the invoice posts. So i was looking at linking it directly to the payment methods in a store. However here you get an error "Reason codes cannot be defined where input is required for payment method with card setup."

Can someone help me understand why I cannot link my infocode to a card payment method?
Also, is there any advice on where might be a better place to link my infocode? I tried looking if an infocode cannot be linked to a specific button, so I can link it to the "Conclude operation" button for example, but I couldn't find anything.
Thanks for any assistance.