stripe-archive / jquery.payment

[DEPRECATED] A general purpose library for building credit card forms, validating inputs and formatting numbers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.payment('formatCardExpiry'); does not work on iPhone

birdy247 opened this issue · comments

Hi

I am testing on an iPhone 4 running IOS 7.1.1

.payment('formatCardExpiry'); does not add a "/" into the expiry. This results in a user entering a expiry as something like "0119" instead of "01/19". This then causes a validation error.

I'm seeing the same issue on the latest version of desktop Safari.

Brian, I just debugged my code and can see that I had a syntax error. It read

$('input[name=cardExpiry').payment('formatCardExpiry');

I fixed that and it works on the desktop safari. Untested on iPhone yet!

Sounds like this was addressed.

this still seems to be an issue wth iPhone safari