question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use stripe on ios

See original GitHub issue

I tried to integrate the stripe plugin in our ionic app.

Im getting a “paymentSheetFailed” error on iOS But its works on android. I added a print statement to the PaymentSheetExecutor.swift file to get more informations about the error.

The error message is: Error Domain=com.stripe.lib Code=50 “Unerwarteter Fehler – versuchen Sie es in ein paar Sekunden noch einmal.” UserInfo={NSLocalizedDescription=Unerwarteter Fehler – versuchen Sie es in ein paar Sekunden noch einmal., com.stripe.lib:ErrorMessageKey=No valid API key provided. Set STPAPIClient.shared().publishableKey to your publishable key, which you can find here: https://stripe.com/docs/keys, com.stripe.lib:StripeErrorCodeKey=,com.stripe.lib:StripeErrorTypeKey=invalid_request_error} #

To Reproduce Our integration: image

Expected behavior Open the payment sheet

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

Desktop (please complete the following information):

  • OS: iOS: 14.5
  • Browser Chrome and Safari
  • Version 3.0.0

Smartphone (please complete the following information):

  • Device: iPhone8
  • OS: iOS 14.5
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
PaintedShepherdcommented, Jul 26, 2021

こんにちはみなさん

we managed to make it work. It was kind of our fault because the ephemeralKey was wrong. It’s still interesting that it works on android. Is the ephemeral key only for iOS?

どうもありがとう. さよなら

2reactions
rdlabocommented, Jul 26, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't use Stripe in iOS Apps? - Stack Overflow
You can use Stripe in an iOS app. Apple accepts it when the customer can buy something which is not digital. for example...
Read more >
Apple Pay | Stripe Documentation
Use it to accept payments for physical or digital goods, donations, subscriptions, and more (you can't use Apple Pay instead of in-app purchases...
Read more >
I can't login into the Stripe Dashboard mobile app
I can't login into the Stripe Dashboard mobile app ... To use the mobile app, you'll need to enable Two-step authentication on your...
Read more >
Enable Apple Pay on your Stripe account
To set up Apple Pay on your Stripe account for the first time, click on Apple Pay under Payments and Payouts in your...
Read more >
Changes to mobile app store rules : Stripe: Help & Support
Apps can no longer require contact information for use of features. Basic contact information collection must be optional. For example, apps can't gate ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found