weareseeed / react-square-web-payments-sdk

Easily create PCI-compliant inputs to accept payments online with the Square Payments API. It supports the following payment methods: credit and debit cards, ACH bank transfers, Apple Pay, Google Pay, Gift Cards and Afterpay/Clearpay.
https://react-square-payments.weareseeed.com/
MIT License
38 stars 41 forks source link

Gift Cards require CVV, Expiration Date, and Zip Code #98

Open ischyrus opened 10 months ago

ischyrus commented 10 months ago

Describe the bug

A gift card only has a number and not a CVV, Expiration Date, and Zip Code. When a gift card is detected, these other fields should be removed.

Your Example Website or App

n/a

Steps to Reproduce the Bug or Issue

Enter a gift card number and observe the required fields

Expected behavior

Upon detecting a gift card, the other fields should clear and disappear.

Screenshots or Videos

No response

Platform

Chrome

Additional context

No response