Support » Plugin: WC Custom Thank You » Skips online payment by card

  • I have just GoPay payment by card in my eshop, but when I confirm order, eshop goes directly to thankyou page instead of to payment gateway. What is wrong? Thank you.

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


    I have solved this.
    Redirect condition changed to:
    if ( is_checkout() && ! empty( $wp->query_vars[‘order-received’] ) && empty( $wp->query_vars[‘order-pay’] )) {

Viewing 1 replies (of 1 total)
  • The topic ‘Skips online payment by card’ is closed to new replies.