#charles-s_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/1341576576512295036
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Looking into this!
Thank you!
Can you share your website?
Here is the domain ID: pmd_1Q3N6HFKKJ5EQslyf5PXIUma
Is that ok?
I will need your website which is having issues with this error.
The website is not public currently, but the url is https://preprod.rescope.xyz
(The merchant id association file is accessible.)
Are you rendering the Payment Element in an iFrame?
No I am not, just using the out of the box React PaymentElement (which itself uses an iframe running the stripe.com origin I understand).
Here is the code:
const options = {
clientSecret: checkout?.data?.clientSecret,
customerSessionClientSecret: checkout?.data?.customerSessionClientSecret
}
const paymentElementOptions = {
layout: {
type: 'accordion',
radios: true
}
};
<Elements stripe={stripe} options={options}>
<PaymentElement options={paymentElementOptions} />
</Elements>
Oh I'm sorry I found the problem... this preprod site is using my Stripe test key, but the domain was validated on the production key. I switched the dashbaord view to the test view and saw the domain was not enabled for apple pay. I verified I do see apple on the production website. Thank you and sorry again for the confusion.
All good! Glad you found the issue!