GreyforestDigital / Greyforest-WooCommerce-Payment-Gateway-Monero

An ultra-minimal Wordpress plugin to add a Monero (XMR) payment gateway to a WooCommerce shop.
6 stars 3 forks source link

There are no payment methods available. This may be an error on our side. Please contact us if you need any help placing your order. #3

Closed FloraMaeWolfe closed 10 months ago

FloraMaeWolfe commented 10 months ago

There are no payment methods available. This may be an error on our side. Please contact us if you need any help placing your order.

Payment gateway is enabled. All software is up to date. The plugin might need to be updated.

GreyforestDigital commented 10 months ago

Hi. It would appear that starting with WooCommerce 8.0, the default Checkout and Cart pages are now displayed via WC Blocks as opposed to the classic shortcode implementation of "[woocommerce_checkout]" and "[woocommerce_cart]". If you use the shortcode method, this gateway functions properly. However, it has not been updated for the new block system, and most likely won't be unless the tweaks are relatively simple (I haven't looked into them fully yet).

If you're interested in using this plugin in the immediate future, I'd suggest forking it and updating yourself (or switching to the shortcode method noted above). Apologies.

FloraMaeWolfe commented 10 months ago

I changed cart and checkout pages to use the shortcodes which fixed that problem, but it doesn't work after placing order. Says "Error processing checkout. Please try again". The order seems to be placed and put on hold in woocommerce but nothing ever shows up on the checkout side except that error and when refreshing the checkout page, it turns blank. So something somewhere is not working right, sadly. I wish I knew more about php I would volunteer to fix it.

I would also like to note that there are complaints about "high performance order storage". Setting it to "WordPress posts storage (legacy)" doesn't eliminate the error but just changes it to "1 Incompatible plugin detected (Greyforest ::: WooCommerce Payment Gateway - Monero).".

FloraMaeWolfe commented 10 months ago

Slight update: 2023/12/24 17:58:54 [error] 5289#0: *386 recv() failed (104: Connection reset by peer) while reading response header from upstream ... request: "POST /?wc-ajax=checkout HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:" ...

FloraMaeWolfe commented 10 months ago

Another update: changing to this in php.ini fixes the issue with the "Error processing checkout" output_buffering = 65535

But, now, the qr code seems, broken?

Screenshot_2023-12-24_18-23-27

FloraMaeWolfe commented 10 months ago

The image issue might be browser related but having issues with server setup so I'll look into this more once I sort out the server issues for sure.