I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

alexg

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 2,199 total)
  • Author
    Posts
  • in reply to: Paypal problem #12495
    alexg
    Keymaster

    Hello,

    Your last payment was on the 19th of September and your account is currently inactive.

    Next time you need to download something you can pay with cryptocurrencies.

    with regards

    alexg
    Keymaster

    Hello,

    Unfortunately it is not possible to connect omni layer assets at this time.

    What would be required, would be for someone to develop a wallet adapter for such assets.

    In case you are interested, instructions for developing wallet adapters are here:

    https://github.com/dashed-slug/wallets/blob/6.0.0-RC5/docs/developer.md#developing-wallet-adapters-wallet-adapters

    A wallet adapter is a PHP object that derives from a base class provided in the plugin. Its main jobs are to discover deposits for the plugin and to perform withdrawals at the request of the plugin.

    Unfortunately I do not have time to develop an omni layer wallet adapter. Whenever I have time for development, I am working on a bitcoin lighning (lnd) adapter, and its natural continuation will probably be to connect to tarot assets. Only time will tell what I actually manage to develop, since everything is fluid right now. I have also been looking into the infura API for ERC-20 assets, but this requires significantly more work, mostly key management.

    Hope this answers your question. Let me know if you have additional questions.

    with regards

    with regards

    alexg
    Keymaster

    Hello,

    If I understand correctly, you want users to be able to set a single withdrawal address per currency, that is then locked using a 2FA code. Subsequent withdrawals will only be allowed to that address, until the address is changed again using a 2FA code.

    Such functionality does not exist yet, but I will add it to my backlog and will try to implement it when I can.

    Thank you.

    alexg
    Keymaster

    Hello,

    I no longer accept feature requests, but I believe most of the functionality you describe is already in version 6.0.0:

    In the settings for each Currency, there is a section titled “Withdrawal limits”. You can set a daily limit overall, or per user role. If you set a user role, the Primary role of the user is taken into account.

    As for 2fa, if you can give a different user role to users who have enabled 2fa, then you can set a higher limit to these users.

    Hope this helps.

    with regards

    in reply to: Shortcodes reference has disappeared #12469
    alexg
    Keymaster

    Hello,

    You can find the shortcode reference for version 5.x here:

    Wallet shortcodes

    I just had to escape the old shortcodes, since I’m now using the plugin on the site.

    Thanks for noticing this issue.

    with regards

    alexg
    Keymaster

    Hello,

    For consistency reasons, the UI always shows the dropdown, but you can easily hide or remove it.

    A simple CSS rule to do this would be:

    .dashed-slug-wallets .coin { visibility: hidden; }

    Hope this helps. Let me know if you have any more questions.

    with regards

    in reply to: Wrong Amount of coin #12454
    alexg
    Keymaster

    Hello,

    I have tested the faucet again using settings like those in the above screenshot, and the payout was correct on my end.

    Can you please show me the Currency page for Dogecoin?

    At a minimum please check the following:

    1. Under “Decimal places” you should have 8.

    2. Under “Exchange rates”, next to EUR, you should have a value close to 0.084 currently, based on recent prices.

    3. Under “CoinGecko ID”, you should write dogecoin, which is the CoinGecko ID for dogecoin. This will allow the latest exchange rates to be updated for dogecoin.

    4. Please check if the cron jobs are running. If you go to DashboardBitcoin & Altcoin WalletsDebugCron jobs last ran on, the time shown there should be recent. That is the last time the exchange rates were updated.

    The exchange rates come from CoinGecko.

    If you believe everything to be correct on your end, and the payout is still wrong, you can email me some credentials and I can log in to your site and check.

    with regards,
    Alex

    in reply to: after activating wallets i got 524 error #12411
    alexg
    Keymaster

    Ok, if you do a binary search on the other plugins and try to pinpoint which one is causing this, then this can guide me in the right direction.

    Deactivate half plugins, then see if the offending plugin is in the active ones. If it is, then deactivate half of the active ones and check again. If it’s not, try activating half of the deactivated ones. If you can do this until you determine which one it is, then let me know which plugin is causing the timeouts and I’ll test to see what the problem is. If you have N plugins you will have to do at most base 2 log N tries I think.

    It could be some security plugin or caching plugin.

    Unfortunately I can’t help in any other way unless you can at least pinpoint the plugin. If you do, I’ll look into the plugin and find the problem.

    Good luck, let me know.

    in reply to: after activating wallets i got 524 error #12383
    alexg
    Keymaster

    Hello,

    Thank you for reporting this.

    1. 524 is the cloudflare-specific HTTP error code. Did you try without cloudflare?

    2. After activating, did you try refreshing the page several times?

    3. Did you try activating with all other plugins disabled?

    4. What’s in your PHP error logs?

    Let me know please, thank you.

    with regards

    in reply to: Tip The Author Extension Deformating pages #12364
    alexg
    Keymaster

    Hello,

    Regarding the first issue, it sounds like some CSS is needed. If you want me to take a look, send me a link to the page.

    Regarding the second issue, the plugin tries to attach the UI to various custom post types, however this is not always possible. In the case of forums, there are usually specialized WordPress templates for displaying each forum/topic. You can try to use one of the following PHP tags in such a template:

    – The shortcode [wallets_tips]
    – The PHP tag <?php do_action( 'wallets_tips' ); ?>

    Use one of the above inside the HTML that draws the forum page.

    Hope this helps. Let me know if you have any questions or if you want me to look at your page’s CSS.

    with regards

    P.S. I have moved your post to the correct forum for this extension.

    in reply to: TRC20 and SOL tokens bug #12358
    alexg
    Keymaster

    Hello,

    Unfortunately tron and solana chains are not yet available. This is because I have not implemented gas management for these chains, only for BSC and Ethereum. Without gas management, deposits will get stuck.

    The cron job that creates Currencies from the CoinPayments settings skips any currencies except for main chain coins, and tokens on BSC or Ethereum.

    with regards

    alexg
    Keymaster

    Hello,

    Thank you for the logs. The issue is unrelated to your cache.

    The plugin is trying to lock the wallet after the withdrawals. But it is not encrypted, and for that reason the plugin is failing to lock the wallet. It then assumes that the withdrawal failed. I will patch this for the next release. Thank you for reporting this issue.

    It is not recommended to use an unencrypted wallet. It’s better to encrypt your wallet and give the passphrase to the plugin. This way, if the wallet file is stolen from your server, it cannot be opened, unless the attacker has also obtained the passphrase from the WordPress DB. If you set a passphrase this issue will not occur.

    You can use the “encryptwallet” CLI command to encrypt your wallet with a passphrase. Then, enter this passphrase in the wallet adapter.

    Regarding the negative balance arising from using the exchange: I will need a lot more information than that. Please open a new thread in the Exchange forum, or email me with more details.

    Was this a test you did? What trades did you perform? What do the user transactions look like, user trades, order history, etc.

    Thank you.

    with regards

    alexg
    Keymaster

    Oh no, this sounds rather serious. I’m sorry about that. I hope you only lost Litecoin testnet coins or a small amount of funds.

    Normally the plugin has protections against this kind of thing.

    Did you manage to gather logs? To do this, please enable logging in: Settings → Bitcoin and Altcoin Wallets → Cron tasks → Verbose logging. When a withdrawal next occurs, this is the log output that will tell us what happened.

    I have a theory for why this happened, but I’m not sure without looking at logs: The plugin first checks for sufficient balance, then proceeds to withdraw. If you got a negative balance out of this, then that means multiple cron tasks ran concurrently. Normally the plugin guards against this with semaphores: https://github.com/dashed-slug/wallets/blob/6.0.0-RC4/cron/abstract-task.php#L204-L220

    However the semaphores are implemented as transients. Depending on your cache settings, transients may be unreliable, and I may need to change them to options.

    Can you please tell me the following:

    1. Did the negative balance occur on the user who owns the withdrawal and for the currency of the withdrawal? Or is this an unrelated incident?

    2. Do you have verbose logs from a withdrawal run (while there are still funds to withdraw)?

    3. What server-side caching plugin do you use?

    You can “fix” the negative balance for the user if you create a new “deposit” or “move” transaction for that user (Transactions → New). The transaction needs to be created in two steps. First create and save the transaction with the desired user and currency, then set the amount to add to the user’s balance, and save again. However this will not return the funds to your site, it will only amend the user’s balance.

    Remember, this is an RC version and issues are to be expected. It’s not yet suitable for production. Thank you for reporting this.

    P.S. I have moved your post in a new thread since it is unrelated to your previous query.

    in reply to: Percentage fee is no longer possible? #12218
    alexg
    Keymaster

    Hello,

    In your example, the user cannot expect to withdraw 1 BTC, since their balance is only 0.995 BTC after the deposit fee paid to CoinPayments.

    As for the withdrawal fee, again, I still don’t see why it has to be proportional. The withdrawal fee imposed by CoinPayments is a fixed amount, not related to the transacted amount.

    Whether the CoinPayments fee is high or low is besides the point. The CoinPayments platform imposes this fee; you and I have no say on it, unfortunately.

    I hope to build more adapters that use different alternatives in the future, but some other things must happen beforehand.

    In the meantime, if a developer is interested in creating an alternative adapter and sell it, they can do so. I have provided all the necessary information on wallet adapter development and example code, and am happy to answer questions on how to do it.

    Please let me know if I am wrong about this.

    alexg
    Keymaster

    Hello,

    OK, good to hear that.

    By the time the next version is out, it will be possible to use the plugin along with other plugins that use the Parsedown library.

    with regards

Viewing 15 posts - 76 through 90 (of 2,199 total)