/**
  * Handle authorization errors
  *
  * @since 1.0
  * @see SV_WC_Payment_Gateway_Direct::do_credit_card_capture()
  * @param $order WC_Order the order
  * @return SV_WC_Payment_Gateway_API_Response the response of the capture attempt
  */
 public function do_credit_card_capture($order)
 {
     $response = parent::do_credit_card_capture($order);
     if ($response && !$response->transaction_approved() && '10406' == $response->get_status_code()) {
         // mark the capture as invalid
         $this->update_order_meta($order->id, 'auth_can_be_captured', 'no');
     }
     return $response;
 }