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

intializePaymentSheet fails silently if initialize is not called #605

Open
alialamine opened this issue Sep 22, 2021 · 1 comment · May be fixed by #853
Open

intializePaymentSheet fails silently if initialize is not called #605

alialamine opened this issue Sep 22, 2021 · 1 comment · May be fixed by #853
Labels
P1 Address these issues second

Comments

@alialamine
Copy link

Describe the bug
If the project is created, and we forget to call initialize or create the StripeProvider context, android fails silently and never rejects the promise when using PaymentSheet

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project
  2. Call initializePaymentSheet without creating the context or calling init
  3. At this stage, the promise never resolves or rejects and it's hard to debug the reason

Expected behavior
Reject the promise with a message that init should be called or StripeProvider should be created

Smartphone (please complete the following information):

  • Device: Any android device
  • OS: Android
  • Version 0.2.2
@charliecruzan-stripe charliecruzan-stripe added the P1 Address these issues second label Feb 9, 2022
@codingslash76
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Address these issues second
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants