Version Notes
3D Secure transactions redirected to an outer ACS page rather than using iframe. System log file contains transaction specific result details.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Iridiumcorp_Tpg |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.5.1
- app/code/local/Iridiumcorp/Checkout/Model/Type/Onepage.php +0 -258
- app/code/local/Iridiumcorp/Tpg/Model/Direct.php +24 -38
- app/code/local/Iridiumcorp/Tpg/controllers/PaymentController.php +3 -6
- app/design/frontend/default/default/template/tpg/form.phtml +3 -0
- package.xml +4 -4
- skin/frontend/default/default/images/iridium_corporation.jpg +0 -0
app/code/local/Iridiumcorp/Checkout/Model/Type/Onepage.php
CHANGED
@@ -71,262 +71,4 @@ class Iridiumcorp_Checkout_Model_Type_Onepage extends Mage_Checkout_Model_Type_O
|
|
71 |
|
72 |
return $this;
|
73 |
}
|
74 |
-
|
75 |
-
/**
|
76 |
-
* Finalising a 3D Secure transaction payment
|
77 |
-
*
|
78 |
-
* @param string $PaRes
|
79 |
-
* @param string $MD
|
80 |
-
* @return unknown
|
81 |
-
*/
|
82 |
-
public function saveOrderAfter3DSecure($PaRes, $MD)
|
83 |
-
{
|
84 |
-
$this->validateOrder();
|
85 |
-
$billing = $this->getQuote()->getBillingAddress();
|
86 |
-
|
87 |
-
if (!$this->getQuote()->isVirtual())
|
88 |
-
{
|
89 |
-
$shipping = $this->getQuote()->getShippingAddress();
|
90 |
-
}
|
91 |
-
|
92 |
-
switch ($this->getQuote()->getCheckoutMethod())
|
93 |
-
{
|
94 |
-
case 'guest':
|
95 |
-
$this->getQuote()->setCustomerEmail($billing->getEmail())
|
96 |
-
->setCustomerIsGuest(true)
|
97 |
-
->setCustomerGroupId(Mage_Customer_Model_Group::NOT_LOGGED_IN_ID);
|
98 |
-
break;
|
99 |
-
default:
|
100 |
-
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
101 |
-
|
102 |
-
if (!$billing->getCustomerId() ||
|
103 |
-
$billing->getSaveInAddressBook())
|
104 |
-
{
|
105 |
-
$customerBilling = $billing->exportCustomerAddress();
|
106 |
-
$customer->addAddress($customerBilling);
|
107 |
-
}
|
108 |
-
if (!$this->getQuote()->isVirtual() &&
|
109 |
-
((!$shipping->getCustomerId() && !$shipping->getSameAsBilling()) ||
|
110 |
-
(!$shipping->getSameAsBilling() && $shipping->getSaveInAddressBook())))
|
111 |
-
{
|
112 |
-
$customerShipping = $shipping->exportCustomerAddress();
|
113 |
-
$customer->addAddress($customerShipping);
|
114 |
-
}
|
115 |
-
|
116 |
-
$customer->setSavedFromQuote(true);
|
117 |
-
$customer->save();
|
118 |
-
|
119 |
-
$changed = false;
|
120 |
-
if (isset($customerBilling) &&
|
121 |
-
!$customer->getDefaultBilling())
|
122 |
-
{
|
123 |
-
$customer->setDefaultBilling($customerBilling->getId());
|
124 |
-
$changed = true;
|
125 |
-
}
|
126 |
-
|
127 |
-
if (!$this->getQuote()->isVirtual() &&
|
128 |
-
isset($customerBilling) &&
|
129 |
-
!$customer->getDefaultShipping() &&
|
130 |
-
$shipping->getSameAsBilling())
|
131 |
-
{
|
132 |
-
$customer->setDefaultShipping($customerBilling->getId());
|
133 |
-
$changed = true;
|
134 |
-
}
|
135 |
-
elseif (!$this->getQuote()->isVirtual() &&
|
136 |
-
isset($customerShipping) &&
|
137 |
-
!$customer->getDefaultShipping())
|
138 |
-
{
|
139 |
-
$customer->setDefaultShipping($customerShipping->getId());
|
140 |
-
$changed = true;
|
141 |
-
}
|
142 |
-
|
143 |
-
if ($changed)
|
144 |
-
{
|
145 |
-
$customer->save();
|
146 |
-
}
|
147 |
-
}
|
148 |
-
|
149 |
-
// make sure that the order id is not incremented for the second phase of a 3D Secure transaction
|
150 |
-
//$this->getQuote()->reserveOrderId();
|
151 |
-
|
152 |
-
$convertQuote = Mage::getModel('sales/convert_quote');
|
153 |
-
if ($this->getQuote()->isVirtual())
|
154 |
-
{
|
155 |
-
$order = $convertQuote->addressToOrder($billing);
|
156 |
-
}
|
157 |
-
else
|
158 |
-
{
|
159 |
-
$order = $convertQuote->addressToOrder($shipping);
|
160 |
-
}
|
161 |
-
|
162 |
-
$order->setBillingAddress($convertQuote->addressToOrderAddress($billing));
|
163 |
-
|
164 |
-
if (!$this->getQuote()->isVirtual())
|
165 |
-
{
|
166 |
-
$order->setShippingAddress($convertQuote->addressToOrderAddress($shipping));
|
167 |
-
}
|
168 |
-
|
169 |
-
$order->setPayment($convertQuote->paymentToOrderPayment($this->getQuote()->getPayment()));
|
170 |
-
|
171 |
-
foreach ($this->getQuote()->getAllItems() as $item)
|
172 |
-
{
|
173 |
-
$order->addItem($convertQuote->itemToOrderItem($item));
|
174 |
-
}
|
175 |
-
|
176 |
-
/**
|
177 |
-
* We can use configuration data for declare new order status
|
178 |
-
*/
|
179 |
-
Mage::dispatchEvent('checkout_type_onepage_save_order', array('order'=>$order, 'quote'=>$this->getQuote()));
|
180 |
-
|
181 |
-
Mage::getSingleton('checkout/session')->setSecure3d(true);
|
182 |
-
Mage::getSingleton('checkout/session')->setMd($MD);
|
183 |
-
Mage::getSingleton('checkout/session')->setPares($PaRes);
|
184 |
-
|
185 |
-
$order->place();
|
186 |
-
|
187 |
-
if ($order->getPayment()->getMethodInstance()->getCode()=="tpg" &&
|
188 |
-
$order->getStatus() != 'pending' )
|
189 |
-
{
|
190 |
-
#set it as pending
|
191 |
-
#get the xml configuration ($this)
|
192 |
-
#$order_status = 'pending';
|
193 |
-
|
194 |
-
$order_status = Mage::getStoreConfig('payment/tpg/order_status', Mage::app()->getStore()->getId());
|
195 |
-
|
196 |
-
$order->addStatusToHistory($order_status);
|
197 |
-
$order->setStatus($order_status);
|
198 |
-
}
|
199 |
-
|
200 |
-
$order->save();
|
201 |
-
|
202 |
-
Mage::dispatchEvent('checkout_type_onepage_save_order_after', array('order'=>$order, 'quote'=>$this->getQuote()));
|
203 |
-
|
204 |
-
$this->getQuote()->setIsActive(false);
|
205 |
-
$this->getQuote()->save();
|
206 |
-
|
207 |
-
$orderId = $order->getIncrementId();
|
208 |
-
$this->getCheckout()->setLastQuoteId($this->getQuote()->getId());
|
209 |
-
$this->getCheckout()->setLastOrderId($order->getId());
|
210 |
-
$this->getCheckout()->setLastRealOrderId($order->getIncrementId());
|
211 |
-
|
212 |
-
if ($this->getQuote()->getCheckoutMethod()=='register')
|
213 |
-
{
|
214 |
-
Mage::getSingleton('customer/session')->loginById($customer->getId());
|
215 |
-
}
|
216 |
-
|
217 |
-
return $this;
|
218 |
-
}
|
219 |
-
|
220 |
-
/**
|
221 |
-
* Completing the order on the Mage system after a Hosted Payment (save the updated order)
|
222 |
-
*
|
223 |
-
*/
|
224 |
-
public function saveOrderAfterHostedPayment()
|
225 |
-
{
|
226 |
-
$this->validateOrder();
|
227 |
-
|
228 |
-
// get the order from the billing or the shipping details
|
229 |
-
$billing = $this->getQuote()->getBillingAddress();
|
230 |
-
if (!$this->getQuote()->isVirtual())
|
231 |
-
{
|
232 |
-
$shipping = $this->getQuote()->getShippingAddress();
|
233 |
-
}
|
234 |
-
|
235 |
-
switch ($this->getQuote()->getCheckoutMethod())
|
236 |
-
{
|
237 |
-
case 'guest':
|
238 |
-
$this->getQuote()->setCustomerEmail($billing->getEmail())
|
239 |
-
->setCustomerIsGuest(true)
|
240 |
-
->setCustomerGroupId(Mage_Customer_Model_Group::NOT_LOGGED_IN_ID);
|
241 |
-
break;
|
242 |
-
default:
|
243 |
-
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
244 |
-
|
245 |
-
if (!$billing->getCustomerId() ||
|
246 |
-
$billing->getSaveInAddressBook())
|
247 |
-
{
|
248 |
-
$customerBilling = $billing->exportCustomerAddress();
|
249 |
-
$customer->addAddress($customerBilling);
|
250 |
-
}
|
251 |
-
if (!$this->getQuote()->isVirtual() &&
|
252 |
-
((!$shipping->getCustomerId() && !$shipping->getSameAsBilling()) || (!$shipping->getSameAsBilling() && $shipping->getSaveInAddressBook())))
|
253 |
-
{
|
254 |
-
$customerShipping = $shipping->exportCustomerAddress();
|
255 |
-
$customer->addAddress($customerShipping);
|
256 |
-
}
|
257 |
-
|
258 |
-
$customer->setSavedFromQuote(true);
|
259 |
-
$customer->save();
|
260 |
-
|
261 |
-
$changed = false;
|
262 |
-
if (isset($customerBilling) &&
|
263 |
-
!$customer->getDefaultBilling())
|
264 |
-
{
|
265 |
-
$customer->setDefaultBilling($customerBilling->getId());
|
266 |
-
$changed = true;
|
267 |
-
}
|
268 |
-
|
269 |
-
if (!$this->getQuote()->isVirtual() &&
|
270 |
-
isset($customerBilling) &&
|
271 |
-
!$customer->getDefaultShipping() &&
|
272 |
-
$shipping->getSameAsBilling())
|
273 |
-
{
|
274 |
-
$customer->setDefaultShipping($customerBilling->getId());
|
275 |
-
$changed = true;
|
276 |
-
}
|
277 |
-
elseif (!$this->getQuote()->isVirtual() &&
|
278 |
-
isset($customerShipping) &&
|
279 |
-
!$customer->getDefaultShipping())
|
280 |
-
{
|
281 |
-
$customer->setDefaultShipping($customerShipping->getId());
|
282 |
-
$changed = true;
|
283 |
-
}
|
284 |
-
|
285 |
-
if ($changed)
|
286 |
-
{
|
287 |
-
$customer->save();
|
288 |
-
}
|
289 |
-
}
|
290 |
-
|
291 |
-
$convertQuote = Mage::getModel('sales/convert_quote');
|
292 |
-
if ($this->getQuote()->isVirtual())
|
293 |
-
{
|
294 |
-
$order = $convertQuote->addressToOrder($billing);
|
295 |
-
}
|
296 |
-
else
|
297 |
-
{
|
298 |
-
$order = $convertQuote->addressToOrder($shipping);
|
299 |
-
}
|
300 |
-
|
301 |
-
$order->setBillingAddress($convertQuote->addressToOrderAddress($billing));
|
302 |
-
|
303 |
-
if (!$this->getQuote()->isVirtual())
|
304 |
-
{
|
305 |
-
$order->setShippingAddress($convertQuote->addressToOrderAddress($shipping));
|
306 |
-
}
|
307 |
-
|
308 |
-
$order->setPayment($convertQuote->paymentToOrderPayment($this->getQuote()->getPayment()));
|
309 |
-
|
310 |
-
foreach ($this->getQuote()->getAllItems() as $item)
|
311 |
-
{
|
312 |
-
$order->addItem($convertQuote->itemToOrderItem($item));
|
313 |
-
}
|
314 |
-
|
315 |
-
/**
|
316 |
-
* We can use configuration data for declare new order status
|
317 |
-
*/
|
318 |
-
Mage::dispatchEvent('checkout_type_onepage_save_order', array('order'=>$order, 'quote'=>$this->getQuote()));
|
319 |
-
|
320 |
-
$order->save();
|
321 |
-
Mage::dispatchEvent('checkout_type_onepage_save_order_after', array('order'=>$order, 'quote'=>$this->getQuote()));
|
322 |
-
|
323 |
-
$this->getQuote()->setIsActive(false);
|
324 |
-
$this->getQuote()->save();
|
325 |
-
|
326 |
-
$this->getCheckout()->setLastQuoteId($this->getQuote()->getId())
|
327 |
-
->setLastOrderId($order->getId())
|
328 |
-
->setLastRealOrderId($order->getIncrementId());
|
329 |
-
|
330 |
-
return $this;
|
331 |
-
}
|
332 |
}
|
71 |
|
72 |
return $this;
|
73 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
}
|
app/code/local/Iridiumcorp/Tpg/Model/Direct.php
CHANGED
@@ -107,42 +107,29 @@ class Iridiumcorp_Tpg_Model_Direct extends Mage_Payment_Model_Method_Abstract
|
|
107 |
}
|
108 |
else
|
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 |
-
$this->_runTransaction($payment, $amount);
|
134 |
-
break;
|
135 |
-
case Iridiumcorp_Tpg_Model_Source_PaymentMode::PAYMENT_MODE_HOSTED_PAYMENT_FORM:
|
136 |
-
$this->_redirectTransaction($payment, $amount);
|
137 |
-
break;
|
138 |
-
case Iridiumcorp_Tpg_Model_Source_PaymentMode::PAYMENT_MODE_TRANSPARENT_REDIRECT:
|
139 |
-
$this->_transparentRedirectTransaction($payment, $amount);
|
140 |
-
break;
|
141 |
-
default:
|
142 |
-
Mage::throwException('Invalid payment type: '.$this->getConfigData('mode'));
|
143 |
-
break;
|
144 |
-
}
|
145 |
-
}
|
146 |
}
|
147 |
|
148 |
return $this;
|
@@ -586,7 +573,7 @@ class Iridiumcorp_Tpg_Model_Direct extends Mage_Payment_Model_Method_Abstract
|
|
586 |
* @param string $szPaRes
|
587 |
* @param string $szMD
|
588 |
*/
|
589 |
-
public function _run3DSecureTransaction(
|
590 |
{
|
591 |
$szOrderID = Mage::getSingleton('checkout/session')->getLastRealOrderId();
|
592 |
|
@@ -626,7 +613,6 @@ class Iridiumcorp_Tpg_Model_Direct extends Mage_Payment_Model_Method_Abstract
|
|
626 |
{
|
627 |
case 0:
|
628 |
// status code of 0 - means transaction successful
|
629 |
-
//PaymentFormHelper::reportTransactionResults($CrossReference, $tdsarThreeDSecureAuthenticationResult->getStatusCode(), $tdsarThreeDSecureAuthenticationResult->getMessage(), $todTransactionOutputData->getCrossReference());
|
630 |
$GLOBALS['m_bo3DSecureError'] = false;
|
631 |
$szLogMessage = "3D Secure transaction successfully completed for OrderID: ".$szOrderID.". Result object details: ";
|
632 |
break;
|
107 |
}
|
108 |
else
|
109 |
{
|
110 |
+
// reset the 3DS properties for a fresh payment request
|
111 |
+
Mage::getSingleton('checkout/session')
|
112 |
+
->setMd(null)
|
113 |
+
->setAcsurl(null)
|
114 |
+
->setPareq(null)
|
115 |
+
->setTermurl(null);
|
116 |
+
|
117 |
+
// run a fresh payment request
|
118 |
+
switch ($this->getConfigData('mode'))
|
119 |
+
{
|
120 |
+
case Iridiumcorp_Tpg_Model_Source_PaymentMode::PAYMENT_MODE_DIRECT_API:
|
121 |
+
$this->_runTransaction($payment, $amount);
|
122 |
+
break;
|
123 |
+
case Iridiumcorp_Tpg_Model_Source_PaymentMode::PAYMENT_MODE_HOSTED_PAYMENT_FORM:
|
124 |
+
$this->_redirectTransaction($payment, $amount);
|
125 |
+
break;
|
126 |
+
case Iridiumcorp_Tpg_Model_Source_PaymentMode::PAYMENT_MODE_TRANSPARENT_REDIRECT:
|
127 |
+
$this->_transparentRedirectTransaction($payment, $amount);
|
128 |
+
break;
|
129 |
+
default:
|
130 |
+
Mage::throwException('Invalid payment type: '.$this->getConfigData('mode'));
|
131 |
+
break;
|
132 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
}
|
134 |
|
135 |
return $this;
|
573 |
* @param string $szPaRes
|
574 |
* @param string $szMD
|
575 |
*/
|
576 |
+
public function _run3DSecureTransaction($szPaRes, $szMD)
|
577 |
{
|
578 |
$szOrderID = Mage::getSingleton('checkout/session')->getLastRealOrderId();
|
579 |
|
613 |
{
|
614 |
case 0:
|
615 |
// status code of 0 - means transaction successful
|
|
|
616 |
$GLOBALS['m_bo3DSecureError'] = false;
|
617 |
$szLogMessage = "3D Secure transaction successfully completed for OrderID: ".$szOrderID.". Result object details: ";
|
618 |
break;
|
app/code/local/Iridiumcorp/Tpg/controllers/PaymentController.php
CHANGED
@@ -72,7 +72,7 @@ class Iridiumcorp_Tpg_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
72 |
$szMD = $this->getRequest()->getPost('MD');
|
73 |
|
74 |
// complete the 3D Secure transaction with the 3D Authorization result
|
75 |
-
Mage::getSingleton('
|
76 |
}
|
77 |
catch (Exception $exc)
|
78 |
{
|
@@ -197,8 +197,7 @@ class Iridiumcorp_Tpg_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
197 |
switch ($formVariables['StatusCode'])
|
198 |
{
|
199 |
case "0":
|
200 |
-
|
201 |
-
|
202 |
Mage::log("Hosted Payment Form transaction successfully completed. Transaction details: ".print_r($formVariables, 1));
|
203 |
Mage::getSingleton('core/session')->addSuccess("Payment Processor Response: ".$formVariables['Message']);
|
204 |
$this->_redirect('checkout/onepage/success');
|
@@ -377,9 +376,7 @@ class Iridiumcorp_Tpg_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
377 |
switch ($formVariables['StatusCode'])
|
378 |
{
|
379 |
case "0":
|
380 |
-
// TODO :
|
381 |
-
Mage::getSingleton('checkout/type_onepage')->saveOrderAfterHostedPayment();
|
382 |
-
|
383 |
Mage::log("Transparent Redirect transaction successfully completed. Transaction details: ".print_r($formVariables, 1));
|
384 |
Mage::getSingleton('core/session')->addSuccess("Payment Processor Response: ".$formVariables['Message']);
|
385 |
$this->_redirect('checkout/onepage/success');
|
72 |
$szMD = $this->getRequest()->getPost('MD');
|
73 |
|
74 |
// complete the 3D Secure transaction with the 3D Authorization result
|
75 |
+
Mage::getSingleton('tpg/direct')->_run3DSecureTransaction($szPaRes, $szMD);
|
76 |
}
|
77 |
catch (Exception $exc)
|
78 |
{
|
197 |
switch ($formVariables['StatusCode'])
|
198 |
{
|
199 |
case "0":
|
200 |
+
// TODO : maybe to update the order processing status in the Magento backend
|
|
|
201 |
Mage::log("Hosted Payment Form transaction successfully completed. Transaction details: ".print_r($formVariables, 1));
|
202 |
Mage::getSingleton('core/session')->addSuccess("Payment Processor Response: ".$formVariables['Message']);
|
203 |
$this->_redirect('checkout/onepage/success');
|
376 |
switch ($formVariables['StatusCode'])
|
377 |
{
|
378 |
case "0":
|
379 |
+
// TODO : maybe to update the order processing status in the Magento backend
|
|
|
|
|
380 |
Mage::log("Transparent Redirect transaction successfully completed. Transaction details: ".print_r($formVariables, 1));
|
381 |
Mage::getSingleton('core/session')->addSuccess("Payment Processor Response: ".$formVariables['Message']);
|
382 |
$this->_redirect('checkout/onepage/success');
|
app/design/frontend/default/default/template/tpg/form.phtml
CHANGED
@@ -3,6 +3,9 @@
|
|
3 |
<fieldset class="form-list">
|
4 |
<?php $_code=$this->getMethodCode() ?>
|
5 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
|
|
|
|
|
|
6 |
<li>
|
7 |
<?php echo $this->__('You will be redirected to a secure page where you can complete your payment.') ?>
|
8 |
</li>
|
3 |
<fieldset class="form-list">
|
4 |
<?php $_code=$this->getMethodCode() ?>
|
5 |
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
6 |
+
<li>
|
7 |
+
<img alt="<?php echo $this->__('Iridium Corporation Logo'); ?>" src="<?php echo $this->getSkinUrl('images/iridium_corporation.jpg'); ?>">
|
8 |
+
</li>
|
9 |
<li>
|
10 |
<?php echo $this->__('You will be redirected to a secure page where you can complete your payment.') ?>
|
11 |
</li>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Iridiumcorp_Tpg</name>
|
4 |
-
<version>1.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Magento payment extension for the Iridium payment gateway. This extension fully supports the processing of 3D secure (Verified By Visa and Mastercard SecureCode) transactions. It also supports all of the integration methods provided by Iridium.</description>
|
11 |
<notes>3D Secure transactions redirected to an outer ACS page rather than using iframe. System log file contains transaction specific result details.</notes>
|
12 |
<authors><author><name>Iridium Support</name><user>auto-converted</user><email>support@iridiumcorp.co.uk</email></author><author><name>Benjamin Kovac</name><user>auto-converted</user><email>ben.kovac@iridiumcorp.co.uk</email></author></authors>
|
13 |
-
<date>2010-06-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="9b2afd627d6e9e4f9ad43b0a7153962b"/><file name="info.phtml" hash="3164afadd87c4811b5f7d0879537f10e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Iridiumcorp_Tpg</name>
|
4 |
+
<version>1.5.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Magento payment extension for the Iridium payment gateway. This extension fully supports the processing of 3D secure (Verified By Visa and Mastercard SecureCode) transactions. It also supports all of the integration methods provided by Iridium.</description>
|
11 |
<notes>3D Secure transactions redirected to an outer ACS page rather than using iframe. System log file contains transaction specific result details.</notes>
|
12 |
<authors><author><name>Iridium Support</name><user>auto-converted</user><email>support@iridiumcorp.co.uk</email></author><author><name>Benjamin Kovac</name><user>auto-converted</user><email>ben.kovac@iridiumcorp.co.uk</email></author></authors>
|
13 |
+
<date>2010-06-15</date>
|
14 |
+
<time>11:50:25</time>
|
15 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="9b2afd627d6e9e4f9ad43b0a7153962b"/><file name="info.phtml" hash="3164afadd87c4811b5f7d0879537f10e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="231e39bb2821718eeaec4c1d0ee3233d"/><file name="info.phtml" hash="7d72d07f3afa018d0402219e50573439"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="images"><file name="iridium_corporation.jpg" hash="589faaa1b7e80b32a425175ecfc3b455"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="Iridiumcorp"><dir name="Checkout"><dir name="etc"><file name="config.xml" hash="394797540b82a26aeade86688adfb490"/></dir><dir name="Model"><dir name="Type"><file name="Onepage.php" hash="fd34804edc71d403ab5a132d835d1641"/></dir></dir></dir><dir name="Tpg"><dir name="Block"><file name="Error.php" hash="905367210beb53a0bc68dc6033e24127"/><file name="Form.php" hash="4b1d51aa84982486f3139510c41a221a"/><file name="Info.php" hash="f88445c4880bfe14914252bc76b6fc28"/><file name="Redirect.php" hash="121b7025034eff6316a0205b41ec2a0b"/><file name="Threedsecure.php" hash="43c2c7197a8b25eed6c2cf88d5ee0df4"/></dir><dir name="controllers"><file name="PaymentController.php" hash="227ff227a042263ec51462f51dd92eed"/></dir><dir name="etc"><file name="config.xml" hash="8652c85a0f22713ce36e134a8e98f2d4"/><file name="system.xml" hash="0f05e89acfdacadb82b189ee8933f6e7"/></dir><dir name="Helper"><file name="Data.php" hash="a72fba87e718c94d993a57199e20ca96"/></dir><dir name="Model"><file name="Direct.php" hash="49bbfb032df2af2cfce62a95bc737387"/><file name="Request.php" hash="a96e462ed3c1882048ea45f2c3a6662c"/><dir name="Source"><file name="HashMethod.php" hash="36d7fb4fc762feae459f0e67d51006f4"/><file name="PaymentAction.php" hash="bd8dc40852b9ff8c80c08fc01f35a988"/><file name="PaymentMode.php" hash="6849defade8a7da4cfaeff3227ae5b83"/><file name="ResultDeliveryMethod.php" hash="b79d6fc714a25aba26cdb0ab572ae06f"/></dir><dir name="Tpg"><file name="GlobalErrors.php" hash="06beaf8042e351b95259d0e8e4cb1142"/><file name="ISOCountries.php" hash="fc63d76fbe25458ba351f114782074cb"/><file name="ISOCurrencies.php" hash="89ac1e124e89c0713ef43a0cf6dd0e2b"/><file name="PaymentFormHelper.php" hash="f5c28f79cc818ff8693d4348e475bf36"/><dir name="ThePaymentGateway"><file name="PaymentSystem.php" hash="4ad38bdb85f865e967153d9f253390cd"/><file name="SOAP.php" hash="504dcb0cb7c60c134b25652881349cc3"/><file name="TPG_Common.php" hash="df1033ef855c7e0e715076a105acb84a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iridiumcorp_All.xml" hash="cbea3fee7ee3724d21288145b27bbd74"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
skin/frontend/default/default/images/iridium_corporation.jpg
ADDED
Binary file
|