#alex-t_error

1 messages · Page 1 of 1 (latest)

rigid isleBOT
#

👋 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/1397585451828641973

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

proud acorn
manic kestrel
#

Yes, and everything worked until yesterday:
default-src 'self';child-src 'self';style-src 'self' 'unsafe-inline';script-src 'self' 'unsafe-eval' 'unsafe-inline' https://.js.stripe.com https://js.stripe.com https://maps.googleapis.com https://connect-js.stripe.com https://checkout.stripe.com;font-src 'self' data:;object-src 'self';connect-src 'self' ws: https://.sentry.io https://api.stripe.com https://.amplitude.com https://maps.googleapis.com https://checkout.stripe.com https://mobileapi.we53.io wss://mobileapi.we53.io;img-src 'self' data: blob: https://.stripe.com;frame-src 'self' https://devpay.we53.io https://*.js.stripe.com https://js.stripe.com https://hooks.stripe.com https://connect-js.stripe.com https://checkout.stripe.com;media-src 'self';form-action;base-uri 'self';frame-ancestors 'self';script-src-attr 'none';upgrade-insecure-requests

Google for Developers

Millions of websites and apps use Google Maps Platform to power location experiences for their users.

#

The "Apple Pay" button does not react on clicking

#

You may do the same in your browser

#

We use standard Express Checkout:
const expressCheckoutElement = this.stripeElements!.create('expressCheckout', {
paymentMethods: {
applePay: 'auto',
googlePay: 'auto',
link: 'never',
paypal: 'never',
klarna: 'never',
amazonPay: 'never',
},
});

proud acorn
#

Do you have a test page we can test this on without having to enter phone number or any identifiable info

#

We can't do that

manic kestrel
#

You may enter any phone number and then enter 0001 as an OTP

proud acorn
#

Ok looking

manic kestrel
#

26186 as a vending machine

proud acorn
#

Oh I don't see the express checkout element at all...

#

Do you see it on that test page?

manic kestrel
#

I do, do you use safari?

proud acorn
#

Yes

#

I think it might be an issue with my apple pay wallet though

#

Looking more

#

Doesn't look like you use an iframe either

manic kestrel
#

We don't use it, we initiate payment like it is described in the documentation:
const expressCheckoutElement = this.stripeElements!.create('expressCheckout', {
paymentMethods: {
applePay: 'auto',
googlePay: 'auto',
link: 'never',
paypal: 'never',
klarna: 'never',
amazonPay: 'never',
},
});
expressCheckoutElement.mount(document.getElementById('wrapper'))

proud acorn
#

Yeah getting a colleague to take a look now

#

Something is wrong with my apple pay wallet

manic kestrel
#

You may see the same issue with Google Pay in Chrome

proud acorn
#

They don't see the errors you reported

#

They just see:

#

So you're likely doing some API call or async function call in click event handler

#

Separately, for the errors you're getting, it could be due to a browser extension meddling

manic kestrel
#

ok, thank you, seems to me we found the error on our side!

#

Thank you so much!

proud acorn
#

Nice

#

No problem