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

Tip #36

Open
tueddy opened this issue Aug 23, 2023 · 6 comments
Open

Tip #36

tueddy opened this issue Aug 23, 2023 · 6 comments
Labels
question Further information is requested

Comments

@tueddy
Copy link

tueddy commented Aug 23, 2023

NuGet Package Version

No response

Payment service provider

Concardis

Payment terminal

CCV base next

Communication Logs

No response

More information

Hi,

first thank's for this great library!
I've managed to get it to work in a few minutes (MakePayment)..

Now i want to make a payment with TIP with this command:

grafik

This is my code:

                if (betrag == null) throw new Exception("Please enter a tip amount.");
                b = ConvertEuroCent((int)betrag);
                var controlFields = new byte[] { 0x06, 0x0C }; 
                var package = new List<byte>();
                package.Add(0x04); // Amount prefix
                package.AddRange(NumberHelper.DecimalToBcd(b)); 
                package.Add(0x87); // ReceiptNumber prefix
                package.AddRange(NumberHelper.IntToBcd((int)belegnummer, 2));
                res = await zvtClient.CustomCommandAsync(controlFields, package.ToArray());

But i get an error "system error (= other/unknown error), See TLV tags 1F16 and 1F17"

Any idea what i'm doing wrong?

@tueddy tueddy added the question Further information is requested label Aug 23, 2023
@tinohager
Copy link
Member

so in a hurry not really I would have to check first myself

@tueddy
Copy link
Author

tueddy commented Aug 24, 2023

It could be that the tip function is not yet activated in my terminal account.
When this has been clarified, I will report back here..

@ot-repo
Copy link

ot-repo commented Aug 22, 2024

Hi @tueddy , I need to implement the tip functionality, as well. What's wrong with the code you have posted? Is it only missing tip functionality in your terminal?

Thank you.

@ot-repo
Copy link

ot-repo commented Sep 7, 2024

Hi @tinohager, do you have any plan to add the tip functionality?

thank you.

@tinohager
Copy link
Member

@ot-repo I maintain and expand the library only on order from Portalum you would have to ask there directly.

@ot-repo
Copy link

ot-repo commented Sep 8, 2024

Oh I see, thank you anyway!

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

No branches or pull requests

3 participants