#Satana-expiry
1 messages · Page 1 of 1 (latest)
Hi there! You can't update the expiry client-side. You would collect it client-side and then pass it server-side to perform the update.
ok, in order to collect the expiry date can I use the 'cardExpiry' element? if so, how can I get the data that the user entered into the 'cardExpiry' element on my server side
or should I create my own inputs and send that data to my server (wouldn't that be a violation of PCI DSS)
Expiration isn't sensitive so you can collect it yourself. Card Number and CVC are the sensitive pieces that you don't want touching your server. That all said, I'd actually recommend just recollecting the full card details instead of just updating expiration date on a card. When you update just expiration, the bank does a check and that check will be performed without CVC so it is more likely to be declined and then you would need to recollect full card details any way.
I'd recommend just recollecting all details when this is necessary and detaching the old card.
ok, thanks
Sure!
Will an attempt to save another card with the same number for the same customer result in an error? I see that in test mode I can attach a card 4242 4242 4242 4242 to the customer several times, but will it work in live mode?
Yep will work just fine.