Portalum / Portalum.Zvt

A .NET Zvt Library for Payment Terminals (C#)
MIT License
88 stars 36 forks source link

How do I allow and deny certain cards? #5

Closed Proggopogo closed 2 years ago

Proggopogo commented 2 years ago

Hello once more! I was wondering if there was a way to deny certain cards on the terminal or allow them, e.g. don't allow the usage of American Express, Discovercards, Alipay, etc. or only allow Girocards, Visa and Mastercard, etc.?

tinohager commented 2 years ago

Here is the documentation https://www.terminalhersteller.de/downloads/PA00P015_13.09_final_en.pdf

Proggopogo commented 2 years ago

I took a look through that and saw the card ID's. In your library, you defined a bunch of card informations. If I remove the ones I don't want to be supported, will it abort the payment right away?

tinohager commented 2 years ago

I rather think that you would have to define special cards via a TLV command here

Proggopogo commented 2 years ago

I figured that. This was more of a regular question. Turns out that the provider for the terminal decides which cards are allowed and which are denied.