laurihy / angular-payments

Module that provides AngularJS-directives for formatting, validating and working with payments
560 stars 269 forks source link

Why is the card holder name not sent to stripe? #107

Closed AmirGilboa closed 8 years ago

AmirGilboa commented 8 years ago

i am using angular-payments, and able to receive the token back from stripe, which is great. but when i look at the network traffic, i see that the call to stripe only contains the card number, expiry, and cvc. the name is not sent at all. and still i get the token, no errors. So: is the name not needed? then why do i bother to ask for it?

AmirGilboa commented 8 years ago

just change the ng-model to "name", and the name will be sent along as well. the example should be fixed, tho. ng-model must be added for this to work.