You are here

function commerce_cardonfile_load_credit_card_helpers in Commerce Card on File 7.2

Loads credit card helper functions in commerce_payment

2 calls to commerce_cardonfile_load_credit_card_helpers()
commerce_cardonfile_credit_card_types in ./commerce_cardonfile.module
Returns an associative array of credit card types.
commerce_cardonfile_validate_card_expiration in ./commerce_cardonfile.module
Validates the card expiration date.

File

./commerce_cardonfile.module, line 1038
Supports card on file functionality for credit card payment methods by associating card data reference IDs from payment gateways with user accounts.

Code

function commerce_cardonfile_load_credit_card_helpers() {
  static $loaded = FALSE;
  if (!$loaded) {
    $loaded = module_load_include('inc', 'commerce_payment', 'includes/commerce_payment.credit_card');
  }
}