#ryuji_docs
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/1296399803437154316
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ryuji_best-practices, 1 day ago, 13 messages
I see this in your website console:
[Warning] [Stripe.js] (controller-660789e4278745439164ab93634fa534.js, line 1)
"You have not registered or verified the domain, so the following payment methods are not enabled in the Payment Element:
- apple_pay
Please follow https://stripe.com/docs/payments/payment-methods/pmd-registration to register and verify the domain."
Can you share your Account Id ?
Or a PaymentIntent Id used in that page ?
I think my account Id is acct_1Ec5anDPtcuBPuUT.
Do I also need to verify domain in live mode?
I also have this domain verified in live mode and the apple pay button is show not displayed. https://dev-cf-registration-iframe-fra--chr-10053-nopak7i1.web.app/app/purchase?language=de&apiKey=02b55b24-d2df-42b0-b450-822871ee3874&eventId=b530cc00-67d4-46b9-a255-578fb645ea17
Both domains use the same code. I create Payment Element without an Intent, so I'm not sure where to get the PaymentIntent there. The paymentIntent is created in the backend after payment method is selected
Can you share a sample PaymentIntent Id used in the page I shared with you please?
I'm sorry, as I said, the payment Intent is created after the payment option is selected. As Apple pay does not show up, I cannot get the payment intent ID. I could try with another payment method, or provide the code to set up payment intent, but I do not have a sample ID. By the way, is the ID something similar to pm_1QAqPpKF8Ok03hB6Fm1r19L7 ?
that's fair. I'll look some more but given you have iframe in the name, have you seen
https://docs.stripe.com/stripe-js/elements/payment-request-button#:~:text=Apple Pay.-,When using an iframe%2C its origin must match the top-level origin (except for Safari 17 when specifying allow%3D"payment" attribute). Two pages have the same origin if the protocol%2C host (full domain name)%2C and port (if specified) are the same for both pages.,-Mobile Safari
When using an iframe, its origin must match the top-level origin (except for Safari 17 when specifying allow="payment" attribute). Two pages have the same origin if the protocol, host (full domain name), and port (if specified) are the same for both pages.
Yes, I have seen this. I have the iframe in the name but the link that I provided is not embedded in an Iframe, so I expected to see the Apple Pay option.
sorry it's hard to use the site when I don't speak German and there all these steps(I think I made a test purchase right now but it was for 0 euro and no payment page came up), if you have a more direct link that would be great but otherwise I'll try figure it out
sorry, you can change the parameter languade=de to language=en and use the site in english
If it helps, I also cannot see the apple pay button in the link you just sent me. It shows Link button on my iphone
Here's the english link https://test.registration.iframes.connfair.com/app/purchase?language=en&apiKey=994604b7-384c-41cd-8b55-01457b96a72f&eventId=6dd5e7b8-1c08-402e-a83e-b3d1fcb4a33f
seems pretty simple to me, you do not have test.registration.iframes.connfair.com registered on the Stripe account who's publishable key is being used on that page
Could you tell me how to correctly register the domain? Do I need to get the key owner to register it?
I think my account Id is acct_1Ec5anDPtcuBPuUT.
note that is not the account that page you linked is using the keys for(it's using the keys of what looks to be your main acount, acct_1Ec5anDPtcuBPuUT seems like your dev account)
Okay, please be a bit more patient with me. So the list under the Accounts in my profile only shows that I have access to the list? And I have to log into my dev account to register the domain name? Or how should I do that?
no, not the dev account. The account who's keys you're using on that web page. Which is acct_1CO6H5KF8Ok03hB6.
It's not my account, so that means I have to ask the account owner to verify the domain, otherwise it will not work?
yes
Okay, I could no way know that was the issue. I will ask the account owner and hope it works. Thank you very much for your help.
I could no way know that was the issue.
the warning in the dev console does point at this though.
"You have not registered or verified the domain, so the following payment methods are not enabled in the Payment Element:
- apple_pay
Please follow https://stripe.com/docs/payments/payment-methods/pmd-registration to register and verify the domain."
(which is the page I linked in my reply above)
I tried with the second link I added in the post, the warning went away, but I could still not see the Apple pay
not sure what you mean really. If you registered the domain dev-cf-registration-iframe-fra--chr-10053-nopak7i1.web.app on some other Stripe account who's keys are being used on dev-cf-registration-iframe-fra--chr-10053-nopak7i1.web.app then yes it would start working there(assuming you're testing on a device that supports Apple Pay). On the test.registration.iframes.connfair.com page the Stripe account being used there doesn't have the domain registered.
it does work on that domain, so the issue there would be not using a device that supports Apple Pay
It does not show up for me. It could be the issue that I'm using a sandbox apple account, but I could see the option on other pages. I will try with another account then.
I will get back to you if I still have issues. Thank you very much
yeah it won't work if you're using a sandbox account I think. There's complexity with Apple having a live and a sandbox registry. You don't need that and we don't intend most people to test it that way(the normal way is just you visit in your own normal personal browser where you use Apple Pay normally)