• Resolved spottedpaint

    (@spottedpaint)


    There seems to be a missing variable on the checkout page called $locale. In the file class/WC_Gateway_Clearpay/instalments.html.php

    <div
        id="clearpay-widget-container"
        data-locale="<?php echo esc_attr($locale); ?>"
        data-amount="<?php echo esc_attr($order_total); ?>"
        data-currency="<?php echo esc_attr($currency); ?>">
    </div>

    Its probably not relevant but I’m using WordPress 6.4.3 and Woocommerce 8.5.2

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

The topic ‘Undefined $locale variable Version 3.8.1’ is closed to new replies.