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
[Bug]: Cannot obtain user data on checkout #4666
Comments
I cannot reproduce this. Does the problem persist and are there more logs from the BTCPay Server container? The error above points to the exchange rate not being fetched. |
@dennisreimann I just tested it and when I use the market place link directly it works, however when I use it in an iframe embedded in a website it crashes this is the error I get:
im thinking its something along these lines: im leaving the error on the page I have the implementation at: you can test it and see the error for yourself here: https://davidplopez.com |
@dennisreimann wondering if your solution causes any CORS issues down stream? not sure atm... what release will this be a part of v1.8 maybe? |
* Unset X-Frame-Options header correctly According to the [spec](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) there are onlye the `DENY` and `SAMEORIGIN` options, `ALLOW-FROM` being deprecated. Hence we have to actively unset the header, as we made `DENY` the default. This also unsets the X-Frame-Options header for the public form pages, which fixes #4666. * Ignore anti forgery token in Forms --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
What is your BTCPay version?
BTCPay Server v1.7.12+9344113ae
How did you deploy BTCPay Server?
AWS EC2
What happened?
I want to collect an email or shipping address in the point of sale
this is the error encountered on front end when data collection is set in point of sale
How did you encounter this bug?
configure either collect email or shipping address options and get error on ui
Relevant log output
2023-02-19 04:21:55.187 +00:00 [WRN] Error while contacting exchange coingecko: The operation was canceled. 2023-02-19 17:10:04.131 +00:00 [INF] BTC (Lightning): Start listening unix://etc/clightning_bitcoin/lightning-rpc 2023-02-19 17:40:48.303 +00:00 [INF] BTC (Lightning): No more invoice to listen on unix://etc/clightning_bitcoin/lightning-rpc, releasing the connection.
What browser do you use?
chrome and safari
Additional information
No response
Are you sure this is a bug report?
The text was updated successfully, but these errors were encountered: