You are here

protected function StripeGateway::validateCvv in Ubercart Stripe 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Ubercart/PaymentMethod/StripeGateway.php \Drupal\uc_stripe\Plugin\Ubercart\PaymentMethod\StripeGateway::validateCvv()

Parameters

string $cvv:

Return value

bool

Overrides CreditCardPaymentMethodBase::validateCvv

File

src/Plugin/Ubercart/PaymentMethod/StripeGateway.php, line 381

Class

StripeGateway
Stripe Ubercart gateway payment method.

Namespace

Drupal\uc_stripe\Plugin\Ubercart\PaymentMethod

Code

protected function validateCvv($cvv) {

  // Do nothing - let Stripe validate the CVV
  return TRUE;
}