#Ed-RN-paymentsheet

1 messages ยท Page 1 of 1 (latest)

storm geyser
#

Hi there! What error are you seeing?

undone crypt
#

That's the only information I have

storm geyser
#

Hrmm what exactly are you trying to do here?

#

Why use a setTimeout for 0?

undone crypt
#

oh no, that's not my code, that's the error thrown by the console.

I'm just calling await presentPaymentSheet()

storm geyser
#

Oh, can you provide your code where that error is thrown?

#

I'm going to need more info to help you debug here

undone crypt
#

Of course

storm geyser
#

Thanks, give me a moment!

#

Just to be clear, you said it works fine on iOS... do you mean you are seeing it work fine with Android or that your iOS specific code works fine?

undone crypt
#

the exact same code works well on iOS, I can make test and production-ready payments with no issue at all. on android the network error is thrown

storm geyser
#

Got it, thanks.

#

Are you using a simulator or a real device to test?

undone crypt
#

I use device first and simulator

storm geyser
#

Oh interesting and both error

undone crypt
#

yes!

storm geyser
#

K give me a few more minutes. May need to consult a colleague on how to best troubleshoot here.

undone crypt
#

alright, thanks

real swift
#

Hello! What version of the React Native SDK are you using?

#

Also wondering what you can see if you tap on the "see 7 more frames" when this happens?

undone crypt
#

Hi Rubeus, thanks for your support!

#

I'm using React Native 0.66.2

real swift
undone crypt
#

This is the screenshot

#

I'm using 0.2.3
Just noticed there is a 0.3.0 release!

I've been stuck for too long that I didn't notice ๐Ÿ˜…

#

Give me a second, I'll update!

real swift
#

Ah, sounds good! Let me know if that makes any difference!

undone crypt
#

Installed the latest version (had to bump the compileSdkVersion to 31) but I get the same issue ๐Ÿ˜ฆ

real swift
#

Same error details as well?

undone crypt
#

yes

real swift
#

Can you find any details about which specific network request is failing?

undone crypt
#

sure

real swift
#

Any luck finding more details?

undone crypt
#

sorry I had a blackout at home