/**
  * Validate the payment fields when processing the checkout
  *
  * @since 1.0
  * @see WC_Payment_Gateway::validate_fields()
  * @return bool true if fields are valid, false otherwise
  */
 public function validate_fields()
 {
     $is_valid = parent::validate_fields();
     // tokenized transaction with CSC required
     if ($this->supports_tokenization() && SV_WC_Helper::get_post('wc-' . $this->get_id_dasherized() . '-payment-token') && $this->csc_required()) {
         $csc = SV_WC_Helper::get_post('wc-' . $this->get_id_dasherized() . '-csc');
         $is_valid = $this->validate_csc($csc) && $is_valid;
     }
     return $is_valid;
 }