Android Credit Card Input

Basically, the Company asked to create an Android “screen” that would allow a user to enter and submit the following data from an American Express, Discover, MasterCard, or Visa credit card:

  • Credit card number
  • Expiration date (MM/YY format)
  • CVV security code
  • First name
  • Last name

If any of the entered data was invalid, the user needed to be notified so the Company’s Dev-Team could correct it. In addition to not having issues like empty fields or a badly-formed or expired expiration date, credit card data also had to meet these criteria to be considered valid:

When the user submitted valid credit card data, the app should pop up an alert dialog notifying them that the payment was successful.

To Get Daily Health Newsletter

We don’t spam! Read our privacy policy for more info.

Download Mobile Apps
Follow us on Social Media
© 2012 - 2025; All rights reserved by authors. Powered by Mediarx International LTD, a subsidiary company of Rx Foundation.
RxHarun
Logo