Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Fix error mapping when returning from 3DS #3037

Open
arkalezard opened this issue Nov 2, 2023 · 4 comments
Open

[BUG] Fix error mapping when returning from 3DS #3037

arkalezard opened this issue Nov 2, 2023 · 4 comments
Assignees
Labels
triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@arkalezard
Copy link

Summary

The payment error message in PaymentSheet for "Insufficient funds decline" case is too generic and can lead to confusion for users. Without knowing the specific reason (i.e., insufficient funds), users may repeatedly try the same card, thinking it might be a temporary issue.
https://user-images.githubusercontent.com/5547520/277351452-80cb89cf-1542-4a62-bf6c-e0e87749c479.png

Can you fix your mapping as Android side to replace "Card declined" by a more specific message like "insufficient funds"?
The reason: stripe/stripe-android#7478 (comment)

Help to reproduce

You can test it with your testing usecase "Insufficient funds decline" (card number: 4000 0000 0000 9995)
Use your PaymentSheet when 3DS is mandatory for a transaction

iOS version

Any

Installation method

N/A

SDK version

N/A

Other information

Already solved on Android side
stripe/stripe-android#7499

@jaynewstrom-stripe
Copy link
Contributor

Hi @arkalezard thanks for reporting. We'll have someone take a look soon.

@jaynewstrom-stripe jaynewstrom-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Nov 2, 2023
@wooj-stripe
Copy link
Collaborator

Hi @arkalezard -

I'm having trouble reproducing this error in the latest version of our SDK (23.18.2)

  1. Can you please let me know what version you are running?

My reproduction steps are:

  1. Execute payment sheet
  2. Enter card 4000 0000 0000 9995
  3. Enter date: 04/24
  4. Enter CVC: 456
  5. Billing address: France
  6. Tap "Pay"

Behavior that I observed:
Error appears as "Your card has insufficient funds"

@wooj-stripe wooj-stripe self-assigned this Nov 8, 2023
@arkalezard
Copy link
Author

arkalezard commented Nov 13, 2023

Hi @arkalezard -

I'm having trouble reproducing this error in the latest version of our SDK (23.18.2)

  1. Can you please let me know what version you are running?

My reproduction steps are:

  1. Execute payment sheet
  2. Enter card 4000 0000 0000 9995
  3. Enter date: 04/24
  4. Enter CVC: 456
  5. Billing address: France
  6. Tap "Pay"

Behavior that I observed: Error appears as "Your card has insufficient funds"

Hi,
Today we are using 23.17.2

GIVEN the server forces 3DS validation on every transaction!
WHEN

  1. Execute payment sheet
  2. Enter card 4000 0000 0000 9995
  3. Enter date: 04/24
  4. Enter CVC: 456
  5. Billing address: France
  6. Tap "Pay"

THEN
Behavior that I observed: Error appears as "Card declined"

@wooj-stripe
Copy link
Collaborator

Thanks! I was able to reproduce this on iOS by passing the following on the creation of the payment intent.

    args.payment_method_options = {"card":
       {request_three_d_secure: "any"}
    }

This will go into our queue to be looked at in the future. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

No branches or pull requests

3 participants