#alex-t_error
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/1397585451828641973
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Do you have a csp? If so, have you added the directives here: https://docs.stripe.com/security/guide?csp=csp-js#content-security-policy
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
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',
},
});
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
Yes, please use https://app.we53.dev/
You may enter any phone number and then enter 0001 as an OTP
Ok looking
26186 as a vending machine
Oh I don't see the express checkout element at all...
Do you see it on that test page?
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
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'))
Yeah getting a colleague to take a look now
Something is wrong with my apple pay wallet
You may see the same issue with Google Pay in Chrome