#J4cks0n

1 messages · Page 1 of 1 (latest)

reef matrixBOT
bronze cloud
#

Hi, can you share a test link where I can try to reproduce this issue? Are you successfully reproducing this on your end consistently? Did it ever work before?

glossy pumice
#

It looks like a race condition issue. Most of the time, the elements form will not show up. Sure. May I send it to you privately? I don't want to make it public.

#

Just send you a private message including the login info and url.

bronze cloud
#

Can you share the exact steps that I try to reproduce it? Is it acting differently for different versions?

glossy pumice
#

Yes, please click the order online button, add anything to your cart. It will ask you to login at that moment. Make sure add the item again and checkout. You will see the payment page with Stripe.

#

With Safari and iOS, it is working completely fine.

#

Android with Chrome is also all good. Just iOS with Chrome is buggy.

bronze cloud
#

I'm getting someone with deeper iOS knowledge look at it, thank you for your patience.

glossy pumice
#

No problem. We tried a few hacky ways but none of them worked.

scarlet helm
#

Hello! I'm taking over and catching up...

glossy pumice
#

Thanks Rubeus.

scarlet helm
#

What's shown in the browser console when Elements doesn't show up in Chrome on iOS?

glossy pumice
#

Nothing critial. I remember there is a warning.

scarlet helm
#

Can you provide the console output when the issue happens?

glossy pumice
#

WARNING: Either you do not have a card saved to your Wallet or the current domain or stripeAccount parameter (acct_xxxxxx) is not registered for Apple Pay. Visit https://dashboard.stripe.com/account/apple_pay to register this domain.

#

Just apple pay, nothing else.

scarlet helm
#

Which Stripe Element(s) are you using?

glossy pumice
#

payment

#

elements = stripe.elements({
clientSecret: stripe_client_secret,
})
const paymentElement = elements.create("payment")
paymentElement.on('ready', ()=> {
console.log("payment element loaded")
disabled.value=false
forceReflow('.StripeElement')
})
paymentElement.mount("#payment-element")

#

We are using Vue3, this code is sitting in the onMounted function.

scarlet helm
#

And it works fine in Safari on iOS?

glossy pumice
#

Yes, no problem with Safari.

#

Also Chrome with Android is working fine.

scarlet helm
glossy pumice
#

We can try that. Do you have any hints regarding what we should looking into?

#

Not very familiar with Stripe JS.

scarlet helm
#

I would probably start with breakpoints around the code that mounts the Payment Element and see what's going on. Also look through the DOM tree to see if it's actually there but hidden, things like that.

glossy pumice
#

Sure. Thanks for the help. We will gather more info and come back. 🙂