Skip to content

[BUG] UnionPay Payment Method Expiry Date / CVC Issues  #1739

@alwayswith

Description

@alwayswith

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Device: iPhone 12
  • iOS Version: 17.5.1
  • SDK Version: 5.4.1
  • Adyen API Version: [e.g 67]
  • Package management system: Using Cocoapodds
  • Xcode version: 15.4
  • Mac OS type: M1

Relevant source code
Add any source code causing the problem here.

Additional context
Add any other context about the problem here.

  1. Most UnionPay debit cards do not have a CVC number, but when using a saved UnionPay card payment method to process payment flow, a CVC is still required. However, entering any random number allows the payment to go through successfully.
  2. If a new UnionPay debit card is added for payment without entering the card’s expiration date, the payment can still be successful. However, even with the “Stored Card” option enabled, the card cannot be saved. Upon investigation, it was found that the paymentMethods interface already includes saved card information, but the missing expiryMonth field causes the Adyen SDK to filter it out, resulting in the saved card not being displayed. The expiryMonth field in StoredCardPaymentMethod is 'non-optional'.

PLEASE FIX THESE ISSUES. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions