#jperf

1 messages ยท Page 1 of 1 (latest)

uncut tartanBOT
orchid solar
#

Hello! Can you share the code you're using to initialize the PaymentSheet?

lapis jay
#

yea one moment.
I am also using

"@stripe/stripe-react-native": "^0.29.0",

fwiw

#

basically this but some what simplified

 const res = await initPaymentSheet({
        billingDetailsCollectionConfiguration: {
          address: PaymentSheet.AddressCollectionMode.FULL,
        },
        merchantDisplayName: "our name",
        customFlow: true,
        applePay: {
          merchantCountryCode: "US",
          cartItems: [...],
        },
        returnURL: "our_url",
        customerId: "stripeCustomerId",
        paymentIntentClientSecret: "paymentIntentClientSecret",
        customerEphemeralKeySecret: "customerEphemeralKeySecret",
      });
#

I think it is because i am using the customFlow flag actually

#

turning that off show the following

orchid solar
#

Ah, yeah.

lapis jay
#

is there is a way to keep it but leave the custom flow flag on?

orchid solar
#

I don't think so, but let me see what I can find...

lapis jay
#

if not all g ๐Ÿ™‚ just wondering

orchid solar
#

Yep, doesn't look like it. I can flag that as a feature request internally if you'd like?

lapis jay
#

yea sure that would be cool. Is there a place in the documentation that defines how the customFlow display differs from the original?

orchid solar
lapis jay
#

oh lol ok

#

maybe a ticket to elaborate the docs on that ๐Ÿ˜

orchid solar
#

Yeah, I was surprised it wasn't documented in the API docs for the SDK.

lapis jay
#

the SDK docs are spare in general tbh

orchid solar
#

Yep, I know what you mean.

#

Will flag that as well.

lapis jay
#

๐Ÿ™๐Ÿป much thanks

orchid solar
#

Done!

lapis jay