Support » Plugin: WooCommerce SagePay Direct Payment Gateway » Error on checkout

  • Resolved Frank Martin


    When logged in as admin checkout fails and doesn’t output any errors, works fine when logged out or logged in as a customer.

    When putting WP into debug mode i get the following PHP Notices:

    Notice: Undefined variable: cards in /wp-content/plugins/sagepay-direct-for-woocommerce-payment-gateway/ds-sagepay-direct.php on line 155

    Notice: Undefined property: DS_Sagepay_Direct::$validated in /wp-content/plugins/sagepay-direct-for-woocommerce-payment-gateway/ds-sagepay-direct.php on line 476

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author swicks



    Apologies only just picked this up.

    I’m unable to reproduce this issue on 0.1.4 or 0.1.5, what version of Woocommerce are you running?



    Sorry steve, it turns out this was a WooCommerce bug (wasn’t calling validate method on pay page). It’s been fixed in 2.0. Thanks for getting back to me.

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