#hungleviet_api
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/1364582717806870600
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
what do you mean by "openApplePaySetup"? where did you see this in the Stripe docs?
I found it at useApplePay hook
Wait i will find a link
here my fullcode
Hi there ๐ jumping in as my teammate needed to step away. We were more-so looking for which of our guides indicated you should use that function? I don't think I've ever seen it recommended, but I'm not as familiar with React Native so I may be overlooking something.
I found this one that suggest Set Up Apple Pay but not clearly what that is
So I assume it was method "openApplePaySetup" at my version
Gotcha, my suspicion is that is referring to something outside of our package, but I'm not exactly sure offhand. Let me see what I can find.
I think so
The code file I sent function handleApplePay work fine at my iPhone emulator
Oh, we may have a function that calls out to it though. Are you able to test what behavior you see when you call openPlatformPaySetup?
https://stripe.dev/stripe-react-native/api-reference/functions/openPlatformPaySetup.html
But real device it did not work i guess because isApplePaySupported === false at real device when my iphone Apple wallet app has no card
I am waiting the build from pipeline so havent tested yet ๐
Do you have any suggestion @opal vigil ? I can't test it right now, and also this thread will be closed anyway
To something new? Trying openPlatformPaySetup is my suggestion for what to try next to try to open the setup flow for Apple Pay.
that is not available at version 0.20.0 btw ๐
Apologies for overlooking the specific version you're using. For that version I would recommend trying openApplePaySetup instead.