updated the avs error message for the shop master
authorAndrew Engelbrecht <andrew@fsf.org>
Thu, 20 Aug 2020 16:58:37 +0000 (12:58 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Thu, 20 Aug 2020 16:58:37 +0000 (12:58 -0400)
https://rt.gnu.org/Ticket/Display.html?id=1564334

commerce_payment_tc.module

index 5dcc77390ad62e8df113652b7ac518f4ef9b82af..31bcb6e40bb07e0669e85b0dda19711d1a764cea 100644 (file)
@@ -190,7 +190,7 @@ function commerce_payment_tc_transaction($payment_method, $order, $charge, $resp
     $transaction->status = COMMERCE_PAYMENT_STATUS_FAILURE;
     commerce_payment_transaction_save($transaction);
     //https://vault.trustcommerce.com/downloads/TCDevGuide.html#Decline%20Type|outline
-    if ($response['declinetype']=='avs') drupal_set_message(t('The credit card charge failed, please verify that the "Card Owner" field matches the name on the card, and that the "Billing Address" matches the one set at your bank for that credit card'), 'error');
+    if ($response['declinetype']=='avs') drupal_set_message(t('The credit card charge failed, please verify that the "Full name" and other fields of your "Billing Address" match the info set at your bank for that credit card'), 'error');
     elseif ($response['declinetype']=='decline') drupal_set_message(t('The credit card was declined, please contact your bank.'), 'error');
     elseif ($response['declinetype']=='cvv') drupal_set_message(t('Your transaction was declined. Please check the correctness of your credit card information, including CC number, expiration date and CVV code.'), 'error');
     elseif ($response['declinetype']=='call') drupal_set_message(t('The credit card must be authorized manually over the phone, please contact your bank.'), 'error');