Skip to content

Commit

Permalink
update URLs and massaging to Vantiv
Browse files Browse the repository at this point in the history
  • Loading branch information
VantivSDK committed Sep 18, 2017
1 parent ea29386 commit 2682217
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/code/local/Litle/CreditCard/Model/PaymentLogic.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function isFromVT($payment, $txnType)
$parentTxnId = $payment->getParentTransactionId();
if ($parentTxnId == 'Litle VT') {
Mage::throwException(
"This order was placed using Litle Virtual Terminal. Please process the $txnType by logging into Litle Virtual Terminal (https://reports.litle.com).");
"This order was placed using Litle Virtual Terminal. Please process the $txnType by logging into Litle Virtual Terminal (https://reports.iq.vantivcnp.com).");
}
}

Expand Down Expand Up @@ -584,11 +584,11 @@ public function handleResponseForNonSuccessfulBackendTransactions(Varien_Object
$this->showErrorForFailedTransaction($customerId, $orderId, $litleMessage, $litleResponse, $descriptiveMessage, $litleTxnId, Mage_Sales_Model_Order_Payment_Transaction::TYPE_REFUND);
}
elseif($litleResponseCode === '370') {
$descriptiveMessage = "Internal System Error - Call Litle. There is a problem with the Litle System. Contact support@litle.com and provide the following transaction id: " . $litleTxnId;
$descriptiveMessage = "Internal System Error - Call Vantiv. There is a problem with the Vantiv eCommerce System. Contact support@vantiv.com and provide the following transaction id: " . $litleTxnId;
$this->showErrorForFailedTransaction($customerId, $orderId, $litleMessage, $litleResponse, $descriptiveMessage, $litleTxnId, Mage_Sales_Model_Order_Payment_Transaction::TYPE_PAYMENT);
}
else {
$descriptiveMessage = "Transaction was not approved and Litle's Magento extension can not tell why. Contact Litle at support@litle.com and provide the following transaction id: " . $litleTxnId;
$descriptiveMessage = "Transaction was not approved and Vantiv's Magento extension can not tell why. Contact Vantiv at support@vantiv.com and provide the following transaction id: " . $litleTxnId;
$this->showErrorForFailedTransaction($customerId, $orderId, $litleMessage, $litleResponse, $descriptiveMessage, $litleTxnId, Mage_Sales_Model_Order_Payment_Transaction::TYPE_PAYMENT);
}

Expand Down

0 comments on commit 2682217

Please sign in to comment.