#ashiq_error
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/1319656809484779542
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
On which browser are you seeing the error?
Your site doesn't load for me I'm afraid
Yeah it just times out loading in the browser
You mounting the Payment Element in an iframe by any chance?
no i am mounting in div
The error relates to the Payment Request API that Payment Element uses, specifically: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/payment
So perhaps something in your Chrome setup is blocking that
Does Google Pay load here on our site? https://docs.stripe.com/payments/payment-element
<div id="payment-element">
<!-- A Stripe Element will be inserted here. -->
</div>
Sorry your site just does not load for me so I can't really verify the issue. Likelihood is this is some configuration issue on your device/browser, so I'd test to see if Google Pay loads elsewhere (like the docs page I linked above). Then try:
- Disabling third-party browser extensions
- Incognito windo
Does Google Pay load on here for you?
no
Where are you located?
site is located in US
please check
No, I'm asking where you are located
pakistan
Do you have a live card in your Google Pay wallet?
The fact that Google Pay is not visible for you here implies some kind of client issue โ generally one of two things (no card in wallet, or in unsupported locale)
google pay wallet does not load
Then that explains why you can't see Google Pay โ the button only shows if you have a card in your Google Pay wallet
Here: https://pay.google.com/
Yes you need an active card in your wallet for Google Pay to show on any Stripe integration. That explains why it isn't loading on our docs pages and likely on your site โ I can't check as it still doesn't load for me
[Violation] Permissions policy violation: payment is not allowed in this document getting this error
how this prevented
Did you add a card to your Google Pay wallet on your account/device?