My application uses the Web Payments SDK to collect card information from customers. When a customer enters a gift card into the card number field, it shows a Square icon indicating that the form recognizes it as a Square gift card. The form still shows fields for collecting an expiration date, CVV, and zip code, which aren’t needed for gift card payments. Is there a way to make the default card form not ask for these additional fields when a gift card is entered?
From the documentation, it looks like I need to set up a separate gift card form specific to gift cards instead of using the card form. I’d prefer not to do it this way, if I can avoid it.
I’ve also noticed that if I enter random numbers for expiration, CVV, and zip code, the form processes gift card payment successfully, it’s just confusing for customers to be asked for these when using a gift card.