#cosmitron16_code

1 messages ยท Page 1 of 1 (latest)

barren agateBOT
#

๐Ÿ‘‹ 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/1404830189841682482

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

daring bone
#

hi there

#

I was going to point out the limitation on setupFutureUsage with PayPal and ECE, where using that option in Elements will push paypal to appear in Payment Element only, but you mentioned you already tried removing this.

#

Can you share your Elements options that are being used here? And is there a test page we're able to access directly to observe the behaviour?

barren agateBOT
charred willow
#

{
loader: 'always',
mode: 'subscription',
// setupFutureUsage: 'off_session',
paymentMethodCreation: 'manual',
amount: plan?.total_cents || 0,
currency: plan?.currency || Currency.EUR,
paymentMethodTypes: [
StripePaymentMethod.CARD,
StripePaymentMethod.PAYPAL,
StripePaymentMethod.APPLE_PAY,
],
appearance: getStripeElementsTheme(),
locale: localeForStripe,
fonts: [
{ ...}
],
};

mortal sable
#

hi there, taking over for my colleague, give me a couple minutes to catch up

charred willow
#

Unfortunately I don't have a test page to let you check

mortal sable
#

that's interesting that it's appearing in the Payment Element but not ECE, can you share what browser you're using? have you tried different layout settings, just in case?

charred willow
#

I've tried both Safari and Chrome, I can see ApplePay in the ECE when on Safari

mortal sable
charred willow
#

If I switch to Germany or France yes, not in US

#

Do you mean different layout in StripeExpressCheckoutElementOptions?

#

I've tried removing it

mortal sable
#

if you're a US based business, Paypal shouldn't be showing up at all unless you're using Custom Payment Methods to roll it yourself

charred willow
#

Nono I never had issues with PayPal as displayed in PaymentElement, I was referring to the country selector in the ECE test page

mortal sable
#

right, but what I'm saying is, if you're a US based business, you shouldn't be getting Paypal in Payment Element, so I'm a little confused as to how that's happening. if you click on Paypal in the Payment Element, is it working?

charred willow
#

Sisi, I'm not a US based business

#

To give you more context, PayPal as PaymentElement has been working for months/years, we just wanted to test the PayPal ECE

mortal sable
#

unfortunately it's hard to debug these sort of issues without a publically exposed page to look at, if possible can you rig up something quick in jsfiddle or on a test page so I can investigate further?

charred willow
#

I'm not able to provide it quickly unfortunately. If I manage to create it, I'll get back to you by opening a new thread. For the moment, I'd say we can close the thread. I'll consider the setupFutureUsage explanation enough, considering that we don't want to remove it ๐Ÿ™Œ
Thanks!