#benk-reactnative-paymetnsheet

1 messages · Page 1 of 1 (latest)

green perch
#

hello, looking, is this repro'able on the Expo Snack?

somber prawn
#

Not sure. It's outdated. Uses sdk41

#

Let's try to update it to 43 and see

green perch
#

I think I might know, looking

#

I assume that is from the Stripe ReactNative github repo and there might be a bug there

#

try this

#

replace that presentPaymentSheet() call with

    const { error } = await presentPaymentSheet({
      clientSecret: paymentIntent,
    });
#

give that a shot

somber prawn
#

k one sec

green perch
#

ah actually

somber prawn
#

hang on, no

green perch
#

just remove clientSecret entirely

somber prawn
#

that's what I already have

green perch
#

that is what removed clientSecret

somber prawn
#

ah

green perch
#

I missed that change in 0.2.1

somber prawn
#

ok, so it's simply not needed

#

ok cool. that's actually a good PR

#

thnx for checking