Support » Plugin: WC Custom Thank You » Custom Page after paiement

  • Hi, I activayed your plugin and proceed to buy a product. When Paiment page is active, then I click on the paiment button, and then I am not redirected to the credit card page paiement but to the command final page … No way to pay in that case. Any idea about this trouble ?

Viewing 1 replies (of 1 total)
  • Thread Starter resan

    (@resan)

    I modified the SW code to add a test on chekout and redirection to paiment page is now OK :
    if ( is_checkout() && ! empty( $wp->query_vars[‘order-received’] )) {
    if(empty( $wp->query_vars[‘order-pay’] )){

    but redirection to custom thank you page is failed.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Page after paiement’ is closed to new replies.