On line ~164 we see this:

if ($payment_method['settings']['txn_type'] == COMMERCE_CREDIT_AUTH_ONLY ... )

COMMERCE_CREDIT_AUTH_ONLY is the string 'authorize' but the txn_type value can only be one of:

      '#options' => array(
        'AUTH' => t('Authorization only'),
        'SALE' => t('Sale'),
      ),

These should be consistent.

Comments

nvahalik created an issue. See original summary.

  • nvahalik committed d2116d7 on 7.x-1.x
    Issue #2611844 by nvahalik: Transaction types are not consistent
    
nvahalik’s picture

Status: Active » Fixed
nvahalik’s picture

Version: » 7.x-1.0
nvahalik’s picture

Status: Fixed » Closed (fixed)