checkout / frames-ios

Frames iOS: making native card payments simple

Home Page:https://www.checkout.com/docs/integrate/sdks/ios-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expiry date textfield doesn't append '/' which lead to invalid date format error - Frames 4.0.4, Xcode 14.3

sayalideopurkar opened this issue · comments

Describe the bug
Expiry date textfield doesn't append '/' while adding the month & year. So instead of MM/YY, the final input text looks like MMYY and there is no way for user to explicitly add '/'. Hence the validation error "Please enter a valid expiry date" can never be resolved.
This blocking behaviour is observed on simulator build with Xcode 14.3

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Add Card' form
  2. Click on 'Expiry date' textfield
  3. Start typing month & year of card expiry
  4. See error - 'Please enter a valid expiry date'

Expected behavior
A slash '/' should be auto appended between month (MM) and year (YY) like MM/YY instead of MMYY

Screenshots
Screenshot 2023-05-17 at 12 38 26

Additional context
Xcode Version - 14.3 (14E222b)
MacOS Version - Ventura 13.0.1
Chip - Apple M1 Pro

The issue is not reproducible on Sample app - iOS Example Frame SPM

Hi @sayalideopurkar,

Thank you very much for taking the time to share this issue. We have been in the progress of fixing it, but your case seems to be slightly different from what we have so far been able to reproduce on our side.

Would you be able to help us validate whether our current solution also fixes the problem you are experiencing?

Thank you,

Alex

Hi @sayalideopurkar ,

We have fixed this issue in the 4.0.5 release which just went live.

I will close the issue for now, but please feel free to reopen if issue not resolved for you.

Thank you,

Alex