#suyog_code
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/1336366274690945116
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Do you have the domains registered for both the top domain, and the framed domain?
Do you have a public test page we can access to inspect the behaviour?
https://givepleases-wondrous-site.webflow.io/
There is donate to Giveplease button, if you click it, Payment flow will start. We are not able to see applepay button over there but for UAT sites its visible
How do i reach the payment view there? WHat steps should I follow to see where you expect apple pay to be shown?
- Click on Donate to Giveplease- Iframe will appear
- Click on Give $20 Now button
You will land up in card integration page
on card integration page, We are expecting apple pay button to appear
Can you help @edgy junco ?
I'm looking at the example, yea
Did you checked it? Do you have any question for me?
I don't see the givepleases-wondrous-site.webflow.io domain registered in your account
Top-level domain and iframe domain: If the top-level domain differs from the iframe domain, the top-level domain and the iframe’s source domain must both be registered payment method domains on the associated account.
that is client site where we want payment to happen, Our domain where we are doing payment is widget.giveplease.co. Parent site might not be registered with our Stripe account
we are just hosting our site inside iframe at clients website
RIght, for cross-domain iframes with Apple Pay, it needs to be registered
You will need to ask your clients to give you the domain/url where they plan to use the widget so that you can register it
is there any way where we can bypass apple verification at client site?
No, this is required to display apple pay
they might also have their own applepay integration
how both applepay integration can work in that case?
I don't think that should matter, but if you have a specific concern about that please share an example/details
in our example, https://givepleases-wondrous-site.webflow.io/ is client public website which dont have payments. Our other clients has stripe integration too. If we want to support their website with applepay, they will have to host 2 apple-developer-merchantid-domain-association files?
Hi hi! Any domain that uses Apple Pay for the Web must host that file. It's necessary in order to prove you (or they, in this case) own the domain and have the right to collect payments from that site.
Ok, If they also have their own setup and want us to collect payment via iframe, how we can host 2 applepay apple-developer-merchantid-domain-association files to prove ownership?
which file will get picked as it is located at same location?
If they have their own setup, they will have to host their own file.
Have you read the Docs section on Apple Pay and iframes? https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#using-an-iframe
Understood now, Thanks for all clarifications @south quartz and @edgy junco