Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Unable to complete donations on iOS, expiration date validation error #49

Description

@danasf

Credit card expiration date validation fails on iOS preventing mobile users from making donations. This can be easily replicated on the donation page with mobile, or with a desktop browser if you omit the /

cc-exp has inputmode="numeric", the javascript seems to be expecting a / to split month and year, but you cannot enter this character thus leading to a validation error.

  exp_month: $form.find(".cc-exp").val().split("/")[0],
  exp_year: $form.find(".cc-exp").val().split("/")[1]

Beyond this, the form appears to be using a deprecated Stripe.js component, it may be worth considering a move to the Payment Element for support of non-card payment methods and mobile payments like Apple / Google Pay. This would require some back-end changes due to updates in the Stripe API (a move from Tokens->Charges to PaymentIntents).

I have too much on my plate for the next month or two, but if the issue remains unaddressed at that point may take a crack at it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions