Version Notes
Extension provides the ability for merchants to process through the CardConnect Gateway.
Download this release
Release Info
Developer | Team FireGento |
Extension | CardconnectCcgateway |
Version | 1.0.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6.1
- app/code/community/Cardconnect/Ccgateway/Block/Adminhtml/Sales/Order/Invoice/Create/Items.php +0 -67
- app/code/community/Cardconnect/Ccgateway/Helper/Data.php +158 -111
- app/code/community/Cardconnect/Ccgateway/Model/Observer.php +41 -0
- app/code/community/Cardconnect/Ccgateway/Model/Standard.php +10 -5
- app/code/community/Cardconnect/Ccgateway/controllers/Adminhtml/Sales/Order/CreateController.php +61 -6
- app/code/community/Cardconnect/Ccgateway/controllers/PaymentController.php +2 -1
- app/code/community/Cardconnect/Ccgateway/etc/config.xml +10 -1
- app/design/adminhtml/default/default/template/ccgateway/form.phtml +19 -12
- package.xml +8 -8
app/code/community/Cardconnect/Ccgateway/Block/Adminhtml/Sales/Order/Invoice/Create/Items.php
CHANGED
@@ -53,73 +53,6 @@ class Cardconnect_Ccgateway_Block_Adminhtml_Sales_Order_Invoice_Create_Items ext
|
|
53 |
return $html;
|
54 |
}
|
55 |
|
56 |
-
// Check the Capture status for a current order
|
57 |
-
public function isCaptureAllowed(){
|
58 |
-
$order = $this->getOrder();
|
59 |
-
$orderId = $order->increment_id;
|
60 |
-
|
61 |
-
$collection = Mage::getModel('cardconnect_ccgateway/cardconnect_resp')->getCollection()
|
62 |
-
->addFieldToFilter('CC_ORDERID', array('eq' => $orderId))
|
63 |
-
->addFieldToSelect('CC_ACTION');
|
64 |
-
|
65 |
-
$cc_action = array();
|
66 |
-
foreach ($collection as $data) {
|
67 |
-
$cc_action[] = $data->getData('CC_ACTION');
|
68 |
-
}
|
69 |
-
if (in_array("authorize_capture", $cc_action) || in_array("Capture", $cc_action)) {
|
70 |
-
$c_status = false;
|
71 |
-
}else{
|
72 |
-
$c_status = true;
|
73 |
-
}
|
74 |
-
|
75 |
-
return $c_status;
|
76 |
-
}
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Check capture availability
|
82 |
-
*
|
83 |
-
* @return bool
|
84 |
-
*/
|
85 |
-
/* public function canCapture() {
|
86 |
-
$order = $this->getOrder();
|
87 |
-
if ($this->getConfigData('checkout_trans' , $order->getStoreId()) == "authorize_capture") {
|
88 |
-
$_canCapture = false;
|
89 |
-
} else {
|
90 |
-
$_canCapture = true;
|
91 |
-
}
|
92 |
-
|
93 |
-
return $_canCapture;
|
94 |
-
}
|
95 |
-
*/
|
96 |
-
|
97 |
-
/**
|
98 |
-
* Retrieve information from payment configuration
|
99 |
-
*
|
100 |
-
* @param string $field
|
101 |
-
* @param int|string|null|Mage_Core_Model_Store $storeId
|
102 |
-
*
|
103 |
-
* @return mixed
|
104 |
-
*/
|
105 |
-
/* public function getConfigData($field, $storeId = null)
|
106 |
-
{
|
107 |
-
if (null === $storeId) {
|
108 |
-
if (Mage::app()->getStore()->getCode() == Mage_Core_Model_Store::ADMIN_CODE) {
|
109 |
-
$storeId = Mage::getSingleton('adminhtml/session_quote')->getStoreId();
|
110 |
-
} else {
|
111 |
-
$storeId = $this->getStore();
|
112 |
-
}
|
113 |
-
}
|
114 |
-
$path = 'payment/ccgateway/'.$field;
|
115 |
-
|
116 |
-
$myLogMessage = "CC Config Data Service : ". __FILE__ . " @ " . __LINE__ ." Path: ".$path." Store Id: ".$storeId;
|
117 |
-
Mage::log($myLogMessage, Zend_Log::INFO , "cc.log" );
|
118 |
-
|
119 |
-
return Mage::getStoreConfig($path, $storeId);
|
120 |
-
}
|
121 |
-
|
122 |
-
*/
|
123 |
|
124 |
}
|
125 |
|
53 |
return $html;
|
54 |
}
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
}
|
58 |
|
app/code/community/Cardconnect/Ccgateway/Helper/Data.php
CHANGED
@@ -37,118 +37,165 @@ class Cardconnect_Ccgateway_Helper_Data extends Mage_Payment_Helper_Data {
|
|
37 |
}
|
38 |
return Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
|
39 |
}
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
public function matchResponseError($respErrorCode){
|
43 |
|
44 |
$errorList = array("PPS11" => "Invalid card",
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
|
153 |
if (array_key_exists($respErrorCode, $errorList)) {
|
154 |
$message = $errorList[ $respErrorCode ];
|
@@ -156,10 +203,10 @@ class Cardconnect_Ccgateway_Helper_Data extends Mage_Payment_Helper_Data {
|
|
156 |
$message = "The order has been canceled.";
|
157 |
}
|
158 |
|
159 |
-
|
160 |
return $message;
|
161 |
}
|
162 |
-
|
163 |
}
|
164 |
|
165 |
?>
|
37 |
}
|
38 |
return Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
|
39 |
}
|
40 |
+
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Check auto void for AVS and CVV fails
|
44 |
+
*/
|
45 |
+
public function checkAutoVoidStatus($order, $avsResp, $cvvResp){
|
46 |
+
|
47 |
+
$statCVV = true; // false = Failure, true = Success
|
48 |
+
$statAVS = true; // false = Failure, true = Success
|
49 |
+
$voidOnAvs = Mage::getModel('ccgateway/standard')->getConfigData('void_avs' , $order->getStoreId());
|
50 |
+
$voidOnCvv = Mage::getModel('ccgateway/standard')->getConfigData('void_cvv' , $order->getStoreId());
|
51 |
+
// Check config setting if void on cvv is yes
|
52 |
+
if ($voidOnCvv == 1) {
|
53 |
+
if ($cvvResp == "N") {
|
54 |
+
$statCVV = false;
|
55 |
+
$errorStat = "CVV";
|
56 |
+
} else {
|
57 |
+
$statCVV = true;
|
58 |
+
}
|
59 |
+
}
|
60 |
+
// Check config setting if void on Avs is yes
|
61 |
+
if ($voidOnAvs == 1) {
|
62 |
+
if ($avsResp == "N") {
|
63 |
+
$statAVS = false;
|
64 |
+
$errorStat = "AVS";
|
65 |
+
} else {
|
66 |
+
$statAVS = true;
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
+
$status = array('STATUS_AVS' => $statAVS, 'STATUS_CVV' => $statCVV, 'STATUS_ERROR' => $errorStat);
|
71 |
+
|
72 |
+
return $status;
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Cancel the order
|
77 |
+
*/
|
78 |
+
public function cancelCcOrder($order){
|
79 |
+
try{
|
80 |
+
$orderModel = Mage::getModel('sales/order');
|
81 |
+
$orderModel->loadByIncrementId($order->getIncrementId());
|
82 |
+
$orderModel->cancel();
|
83 |
+
$orderModel->save();
|
84 |
+
} catch (Mage_Core_Exception $e) {
|
85 |
+
Mage::getSingleton('core/session')->addError($e->getMessage());
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
public function matchResponseError($respErrorCode){
|
90 |
|
91 |
$errorList = array("PPS11" => "Invalid card",
|
92 |
+
"PPS12" => "Invalid track",
|
93 |
+
"PPS13" => "Bad card check digit",
|
94 |
+
"PPS14" => "Non-numeric CVV",
|
95 |
+
"PPS15" => "Non-numeric expiry",
|
96 |
+
"PPS16" => "Card expired",
|
97 |
+
"PPS17" => "Invalid zip",
|
98 |
+
"PPS19" => "CardDefense Decline",
|
99 |
+
"PPS23" => "No auth queue",
|
100 |
+
"PPS31" => "Invalid currency",
|
101 |
+
"PPS32" => "Wrong currency for merch",
|
102 |
+
"PPS33" => "Unknown card type",
|
103 |
+
"PPS35" => "No postal code",
|
104 |
+
"PPS37" => "CVV mismatch",
|
105 |
+
"PPS41" => "Below min amount",
|
106 |
+
"PPS42" => "Above max amount",
|
107 |
+
"PPS43" => "Invalid amount",
|
108 |
+
"PPS61" => "Line down",
|
109 |
+
"PPS62" => "Timed out",
|
110 |
+
"PPS91" => "No TokenSecure",
|
111 |
+
"PPS92" => "No Merchant table",
|
112 |
+
"PPS93" => "No Database",
|
113 |
+
"FNOR05" => "Do not honor",
|
114 |
+
"FNOR12" => "Invalid transaction",
|
115 |
+
"FNOR13" => "Invalid amount",
|
116 |
+
"FNOR14" => "Invalid card number",
|
117 |
+
"FNOR28" => "Please retry",
|
118 |
+
"FNOR51" => "Declined",
|
119 |
+
"FNOR54" => "Wrong expiration",
|
120 |
+
"FNOR61" => "Exceeds withdrawal limit",
|
121 |
+
"FNOR63" => "Service not allowed",
|
122 |
+
"FNOR89" => "Invalid Term ID",
|
123 |
+
"FNORC2" => "CVV decline",
|
124 |
+
"FNORN3" => "Invalid Account",
|
125 |
+
"FNORNU" => "Insufficient funds",
|
126 |
+
"MNS04" => "Pick up card",
|
127 |
+
"MNS05" => "Do not honor",
|
128 |
+
"MNS07" => "Suspected fraud",
|
129 |
+
"MNS13" => "Invalid amount",
|
130 |
+
"MNS14" => "Invalid card number",
|
131 |
+
"MNS15" => "No such card issuer",
|
132 |
+
"MNS19" => "Re-enter transaction",
|
133 |
+
"MNS34" => "Suspected fraud",
|
134 |
+
"MNS41" => "Card reported lost",
|
135 |
+
"MNS43" => "Card reported stolen",
|
136 |
+
"MNS51" => "Insufficient funds",
|
137 |
+
"MNS54" => "Wrong expiration",
|
138 |
+
"MNS65" => "Activity limit exceeded",
|
139 |
+
"MNS82" => "CVV incorrect",
|
140 |
+
"MNS99" => "Decline",
|
141 |
+
"PMT000" => "System Down",
|
142 |
+
"PMT200" => "Auth network down",
|
143 |
+
"PMT201" => "Invalid CC number",
|
144 |
+
"PMT202" => "Bad amount",
|
145 |
+
"PMT203" => "Zero amount",
|
146 |
+
"PMT233" => "Card does not match type",
|
147 |
+
"PMT238" => "Invalid currency",
|
148 |
+
"PMT239" => "Invalid card for merchant",
|
149 |
+
"PMT243" => "Invalid Level 3 field",
|
150 |
+
"PMT302" => "Insufficient funds",
|
151 |
+
"PMT303" => "Processor decline",
|
152 |
+
"PMT304" => "Invalid card",
|
153 |
+
"PMT501" => "Pickup card",
|
154 |
+
"PMT502" => "Card reported lost",
|
155 |
+
"PMT503" => "Fraud",
|
156 |
+
"PMT521" => "Insufficient funds",
|
157 |
+
"PMT522" => "Card expired",
|
158 |
+
"PMT530" => "Do not honor",
|
159 |
+
"PMT531" => "CVV mismatch",
|
160 |
+
"PMT591" => "Invalid card number",
|
161 |
+
"PMT592" => "Bad amount",
|
162 |
+
"PMT605" => "Invalid expiry date",
|
163 |
+
"PMT607" => "Invalid amount",
|
164 |
+
"PMT903" => "Invalid expiry",
|
165 |
+
"PMT904" => "Card not active",
|
166 |
+
"VPS04" => "Pick up card",
|
167 |
+
"VPS05" => "Do not honor",
|
168 |
+
"VPS07" => "Suspected fraud",
|
169 |
+
"VPS13" => "Invalid amount",
|
170 |
+
"VPS14" => "Invalid card number",
|
171 |
+
"VPS19" => "Re-enter transaction",
|
172 |
+
"VPS23" => "Bad fee amount",
|
173 |
+
"VPS28" => "File temporarily unavailable",
|
174 |
+
"VPS34" => "Suspected fraud",
|
175 |
+
"VPS41" => "Card reported lost",
|
176 |
+
"VPS43" => "Card reported stolen",
|
177 |
+
"VPS51" => "Insufficient funds",
|
178 |
+
"VPS54" => "Wrong expiration",
|
179 |
+
"VPS61" => "Exceeds withdrawal limit",
|
180 |
+
"VPS65" => "Activity limit exceeded",
|
181 |
+
"VPS82" => "CVV incorrect",
|
182 |
+
"VPS96" => "System malfunction",
|
183 |
+
"VPSN7" => "CVV mismatch",
|
184 |
+
"AMEX100" => "Decline",
|
185 |
+
"AMEX101" => "Expired card",
|
186 |
+
"AMEX103" => "CID failed",
|
187 |
+
"AMEX105" => "Card cancelled",
|
188 |
+
"AMEX110" => "Invalid amount",
|
189 |
+
"AMEX111" => "Invalid card",
|
190 |
+
"AMEX122" => "Invalid CID",
|
191 |
+
"AMEX182" => "Try later",
|
192 |
+
"AMEX200" => "Pick up card",
|
193 |
+
"PSTR02" => "Declined",
|
194 |
+
"PSTR06" => "AVS_Declined",
|
195 |
+
"PSTR07" => "CCVS_Declined",
|
196 |
+
"PSTR08" => "Expired"
|
197 |
+
|
198 |
+
);
|
199 |
|
200 |
if (array_key_exists($respErrorCode, $errorList)) {
|
201 |
$message = $errorList[ $respErrorCode ];
|
203 |
$message = "The order has been canceled.";
|
204 |
}
|
205 |
|
206 |
+
|
207 |
return $message;
|
208 |
}
|
209 |
+
|
210 |
}
|
211 |
|
212 |
?>
|
app/code/community/Cardconnect/Ccgateway/Model/Observer.php
CHANGED
@@ -48,6 +48,47 @@ class Cardconnect_Ccgateway_Model_Observer
|
|
48 |
return;
|
49 |
}
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
}
|
53 |
|
48 |
return;
|
49 |
}
|
50 |
|
51 |
+
public function implementOrderStatus($event)
|
52 |
+
{
|
53 |
+
$order = $event->getOrder();
|
54 |
+
|
55 |
+
$checkout_trans = Mage::getModel('ccgateway/standard')->getConfigData('checkout_trans', $order->getStoreId());
|
56 |
+
if ($checkout_trans == "authorize_capture") {
|
57 |
+
if ($this->_getPaymentMethod($order) == 'ccgateway') {
|
58 |
+
if ($order->canInvoice())
|
59 |
+
$this->_processOrderStatus($order);
|
60 |
+
}
|
61 |
+
}
|
62 |
+
|
63 |
+
return $this;
|
64 |
+
}
|
65 |
+
|
66 |
+
private function _getPaymentMethod($order)
|
67 |
+
{
|
68 |
+
return $order->getPayment()->getMethodInstance()->getCode();
|
69 |
+
}
|
70 |
+
|
71 |
+
private function _processOrderStatus($order)
|
72 |
+
{
|
73 |
+
$invoice = $order->prepareInvoice();
|
74 |
+
$invoice->register()->capture();
|
75 |
+
Mage::getModel('core/resource_transaction')
|
76 |
+
->addObject($invoice)
|
77 |
+
->addObject($invoice->getOrder())
|
78 |
+
->save();
|
79 |
+
|
80 |
+
$invoice->sendEmail(true, '');
|
81 |
+
$this->_changeOrderStatus($order);
|
82 |
+
return true;
|
83 |
+
}
|
84 |
+
|
85 |
+
private function _changeOrderStatus($order)
|
86 |
+
{
|
87 |
+
$statusMessage = '';
|
88 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true);
|
89 |
+
$order->save();
|
90 |
+
}
|
91 |
+
|
92 |
|
93 |
}
|
94 |
|
app/code/community/Cardconnect/Ccgateway/Model/Standard.php
CHANGED
@@ -399,15 +399,20 @@ class Cardconnect_Ccgateway_Model_Standard extends Mage_Payment_Model_Method_Abs
|
|
399 |
|
400 |
// Save Partial Authorization Response data
|
401 |
$this->saveResponseData($response);
|
402 |
-
|
403 |
-
|
|
|
|
|
|
|
|
|
|
|
404 |
}
|
405 |
} else {
|
406 |
$myLogMessage = "CC Authorization : ". __FILE__ . " @ " . __LINE__ ." ".$cc->getLastErrorMessage();
|
407 |
Mage::log($myLogMessage, Zend_Log::ERR , "cc.log" );
|
408 |
|
409 |
// Set custom order status
|
410 |
-
$order->setState(Mage_Sales_Model_Order::
|
411 |
$response= array('resptext' => "CardConnect_Error");
|
412 |
|
413 |
}
|
@@ -544,14 +549,14 @@ class Cardconnect_Ccgateway_Model_Standard extends Mage_Payment_Model_Method_Abs
|
|
544 |
|
545 |
if (empty($action)) {
|
546 |
// Set custom order status
|
547 |
-
$order->setState(Mage_Sales_Model_Order::
|
548 |
}
|
549 |
} else {
|
550 |
$myLogMessage = "CC Void : ". __FILE__ . " @ " . __LINE__ ." ".$cc->getLastErrorMessage();
|
551 |
Mage::log($myLogMessage, Zend_Log::ERR , "cc.log" );
|
552 |
|
553 |
// Set custom order status
|
554 |
-
$order->setState(Mage_Sales_Model_Order::
|
555 |
|
556 |
$errorMsg = "Unable to perform operation. Please consult the Magento log for additional information.";
|
557 |
Mage::throwException($errorMsg);
|
399 |
|
400 |
// Save Partial Authorization Response data
|
401 |
$this->saveResponseData($response);
|
402 |
+
if($response['respcode']==00){
|
403 |
+
// Set custom order status
|
404 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'cardconnect_processing', $response['resptext'])->save();
|
405 |
+
}else{
|
406 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'cardconnect_reject', $response['resptext'])->save();
|
407 |
+
$response= array('resptext' => "CardConnect_Error");
|
408 |
+
}
|
409 |
}
|
410 |
} else {
|
411 |
$myLogMessage = "CC Authorization : ". __FILE__ . " @ " . __LINE__ ." ".$cc->getLastErrorMessage();
|
412 |
Mage::log($myLogMessage, Zend_Log::ERR , "cc.log" );
|
413 |
|
414 |
// Set custom order status
|
415 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'cardconnect_reject', "Invalid response from CardConnect.")->save();
|
416 |
$response= array('resptext' => "CardConnect_Error");
|
417 |
|
418 |
}
|
549 |
|
550 |
if (empty($action)) {
|
551 |
// Set custom order status
|
552 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'cardconnect_void', $response['resptext'])->save();
|
553 |
}
|
554 |
} else {
|
555 |
$myLogMessage = "CC Void : ". __FILE__ . " @ " . __LINE__ ." ".$cc->getLastErrorMessage();
|
556 |
Mage::log($myLogMessage, Zend_Log::ERR , "cc.log" );
|
557 |
|
558 |
// Set custom order status
|
559 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'cardconnect_reject', "Invalid response from CardConnect.")->save();
|
560 |
|
561 |
$errorMsg = "Unable to perform operation. Please consult the Magento log for additional information.";
|
562 |
Mage::throwException($errorMsg);
|
app/code/community/Cardconnect/Ccgateway/controllers/Adminhtml/Sales/Order/CreateController.php
CHANGED
@@ -83,18 +83,17 @@ class Cardconnect_Ccgateway_Adminhtml_Sales_Order_CreateController extends Mage_
|
|
83 |
->setIsValidate(true)
|
84 |
->importPostData($this->getRequest()->getPost('order'))
|
85 |
->createOrder();
|
86 |
-
|
87 |
-
/* Check Payment Method for Authorization on Reorder */
|
88 |
$payment_method_code = $order->getPayment()->getMethodInstance()->getCode();
|
|
|
89 |
|
|
|
90 |
if (!empty($order) && $payment_method_code == "ccgateway") {
|
91 |
-
$
|
92 |
-
Mage::getModel('ccgateway/standard')->authService($order, $amount, "authFull");
|
93 |
}
|
94 |
|
95 |
|
96 |
-
$this->_getSession()->clear();
|
97 |
-
Mage::getSingleton('adminhtml/session')->addSuccess($this->__('The order has been created.'));
|
98 |
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) {
|
99 |
$this->_redirect('*/sales_order/view', array('order_id' => $order->getId()));
|
100 |
} else {
|
@@ -119,4 +118,60 @@ class Cardconnect_Ccgateway_Adminhtml_Sales_Order_CreateController extends Mage_
|
|
119 |
}
|
120 |
}
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
83 |
->setIsValidate(true)
|
84 |
->importPostData($this->getRequest()->getPost('order'))
|
85 |
->createOrder();
|
86 |
+
|
87 |
+
/* Check Payment Method for Authorization on Reorder */
|
88 |
$payment_method_code = $order->getPayment()->getMethodInstance()->getCode();
|
89 |
+
$this->_getSession()->clear();
|
90 |
|
91 |
+
// make payment if payment method is ccgateway
|
92 |
if (!empty($order) && $payment_method_code == "ccgateway") {
|
93 |
+
$this->makeCcPayment($order);
|
|
|
94 |
}
|
95 |
|
96 |
|
|
|
|
|
97 |
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) {
|
98 |
$this->_redirect('*/sales_order/view', array('order_id' => $order->getId()));
|
99 |
} else {
|
118 |
}
|
119 |
}
|
120 |
|
121 |
+
|
122 |
+
/**
|
123 |
+
* Call authorization service and check AVS, CVV fails check
|
124 |
+
*/
|
125 |
+
|
126 |
+
protected function makeCcPayment($order){
|
127 |
+
$amount = number_format($order->getBaseGrandTotal(), 2, '.', '');
|
128 |
+
$response = Mage::getModel('ccgateway/standard')->authService($order, $amount, "authFull");
|
129 |
+
$errorStat = $response['respproc'] . $response['respcode'];
|
130 |
+
|
131 |
+
if($response['resptext']=="CardConnect_Error"){
|
132 |
+
// Cancel the order if authorization service fails
|
133 |
+
Mage::helper('ccgateway')->cancelCcOrder($order);
|
134 |
+
$errorMsg = Mage::helper('ccgateway')->matchResponseError($errorStat);
|
135 |
+
// Set custom order status
|
136 |
+
$order->setState(Mage_Sales_Model_Order::STATE_CANCELED, 'cardconnect_reject', $errorMsg)->save();
|
137 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('ccgateway')->__('We are unable to perform the requested action, please contact customer service.'));
|
138 |
+
}else{
|
139 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'cardconnect_processing', 'Gateway has authorized the payment.');
|
140 |
+
$autoVoidStatus = Mage::helper('ccgateway')->checkAutoVoidStatus($order, $response['avsresp'], $response['cvvresp']);
|
141 |
+
if (($autoVoidStatus["STATUS_AVS"] && $autoVoidStatus["STATUS_CVV"]) == false) {
|
142 |
+
$voidResponse = Mage::getModel('ccgateway/standard')->voidService($order);
|
143 |
+
if($voidResponse['respcode'] == '00' ){
|
144 |
+
// Cancel the order if Auto void success
|
145 |
+
Mage::helper('ccgateway')->cancelCcOrder($order);
|
146 |
+
|
147 |
+
$errorMsg = "";
|
148 |
+
if ($autoVoidStatus["STATUS_ERROR"] == "CVV") {
|
149 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('ccgateway')->__('Error - Invalid cvv , Please check cvv information,which is entered on payment page.'));
|
150 |
+
$errorMsg = "CVV does not match.";
|
151 |
+
$myLogMessage = "CC Admin Authorization : ". __FILE__ . " @ " . __LINE__ ." Auto voided the transaction Due to CVV NO MATCH";
|
152 |
+
Mage::log($myLogMessage, Zend_Log::ERR , "cc.log" );
|
153 |
+
} elseif ($autoVoidStatus["STATUS_ERROR"] == "AVS") {
|
154 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('ccgateway')->__('Error - Please check billing information , try again.'));
|
155 |
+
$errorMsg = "AVS does not match.";
|
156 |
+
$myLogMessage = "CC Admin Authorization : ". __FILE__ . " @ " . __LINE__ ." Auto voided the transaction Due to AVS NO MATCH";
|
157 |
+
Mage::log($myLogMessage, Zend_Log::ERR , "cc.log" );
|
158 |
+
} else {
|
159 |
+
$errorMsg = Mage::helper('ccgateway')->matchResponseError($errorStat);
|
160 |
+
$myLogMessage = "CC Admin Authorization : ". __FILE__ . " @ " . __LINE__ ." ".$errorStat . " :- " . $errorMsg;
|
161 |
+
Mage::log($myLogMessage, Zend_Log::ERR , "cc.log" );
|
162 |
+
}
|
163 |
+
}
|
164 |
+
$order->setState(Mage_Sales_Model_Order::STATE_CANCELED, 'cardconnect_reject', $errorMsg)->save();
|
165 |
+
|
166 |
+
}else{
|
167 |
+
Mage::getSingleton('adminhtml/session')->addSuccess($this->__('The order has been created.'));
|
168 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'cardconnect_processing', "Successfully order placed via CardConnect.")->save();
|
169 |
+
}
|
170 |
+
|
171 |
+
}
|
172 |
+
|
173 |
+
}
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
}
|
app/code/community/Cardconnect/Ccgateway/controllers/PaymentController.php
CHANGED
@@ -260,7 +260,8 @@ class Cardconnect_Ccgateway_PaymentController extends Mage_Core_Controller_Front
|
|
260 |
$session = $this->_getCheckout();
|
261 |
$order = Mage::getModel('sales/order');
|
262 |
$order->loadByIncrementId($session->getLastRealOrderId());
|
263 |
-
|
|
|
264 |
if ($quoteId = $session->getCcgatewayQuoteId()) {
|
265 |
$quote = Mage::getModel('sales/quote')->load($quoteId);
|
266 |
if ($quote->getId()) {
|
260 |
$session = $this->_getCheckout();
|
261 |
$order = Mage::getModel('sales/order');
|
262 |
$order->loadByIncrementId($session->getLastRealOrderId());
|
263 |
+
|
264 |
+
Mage::helper('ccgateway')->cancelCcOrder($order);
|
265 |
if ($quoteId = $session->getCcgatewayQuoteId()) {
|
266 |
$quote = Mage::getModel('sales/quote')->load($quoteId);
|
267 |
if ($quote->getId()) {
|
app/code/community/Cardconnect/Ccgateway/etc/config.xml
CHANGED
@@ -35,7 +35,7 @@ to license@magentocommerce.com so we can send you a copy immediately.
|
|
35 |
<config>
|
36 |
<modules>
|
37 |
<Cardconnect_Ccgateway>
|
38 |
-
<version>1.0.
|
39 |
</Cardconnect_Ccgateway>
|
40 |
</modules>
|
41 |
<global>
|
@@ -127,6 +127,15 @@ to license@magentocommerce.com so we can send you a copy immediately.
|
|
127 |
</ccgateway>
|
128 |
</observers>
|
129 |
</controller_action_postdispatch_checkout_onepage_savePayment>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
</events>
|
131 |
|
132 |
<sales>
|
35 |
<config>
|
36 |
<modules>
|
37 |
<Cardconnect_Ccgateway>
|
38 |
+
<version>1.0.6.1</version>
|
39 |
</Cardconnect_Ccgateway>
|
40 |
</modules>
|
41 |
<global>
|
127 |
</ccgateway>
|
128 |
</observers>
|
129 |
</controller_action_postdispatch_checkout_onepage_savePayment>
|
130 |
+
<sales_order_place_after>
|
131 |
+
<observers>
|
132 |
+
<ccgateway>
|
133 |
+
<type>singleton</type>
|
134 |
+
<class>ccgateway/observer</class>
|
135 |
+
<method>implementOrderStatus</method>
|
136 |
+
</ccgateway>
|
137 |
+
</observers>
|
138 |
+
</sales_order_place_after>
|
139 |
</events>
|
140 |
|
141 |
<sales>
|
app/design/adminhtml/default/default/template/ccgateway/form.phtml
CHANGED
@@ -29,16 +29,20 @@
|
|
29 |
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
30 |
*/
|
31 |
?>
|
|
|
|
|
|
|
|
|
32 |
<fieldset class="form-list">
|
33 |
<?php $_code = $this->getMethodCode();
|
34 |
-
|
35 |
-
|
36 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
37 |
-
<?php if ($this->getCheckoutType() == "payment_page") { ?>
|
38 |
<li>
|
39 |
<?php echo Mage::helper('ccgateway')->__('You will be redirected to CardConnect website when you place an order.') ?>
|
40 |
</li>
|
41 |
-
<?php } else { ?>
|
42 |
|
43 |
<li>
|
44 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
@@ -51,26 +55,29 @@
|
|
51 |
<label for="<?php echo $_code ?>_cc_type" class="required validate-cc-type "><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
52 |
<div class="input-box">
|
53 |
|
54 |
-
<select id="ccgateway_cc_type" name="payment[cc_type]" title="<?php echo $this->__('Credit Card Type') ?>" class="required-entry validate-select">
|
55 |
<option value=""><?php echo $this->__('--Please Select--') ?></option>
|
56 |
<?php $_ccType = $this->getInfoData('cc_type'); ?>
|
57 |
<?php foreach ($this->getCcTypes() as $ccType): ?>
|
58 |
-
<option value="<?php echo $ccType['value']; ?>"<?php if ($ccType['value'] == $_ccType): ?> selected="selected"<?php endif ?>><?php echo $ccType['label']; ?></option>
|
59 |
<?php endforeach ?>
|
60 |
</select>
|
61 |
</div>
|
62 |
-
</li>
|
63 |
|
64 |
<li>
|
65 |
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
66 |
<div class="input-box">
|
67 |
-
<input type="text"
|
68 |
<input type="hidden" id="<?php // echo $_code ?>ccgateway_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text" value="<?php echo $this->getInfoData('cc_number')?>" />
|
69 |
-
|
70 |
</div>
|
71 |
-
|
72 |
-
</li>
|
73 |
<li><div id="response"></div></li>
|
|
|
|
|
|
|
74 |
|
75 |
<li>
|
76 |
<label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
|
@@ -100,7 +107,7 @@
|
|
100 |
<div class="v-fix">
|
101 |
<input type="text" onkeypress="javascript:return validate(event , 'ccgateway_cc_cid' ); blockNonNumbers(this, event, false, false)" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry" id="ccgateway_cc_cid" name="payment[cc_cid]" value="<?php echo $this->getInfoData('cc_cid') ?>" />
|
102 |
</div>
|
103 |
-
<!-- <a href="#" class="cvv-what-is-this"><?php // echo $this->__('What is this?') ?></a> -->
|
104 |
</div>
|
105 |
</li>
|
106 |
|
29 |
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
30 |
*/
|
31 |
?>
|
32 |
+
<style>
|
33 |
+
#fade{ width:100%; height:100%; background:rgba(0,0,0,0.1); position:fixed; top:0px; left:0px; display:none;}
|
34 |
+
.loader{position:absolute; top:80%; left:50%;}
|
35 |
+
</style>
|
36 |
<fieldset class="form-list">
|
37 |
<?php $_code = $this->getMethodCode();
|
38 |
+
$isTestMode = $this->isTransactionModeTest();
|
39 |
+
?>
|
40 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
41 |
+
<?php if ($this->getCheckoutType() == "payment_page") { ?>
|
42 |
<li>
|
43 |
<?php echo Mage::helper('ccgateway')->__('You will be redirected to CardConnect website when you place an order.') ?>
|
44 |
</li>
|
45 |
+
<?php } else { ?>
|
46 |
|
47 |
<li>
|
48 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
55 |
<label for="<?php echo $_code ?>_cc_type" class="required validate-cc-type "><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
56 |
<div class="input-box">
|
57 |
|
58 |
+
<select id="ccgateway_cc_type" name="payment[cc_type]" title="<?php echo $this->__('Credit Card Type') ?>" class="required-entry validate-select" onchange="resetcardinfo();">
|
59 |
<option value=""><?php echo $this->__('--Please Select--') ?></option>
|
60 |
<?php $_ccType = $this->getInfoData('cc_type'); ?>
|
61 |
<?php foreach ($this->getCcTypes() as $ccType): ?>
|
62 |
+
<option value="<?php echo $ccType['value']; ?>"<?php if ($ccType['value'] == $_ccType): ?> selected="selected"<?php endif ?>><?php echo $ccType['label']; ?></option>
|
63 |
<?php endforeach ?>
|
64 |
</select>
|
65 |
</div>
|
66 |
+
</li>
|
67 |
|
68 |
<li>
|
69 |
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
70 |
<div class="input-box">
|
71 |
+
<input type="text" onchange="valid_credit_card(value, '<?php echo $isTestMode; ?>')" onkeypress="javascript:return validate(event , 'ccgateway_cc_number_org'); blockNonNumbers(this, event, false, false)" id="ccgateway_cc_number_org" name="payment[cc_number_org]" title="<?php echo $this->__('Credit Card Number') ?>" maxlength="16" class="input-text required-entry" value="<?php if($this->getInfoData('cc_number')){ echo substr_replace($this->getInfoData('cc_number'), str_repeat('*', 12), 0, 12); } ?>" />
|
72 |
<input type="hidden" id="<?php // echo $_code ?>ccgateway_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text" value="<?php echo $this->getInfoData('cc_number')?>" />
|
73 |
+
<div class="validation-advice" id="testError" style="display: none;"></div>
|
74 |
</div>
|
75 |
+
|
76 |
+
</li>
|
77 |
<li><div id="response"></div></li>
|
78 |
+
<div id="fade" style="display:none;">
|
79 |
+
<div id="loading_box" class="loader"></div>
|
80 |
+
</div>
|
81 |
|
82 |
<li>
|
83 |
<label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
|
107 |
<div class="v-fix">
|
108 |
<input type="text" onkeypress="javascript:return validate(event , 'ccgateway_cc_cid' ); blockNonNumbers(this, event, false, false)" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry" id="ccgateway_cc_cid" name="payment[cc_cid]" value="<?php echo $this->getInfoData('cc_cid') ?>" />
|
109 |
</div>
|
110 |
+
<!-- <a href="#" class="cvv-what-is-this"><?php // echo $this->__('What is this?') ?></a> -->
|
111 |
</div>
|
112 |
</li>
|
113 |
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>CardconnectCcgateway</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
10 |
-
<description>
|
11 |
-
<notes>
|
12 |
-
<authors><author><name>
|
13 |
-
<date>2015-07-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Cardconnect"><dir name="Ccgateway"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Cardtype.php" hash="4c6fd9bc202c33e88f515349e1cd6905"/><file name="Checkouttype.php" hash="4185650bfb5e2a872f1db890d5971fd0"/><file name="Transaction.php" hash="dc2fd1f6b45f1e2a53495017d443b1d2"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Addcard.php" hash="a36241555adfc297c65baa365c627696"/><dir name="Adminhtml"><dir name="Customer"><file name="Data.php" hash="355316bbd2d959b04d26f732c64ca9a2"/><dir name="Edit"><dir name="Tab"><file name="Account.php" hash="c1b27f91036c483ae39685602f9f2633"/></dir></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Create"><file name="Form.php" hash="b1988d1db38e0f2b3d88ef6e829f9f6e"/><file name="Items.php" hash="15bf4862d806f944138e306960417050"/></dir><dir name="View"><file name="Form.php" hash="f0f8634c1f0033330eab4da031e3770c"/></dir></dir><dir name="Invoice"><dir name="Create"><file name="Form.php" hash="ad294ba34400cfe291187306e554af46"/><file name="Items.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>CardconnectCcgateway</name>
|
4 |
+
<version>1.0.6.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Extension provides the ability for merchants to process through the CardConnect Gateway. </summary>
|
10 |
+
<description>The CardConnect solution is a powerful extension used for payment processing in eCommerce. We provide the option to process a payment through the Hosted Payment Page or Direct Post, in a safe and secure way. We also provide the ability of a wallet function which allows merchants to add/edit/delete card holder data for future payments. All Customer information is stored in a secured way; and allows Customers to make a secure payment as well. Please see the Integration Guide here for steps to install: http://cdn.cardconnect.com/docs/collateral/Magento-Integration_Guide_v1.2.pdf</description>
|
11 |
+
<notes>Extension provides the ability for merchants to process through the CardConnect Gateway.</notes>
|
12 |
+
<authors><author><name>AgileNova</name><user>Team</user><email>matt.wixson@agilenova.com</email></author></authors>
|
13 |
+
<date>2015-07-28</date>
|
14 |
+
<time>12:37:53</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Cardconnect"><dir name="Ccgateway"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Cardtype.php" hash="4c6fd9bc202c33e88f515349e1cd6905"/><file name="Checkouttype.php" hash="4185650bfb5e2a872f1db890d5971fd0"/><file name="Transaction.php" hash="dc2fd1f6b45f1e2a53495017d443b1d2"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Addcard.php" hash="a36241555adfc297c65baa365c627696"/><dir name="Adminhtml"><dir name="Customer"><file name="Data.php" hash="355316bbd2d959b04d26f732c64ca9a2"/><dir name="Edit"><dir name="Tab"><file name="Account.php" hash="c1b27f91036c483ae39685602f9f2633"/></dir></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Create"><file name="Form.php" hash="b1988d1db38e0f2b3d88ef6e829f9f6e"/><file name="Items.php" hash="15bf4862d806f944138e306960417050"/></dir><dir name="View"><file name="Form.php" hash="f0f8634c1f0033330eab4da031e3770c"/></dir></dir><dir name="Invoice"><dir name="Create"><file name="Form.php" hash="ad294ba34400cfe291187306e554af46"/><file name="Items.php" hash="b6424138e3ad39e2300319c02c32beae"/></dir><dir name="View"><file name="Form.php" hash="68a9a8435e67fe3e9d8f2f80e2c8d892"/></dir></dir><dir name="Shipment"><dir name="Create"><file name="Form.php" hash="f327b0f3fc5ef3dcb506dbeffd00ec8f"/></dir><dir name="View"><file name="Form.php" hash="6e56e053843082a99896cf93b2de93f3"/></dir></dir><dir name="View"><dir name="Tab"><file name="Info.php" hash="5e30f132a5180278bb13a3c20a92081a"/></dir></dir></dir></dir></dir><file name="Cardmanagement.php" hash="28867ca0604f6cd74060c4aa5de98553"/><file name="Form.php" hash="5c92b69b370998bb3b873ffb4484ec09"/><file name="Info.php" hash="3c47b946295f2cf51acd9e7e841a7f77"/><dir name="Onepage"><file name="Billing.php" hash="2bf341d653420e82e44bd15711c01abe"/></dir><file name="Redirect.php" hash="90c95f26953ee79d3d8f03f5cb664a41"/></dir><dir name="Helper"><file name="Data.php" hash="fde5ab8b9f2c54111accef0f62fcb9bf"/></dir><dir name="Model"><dir name="Cardconnect"><file name="Resp.php" hash="d96c58ed0636097348f7020d529708bb"/><file name="Wallet.php" hash="d271c1cea34fce819e2eed1b2f06b3a8"/></dir><file name="Observer.php" hash="47f4413d34a0c1c7d8e07d41c7b1f8eb"/><dir name="Resource"><dir name="Cardconnect"><dir name="Resp"><file name="Collection.php" hash="454a1ad0ebe24f3af523001fd285e8f3"/></dir><file name="Resp.php" hash="fd67df66591d46cfb8399029bf02015c"/><dir name="Wallet"><file name="Collection.php" hash="2b7040940b22f2934df94c5779c44c81"/></dir><file name="Wallet.php" hash="b7254cf020d5ac4bfdce636692be896a"/></dir></dir><file name="Standard.php" hash="9b39edf8fa02bfd639a96a41fb591c3a"/><file name="cardconnect_webservice.php" hash="693b2bf76ec0ff58ec4f7980b12ee074"/></dir><dir name="blocks"><file name="billing.phtml" hash="ad81f6b3f396ddfb9c2c2e43f3b2d3eb"/><dir name="creditmemo"><dir name="create"><file name="form.phtml" hash="f88e763be7a99551c9f54354672d4551"/></dir><dir name="view"><file name="form.phtml" hash="d4d1a1402ae9bb9c0811786aa9795e38"/></dir></dir><file name="info.phtml" hash="bf0898675acdf232a9b54ddf89c7e248"/><dir name="invoice"><dir name="create"><file name="form.phtml" hash="9203de0089224e123aa8ad7bbb0f0f23"/><file name="items.phtml" hash="393419bf1ff4555f39e37deee2c7794f"/></dir><dir name="view"><file name="form.phtml" hash="1cb3c24f93138f5871b571260f48d1bc"/></dir></dir><dir name="shipment"><dir name="create"><file name="form.phtml" hash="f227f013e1410a82c1ffbad757e0e8de"/></dir><dir name="view"><file name="form.phtml" hash="be5ea3d6fa7277cb77785e92a9275b44"/></dir></dir></dir><dir name="cc_keys"><file name="cacert.pem" hash="060fd410fecfc10d9c229b941868090c"/><file name=".htaccess" hash="d6a6f4184696bd7c56ae76973ec3489a"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="CreateController.php" hash="d151271d5da6a24c7bd7da24022a6348"/></dir><file name="OrderController.php" hash="39546076c91c5069420a614f12f7e79f"/></dir></dir><file name="CardmanagementController.php" hash="e18bb5127241bc30200dfa201361a190"/><file name="PaymentController.php" hash="58c4e0717307107aa73912faed2e9b18"/></dir><dir name="etc"><file name="config.xml" hash="da899d25701dc39e634c8b712a6f03d7"/><file name="system.xml" hash="b931b80be0fac76b5adeb481e8bd6e3d"/></dir><dir name="sql"><dir name="cardconnect_ccgateway_setup"><file name="install-1.0.0.php" hash="53714977ae574b3ede0b3701c271a42f"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cardconnect_Ccgateway.xml" hash="eac8d5ee15ec6943fefc4dbbdef74671"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ccgateway.xml" hash="354ffbd902833eaa7c7af1a847cb230f"/></dir><dir name="template"><dir name="ccgateway"><file name="form.phtml" hash="2b12652e827ba54f046d383ed9a7fbb0"/><file name="info.phtml" hash="296b8e5284fa15e1ed0d771bb5a6b644"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ccgateway.xml" hash="4752e242b9f6bd6d8e8dfa69f2e8b8c5"/></dir><dir name="template"><dir name="ccgateway"><file name="blank.phtml" hash="b11f3718962eb7574970bd346f2105aa"/><dir name="cardmanagement"><file name="editcard.phtml" hash="2aa4b7b3972908e268189a603957c3f2"/><file name="index.phtml" hash="32f863e7bd2c3c05ac6aefab63283154"/><file name="new.phtml" hash="ce08646f609cce75445a03bf9821c227"/></dir><file name="form.phtml" hash="1ade6fdd45536141701d98fc547ce9cd"/><file name="info.phtml" hash="c107ff370b915cd6cc0bf49c1a36363b"/><file name="redirect.phtml" hash="4b3964b41e6e55bf54039f758e74560e"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="cardconnect"><file name="cardconnect.gif" hash="b0ccf9c7446efd2bb6b65eadd98a3fde"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="cardconnect.css" hash="eb4c6d523d8e0b694c9231648a389a7e"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="cardconnect"><file name="ccgateway.js" hash="b3e32c34bd87cc8b377081b81714b54a"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|