#tatsuya_unexpected

1 messages ¡ Page 1 of 1 (latest)

fallen hillBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1346514090922741811

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

river cave
#

Hello, I don't think the ECE has a special restriction here. Can you send your stripe.js code here for setting up these elements? I am double checking our docs

mystic ridge
#

hello! I just have both the ExpressCheckoutElement and PaymentElement wrapped in a

<Elements
        stripe={stripePromise}
        options={{
          locale: language,
          appearance: {
            variables: {
              borderRadius: '8px'
            }
          },
          clientSecret,
          customerSessionClientSecret
        }}
      >
        {children}
      </Elements>
    <PaymentElement
      options={{
        layout: 'accordion',
        business: {
          name: 'name'
        }
      }}
    />
  <ExpressCheckoutElement
    options={{
      paymentMethods: {
        applePay: 'never',
        googlePay: 'never',
        link: 'auto',
        paypal: 'auto'
      }
    }}
    onConfirm={onPay}
  />
river cave
#

Thank you, I am seeing the same behavior as you but am not immediately clear on why or if there is a workaround. Still looking and will get back to you

mystic ridge
#

thanks!

river cave
#

I've confirmed that this is a restriction on the ECE, though I'm not finding it publicly documented (it may be and I'm just not finding it). I will add to the feature request around this, though unfortunately I can't guaruntee if or when this restriction may be lifted, and will flag with our docs team that we should note this on the ECE doc page or something.

mystic ridge
#

ok thank you very much

river cave
mystic ridge
#

oh ok, I see it now ahah I totally missed the PayPal disclaimer