KingsMentor / Luhn

Smooth UI for Credit Card Entry on Android device, perform check for supported credit card types , pan length and luhn check. Inspired by Uber credit card entry interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can i hide pin request and start activity with default card values?

andres934 opened this issue · comments

i have been using your library but in this case i don't need pin and also i need to edit cards information, so starting activity with default values to edit, is there a CardIOActivity value to disable pin and send default card information to activity?

Add this to your LuhnStyle to hide the pin field

<attr name="luhn_show_pin" format="boolean" />

There is no option to prefill any field at the moment. This will be looked into and possibly released alongside the next update. You can also contribute by adding this feature and sending in a pull request.

Thanks.

oh great thank you, by the way how should i fill the card information to get a success response from it? i always get error so never enter onFinished

Good stuff. Am new to android, but how do i get card information?