#bxorcloud_unexpected
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/1293269446076661855
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! It sounds like maybe you only validated your domain itself (e.g., example.com), but for Apple Pay you need to validate every subdomain as well that you want to use (e.g. www.example.com, buy.example.com, cart.example.com, etc.).
There is no limit to the number of domains you can validate.
Thanks for your response, one problem is that subdomains automatically verify. I wonder why.
When the site is up, it automatically verify. Even apple pay button is showing after verifying.
But during checkout it will show the error stripe domain not register.
And since it automatically verify it will not generate the apple merchant key that we can upload.
Merchant key?
You mean the domain association file?
If so, the domain association file is the same across all of Stripe. You don't need different ones per domain.
What's the specific error you're seeing in the browser console?
I mean the apple-developer-merchantid-domain-association
Yeah, that's the same file for every domain. You don't need to download it for every domain separately.
Let me grab the full error, give me a sec,
Hi Here is the error message "Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web."
That means the domain hasn't been validated. You're 100% certain the domain you're using has been validated on the Stripe account you're using?
Yes!, this is after checking out using apple pay, and apple button did show means it was verified.
When it was not yet verified apple button is not showing.
Are you using Safari in private browsing mode?
Yes to have clean sessions and cookies.
But even not private it does the same error.
If the subdomain is not yet verified the normal error is "You have not registered or verified the domain, so the following payment methods are not enabled in the Express Checkout Element:
- apple_pay"
You can't use private browsing mode to test this, Apple Pay always shows up in private browsing mode.
You also need to make sure the "Allow websites to check for Apple Pay and Apple Card" option in Safari's settings is enabled.
But the core issue sounds like the domain isn't properly validated. Can you link me to the page where this is happening?
Hi Im 100% sure its verified, it shows enabled in stripe dashboard.
Are you using Connect?
Im using express checkout. https://docs.stripe.com/elements/express-checkout-element
Right, but are you using other Stripe accounts connected to yours?
Nope we only have 1, and we are using the test mode on this.
Okay, can you link me to the page where Apple Pay should show up?