card-io / card.io-Android-SDK

card.io provides fast, easy credit card scanning in mobile apps
Other
1.99k stars 536 forks source link

Mask CVV #131

Open spathipati opened 8 years ago

spathipati commented 8 years ago

Hi,

I am using Card.IO for my Xamarin Forms application. once user scanned the card i want to make the pre populated controls are read only and CVV should mask (like password).May know how to achieve this requirement.

braebot commented 8 years ago

So there's 2 requirements:

  1. Lock the prepopulated values. This is already a feature of card.io. If you scan the card, you cannot edit the card number.
  2. Mask the CVV as you enter it in. This is not available at this time. Can I ask why masking the CVV is important?
spathipati commented 8 years ago

@braebot - Thanks for your response!

I tried to found the property to set the read only the pre populated values in Card.IO UI. Can you give me the Syntax please!!

spathipati commented 8 years ago

Hi @braebot , Regarding the CVV i saw in many payment gateways while entering the CVV number it is getting Masked like Password.

braebot commented 8 years ago
  1. The prepopulated values are available just as if they were manually entered. Please see the CreditCard class.
  2. Understood. Let's keep this issue open until we add this feature.