Hello,
it would be great if this great plugin would be updated so that it works again.
Especially the support of the boxes at the checkout is necessary.
]]>Can not use testnet, please take a look.
]]>There is an issue where it should check if there the cron job hasn’t run, WordPress is a bit silly and seems to never register the return value of cron hooks to say if they worked or not. As such you will just need to change the code so it displays a warning and stops the checkout when the Monero price is severely out of date.
I have this issue because my server uses a complicated system involving many components to get prices and information without using Tor exits, with an SSH dynamic port forward. Sometimes it fails and outdated prices appear. Someone could manipulate this and game my customer I do the the site for.
It is an usual problem but this should just take some work on the config page regarding a timeout setting for prices. This would also tell people in strange circumstances like myself where cron wasn’t working due to SELinux issues on Gentoo. Some people might also have an unrelible question, and even there is a security risk where communication is disrupted to manipulate prices with some kind of DOS.
]]>I think this extension could use some additonal features.
1) I think there should be a feature to disable the payment gateway if the Monero price does something erratic. It could be just like a stop/limit order on an exchange, where one prevents sales going through for little reward because the price is unstable. Basically you should be able to pick a percentage of price change that stops the checkout working. This could prevent certain losses.
2) You really need to make the checkout work without Javascript as well, and have it so people just have to refresh the page to see if their payment has gone through. With the 2.x version I just edited the text it shows when Javascript is disabled to tell people to refresh. The latest version and the AJAX implementation are very javascript depenant.
3) It would be good if where Monero prices come from was not hardcoded. I thought there could just be a textbox on monerowp’s settings page that contains some PHP. One could write and change the PHP to use a different source for prices, and one could code in this textbox the way JSON from the exchange is decoded.
]]>The latest version of this extension seems to now use cron which is pretty cool. The thing is cron appears to work on my server, I tested if I can reach cryptocompare from a shell on the webserver, but the table in the MySQL database for rates monero_gateway_live_rates() puts nothing in the database for some reason. This has broke my customers site which is kind of sad really, and it needs to be fixed.
I noticed there is no $wpdb->commit() after the INSERT query but adding it hasn’t done a damn thing. Please fix this, I can’t figure out what is wrong. I am only a novice PHP programmer with limited experience. At present the extension is clearly broken…
SELECT * FROM wp_monero_gateway_live_rates
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0005 seconds.)
The cron hook is there but this function do_update_event() is plainly broken when it comes to updating the exchange rates.
]]>