#charles-s_error

1 messages ¡ Page 1 of 1 (latest)

lone terraceBOT
#

👋 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.

glacial basalt
#

Hi! Looking into this!

echo lava
#

Thank you!

glacial basalt
#

Can you share your website?

echo lava
#

Here is the domain ID: pmd_1Q3N6HFKKJ5EQslyf5PXIUma
Is that ok?

glacial basalt
#

I will need your website which is having issues with this error.

echo lava
glacial basalt
#

Are you rendering the Payment Element in an iFrame?

echo lava
#

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.

glacial basalt
#

All good! Glad you found the issue!

lone terraceBOT