Looks like the ternary's values got swapped:

    'TRANSACTION_TYPE' => ($payment_method['settings']['txn_type'] == COMMERCE_CREDIT_AUTH_CAPTURE ? 'AUTH' : 'SALE'),

*_AUTH_CAPTURE should resolve to SALE and not AUTH.

Comments

nvahalik created an issue. See original summary.

nvahalik’s picture

  • nvahalik committed a6ee47d on 7.x-1.x
    Issue #2649572 by nvahalik: Amex and Discover configuration options do...
nvahalik’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.