VirtualPayer_Cardnet - Version 1.0.1

Version Notes

The customer will now be redirected to Success or Fail page based on the status of the transaction after processing with LBOP payment gateway.

Download this release

Release Info

Developer VirtualPayer
Extension VirtualPayer_Cardnet
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

Files changed (27) hide show
  1. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Adminhtml/Cardnet.php +1 -1
  2. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Adminhtml/Cardnet/Grid.php +1 -1
  3. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Redirect/Error.php +4 -4
  4. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Redirect/Form.php +4 -4
  5. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Redirect/Redirect.php +5 -5
  6. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Redirect/Success.php +4 -4
  7. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Helper/Data.php +4 -4
  8. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Cardnet.php +1 -1
  9. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Mysql4/Cardnet.php +1 -1
  10. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Mysql4/Cardnet/Collection.php +1 -1
  11. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Redirect.php +11 -12
  12. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Setup.php +2 -2
  13. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/Cctype.php +4 -4
  14. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/Currency.php +5 -5
  15. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/OrderStatus.php +4 -4
  16. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/PaymentAction.php +4 -4
  17. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/PaymentMode.php +5 -5
  18. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/controllers/Adminhtml/CardnetController.php +1 -1
  19. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/controllers/RedirectController.php +20 -22
  20. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/controllers/ResponseController.php +4 -4
  21. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/etc/config.xml +15 -15
  22. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/etc/system.xml +4 -4
  23. app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/sql/cardnet_setup/mysql4-install-0.1.0.php +0 -0
  24. app/design/frontend/base/default/layout/cardnet.xml +1 -0
  25. app/design/frontend/base/default/template/cardnet/redirect/form.phtml +4 -4
  26. app/etc/modules/{VirtualPayer_Cardnet.xml → Virtualpayer_Cardnet.xml} +5 -5
  27. package.xml +9 -10
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Adminhtml/Cardnet.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class VirtualPayer_Cardnet_Block_Adminhtml_Cardnet extends Mage_Adminhtml_Block_Widget_Grid_Container
3
  {
4
  public function __construct()
5
  {
1
  <?php
2
+ class Virtualpayer_Cardnet_Block_Adminhtml_Cardnet extends Mage_Adminhtml_Block_Widget_Grid_Container
3
  {
4
  public function __construct()
5
  {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Adminhtml/Cardnet/Grid.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class VirtualPayer_Cardnet_Block_Adminhtml_Cardnet_Grid extends Mage_Adminhtml_Block_Widget_Grid
3
  {
4
  public function __construct()
5
  {
1
  <?php
2
+ class Virtualpayer_Cardnet_Block_Adminhtml_Cardnet_Grid extends Mage_Adminhtml_Block_Widget_Grid
3
  {
4
  public function __construct()
5
  {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Redirect/Error.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Block_Redirect_Error extends Mage_Core_Block_Abstract
17
  {
18
  /**
19
  * @return string
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Block_Redirect_Error extends Mage_Core_Block_Abstract
17
  {
18
  /**
19
  * @return string
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Redirect/Form.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Block_Redirect_Form extends Mage_Payment_Block_Form
17
  {
18
  /**
19
  * @return void
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Block_Redirect_Form extends Mage_Payment_Block_Form
17
  {
18
  /**
19
  * @return void
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Redirect/Redirect.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Block_Redirect_Redirect extends Mage_Core_Block_Abstract
17
  {
18
  /**
19
  * @return string
@@ -250,7 +250,7 @@ class VirtualPayer_Cardnet_Block_Redirect_Redirect extends Mage_Core_Block_Abstr
250
 
251
  $form->addField('txntype', 'hidden', array('name'=>'txntype', 'value'=>'sale'));
252
  $form->addField('oid', 'hidden', array('name'=>'oid', 'value'=>$orderid));
253
- $form->addField('timezone', 'hidden', array('name'=>'timezone', 'value'=>date(T)));
254
  $form->addField('txndatetime', 'hidden', array('name'=>'txndatetime', 'value'=>$dateTime));
255
  $form->addField('hash', 'hidden', array('name'=>'hash', 'value'=>$sha1hash));
256
  $form->addField('storename', 'hidden', array('name'=>'storename', 'value'=>$storeid));
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Block_Redirect_Redirect extends Mage_Core_Block_Abstract
17
  {
18
  /**
19
  * @return string
250
 
251
  $form->addField('txntype', 'hidden', array('name'=>'txntype', 'value'=>'sale'));
252
  $form->addField('oid', 'hidden', array('name'=>'oid', 'value'=>$orderid));
253
+ $form->addField('timezone', 'hidden', array('name'=>'timezone', 'value'=>date('T')));
254
  $form->addField('txndatetime', 'hidden', array('name'=>'txndatetime', 'value'=>$dateTime));
255
  $form->addField('hash', 'hidden', array('name'=>'hash', 'value'=>$sha1hash));
256
  $form->addField('storename', 'hidden', array('name'=>'storename', 'value'=>$storeid));
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Block/Redirect/Success.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Block_Redirect_Success extends Mage_Core_Block_Abstract
17
  {
18
  /**
19
  * @return string
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Block_Redirect_Success extends Mage_Core_Block_Abstract
17
  {
18
  /**
19
  * @return string
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Helper/Data.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Helper_Data extends Mage_Core_Helper_Abstract
17
  {
18
 
19
  /**
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Helper_Data extends Mage_Core_Helper_Abstract
17
  {
18
 
19
  /**
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Cardnet.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class VirtualPayer_Cardnet_Model_Cardnet extends Mage_Core_Model_Abstract
4
  {
5
  public function _construct()
6
  {
1
  <?php
2
 
3
+ class Virtualpayer_Cardnet_Model_Cardnet extends Mage_Core_Model_Abstract
4
  {
5
  public function _construct()
6
  {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Mysql4/Cardnet.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class VirtualPayer_Cardnet_Model_Mysql4_Cardnet extends Mage_Core_Model_Mysql4_Abstract
4
  {
5
  public function _construct()
6
  {
1
  <?php
2
 
3
+ class Virtualpayer_Cardnet_Model_Mysql4_Cardnet extends Mage_Core_Model_Mysql4_Abstract
4
  {
5
  public function _construct()
6
  {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Mysql4/Cardnet/Collection.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class VirtualPayer_Cardnet_Model_Mysql4_Cardnet_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
  {
5
  public function _construct()
6
  {
1
  <?php
2
 
3
+ class Virtualpayer_Cardnet_Model_Mysql4_Cardnet_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
  {
5
  public function _construct()
6
  {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Redirect.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abstract{
17
 
18
  protected $_code = 'cardnet';
19
  protected $_formBlockType = 'cardnet/redirect_form';
@@ -21,7 +21,7 @@ class VirtualPayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abst
21
 
22
  /**
23
  * @param $data
24
- * @return VirtualPayer_Cardnet_Model_Redirect
25
  */
26
  public function assignData($data)
27
  {
@@ -85,9 +85,8 @@ class VirtualPayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abst
85
  }
86
 
87
  /**
88
- * Validate the currency code is available to use for cardnet or not
89
  *
90
- * @return VirtualPayer_Cardnet_Model_Redirect
91
  */
92
 
93
  public function validate()
@@ -101,7 +100,7 @@ class VirtualPayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abst
101
 
102
  /**
103
  * @param Mage_Sales_Model_Order_Payment $payment
104
- * @return VirtualPayer_Cardnet_Model_Redirect
105
  */
106
  public function onOrderValidate(Mage_Sales_Model_Order_Payment $payment)
107
  {
@@ -138,7 +137,7 @@ class VirtualPayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abst
138
  * @return string
139
  */
140
  public function getSuccessUrl(){
141
- return Mage::getUrl('cardnet/response/');
142
  }
143
 
144
  /**
@@ -176,7 +175,7 @@ class VirtualPayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abst
176
  */
177
  public function initialize($paymentAction, $stateObject)
178
  {
179
- $state = "cardnet Processing";
180
  $stateObject->setState($state);
181
  $stateObject->setIsNotified(false);
182
  }
@@ -186,7 +185,7 @@ class VirtualPayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abst
186
  */
187
  public function processRedirectResponse($post){
188
  Mage::log($post);
189
- $this->savecardnetTransaction($post);
190
 
191
  $timestamp = $post['tdate'];
192
  $result = $post['processor_response_code'];
@@ -246,7 +245,7 @@ class VirtualPayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abst
246
  }
247
  }
248
 
249
- public function savecardnetTransaction($post){
250
  $cardnet = Mage::getModel('cardnet/cardnet');
251
 
252
  try{
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Model_Redirect extends Mage_Payment_Model_Method_Abstract{
17
 
18
  protected $_code = 'cardnet';
19
  protected $_formBlockType = 'cardnet/redirect_form';
21
 
22
  /**
23
  * @param $data
24
+ * @return Virtualpayer_Cardnet_Model_Redirect
25
  */
26
  public function assignData($data)
27
  {
85
  }
86
 
87
  /**
 
88
  *
89
+ * @return Virtualpayer_Cardnet_Model_Redirect
90
  */
91
 
92
  public function validate()
100
 
101
  /**
102
  * @param Mage_Sales_Model_Order_Payment $payment
103
+ * @return Virtualpayer_Cardnet_Model_Redirect
104
  */
105
  public function onOrderValidate(Mage_Sales_Model_Order_Payment $payment)
106
  {
137
  * @return string
138
  */
139
  public function getSuccessUrl(){
140
+ return Mage::getUrl('cardnet/redirect/success');
141
  }
142
 
143
  /**
175
  */
176
  public function initialize($paymentAction, $stateObject)
177
  {
178
+ $state = "Cardnet Processing";
179
  $stateObject->setState($state);
180
  $stateObject->setIsNotified(false);
181
  }
185
  */
186
  public function processRedirectResponse($post){
187
  Mage::log($post);
188
+ $this->saveCardnetTransaction($post);
189
 
190
  $timestamp = $post['tdate'];
191
  $result = $post['processor_response_code'];
245
  }
246
  }
247
 
248
+ public function saveCardnetTransaction($post){
249
  $cardnet = Mage::getModel('cardnet/cardnet');
250
 
251
  try{
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Setup.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class VirtualPayer_Cardnet_Model_Setup extends Mage_Eav_Model_Entity_Setup
4
  {
5
 
6
  public function createStaticBlocks(){
@@ -27,7 +27,7 @@ class VirtualPayer_Cardnet_Model_Setup extends Mage_Eav_Model_Entity_Setup
27
  $redirect = Mage::getModel('cms/block');
28
  $redirect->setTitle('Cardnet Redirect Message')
29
  ->setIdentifier('cardnet_redirect')
30
- ->setContent('You will be redirected to cardnet in a few seconds.')
31
  ->setCreationTime(date('Y-m-d H:i:s'))
32
  ->setUpdateTime(date('Y-m-d H:i:s'))
33
  ->setIsActive(1)
1
  <?php
2
 
3
+ class Virtualpayer_Cardnet_Model_Setup extends Mage_Eav_Model_Entity_Setup
4
  {
5
 
6
  public function createStaticBlocks(){
27
  $redirect = Mage::getModel('cms/block');
28
  $redirect->setTitle('Cardnet Redirect Message')
29
  ->setIdentifier('cardnet_redirect')
30
+ ->setContent('You will be redirected to Lloyds Bank Online Payments in a few seconds.')
31
  ->setCreationTime(date('Y-m-d H:i:s'))
32
  ->setUpdateTime(date('Y-m-d H:i:s'))
33
  ->setIsActive(1)
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/Cctype.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Model_Source_Cctype extends Mage_Payment_Model_Source_Cctype
17
  {
18
  public function getAllowedTypes()
19
  {
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Model_Source_Cctype extends Mage_Payment_Model_Source_Cctype
17
  {
18
  public function getAllowedTypes()
19
  {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/Currency.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Model_Source_Currency
17
  {
18
  public function toOptionArray()
19
  {
@@ -30,4 +30,4 @@ class VirtualPayer_Cardnet_Model_Source_Currency
30
  }
31
  }
32
 
33
- ?>
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Model_Source_Currency
17
  {
18
  public function toOptionArray()
19
  {
30
  }
31
  }
32
 
33
+ ?>
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/OrderStatus.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Model_Source_OrderStatus{
17
 
18
  public function toOptionArray()
19
  {
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Model_Source_OrderStatus{
17
 
18
  public function toOptionArray()
19
  {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/PaymentAction.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Model_Source_PaymentAction
17
  {
18
  public function toOptionArray()
19
  {
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Model_Source_PaymentAction
17
  {
18
  public function toOptionArray()
19
  {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/Model/Source/PaymentMode.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_Model_Source_PaymentMode
17
  {
18
  public function toOptionArray()
19
  {
@@ -26,4 +26,4 @@ class VirtualPayer_Cardnet_Model_Source_PaymentMode
26
  }
27
  }
28
 
29
- ?>
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_Model_Source_PaymentMode
17
  {
18
  public function toOptionArray()
19
  {
26
  }
27
  }
28
 
29
+ ?>
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/controllers/Adminhtml/CardnetController.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class VirtualPayer_Cardnet_Adminhtml_CardnetController extends Mage_Adminhtml_Controller_Action
4
  {
5
 
6
  protected function _initAction() {
1
  <?php
2
 
3
+ class Virtualpayer_Cardnet_Adminhtml_CardnetController extends Mage_Adminhtml_Controller_Action
4
  {
5
 
6
  protected function _initAction() {
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/controllers/RedirectController.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_RedirectController extends Mage_Core_Controller_Front_Action
17
  {
18
  /**
19
  * Order instance
@@ -79,7 +79,7 @@ class VirtualPayer_Cardnet_RedirectController extends Mage_Core_Controller_Front
79
  if ($session->getLastRealOrderId()) {
80
  $order = Mage::getModel('sales/order')->loadByIncrementId($session->getLastRealOrderId());
81
  if ($order->getId()) {
82
- $session->addNotice($this->__('Your order with Cardnet has been cancelled.'));
83
  $order->cancel()->save();
84
  }
85
  }
@@ -92,25 +92,23 @@ class VirtualPayer_Cardnet_RedirectController extends Mage_Core_Controller_Front
92
  */
93
  public function successAction()
94
  {
95
- $session = $this->getOnepage()->getCheckout();
96
- if (!$session->getLastSuccessQuoteId()) {
97
- $this->_redirect('checkout/cart');
98
- return;
99
- }
100
 
101
- $lastQuoteId = $session->getLastQuoteId();
102
- $lastOrderId = $session->getLastOrderId();
103
- $lastRecurringProfiles = $session->getLastRecurringProfileIds();
104
- if (!$lastQuoteId || (!$lastOrderId && empty($lastRecurringProfiles))) {
105
- $this->_redirect('checkout/cart');
106
- return;
 
 
 
 
 
 
 
107
  }
108
-
109
- $session->clear();
110
- $this->loadLayout();
111
- $this->_initLayoutMessages('checkout/session');
112
- Mage::dispatchEvent('checkout_onepage_controller_success_action', array('order_ids' => array($lastOrderId)));
113
- $this->renderLayout();
114
  }
115
 
116
  public function failureAction()
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_RedirectController extends Mage_Core_Controller_Front_Action
17
  {
18
  /**
19
  * Order instance
79
  if ($session->getLastRealOrderId()) {
80
  $order = Mage::getModel('sales/order')->loadByIncrementId($session->getLastRealOrderId());
81
  if ($order->getId()) {
82
+ $session->addNotice($this->__('Your order has been cancelled. Please contact us'));
83
  $order->cancel()->save();
84
  }
85
  }
92
  */
93
  public function successAction()
94
  {
95
+ $session = Mage::getSingleton('checkout/session');
96
+ $post = $this->getRequest()->getPost();
 
 
 
97
 
98
+ if($post){
99
+ if (isset($post['oid'])) {
100
+ if(Mage::getModel('cardnet/redirect')->processRedirectResponse($post)){
101
+ $session->setQuoteId($session->getCardnetRedirectQuoteId());
102
+ $this->getResponse()->setBody($this->getLayout()->createBlock('cardnet/redirect_success')->toHtml());
103
+ }else{
104
+ $this->getResponse()->setBody($this->getLayout()->createBlock('cardnet/redirect_error')->toHtml());
105
+ }
106
+ }
107
+ }else{
108
+ //set the quote as inactive after back from Cardnet
109
+ $session->getQuote()->setIsActive(false)->save();
110
+ $this->_redirect('checkout/onepage/success', array('_secure'=>true));
111
  }
 
 
 
 
 
 
112
  }
113
 
114
  public function failureAction()
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/controllers/ResponseController.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,11 +9,11 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
- class VirtualPayer_Cardnet_ResponseController extends Mage_Core_Controller_Front_Action
17
  {
18
  /**
19
  * @return void
1
  <?php
2
  /**
3
+ * Virtualpayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category Virtualpayer
13
+ * @package Virtualpayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
+ class Virtualpayer_Cardnet_ResponseController extends Mage_Core_Controller_Front_Action
17
  {
18
  /**
19
  * @return void
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/etc/config.xml RENAMED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * VirtualPayer_Cardnet Connect Plugin
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -10,25 +10,25 @@
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
  *
13
- * @category VirtualPayer
14
- * @package VirtualPayer_Cardnet
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  -->
18
  <config>
19
  <modules>
20
- <VirtualPayer_Cardnet>
21
- <version>1.0.0</version>
22
- </VirtualPayer_Cardnet>
23
  </modules>
24
  <global>
25
  <models>
26
  <cardnet>
27
- <class>VirtualPayer_Cardnet_Model</class>
28
  <resourceModel>cardnet_mysql4</resourceModel>
29
  </cardnet>
30
  <cardnet_mysql4>
31
- <class>VirtualPayer_Cardnet_Model_Mysql4</class>
32
  <entities>
33
  <cardnet>
34
  <table>cardnet</table>
@@ -38,19 +38,19 @@
38
  </models>
39
  <blocks>
40
  <cardnet>
41
- <class>VirtualPayer_Cardnet_Block</class>
42
  </cardnet>
43
  </blocks>
44
  <helpers>
45
  <cardnet>
46
- <class>VirtualPayer_Cardnet_Helper</class>
47
  </cardnet>
48
  </helpers>
49
  <resources>
50
  <cardnet_setup>
51
  <setup>
52
- <module>VirtualPayer_Cardnet</module>
53
- <class>VirtualPayer_Cardnet_Model_Setup</class>
54
  </setup>
55
  <connection>
56
  <use>core_setup</use>
@@ -94,7 +94,7 @@
94
  <cardnet>
95
  <use>standard</use>
96
  <args>
97
- <module>VirtualPayer_Cardnet</module>
98
  <frontName>cardnet</frontName>
99
  </args>
100
  </cardnet>
@@ -114,7 +114,7 @@
114
  <sales module="sales">
115
  <children>
116
  <cardnet module="cardnet">
117
- <title>Cardnet Transactions</title>
118
  <sort_order>300</sort_order>
119
  <action>cardnet/adminhtml_cardnet</action>
120
  </cardnet>
@@ -152,7 +152,7 @@
152
  <payment>
153
  <cardnet>
154
  <active>0</active>
155
- <title>Lloyds Cardnet Payment Gateway</title>
156
  <model>cardnet/redirect</model>
157
  <order_status>processing</order_status>
158
  <payment_action>authorize</payment_action>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * Virtualpayer_Cardnet Connect Plugin
5
  *
6
  * NOTICE OF LICENSE
7
  *
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
  *
13
+ * @category Virtualpayer
14
+ * @package Virtualpayer_Cardnet
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  -->
18
  <config>
19
  <modules>
20
+ <Virtualpayer_Cardnet>
21
+ <version>1.0.1</version>
22
+ </Virtualpayer_Cardnet>
23
  </modules>
24
  <global>
25
  <models>
26
  <cardnet>
27
+ <class>Virtualpayer_Cardnet_Model</class>
28
  <resourceModel>cardnet_mysql4</resourceModel>
29
  </cardnet>
30
  <cardnet_mysql4>
31
+ <class>Virtualpayer_Cardnet_Model_Mysql4</class>
32
  <entities>
33
  <cardnet>
34
  <table>cardnet</table>
38
  </models>
39
  <blocks>
40
  <cardnet>
41
+ <class>Virtualpayer_Cardnet_Block</class>
42
  </cardnet>
43
  </blocks>
44
  <helpers>
45
  <cardnet>
46
+ <class>Virtualpayer_Cardnet_Helper</class>
47
  </cardnet>
48
  </helpers>
49
  <resources>
50
  <cardnet_setup>
51
  <setup>
52
+ <module>Virtualpayer_Cardnet</module>
53
+ <class>Virtualpayer_Cardnet_Model_Setup</class>
54
  </setup>
55
  <connection>
56
  <use>core_setup</use>
94
  <cardnet>
95
  <use>standard</use>
96
  <args>
97
+ <module>Virtualpayer_Cardnet</module>
98
  <frontName>cardnet</frontName>
99
  </args>
100
  </cardnet>
114
  <sales module="sales">
115
  <children>
116
  <cardnet module="cardnet">
117
+ <title>Lloyds Bank Online Payments Transactions</title>
118
  <sort_order>300</sort_order>
119
  <action>cardnet/adminhtml_cardnet</action>
120
  </cardnet>
152
  <payment>
153
  <cardnet>
154
  <active>0</active>
155
+ <title>Lloyds Bank Online Payments Gateway</title>
156
  <model>cardnet/redirect</model>
157
  <order_status>processing</order_status>
158
  <payment_action>authorize</payment_action>
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/etc/system.xml RENAMED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * VirtualPayer_Cardnet Connect Plugin
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -10,8 +10,8 @@
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
  *
13
- * @category VirtualPayer
14
- * @package VirtualPayer_Cardnet
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  -->
@@ -20,7 +20,7 @@
20
  <payment>
21
  <groups>
22
  <cardnet translate="label" module="paygate">
23
- <label>Lloyds Cardnet</label>
24
  <sort_order>670</sort_order>
25
  <show_in_default>1</show_in_default>
26
  <show_in_website>1</show_in_website>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * Virtualpayer_Cardnet Connect Plugin
5
  *
6
  * NOTICE OF LICENSE
7
  *
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
  *
13
+ * @category Virtualpayer
14
+ * @package Virtualpayer_Cardnet
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  -->
20
  <payment>
21
  <groups>
22
  <cardnet translate="label" module="paygate">
23
+ <label>Lloyds Bank Online Payments</label>
24
  <sort_order>670</sort_order>
25
  <show_in_default>1</show_in_default>
26
  <show_in_website>1</show_in_website>
app/code/local/{VirtualPayer → Virtualpayer}/Cardnet/sql/cardnet_setup/mysql4-install-0.1.0.php RENAMED
File without changes
app/design/frontend/base/default/layout/cardnet.xml CHANGED
@@ -1,3 +1,4 @@
 
1
  <layout version="0.1.0">
2
  <cardnet_redirect_success>
3
  <reference name="root">
1
+ <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
  <cardnet_redirect_success>
4
  <reference name="root">
app/design/frontend/base/default/template/cardnet/redirect/form.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * VirtualPayer_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -9,8 +9,8 @@
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
- * @category VirtualPayer
13
- * @package VirtualPayer_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
  ?>
@@ -20,7 +20,7 @@
20
  <?php $redirect = Mage::getModel('cardnet/redirect'); ?>
21
  <ul id="payment_form_<?php echo $_code ?>" style="display:none">
22
  <li>
23
- <?php echo $this->__('You will be redirected to Lloyds Cardnet secure Hosted Payment Page.') ?>
24
  </li>
25
  </ul>
26
  </fieldset>
1
  <?php
2
  /**
3
+ * VIRTUALPAYER_Cardnet Connect Plugin
4
  *
5
  * NOTICE OF LICENSE
6
  *
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
  *
12
+ * @category VIRTUALPAYER
13
+ * @package VIRTUALPAYER_Cardnet
14
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
  */
16
  ?>
20
  <?php $redirect = Mage::getModel('cardnet/redirect'); ?>
21
  <ul id="payment_form_<?php echo $_code ?>" style="display:none">
22
  <li>
23
+ <?php echo $this->__('You will be redirected to Lloyds Bank Online Payments secure Hosted Payment Page.') ?>
24
  </li>
25
  </ul>
26
  </fieldset>
app/etc/modules/{VirtualPayer_Cardnet.xml → Virtualpayer_Cardnet.xml} RENAMED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * VirtualPayer_Cardnet Connect Plugin
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -10,19 +10,19 @@
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
  *
13
- * @category VirtualPayer
14
- * @package VirtualPayer_Cardnet
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  -->
18
  <config>
19
  <modules>
20
- <VirtualPayer_Cardnet>
21
  <active>true</active>
22
  <codePool>local</codePool>
23
  <depends>
24
  <Mage_Payment />
25
  </depends>
26
- </VirtualPayer_Cardnet>
27
  </modules>
28
  </config>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * Virtualpayer_Cardnet Connect Plugin
5
  *
6
  * NOTICE OF LICENSE
7
  *
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
  *
13
+ * @category Virtualpayer
14
+ * @package Virtualpayer_Cardnet
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  -->
18
  <config>
19
  <modules>
20
+ <Virtualpayer_Cardnet>
21
  <active>true</active>
22
  <codePool>local</codePool>
23
  <depends>
24
  <Mage_Payment />
25
  </depends>
26
+ </Virtualpayer_Cardnet>
27
  </modules>
28
  </config>
package.xml CHANGED
@@ -1,20 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>VirtualPayer_Cardnet</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
- <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Lloyds Cardnet Hosted Payment Page redirects the customer to the Cardnet Hosted Page to complete payment.</summary>
10
- <description>This module integrates Lloyds Cardnet Online Payments Gateway with your Magento store and its fully tested on the Internet Payment Gateway (IPG) environments for Cardnet.&#xD;
11
- The module supports card types enabled on your Cardnet Merchant Account.</description>
12
- <notes>Fully tested in Cardnet sandbox.&#xD;
13
  </notes>
14
  <authors><author><name>VirtualPayer</name><user>VirtualPayer</user><email>support@virtualpayer.com</email></author></authors>
15
- <date>2016-03-13</date>
16
- <time>10:59:01</time>
17
- <contents><target name="magelocal"><dir name="VirtualPayer"><dir name="Cardnet"><dir name="Block"><dir name="Adminhtml"><dir name="Cardnet"><file name="Grid.php" hash="87a91bc91ce3296e6b54eeca50dc1820"/></dir><file name="Cardnet.php" hash="3ad5f2d6ad0469a4e6aa4daed2bda2b8"/></dir><dir name="Redirect"><file name="Error.php" hash="4a8f9273026340573ef4eae57b628ece"/><file name="Form.php" hash="3685f91a30f30863c0294021b694deac"/><file name="Redirect.php" hash="981b733cfad3c060faf1830bf38c8e1f"/><file name="Success.php" hash="2b945527ace7d540e75259c43037d802"/></dir></dir><dir name="Helper"><file name="Data.php" hash="3ce734726d72d9cee504cbeafdafa813"/></dir><dir name="Model"><file name="Cardnet.php" hash="5dc133c873ad6a01760f26040142d39a"/><dir name="Mysql4"><dir name="Cardnet"><file name="Collection.php" hash="9b61c677f6c67f9d93fb94e0598e930d"/></dir><file name="Cardnet.php" hash="d20f9c68a29e15c929270816801724a5"/></dir><file name="Redirect.php" hash="1aa57cf55b2eed9eff007a09a2aff0d8"/><file name="Setup.php" hash="31849416748d7cb74038b57f2463ab90"/><dir name="Source"><file name="Cctype.php" hash="f8a12f7ae85456983f825f6aab988a4e"/><file name="Currency.php" hash="c5331e7d9140d2133777edf0b789f847"/><file name="OrderStatus.php" hash="a88573ff48f78f9ccd8381540cb68be9"/><file name="PaymentAction.php" hash="8b508cf6ba5700312abdcbfa26f0bdfe"/><file name="PaymentMode.php" hash="1690a2ccf3740fe4bf9a0e47fd56c0ca"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CardnetController.php" hash="c50f2f98cc2a79efadc30cc8907669c1"/></dir><file name="RedirectController.php" hash="0fca1177e8e20976a337528c66befe57"/><file name="ResponseController.php" hash="67dd6c4fd33ae1d648f250238e72b793"/></dir><dir name="etc"><file name="config.xml" hash="fc6c0d7de8332a7548b946b03731c5c3"/><file name="system.xml" hash="6d0ab7ba713209e960ba30cde0145848"/></dir><dir name="sql"><dir name="cardnet_setup"><file name="mysql4-install-0.1.0.php" hash="f41f20cd16b34866548a39ffbcc7f3c4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cardnet.xml" hash="8d5d667f93f00208c69880854c8e4cf1"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cardnet.xml" hash="9142a3f5ebf31e2fa6df7bc22554c48a"/></dir><dir name="template"><dir name="cardnet"><dir name="redirect"><file name="failure.phtml" hash="9a4b060f22cbe7b3b4a2846d6866e3ba"/><file name="form.phtml" hash="e919e5a96f9c98b0ef71a4ff8d2c26cc"/><file name="success.phtml" hash="fc51be2b84ad9f75ebaef082504846da"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VirtualPayer_Cardnet.xml" hash="11de582fcaf1661b5067337e579f1427"/></dir></target></contents>
18
  <compatible/>
19
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>VirtualPayer_Cardnet</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
+ <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Resolved issue with Callback URL hanging.</summary>
10
+ <description>The customer will now be redirected to Success or Fail page based on the status of the transaction after processing with Lloyds Bank Online Payments.</description>
11
+ <notes>The customer will now be redirected to Success or Fail page based on the status of the transaction after processing with LBOP payment gateway.&#xD;
 
12
  </notes>
13
  <authors><author><name>VirtualPayer</name><user>VirtualPayer</user><email>support@virtualpayer.com</email></author></authors>
14
+ <date>2016-05-28</date>
15
+ <time>18:24:29</time>
16
+ <contents><target name="magelocal"><dir name="Virtualpayer"><dir name="Cardnet"><dir name="Block"><dir name="Adminhtml"><dir name="Cardnet"><file name="Grid.php" hash="775f02d4bb8bda8852465876fa1b34e5"/></dir><file name="Cardnet.php" hash="8f95ff476a2bd274ed594e7d9462c4ca"/></dir><dir name="Redirect"><file name="Error.php" hash="a381c85b5029ef46a0b945e3c1b70387"/><file name="Form.php" hash="262b41874c8724316ea9ed4ea3e1db63"/><file name="Redirect.php" hash="f9b2832008d6c90cef47e2f51127dc11"/><file name="Success.php" hash="d41337764d539244fe0df5c11244d316"/></dir></dir><dir name="Helper"><file name="Data.php" hash="1a9e33fafe6139973e43b2954d129dac"/></dir><dir name="Model"><file name="Cardnet.php" hash="e9ce0d4bc91ba74cb76180d9d6be352a"/><dir name="Mysql4"><dir name="Cardnet"><file name="Collection.php" hash="c18cf3f2bef2d8d16815577567f1e7d5"/></dir><file name="Cardnet.php" hash="85b563ebd6198b9268d1a6c664b3f3e1"/></dir><file name="Redirect.php" hash="032e78ba43384f3efd7835d26a0d1460"/><file name="Setup.php" hash="4093d5ad1dc419c2f0e010b985ef00a1"/><dir name="Source"><file name="Cctype.php" hash="b3394cad042d7f9f2c7e0d8159d4853c"/><file name="Currency.php" hash="36490819b40824a75bbc8b10f3aaac1b"/><file name="OrderStatus.php" hash="082255f920056bc8472b40247866ce3d"/><file name="PaymentAction.php" hash="e855aa1b724bbd1945d99d638211c356"/><file name="PaymentMode.php" hash="2e0eddc729292353b029aca42ce576bd"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CardnetController.php" hash="15403fc047c7fbf75ce36bfd026d206f"/></dir><file name="RedirectController.php" hash="0dc3fe753f8f8d550e617896c3be73ac"/><file name="ResponseController.php" hash="3a9770382e829fcb188583ef034643fc"/></dir><dir name="etc"><file name="config.xml" hash="a5be18669a47502fa7a4e4c04c7708fd"/><file name="system.xml" hash="c2c966d54f1584884c3097d1204313cd"/></dir><dir name="sql"><dir name="cardnet_setup"><file name="mysql4-install-0.1.0.php" hash="f41f20cd16b34866548a39ffbcc7f3c4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cardnet.xml" hash="8d5d667f93f00208c69880854c8e4cf1"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cardnet.xml" hash="4bbf1c6c14c662df649109e91b421532"/></dir><dir name="template"><dir name="cardnet"><dir name="redirect"><file name="failure.phtml" hash="9a4b060f22cbe7b3b4a2846d6866e3ba"/><file name="form.phtml" hash="70ed5c69b670ad7cd37bbe1fd23ca6b3"/><file name="success.phtml" hash="fc51be2b84ad9f75ebaef082504846da"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Virtualpayer_Cardnet.xml" hash="4e0d746c2e315599f38151ba821e21c5"/></dir></target></contents>
17
  <compatible/>
18
+ <dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>