#Mukesh Gupta-presentPaymentSheet-error
1 messages · Page 1 of 1 (latest)
Hello 👋
Can you provide more context here? Is there more information in the error log?
@distant tangle Please keep the replies in this thread so that we can have all the information in one place
2022-04-21 18:50:58.549068+0530 GOURMET VEGAS[8764:373215] LOG ANALYTICS: ["product_usage": ["PaymentSheet"], "plugin_type": "react-native", "ocr_type": "none", "app_name": "GOURMET VEGAS", "is_development": true, "bindings_version": "22.0.0", "device_type": "x86_64", "event": "mc_complete_init_customer", "publishable_key": "pk_test_51K3NexGlJ24ngKO7zl8yDwGPBLJj7AsckMUfmhrYRN9EYCXV6gb7ZMSRkMOcRiVo2gmj45nG2iYV6nv7uvIK5ccu0046bjgBnv", "os_version": "15.2", "install": "C", "pay_var": "legacy", "analytics_ua": "analytics.stripeios-1.0", "app_version": "4.5", "additional_info": [], "apple_pay_enabled": 1]
and after this logs initPaymentSheet is done and then presentPaymentSheet is called and there i get error and it is run time error saying fatal errorStripe/FormSpecProvider.swift:13: Fatal error: Unexpectedly found nil while unwrapping an Optional value
2022-04-21 18:50:58.549068+0530 GOURMET VEGAS[8764:373215] LOG ANALYTICS: ["product_usage": ["PaymentSheet"], "plugin_type": "react-native", "ocr_type": "none", "app_name": "GOURMET VEGAS", "is_development": true, "bindings_version": "22.0.0", "device_type": "x86_64", "event": "mc_complete_init_customer", "publishable_key": "pk_test_51K3NexGlJ24ngKO7zl8yDwGPBLJj7AsckMUfmhrYRN9EYCXV6gb7ZMSRkMOcRiVo2gmj45nG2iYV6nv7uvIK5ccu0046bjgBnv", "os_version": "15.2", "install": "C", "pay_var": "legacy", "analytics_ua": "analytics.stripeios-1.0", "app_version": "4.5", "additional_info": [], "apple_pay_enabled": 1]
and after this logs initPaymentSheet is done and then presentPaymentSheet is called and there i get error and it is run time error saying fatal error
Stripe/FormSpecProvider.swift:13: Fatal error: Unexpectedly found nil while unwrapping an Optional value
i am getting error for iOS
.61
Have you tried updating Stripe pod by running npx pod-install?
The error basically suggests that you have form_spec.json file missing
Do you see it under Pods > Stripe > Resources folder?
Hi @distant tangle, @tacit sand had to step away. I'm catching up here, give me a moment.
Going to need a few minutes. There are other people and this isn't a simple error to troubleshoot.
I'm also going to ask some colleagues who are more familiar with React Native than I am
Do you already have a Support ticket with us?
yes
And did you provide a full repo of your project in that ticket?
Okay in that case I will get my team to prioritize looking into it and getting you an answer back today. But that is going to be the best way for us to get to a resolution here. To reproduce the issue exactly and play with it. I don't have time to do that right this second as there are multiple other folks asking questions here as well. So I will ensure we get back to you on that support ticket within the next few hours.
We are available 24/5
No we will respond on your Support ticket.
You can always pop back in to this channel if you have further questions.
but here i am chatting with diff account and ticket was created with diff account
that is issue
Do you have access to the Support ticket?
Can you have the person who wrote in on that Support ticket respond to it and ask to have your email added to the Support ticket?
Just have them respond to the most recent email saying "please include xyz@email.com on further correspondences for this ticket".
Or something similar
thanks
Perfect, I see the ticket and I see the recent message. We will look more deeply into this in the next few hours. Thanks for your patience here.