#tatsuya_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ 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.
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
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}
/>
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
thanks!
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.
ok thank you very much
Ah looks like we do mention it here:
setupFutureUsage
...
Indicates that you intend to make future payments with the payment details collected by the Express Checkout Element. Not supported for PayPal using the Express Checkout Element.
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#additional-options
So yeah, it would probably help for that to be a bit more prominent
oh ok, I see it now ahah I totally missed the PayPal disclaimer