Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • This update resolved the cart problem, but we ended up rolling back to version 4.18.4 because of a regression with the checkout page (payment options stopped loading).

    You mentioned reaching out to revolut support about that but since 4.18.4 is working OK the urgency is much lower.

    @jordiesimrev this update does solve the cart bug (cart loads successfully now), but seems to include a regression – Looks like the revolut payment methods no longer come through to the checkout page

    On my side I’ve done the usual quick check stuff, such as clearing cache, uninstalling/reinstalling the plugin, verifying the API key is valid (I switched and then re-registered it). I’m not seeing anything in the WP debug log after enabling it.

    Downgrading to version 4.18.4 solves both issues (if anybody needs a quick fix, that worked for me – find the previous versions here: https://wordpress.org/plugins/revolut-gateway-for-woocommerce/advanced/)

    Hello @jordiesimrev I am wondering if there is any further update on another release or perhaps instructions to disable whatever is causing the Cart page to fail to load

    I’m having a similar issue.

    If the “Enable/Disable – Enable Revolut Gateway – Credit/Debit Cards” checkbox is checked,

    Then the WooCommerce cart will always fail to load:

    Disabling the Revolut plugin or unchecking that box causes the cart to work once again.

    In my case, it’s a very plain WordPress/WooCommerce site with few plugins. We are using the “Twenty Twenty-Four” theme (and tried other default themes -> same result).

    There are no relevant wp-content/debug.log errors emitted when debugging is enabled.

    • This reply was modified 1 year, 3 months ago by zendev.
    Thread Starter zendev

    (@zendev)

    Wanted to report that the error remains unfixed in the latest version (Version 2.4.1). The fix for anybody seeing the error is either

    a) don’t let the most recent order be a cancelled order

    or

    b) Comment out line 143 and 144 of /wp-content/plugins/wpc-smart-notification/core/notification.php

    and then insert

    if ( $order instanceof WC_Order ) {
    $_name = $order->get_billing_first_name();
    $_address = $order->get_billing_city();
    } else {
    continue;
    }

    above what you commented out. You’ll have to do this again after updating the plugin until it’s fixed upstream.

    @kurtnuimage there is a commend on the Github for ‘Google for Woocommerce’ that explains how to get woocommerce_gla_disable_gtag_tracking working:

    https://github.com/woocommerce/google-listings-and-ads/issues/2465#issuecomment-2342869256

    Thread Starter zendev

    (@zendev)

    Ok, I think I got it, thanks for the reply. It seems like we will need to manually adjust the commissions when they arrive for now.

    Is it possible to make a feature request for something like this?

    I’d like to be able to set up a “rate sheet” based on Affiliate Group and then by Product Category.

    Something like:

    Slice WP -> Edit Affiliate Group -> Affiliate Group A:

    –> Mobile Phone Category: 5%
    –> Charging Accessories Category: 15%
    –> Phone Cases Category: Default%

    Slice WP -> Edit Affiliate Group -> Affiliate Group B:

    –> Mobile Phone Category: 0%
    –> Charging Accessories Category: 0%
    –> Phone Cases Category: 20%

    This would let our different affiliate groups be treated entirely differently.

    The business case for us is that we invite general affiliates, but with our partners we negotiate individual rates with them for each product.

    Thanks for considering,
    Zendev

    The plugin looks to see if the user has entered enough information to calculate shipping (such as their country or address). To disable this, edit the file wpc-free-shipping-bar.php file:

    Line 441:

    public function free_shipping_bar() {

    if ( some checks here to decide if it should display) {
    return;
    }

    In the above block of code, comment out ‘return’ with two forward slashes

    //return;

    Save the file and the shipping info will display.

    WPCreative can probably fix this if they allow you to set a “default” country before the user specifies a country or just by setting expectations in the plugin admin screens.

    • This reply was modified 2 years, 3 months ago by zendev.

    When calling the API Endpoint:

    https://domain.com/wp-json/wc/v3/products/attributes/1/terms

    The server returns:

    {"code":"internal_server_error","message":"<p>There has been a critical error on this website.<\/p><p><a href=\"https:\/\/wordpress.org\/documentation\/article\/faq-troubleshooting\/\">Learn more about troubleshooting WordPress.<\/a><\/p>","data":{"status":500},"additional_errors":[]}

    And this is logged to the PHP log:

    [14-Jun-2023 03:32:09 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Woo_Variation_Swatches_Backend::get_group() in /var/www/domain.com/wp-content/plugins/woo-variation-swatches/includes/class-woo-variation-swatches-wc-api-response.php:50
    Stack trace:
    #0 /var/www/domain.com/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(439): Woo_Variation_Swatches_WC_API_Response->get_additional_response()
    #1 /var/www/domain.com/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php(150): WP_REST_Controller->add_additional_fields_to_object()
    #2 /var/www/domain.com/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php(349): WC_REST_Product_Attribute_Terms_V1_Controller->prepare_item_for_response()
    #3 /var/www/domain.com/wp-includes/rest-api/class-wp-rest-server.php(1181): WC_REST_Terms_Controller->get_items()
    #4 /var/www/domain.com/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
    #5 /var/www/domain.com/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch()
    #6 /var/www/domain.com/wp-includes/rest-api.php(410): WP_REST_Server->serve_request()
    #7 /var/www/domain.com/wp-includes/class-wp-hook.php(308): rest_api_loaded()
    #8 /var/www/domain.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #9 /var/www/domain.com/wp-includes/plugin.php(565): WP_Hook->do_action()
    #10 /var/www/domain.com/wp-includes/class-wp.php(399): do_action_ref_array()
    #11 /var/www/domain.com/wp-includes/class-wp.php(780): WP->parse_request()
    #12 /var/www/domain.com/wp-includes/functions.php(1334): WP->main()
    #13 /var/www/domain.com/wp-blog-header.php(16): wp()
    #14 /var/www/domain.com/index.php(17): require('...')
    #15 {main}
      thrown in /var/www/domain.com/wp-content/plugins/woo-variation-swatches/includes/class-woo-variation-swatches-wc-api-response.php on line 50

    Disabling the plugin and trying again… no error.

Viewing 9 replies - 1 through 9 (of 9 total)