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 - 1,756 through 1,770 (of 2,212 total)
  • Author
    Posts
  • in reply to: TX fees missing in order #3869
    alexg
    Keymaster

    In version 1.2.1 of the WooCommerce Payment Gateway extension there is an option to switch fee payments on/off.

    This does NOT mean that the gateway can be used with multi-vendor plugins, since the cryptocurrency payment is sent to the one designated address, as discussed above.

    kind regards

    alexg
    Keymaster

    Hello,

    Hope you are well!

    Yes this should be possible, I will add this to the list 🙂

    kind regards

    in reply to: Cancelled and filled trades not clearing #3866
    alexg
    Keymaster

    For some public API endpoints there is a few-seconds cache based on transients. For example, if you check json-api.php you will see that some responses are cached for the amount of seconds specified by the wallets_exchange_memoize_seconds option.

    When there is no object cache installed, WordPress falls back to storing the transients on the options table. If there is an object cache installed the transients are stored on that. This is not the first time I see someone with an object cache experience problems with transients not expiring. After a quick search on the web it seems this is caused by misconfiguration of the object cache, although I’m not sure.

    To check, can you clear your W3 Total Cache, or memcached, or whatever it is you’re using? Does this refresh the output of the APIs?

    You should also be aware that DB rows of transients do not necessarily get deleted just because they are expired. WordPress does some garbage collection but it is not perfect, so third-party solutions exist to clear expired transients from the DB to save space. In any case, the WordPress transients API should not return expired transients even if they exist on the DB, assuming this is where they are stored on your system.

    I can always add a switch to disable cache, but we should at least have some idea of what is going on here. The question is why your transients are not expiring. For example, the transient that stores output of the get_market_summaries call is wallets_exchange_summaries and by default should be cached for 5 seconds.

    Please do let me know if you find anything about this.

    kind regards

    in reply to: Blockio DB Table in adapter #3865
    alexg
    Keymaster

    Thanks, your DB version seems pretty standard.

    I am still not sure how the enum column could cause this DB error, although I have searched the web and SO extensively.

    Can you confirm that 1. the error still occurs and 2. that it gets resolved when the only change you do, is to change the collation on the column to Utf8_bin?

    in reply to: WordPress Changelog typo #3861
    alexg
    Keymaster

    Thank you. This will be fixed.

    The correct place to look up the available shortcodes is this webpage and the Frontend section of the documentation.

    kind regards

    in reply to: Cancelled and filled trades not clearing #3860
    alexg
    Keymaster

    Yes, I already thought about this.

    The JSON API does indeed cache the data on WordPress transients, but only for a few seconds.

    Normally transients are stored on the options table in the database, but if you have a solution such as memcached installed, the transients can be stored there.

    Does clearing your server cache resolve your problem?

    in reply to: Plugin Overrides #3849
    alexg
    Keymaster

    Thanks Alex, will do and let you know. You have an account inside the system, when I’m done you should have a look 🙂

    in reply to: Plugin Overrides #3848
    alexg
    Keymaster

    Here’s some things that might help:

    1. Make sure you have the WordPress debug log enabled so you know what files the system looks for in case it cannot find them. You might need to debug the path.

    2. You can avoid hooking to the filter altogether, if you use the views_dir argument in your shortcode. This is implemented in 3.2.0 and is discussed in the documentation. It might allow you to do more tests quicker and easier.

    3. It could be some issue with the file permissions. Make sure that your files are readable by your webserver and that their directories are scannable (execute permission).

    4. You can, but you do not need the directory structure wallets/includes/views. Just call your directory anything, such as wallet_views.

    in reply to: Plugin Overrides #3847
    alexg
    Keymaster

    Nope:

    function my_wallets_views_dir_override( $dir ) {
    return get_stylesheet_directory_uri() . ‘/wallets/include/views/’;
    }
    add_filter( ‘wallets_views_dir’, ‘my_wallets_views_dir_override’ );

    I place list.php inside /wallets/includes/views/balance/ (in my child theme folder)

    does not work ..

    in reply to: display total user balances per coin #3846
    alexg
    Keymaster

    Cool, looking forward to it .. 🙂

    in reply to: Plugin Overrides #3844
    alexg
    Keymaster

    I believe you were looking at an old version of the documentation. In the latest version 3.5.6 the paths are already up-to-date.

    wp-content/plugins/wallets/includes/views/balance/default.php
    wp-content/plugins/wallets/includes/views/move/default.php
    wp-content/plugins/wallets/includes/views/deposit/default.php
    wp-content/plugins/wallets/includes/views/withdraw/default.php
    wp-content/plugins/wallets/includes/views/transactions/default.php
    wp-content/plugins/wallets/includes/views/account_value/default.php

    What is your question about the functions you posted?

    in reply to: How to create different pages for trading pairs #3843
    alexg
    Keymaster

    Yes, market volume and other market info will be displayable soon. This has already been requested by others and makes a lot of sense.

    kind regards

    in reply to: Cancelled and filled trades not clearing #3842
    alexg
    Keymaster

    This sounds like it could be due to the calls being cached.

    If so, I will fix this in the next patch.

    Does the problem resolve if you clear your browser’s cache?

    in reply to: display total user balances per coin #3841
    alexg
    Keymaster

    No, version 3.6.0 will be out in a few days.

    in reply to: Plugin Overrides #3835
    alexg
    Keymaster

    public function shortcode( $atts, $content = ”, $tag ) {
    $view = preg_replace( ‘/^wallets_/’, ”, $tag );

    $atts = shortcode_atts(
    array(
    ‘template’ => ‘default’,
    ‘views_dir’ => apply_filters( ‘wallets_views_dir’, __DIR__ . ‘/views’ ),
    ), $atts, “wallets_$view”
    );

Viewing 15 posts - 1,756 through 1,770 (of 2,212 total)