#ab92023
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you try updating to the latest Stripe SDK 0.30.0 and see if that helps?
Also it not working with Apple Pay/Google Pay API is expected as it was a breaking change introduced in 0.29.0
https://github.com/stripe/stripe-react-native/releases#:~:text=The Apple Pay and Google Pay APIs%2C which are deprecated and were replaced with the Platform Pay API last year%2C have been removed. %231424
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.
Gotcha. Does it only happen with emulator OR are you seeing the same issue on a real device?
It's both, if I build the app for release and deploy to a phyiscal device, same behaviour
Can you share the code you are working with?
Sure, I've included a snippit from our payment sheet initialisation
And then, this is the button:
<Button onPress={onCheckoutPress} disabled={buttonDisabled}>
{buttonText}
</Button>
The onCheckoutPress runs an async method, which calls the JS above
Can you remove the disabled property for a quick test and see if that affects anything?
Sure, just tried and same output
also are you running in live mode?
Just saw testEnv: false, are you seeing the same behaviour in test mode?
Yep same behaviour in test mode using testEnv: true and testEnv: true in production on a real device
Sorry I meant testEnv: false!
Also another quick check, can you remove
colors: {
primary: '#CA3F3A',
},
},```
Just in case?
`testEnv: true` is test mode
`testEnv: false` is live mode
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
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.
WIll do thank you
You can also mention you spoke with hanzo on discord.