#abhishekashyap_code
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/1324249975722475643
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! Can you share the example PaymentIntent id(s), and the payment methods which you're seeing on web, but not on the app?
This is what im seeing on app vs on web
This is the api response
I also contacted stripe support but i got this in reply
Whereas I had location changed in simulator to US, still was not able to see the methods
can you share the corresponding PaymentIntent id?
Sure, give me 5 mins. Need to fire up the simulator
This is the payment intent id: pi_2QchMcGX0TUr845Z0LStLPSl
gimme a while to take a look
Sure
did you set allowsDelayedPaymentMethods to true https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-collect-payment-details?
Yes, that is set to true
Hi @tawny kraken this is Jack. I'm also an engineer from Stripe.
Hi Jack
Can you run npx react-native log-android to print out the logs from Stripe android SDK and see if it explains why certain payment methods aren't shown in PaymentSheet?
For iOS you should run npx react-native log-ios
Sure, let me try that
Also I noticed that the amount ($103.63) shown in your iOS screenshot is different from the amount ($310.88) set in pi_2QchMcGX0TUr845Z0LStLPSl
Yes, the screenshot was posted before, it was of different payment intent
Ok, can you use the client secret of pi_2QchMcGX0TUr845Z0LStLPSl to present the paymentsheet in your iOS app again?
Sure, I'm re running the app. I'll share you the intent and ss of that intent
pi_2QchsdGX0TUr845Z1WOjVzZ9
This is the payment intent id for the attached screenshot
I have tried changing region in the settings to US. Also, i have changed the location from simulator too.
I'm not able to get the xcode logs, it's giving me no device connected error. Looking into that, will update once im able to get xcode logs
And are you using the latest version of Stripe SDK?
0.40.0 is quite new. Did you also run pod install in the ios folder?
Yup, i did that
I also did yarn cache clean. Re installed node_modules and removed build folder as well
Hi @tawny kraken do you find anything useful from the xcode logs?
Hi @lusty granite , I’m not able to view the logs from the xcode but I viewed console logs using mac’s console app
Didnt find anything there
Also im not able to see any helpful console logs or error log s in react console
I see. Can I ask you to prepare a simple react-native project that I can run and reproduce the problem?
Hello @tawny kraken, we have sent you a direct message, please check it at https://discord.com/channels/@me/1324287981481361488
- 🔗The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
Sure