The hosted card form now asks for the card expiry in one MM / YY field. It replaces the month and year dropdowns the form showed before.
What changed
- One expiry field. The buyer types the expiry into a single field with the placeholder
MM / YY. The field accepts typed digits, and pasted or autofilledMM/YY,M/YYorMM/YYYY. - A past date blocks Pay. The buyer cannot pay with an expiry date in the past.
- Every integration gets it. The change applies to every merchant and every SDK version, with no opt-in. The expiry field follows the same theme settings as the other card fields.
What you need to do
Most integrations need to do nothing. There is no new prop or option, and the change needs no SDK update.
If your own browser tests fill in the card form, update them: type the expiry into the expiry field instead of picking a month and a year from the dropdowns. See Automate checkout in browser tests.