Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Andreas W.

    (@aweissinpsyde)

    Hallo rheinwebcom,

    kannst du uns bitte das Log File an [email protected] senden

    Vielen Dank

    Andreas

    Plugin Support Andreas W.

    (@aweissinpsyde)

    @rheinwebcom Ich werde das Ticket hier schlie?en, das dieses nun bei uns direkt im Support behandelt wird.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Dank rheinwebcom kann dieses Problem mit diesem Hook gel?st werden.

    add_action('template_redirect','woocommerce_endpoint_redirect');
    function woocommerce_endpoint_redirect(){
    $woocommerce_checkout_endpoints = array(
    'order-pay',
    'order-received',
    'add-payment-method',
    'delete-payment-method',
    'set-default-payment-method'
    );
    $request = $_SERVER['REQUEST_URI'];
    $request_array = explode('/', $request);
    if (in_array($request_array[1], $woocommerce_checkout_endpoints)){
    wp_redirect('/kasse'.$request);
    }
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 on order-pay slug’ is closed to new replies.