• Resolved fagnerguima

    (@fagnerguima)


    When I choose the date format DD/MM/YY on calendar appearance settings, i’m getting an error on checkout.

    ERROR: “The cut-off time for the selected date has expired. Please select another delivery date”.

    When I debug the error, I find the var $delivery_date has a 1970-01-01 date.

    File: order-delivery-date-for-woocommerce\includes\class-orddd-lite-process.php
    Line: 412
    Cause: the function wp_unslash() will not remove the “/” from string.

    Line: 413
    Cause: the function strtotime() will incorrectly work with string information DD/MM/YY.

Viewing 1 replies (of 1 total)
  • Plugin Support oluisrael

    (@oluisrael)

    Hi @fagnerguima I apologize for the delay in getting back to you. I couldn’t reproduce this issue on my end, so I’ll need you to assist by sharing screenshots of your delivery settings and any other thing that might help debug the issue.

    Can you also let me know the version of our plugin you’re running on your site?

Viewing 1 replies (of 1 total)
  • The topic ‘Error Cut-off time on checkout’ is closed to new replies.