• Hi.
    I have set my timezone in “America/Lima” in Settings > General in WordPress.

    My pending orders are saved with correct date (America/Lima) but the function called “wc_cancel_unpaid_orders” (who is the responsible of cancel pending orders) calculate a date incorrect, this function use current_time( ‘timestamp’ ), is this is the guilty.

    For example: Now in America/Lima it is 2016-10-25 12:16:00 (and my pending orders are saved with this date), but current_time( ‘timestamp’ ) says 2016-10-25 07:16:00 .. is wrong!

    Something am I doing wrong?

    PD: My variables in wp_option are: gmt_offset is empty, timezone_string is America/Lima

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Pending orders doesn’t canceled’ is closed to new replies.