#gokul-raj_error

1 messages · Page 1 of 1 (latest)

balmy lichenBOT
#

👋 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/1310666463551557695

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

simple sky
swift marlin
#

We do not support rendering Stripe Elements inside an <iframe>

simple sky
#

in the documentation it is mentioned.
it should work

swift marlin
#

Did you follow all the requirements for specifying the origin?

simple sky
#

Yes, i did

#

i am able to make payment with the same configuration without iframe.

#

in the validation error it throws Please make sure you have registered this Stripe account.

swift marlin
#

That error makes it sound like the iframe is not hosted on the same domain

simple sky
#

Yes, both have different origins.
but it should work for safari 17+ with payment=allow

swift marlin
#

In that case you would need to register each origin as an Apple Pay domain

simple sky
#

yes, i did both are enabled in the payment method domain dashboard.

swift marlin
#

Can you share the domains?

simple sky
swift marlin
#

And you are not using any other subdomains?

simple sky
#

No

swift marlin
#

And you are hosting the domain association file on each domain?

#

Sorry can you post the domains in text, I cannot use the screenshot

simple sky
#

sorry, i am using an lower environment to test, it can’t be assessed from outside.

#

we can connect over a call and check.

swift marlin
#

No we cannot, we don't offer that here

simple sky
#

let me try something to host it.

#

sorry i can’t host it currently at the current movement 😭

#

let me know what are the details you require to assist.

swift marlin
#

I do not see any logs on our end attempting to verify apple pay domain

simple sky
#

since i am not using any api to call the apple pay validate session separately, it is called via stripe js itself as a internal call i guess.

swift marlin
#

Yes, when the Express Checkout Element loads, it makes calls to verify what payment methods are available.

simple sky
swift marlin
#

Yes, if that request fails then we cannot support Apple Pay

balmy lichenBOT
simple sky
#

so why is the request failing, it is providing all the required datas and the only change in the request is DomainName.
When it is mounted with iframe its DomainName is changed to top-level-origin.

steel vale
#

Is your Stripe account's country India or are you testing from India? We don't currently support Apple Pay for Indian merchants or customers unfortunately

simple sky
#

i am from india but i am using vpn to test.
i am able to do without iframe.

steel vale
#

Ah good point

#

Looking in to what else can cause this

simple sky
#

FYI- this is different setup, it is using paymentrequest.

steel vale
#

Yep the apple pay button shows up and works for me on that page

simple sky
#

can you please make a payment and provide me a screen shot of the pop-up

steel vale
simple sky
#

Thank you so much this enough.

#

i think the other link i am using is not going through the vpn, that might be the issue here.

#

This details is enough you can close this thread.