#meowmeow6410_expo-apple-pay
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1235934225040015371
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Could you please share what guide exactly youa re following ?
Have you had the chance to run the official sample ?
https://github.com/stripe/stripe-react-native
Great, you can find the sampe screen in the official sample:
https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/ApplePayScreen.tsx
I strongly recommend you to first downlod and run the official sample and then start with your own integration
Run the official sample you mean this one ?
Yes!
Got it. Let me try that first.
Just checking, am I allowed to have both initPaymentSheet and confirmPlatformPayPayment in the same screen sharing the same secret ?
I am asking this cause my app handles both Stripe and Apple pay in the same screen
Yeah I think that should be fine. Have you tested this yourself?
Recommend just testing these things in test mode
Yeah, Stripe payment is working fine for all env including prod. Only issue here is Apply pay
You're getting this in the sample app my colleague suggested?
Did you try with that?
I'm trying it right now. Seems a publishable key is required from my end.
Ok I tried to add the code to my project and remove the unnecessary ones and still got the same response
Hi there 👋 what version of the Expo SDK are you using, and which version of our react native library?
meowmeow6410_expo-apple-pay
Hm, okay, so those versions should align and be correct.
Okay that’s good
Are there any other errors being thrown to any of the logs? My iniitial thinking is that there is something off about the merchant ID or certificate you set up for this.
What is being returned when you perform the check to make sure Apple Pay is supported, is that still returning true?