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

My app is getting crashed when I'm trying to make payment! #6

Closed
octocat01 opened this issue Aug 31, 2020 · 5 comments
Closed

My app is getting crashed when I'm trying to make payment! #6

octocat01 opened this issue Aug 31, 2020 · 5 comments

Comments

@octocat01
Copy link

My app is getting crashed when I'm trying to pay using test credentials.
I'm getting card valid to true but not when I go to confirmPayment app crashes without any log or error.

stripe.confirmPayment('client_secret_from_backend', cardDetails)
  .then(result => {
    console.log("result ", result)
  })
  .catch(err =>
    console.log("err ", err)
  )
@octocat01 octocat01 changed the title My app is getting crash when I'm trying to make payment! My app is getting crashed when I'm trying to make payment! Aug 31, 2020
@viktorasl
Copy link
Member

Hey! What does the cash log say? I believe you should see stack of native crash log (either on iOS or Android)

@octocat01
Copy link
Author

@viktorasl hey sorry, I did not get any log at that time and then I didn't get time to check stack as I integrated stripe API directly.

@nlabofa
Copy link

nlabofa commented Oct 11, 2020

same issue here. why was this closed ? @octocat01 @viktorasl

@octocat01
Copy link
Author

@nlabofa I closed this issue as I've integrated stripe API directly.

But if you could provide stack of native it would be helpful for debugging, as mentioned by viktorasl "Hey! What does the cash log say? I believe you should see stack of native crash log (either on iOS or Android)"

@viktorasl
Copy link
Member

There is a similar issue (#18), maybe you were using secret key instead of publishable key as well?

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

No branches or pull requests

3 participants