#ab92023

1 messages ยท Page 1 of 1 (latest)

mellow yarrowBOT
uncut folio
#

Hello ๐Ÿ‘‹
Can you try updating to the latest Stripe SDK 0.30.0 and see if that helps?

cunning meteor
#

I've tried 0.30.0 and still the same issue. The app is a newly created app, so we started with 0.29.0.

uncut folio
#

Gotcha. Does it only happen with emulator OR are you seeing the same issue on a real device?

cunning meteor
#

It's both, if I build the app for release and deploy to a phyiscal device, same behaviour

uncut folio
#

Can you share the code you are working with?

cunning meteor
#

And then, this is the button:

<Button onPress={onCheckoutPress} disabled={buttonDisabled}>
{buttonText}
</Button>

The onCheckoutPress runs an async method, which calls the JS above

uncut folio
#

Can you remove the disabled property for a quick test and see if that affects anything?

cunning meteor
#

Sure, just tried and same output

uncut folio
#

also are you running in live mode?
Just saw testEnv: false, are you seeing the same behaviour in test mode?

cunning meteor
#

Yep same behaviour in test mode using testEnv: true and testEnv: true in production on a real device

#

Sorry I meant testEnv: false!

uncut folio
#

Also another quick check, can you remove

            colors: {
              primary: '#CA3F3A',
            },
          },```

Just in case? 

`testEnv: true` is test mode
`testEnv: false` is live mode
cunning meteor
#

It wasn't working prior to me adding the appearance into the config object, that's just been added extra. And yep testEnv: false is failing in production.

As I said prior, if I use the Platform button itself, it works and displays correctly. It's like the embed of the payment sheet isn't registering properly with Android

#

If I run the example RN project from the Stripe RN SDK, it doesn't show either, but works if I press where it should be

uncut folio
#

Oh interesting, I feel like we're going to need a bit deeper investigation into what's going on. Unfrotuantely, can't do it while on discord as it is busy

I'd recommend writing into our support team via
https://support.stripe.com/?contact=true

And provide an example app w/ the exact steps so that we can reproduce the issue and look into what's going on.

cunning meteor
#

WIll do thank you

uncut folio
#

You can also mention you spoke with hanzo on discord.