#Vikram A.-apple-pay

1 messages ยท Page 1 of 1 (latest)

sullen bramble
#

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?

grim basin
#

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'

sullen bramble
#

That payment is showing that it succeeded. Is your code receiving any errors back from the requests that it's making?

grim basin
#

yes on real devices i am getting payment not done for this

#

as you can see in the video

sullen bramble
#

The Payment Intent that you share is from testmode, is your video also from testmode or is that a livemode transaction?

grim basin
#

testmode

left oak
#

Have you debugged to see what the error looks like in your code?

grim basin
#

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

left oak
#

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

grim basin
#

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

left oak
#

Yeah for that one I don't see an attempt to confirm it. What happened in the UI when testing with that intent?

grim basin
#

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

left oak
#

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?

grim basin
#

react Native SDk

exotic token
#

Hello ๐Ÿ‘‹
Stepping in for Pompey as the server is a little busy

grim basin
#

hi

exotic token
#

You said you're testing from India, is that correct?

grim basin
#

yes

exotic token
#

ah wait just saw its is europe

#

Are you using Expo in your ReactNative App by any chance?

grim basin
#

NO its cli

exotic token
#

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

grim basin
#

ok will try this