#paulc7053_unexpected

1 messages ยท Page 1 of 1 (latest)

olive talonBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1254796341008138301

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

safe horizon
#

Hello?

timid cedarBOT
safe horizon
#

Hey

#

Apple Pay doesnt work on some devices

gleaming terrace
#

Hi there ๐Ÿ‘‹ can you tell me a lot more about this? Are you setting up the Express Checkout Element to force Apple Pay to show, or are you leaving default behavior in place where it's only surfaced if we detect the device being used is already fully set up to use Apple Pay (including having a card in the wallet already)?

safe horizon
#

I was not aware of the default behaviour

#

how can I change it?

#

in order to show the button regardless

timid cedarBOT
gleaming terrace
safe horizon
#

Got it!

#

Sice I dont use elements.create I guess I should pass it in like this const expressCheckoutOptions = { layout: { overflow: "never" }, paymentMethods:{ applePay:"always", googlePay:"always", }, buttonHeight: 50, paymentMethodOrder: ["google_pay", "apple_pay", "paypal"] };

flint tangle
#

๐Ÿ‘‹ stepping in here as toby needs to step away

safe horizon
#

Hello

flint tangle
#

Are you using React here?

safe horizon
#

yes

flint tangle
#

If so, you would pass the above to your Elements component and yes that looks correct

safe horizon
#

great!

#

One more question: I've been advised to move off of ECE to the Payment element. My only concern with that is that I cannot display custom marketing text within the form, can I?

flint tangle
#

Ah wait sorry

#

You pass paymentMethods as props to your Express Checkout Element

#

Not your Elements Provider

#

That's correct that you can't display custom text within Payment Element

safe horizon
#

yeah, like this I assume <ExpressCheckoutElement onClick={onClick} onReady={onReady} onConfirm={onConfirm} options={expressCheckoutOptions} />

flint tangle
#

However you shouldn't really need to migrate -- you can use Express Checkout Element together with Payment Element

#

If you want

safe horizon
#

My problem with ECE is that I cannot accuept PayPal vor subscriptions...

#

accept**

flint tangle
#

Both Paypal and Subscriptions are supported with ECE

#

Paypal is only supported in the EU though currently.

#

Where is your Stripe Account located?

safe horizon
#

EU, but also selling in the US

#

I remember having problems with this... the button just wouldnt show up

flint tangle
#

Hmm are you using Setup Future Usage and is your account set up for Paypal recurring payments?

safe horizon
#

Yes I have been allowed to accept recurring payments with PayPal

flint tangle
#

Okay and Paypal is on in your Dashboard I assume?

safe horizon
#

Okay, this is very weird

#

I just looked again in the Payment Methods section

#

and it says that I need approval vor the recurring payments with paypal, but I have already received it

flint tangle
#

Hmmm I'm not sure about how that stuff works tbh -- we just focus on the API here. Maybe it was enabled on a different account? If you need help on that approval and getting it enabled you will need to work with our Support team via https://support.stripe.com/contact/login

safe horizon
#

It certainly is on the same account

#

If it would show enabled in the dashboard, should the PayPal button also show up in the ECE?

flint tangle
#

If the recurring setting is enabled then yes afaik it should

safe horizon
#

Alright!

#

Would you mind keeping this open (I'm speaking to the support & I remember receiving some contradictory stuff last time)?

flint tangle
#

Sure it will stay open for a little bit then it will close after a period of inactivity

#

You can always re-open a new thread if needed