#AlexElba

1 messages · Page 1 of 1 (latest)

fallow oceanBOT
plush raven
#

hello! to clarify, you want to have separate fields for month and year using the card element?

swift nova
#

yup

#

current UI has them as two fields

#

I tried stripeElements.create('cardExpiry', {'placeholder': 'MM', ...

#

doing once per month one per year got error saying I can only have one

plush raven
#

we don't support that at all and there's no way to do that

swift nova
#

is there any way to set card cardExpiry manually using javascript

#

one way I was thinking to bind to invisible element

#

and js update on on change that field value

plush raven
#

you won't be able to access the data in the cardExpiry element via JS - this is so that it's PCI compliant

swift nova
#

so I can not set it using js?

#

cardExpiry.update({value: '12 / 25'});

#

I thought I can do something like this

#

other question I have for the card name, how would I separate it out

plush raven
#

do you mean cardholder name?

plush raven
#

there's no value parameter in the link you've provided

#

cardholder name is something that you're collecting via your own input field. I'm not too sure what you mean by separate it out

swift nova
#

I mean customer I currently have has John Smith, but card they put is using Amanda Smith

#

if I create customer with John Smith but he is using his mom card

#

how would I pass card name

#

which is different than customer name

plush raven