#Mukesh Gupta-presentPaymentSheet-error

1 messages · Page 1 of 1 (latest)

tacit sand
#

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 error

Stripe/FormSpecProvider.swift:13: Fatal error: Unexpectedly found nil while unwrapping an Optional value

distant tangle
#

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

tacit sand
#

Okay let me take a look

#

what version of react native are you running?

distant tangle
#

.61

tacit sand
#

Have you tried updating Stripe pod by running npx pod-install?

distant tangle
#

yes

#

i did

tacit sand
#

The error basically suggests that you have form_spec.json file missing
Do you see it under Pods > Stripe > Resources folder?

distant tangle
#

yes

#

it is thre

#

any luck yet ?

candid bolt
#

Hi @distant tangle, @tacit sand had to step away. I'm catching up here, give me a moment.

distant tangle
#

ok

#

and ?

candid bolt
#

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

distant tangle
#

ok

#

any update please ?

candid bolt
#

Do you already have a Support ticket with us?

distant tangle
#

yes

candid bolt
#

And did you provide a full repo of your project in that ticket?

distant tangle
#

yes

#

actually my client created ticket from his account

candid bolt
#

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.

distant tangle
#

okay

#

will you be available in my morning ?

candid bolt
#

We are available 24/5

distant tangle
#

okay

#

should i wait here?

candid bolt
#

No we will respond on your Support ticket.

#

You can always pop back in to this channel if you have further questions.

distant tangle
#

but here i am chatting with diff account and ticket was created with diff account

#

that is issue

candid bolt
#

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?

distant tangle
#

ok

#

let me ask

#

so just put my email address there ?

candid bolt
#

Just have them respond to the most recent email saying "please include xyz@email.com on further correspondences for this ticket".

#

Or something similar

distant tangle
#

thanks

candid bolt
#

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.