#Vikram A.-apple-pay
1 messages ยท Page 1 of 1 (latest)
Hi ๐ to clarify, you're building a Stripe integration that supports Apple Pay and you're able to see that option when using the simulator but aren't able to see it when using a real device?
no its not about option i am able to see it on both side it the payment execution which is happening only on one side
payment id being 'pi_3LcpUKL53nnnZhQM10pGSvH3'
That payment is showing that it succeeded. Is your code receiving any errors back from the requests that it's making?
yes on real devices i am getting payment not done for this
as you can see in the video
The Payment Intent that you share is from testmode, is your video also from testmode or is that a livemode transaction?
testmode
Have you debugged to see what the error looks like in your code?
that is the issue in simulator it's working fine since apple pay is not supported in india i can't debug on real device
Gotcha, I thought there was still a way to debug when running on a physical phone. Looking in to what causes the sheet to say that
also can u check this payment intent its the latest one which we have tested pi_3LdazUL53nnnZhQM0G9a1bnC
i can see in logs that pi is created but nothing in sucessfull or failed section
Yeah for that one I don't see an attempt to confirm it. What happened in the UI when testing with that intent?
the ui returned payment not competed as per the video i sent earlier
am attaching a screenshot for reference
and for the same if i try to complete it by simulator in india it's working
Interesting. I am surprised that in one case it succeeded and in another it wasn't attempted at all. I am consulting my colleagues on this and will get back to you
Are you making this with our iOS SDK or our React Native SDK?
react Native SDk
Hello ๐
Stepping in for Pompey as the server is a little busy
hi
You said you're testing from India, is that correct?
yes
I don't think Apple supports Apple Pay in India yet
https://support.apple.com/en-us/HT207957
Is the physical device elsewhere?
ah wait just saw its is europe
Are you using Expo in your ReactNative App by any chance?
NO its cli
Can you double check if your app is using the correct merchant ID and has the right certificate?
https://stripe.com/docs/apple-pay?platform=react-native
https://stripe.com/docs/apple-pay?platform=react-native#set-merchantid
Currently, we're not seeing any logs that'd indicate something going wrong with the API.
So it's likely that something is breaking on either your app or your server when trying to confirm the Payment and resulting in completion(..) block running with .failure enum.
You'd likely want to add logs/analytics to your server-side code as well as in your app so that you can narrow down on what's breaking and causing the completion block to run .failure enum
ok will try this