You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using credit card forms, generally it's a good idea to avoid sending sensitive data to own servers (unless you are PCI/DSS compliant). Currently, the component adds a name attribute to all fields, making it possible to send credit card information to own servers by mistake.
IMHO, adding the name attribute should be opt-in only, for example like this:
getCardNumberProps({withNameProp: true})
What do you think? This would be a breaking change, requiring a major version bump.
The text was updated successfully, but these errors were encountered:
Hi! Thank you for this component 🙂
When using credit card forms, generally it's a good idea to avoid sending sensitive data to own servers (unless you are PCI/DSS compliant). Currently, the component adds a
name
attribute to all fields, making it possible to send credit card information to own servers by mistake.IMHO, adding the
name
attribute should be opt-in only, for example like this:What do you think? This would be a breaking change, requiring a major version bump.
The text was updated successfully, but these errors were encountered: