Closed lol768 closed 1 year ago
To add insult to injury, the cardholder name validation rejects numeric cardholder names, so there's no way that our customers on mobile can pay at all.
Not a real card number, obviously
We are working on fix; in the meantime we have identified the following workaround:
-- Adding type: 'text'
property to the cardHolderName
field should override the numeric mode
braintree.hostedFields.create({
...
fields: {
cardholderName: {
selector: '#cc-name',
placeholder: 'Name as it appears on your card',
type: 'text'
},
...
}
What's the workaround for those of us using the Drop-in UI @ibooker
I don't have any braintree.hostedFields invocation in my code.
authorization: clientToken,
container: '#drop-in',
threeDSecure: true,
card: {
overrides: {
fields: {
cardholderName: {
type: 'text'
}
}
}
}
})
https://developer.paypal.com/braintree/docs/guides/drop-in/customization#customize-your-ui
This is also fixed in the next patch version of drop in that's going out today
General information
Issue description
Obviously this prevents our customers filling in the cardholder name on mobile. I'd really like to know how something this basic made it into production?