Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.0.0.0 referer causing issues #56

Open
cmydur opened this issue Mar 19, 2024 · 2 comments
Open

0.0.0.0 referer causing issues #56

cmydur opened this issue Mar 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@cmydur
Copy link

cmydur commented Mar 19, 2024

I'm trying to integrate Stripe payment elements using HTML and Javascript and enable apple pay and google pay. However Stripe requires us to register domain. Can we update the referer from 0.0.0. to mycomain.com

@Eilon
Copy link
Owner

Eilon commented Mar 21, 2024

This is not currently supported, as you've found out. If the hostname/URL was configurable, would that solve the problem with the payment processor? Do they just check the referer or do they need to be able to access any content at the URL? (We've had similar requests for BlazorWebView as well, and I think it's generally reasonable, but I also want to make sure that it would actually solve the problem people are experiencing.)

@Eilon Eilon added the enhancement New feature or request label Mar 21, 2024
@cmydur
Copy link
Author

cmydur commented Mar 21, 2024

That is my theory/assumption so far. Stripe looks at where the request is coming from and I have verified my domain with them. If I host my page at my domain it works and it does when the page is served from WebView and only thing I could think of is referer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants