Forum Replies Created

Viewing 15 replies - 211 through 225 (of 492 total)
  • Plugin Author dashed-slug.net

    (@dashedslug)

    You have been facing problems with installation for some time now. If there is a problem with a firewall, you would get delays and timeout errors. If this is not the case, you should now enable your firewalls again.

    The general idea for how to debug installation/activation problems is this:

    1. What exactly do you see at the screen when you attempt to access the site? Are there any error messages? Are there delays? Are you trying to access the frontend or backend? Could you perhaps send a screenshot?

    2. After enabling error logging (you’ve already done this) what gets written in the debug log? The errors you previously posted were caused by deleting the plugin files. After you install and activate the plugin, you say that the site crashes. What gets written to the logs at the time the site crashes?

    Please let me know. Thank you.

    Plugin Author dashed-slug.net

    (@dashedslug)

    OK. Thank you for the additional info.

    What happens if you:

    1. Deactivate all plugins (do not uninstall)
    2. First install and activate Bitcoin and Altcoin Wallets
    3. (assuming your site is still up) disable the built in coin adapter.
    4. Then, finally install/activate the CoinPayments adapter.

    Also, you mentioned there are no firewalls at the level of the host. Could there be a firewall around your host’s network?

    Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    Which coin adapter did you install?

    If you are installing the CoinPayments adapter, it sounds like you did not disable the built-in Bitcoin core adapter (step 7 in these instructions).

    If there is a firewall preventing RPC communication this can lead to TCP timeouts that crash your site. To regain control of your site, please see the Troubleshooting section in the documentation under “When I activate the plugin, my WordPress becomes extremely slow and is unusable.” The documentation is the PDF file in the bundle download of the plugin, available here. Simply deleting the plugin directory should be enough to regain control of the site.

    Unfortunately I am unable to undertake installations, as explained in the FAQ, but I do remain available to answer any questions you may have about installation and other issues with the plugin.

    Please let me know which coin adapter you are installing and if you continue to face problems after attempting the above steps.

    kind regards
    Alex

    Plugin Author dashed-slug.net

    (@dashedslug)

    Thank you for this amazing review!

    I’m very glad that you found the plugin useful.

    Alex

    Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    What you are proposing is an investment plugin extension.

    This is something that I do plan to implement at some point in the future.

    Unfortunately I cannot possibly give you code to easily do this here as it is not a simple task.

    kind regards,
    Alex

    Plugin Author dashed-slug.net

    (@dashedslug)

    If you uncheck fixer from the list of exchange rates providers, the plugin will not use the remote API. Also, if you do not provide an API key, the plugin will not use the remote API.

    The last exchange rates that were loaded will be used. If you wish to delete these, you can delete the option wallets_rates. If you are using wp-cli you would do wp option delete wallets_rates.

    If the WooCommerce default currency is the same as the one that the user is attempting to pay with, then you do not need any exchange rates providers for the payment gateway extension to work.

    Hope this helps. Let me know if you face more problems with this.

    • This reply was modified 7 years, 8 months ago by dashed-slug.net. Reason: added paragraph about plugin always using last rates retrieved
    Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    As discussed before, if you are requesting exchange rates every 5 minutes, that sums up to 30*60*24/5 = 8640 requests per month.

    If you set exchange rates to be requested say, every 10 minutes, the number of requests would be half.

    Every installation that you have set up to pull exchange rates from fixer would make its own set of requests.

    If you do not need exchange rates with fiat at all, you can disable this exchange rates provider altogether.

    kind regards

    Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    Are you trying to connect to a full node wallet or to a web wallet?

    If the latter, there is no need to disable anything. Simply disable the build in full node wallet, as detailed in the installation instructions.

    If indeed you are attempting to connect to a Bitcoin core wallet, then timeouts are always caused by some type of firewall, either at the WordPress machine or the wallet machine, or anywhere in between.

    Please let me know which type of coin adapter you decided to use.

    Thanks

    Plugin Author dashed-slug.net

    (@dashedslug)

    Yes, the last error indicates that indeed there was a TCP timeout. This is an indication that some firewall is blocking RPC commands. Please read the installation instructions and let me know if you continue to encounter problems.

    kind regards

    Plugin Author dashed-slug.net

    (@dashedslug)

    If your site does not work anymore, simply delete the plugin from your plugins directory using SFTP, then read the Troubleshooting section in the manual, under “When I activate the plugin, my WordPress becomes extremely slow and is unusable.”

    Most likely you have not disabled the built-in Bitcoin full node adapter while some firewall is in effect and is blocking RPC connections.

    kind regards

    Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    Read the readme file carefully and then decide on whether you would like to install a web wallet or connect to a full node wallet. Most people choose to install with a web wallet because full nodes are a lot harder to setup, but have some benefits.

    kind regards,
    Alex

    Plugin Author dashed-slug.net

    (@dashedslug)

    Hello Felty,

    I also get this question a lot, in fact I should add it to the FAQ.

    I do not recommend that people use WooCommerce and the WooCommerce payment gateway extension to sell tokens or other coins.

    Instead I point people to my other extension, the Exchange extension. It is still in late beta, but it allows admins to set up markets using currency pairs. Users can therefore log on, send a cryptocurrency to their account, trade it for some other cryptocurrency, and withdraw it. This requires that there is a coin adapter that supports the coin/token being sold.

    Additionally, I will soon™ release a fiat coin adapter. This will let admins do fiat deposits from bank transfers. This is the other thing that people often request along with selling tokens. This will be announced on the blog when available.

    Hope this answers your questions. Please let me know if you have any further questions about this.

    with regards,
    Alex

    Plugin Author dashed-slug.net

    (@dashedslug)

    Hi,

    Thanks for reporting this. You are correct that this is due to the form being validated after it is reset. I will see what I can do about this.

    kind regards

    Plugin Author dashed-slug.net

    (@dashedslug)

    Thank you to all who reported this problem.

    The issue is fixed in version 3.6.6.

    TL;DR explanation:

    All of you are using very ancient versions of MySQL; your hosts should be ashamed! This is not a problem on its own, but since the default charset is set to utf8mb4 to accommodate the full Unicode set, some indexes on large columns go over the limit of 1000 bytes that these old databases had. Previously I had set those columns to the latin1 character set to avoid this problem. But this had caused problems for other people. In any case, the columns are such now that even if these two conditions exist (old database + utf8mb4), the total index length does not exceed 1000 bytes. Transaction IDs now can go up to 120 characters, while Monero addresses do not exceed 106 characters, so this is enough for all coins. I was able to verify with MySQL 5.5 via Docker that the new schema no longer causes error 1071.

    Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    Which tool did you use to perform static analysis? Is it specifically for MySQL or generally for SQL?

    The code I sent you in pastebin is definitely valid MySQL.

    The error you get is because some old versions of MySQL / mariaDB have this restriction and it all depends on your default charset which affects how long the VARCHAR columns are.

    You could try entering the following before you paste the CREATE TABLE statements:

    SET @@global.innodb_large_prefix = 1;

    I will add this to the plugin in the next patch release.

    kind regards

Viewing 15 replies - 211 through 225 (of 492 total)