CaptainMorgan
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How to view order total in Taxes report?To clarify, are you referring to tax rates when mentioning “Tax Code”?
Yes that’s what I meant.
WooCommerce doesn’t currently show taxable amounts per tax rate in its reports, but you could use custom code or third-party plugins to achieve this.
This is what I’m doing currently, but since the data is already in WooCommerce it would be nice to see it in the taxes table. After all this is what needs to be reported to VAT/VAT MOSS, the actual amount of tax isn’t really very useful.
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportThe log doesn’t give much
2024-07-19 22:49:51.211886 [NOTICE] [1975174] [server ip:HTTP2-1#librewave.com] oops! 503 Service Unavailable
2024-07-19 22:49:51.211909 [INFO] [1975174] [server ip:HTTP2-1] Content len: 0, request line: ‘GET /?currency=USD HTTP/1.1’
I’m using this line to test: curl -v –http2 “https://librewave.com/?currency=INR
If I remove this from the htaccess then the 503 goes away: RewriteRule .* – [CO=multi_currency:%1:;] but so does the caching functionality.
I’ve tried disabling the cache entirely, I also disabled my modsecurity rules just in case, those didn’t make a difference. I also tried setting the cookie via php in functions.php but no luck either.- This reply was modified 4 months ago by CaptainMorgan.
- This reply was modified 4 months ago by CaptainMorgan.
- This reply was modified 4 months ago by CaptainMorgan.
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching support@qtwrk Ok it’s working, except when first changing currency it triggers a 503 error, removing the htaccess block resolves the problem. This can be easily triggered by loading the site in a private browser session.
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportHey so far so good, this seems to have solved it!
Thanks again, can you tell me why being at the top of the file makes the difference?Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportAh sorry, yes you did say that. I’ll try it now and report back.
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportSure: KYFXMRQW
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportAh I spoke too soon. It’s still not working, on some pages it’s showing the correct currency and on others it’s not. However the mini cart currency always seems to be correct, so that’s an improvement.
- This reply was modified 4 months, 1 week ago by CaptainMorgan.
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportYes I am using OLS. I restarted the server, also your snippet gave me a hint, I added multi_currency to the excludes under Do Not Cache Cookies, and that seems to have done the trick (and object cache is enabled).
Thanks!- This reply was modified 4 months, 1 week ago by CaptainMorgan.
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching support@qtwrk Any other suggestions?
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportDidn’t help, I tried with both object cache enabled and disabled.
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportThe only one from that list that I see is woocommerce_session_ followed by the session id
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportHere’s a little video that shows the issue
https://filedn.eu/larUQgXOwVjQdvpPaD96lHH/simplescreenrecorder-2024-07-08_17.44.06.mkv
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportx-litespeed-cache hit
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportThat didn’t help unfortunately
Forum: Plugins
In reply to: [LiteSpeed Cache] WooPayments Multi-Currency Caching supportHi,
Sorry for the delay, here’s the number: VGKGGPQH
I’m excluding all of these cookies from my cache but it hasn’t helped with this issue, am I missing one?woocommerce_items_in_cart
woocommerce_cart_hash
woocommerce_recently_viewed
wp_woocommerce_session_
wcpay_currency
wc_session