Oink - Version 3.0.42

Version Notes

Fixed double rendering of HTML. Added more informative order success page.

Download this release

Release Info

Developer Simon Taft
Extension Oink
Version 3.0.42
Comparing to
See all releases


Code changes from version 3.0.41 to 3.0.42

app/code/local/Oink/Oink/Block/Checkout/Failure.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Checkout
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
26
+
27
+
28
+ class Oink_Oink_Block_Checkout_Failure extends Mage_Core_Block_Template
29
+ {
30
+ public function getRealOrderId()
31
+ {
32
+ return Mage::getSingleton('checkout/session')->getLastRealOrderId();
33
+ }
34
+
35
+ /**
36
+ * Payment custom error message
37
+ *
38
+ * @return string
39
+ */
40
+ public function getErrorMessage ()
41
+ {
42
+ $error = Mage::getSingleton('checkout/session')->getErrorMessage();
43
+ // Mage::getSingleton('checkout/session')->unsErrorMessage();
44
+ return $error;
45
+ }
46
+
47
+ /**
48
+ * Continue shopping URL
49
+ *
50
+ * @return string
51
+ */
52
+ public function getContinueShoppingUrl()
53
+ {
54
+ return Mage::getUrl('checkout/cart');
55
+ }
56
+ }
app/code/local/Oink/Oink/Block/Checkout/ParentConfirm.php CHANGED
@@ -3,8 +3,7 @@
3
  * @category Oink
4
  * @package Oink_Oink
5
  */
6
- class Oink_Oink_Block_Checkout_ParentConfirm
7
- extends Mage_Core_Block_Template
8
  {
9
  /**
10
  *
3
  * @category Oink
4
  * @package Oink_Oink
5
  */
6
+ class Oink_Oink_Block_Checkout_ParentConfirm extends Mage_Core_Block_Template
 
7
  {
8
  /**
9
  *
app/code/local/Oink/Oink/Block/Checkout/Success.php ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Checkout
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
26
+
27
+ /**
28
+ * One page checkout success page
29
+ *
30
+ * @category Mage
31
+ * @package Mage_Checkout
32
+ * @author Magento Core Team <core@magentocommerce.com>
33
+ */
34
+ class Oink_Oink_Block_Checkout_Success extends Mage_Core_Block_Template
35
+ {
36
+ /**
37
+ * @deprecated after 1.4.0.1
38
+ */
39
+ private $_order;
40
+
41
+ /**
42
+ * Retrieve identifier of created order
43
+ *
44
+ * @return string
45
+ * @deprecated after 1.4.0.1
46
+ */
47
+ public function getOrderId()
48
+ {
49
+ return $this->_getData('order_id');
50
+ }
51
+
52
+ /**
53
+ * Check order print availability
54
+ *
55
+ * @return bool
56
+ * @deprecated after 1.4.0.1
57
+ */
58
+ public function canPrint()
59
+ {
60
+ return $this->_getData('can_view_order');
61
+ }
62
+
63
+ /**
64
+ * Get url for order detale print
65
+ *
66
+ * @return string
67
+ * @deprecated after 1.4.0.1
68
+ */
69
+ public function getPrintUrl()
70
+ {
71
+ return $this->_getData('print_url');
72
+ }
73
+
74
+ /**
75
+ * Get url for view order details
76
+ *
77
+ * @return string
78
+ * @deprecated after 1.4.0.1
79
+ */
80
+ public function getViewOrderUrl()
81
+ {
82
+ return $this->_getData('view_order_id');
83
+ }
84
+
85
+ /**
86
+ * See if the order has state, visible on frontend
87
+ *
88
+ * @return bool
89
+ */
90
+ public function isOrderVisible()
91
+ {
92
+ return (bool)$this->_getData('is_order_visible');
93
+ }
94
+
95
+ /**
96
+ * Getter for recurring profile view page
97
+ *
98
+ * @param $profile
99
+ */
100
+ public function getProfileUrl(Varien_Object $profile)
101
+ {
102
+ return $this->getUrl('sales/recurring_profile/view', array('profile' => $profile->getId()));
103
+ }
104
+
105
+ /**
106
+ * Initialize data and prepare it for output
107
+ */
108
+ protected function _beforeToHtml()
109
+ {
110
+ $this->_prepareLastOrder();
111
+ $this->_prepareLastBillingAgreement();
112
+ $this->_prepareLastRecurringProfiles();
113
+ return parent::_beforeToHtml();
114
+ }
115
+
116
+ /**
117
+ * Get last order ID from session, fetch it and check whether it can be viewed, printed etc
118
+ */
119
+ protected function _prepareLastOrder()
120
+ {
121
+ $orderId = Mage::getSingleton('checkout/session')->getLastOrderId();
122
+ if ($orderId) {
123
+ $order = Mage::getModel('sales/order')->load($orderId);
124
+ if ($order->getId()) {
125
+ $isVisible = !in_array($order->getState(),
126
+ Mage::getSingleton('sales/order_config')->getInvisibleOnFrontStates());
127
+ $this->addData(array(
128
+ 'is_order_visible' => $isVisible,
129
+ 'view_order_id' => $this->getUrl('sales/order/view/', array('order_id' => $orderId)),
130
+ 'print_url' => $this->getUrl('sales/order/print', array('order_id'=> $orderId)),
131
+ 'can_print_order' => $isVisible,
132
+ 'can_view_order' => Mage::getSingleton('customer/session')->isLoggedIn() && $isVisible,
133
+ 'order_id' => $order->getIncrementId(),
134
+ ));
135
+ }
136
+ }
137
+ }
138
+
139
+ /**
140
+ * Prepare billing agreement data from an identifier in the session
141
+ */
142
+ protected function _prepareLastBillingAgreement()
143
+ {
144
+ $agreementId = Mage::getSingleton('checkout/session')->getLastBillingAgreementId();
145
+ $customerId = Mage::getSingleton('customer/session')->getCustomerId();
146
+ if ($agreementId && $customerId) {
147
+ $agreement = Mage::getModel('sales/billing_agreement')->load($agreementId);
148
+ if ($agreement->getId() && $customerId == $agreement->getCustomerId()) {
149
+ $this->addData(array(
150
+ 'agreement_ref_id' => $agreement->getReferenceId(),
151
+ 'agreement_url' => $this->getUrl('sales/billing_agreement/view',
152
+ array('agreement' => $agreementId)
153
+ ),
154
+ ));
155
+ }
156
+ }
157
+ }
158
+
159
+ /**
160
+ * Prepare recurring payment profiles from the session
161
+ */
162
+ protected function _prepareLastRecurringProfiles()
163
+ {
164
+ $profileIds = Mage::getSingleton('checkout/session')->getLastRecurringProfileIds();
165
+ if ($profileIds && is_array($profileIds)) {
166
+ $collection = Mage::getModel('sales/recurring_profile')->getCollection()
167
+ ->addFieldToFilter('profile_id', array('in' => $profileIds))
168
+ ;
169
+ $profiles = array();
170
+ foreach ($collection as $profile) {
171
+ $profiles[] = $profile;
172
+ }
173
+ if ($profiles) {
174
+ $this->setRecurringProfiles($profiles);
175
+ if (Mage::getSingleton('customer/session')->isLoggedIn()) {
176
+ $this->setCanViewProfiles(true);
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
app/code/local/Oink/Oink/Helper/Checkout.php CHANGED
@@ -238,7 +238,7 @@ class Oink_Oink_Helper_Checkout
238
  $totals = $quote->getTotals();
239
  $user = $this->getUser();
240
  if (!isset ($totals["shipping"])) {
241
- Mage::throwException(Mage::getStoreConfig("oink/messages/shipping_error"));
242
  }
243
  $cart = Mage::helper("oink")->getDtoCart();
244
  if ((bool)$user->getDeliverToChildren()) {
238
  $totals = $quote->getTotals();
239
  $user = $this->getUser();
240
  if (!isset ($totals["shipping"])) {
241
+ Mage::getSingleton('checkout/session')->setErrorMessage(Mage::getStoreConfig("oink/messages/shipping_error"));
242
  }
243
  $cart = Mage::helper("oink")->getDtoCart();
244
  if ((bool)$user->getDeliverToChildren()) {
app/code/local/Oink/Oink/controllers/CheckoutController.php CHANGED
@@ -126,7 +126,6 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
126
  Oink_Oink_Helper_Checkout::ORDER_STATUS_APPROVAL_PENDING
127
  );
128
  } else {
129
- $message = Mage::getStoreConfig("oink/messages/success_transaction");
130
  $vpCheckoutHelper->completeOrder($order);
131
  $originalOrder->sendNewOrderEmail();
132
 
@@ -139,9 +138,7 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
139
 
140
  $order->save();
141
  $originalOrder->save();
142
-
143
- Mage::getSingleton("core/session")->addSuccess($message);
144
- $path = "*/*/success";
145
  Mage::getSingleton("customer/session")->unsParentConfirm();
146
  } else {
147
  $errorMessage = Mage::getSingleton("oink/errorHandler")->rewriteError($result->ErrorMessage);
@@ -150,7 +147,7 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
150
  }
151
  } catch (Exception $e) {
152
  Mage::getSingleton("core/session")->addError($e->getMessage());
153
- $path = "*/*/index";
154
  }
155
 
156
  $this->_redirect($path);
@@ -277,6 +274,14 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
277
  $this->loadLayout()
278
  ->renderLayout();
279
  }
 
 
 
 
 
 
 
 
280
 
281
  /*
282
  * Quick Connect page
126
  Oink_Oink_Helper_Checkout::ORDER_STATUS_APPROVAL_PENDING
127
  );
128
  } else {
 
129
  $vpCheckoutHelper->completeOrder($order);
130
  $originalOrder->sendNewOrderEmail();
131
 
138
 
139
  $order->save();
140
  $originalOrder->save();
141
+ $path = "oink/checkout/success";
 
 
142
  Mage::getSingleton("customer/session")->unsParentConfirm();
143
  } else {
144
  $errorMessage = Mage::getSingleton("oink/errorHandler")->rewriteError($result->ErrorMessage);
147
  }
148
  } catch (Exception $e) {
149
  Mage::getSingleton("core/session")->addError($e->getMessage());
150
+ $path = "oink/checkout/failure";
151
  }
152
 
153
  $this->_redirect($path);
274
  $this->loadLayout()
275
  ->renderLayout();
276
  }
277
+ /*
278
+ * Checkout failure page
279
+ */
280
+ public function failureAction()
281
+ {
282
+ $this->loadLayout()
283
+ ->renderLayout();
284
+ }
285
 
286
  /*
287
  * Quick Connect page
app/code/local/Oink/Oink/etc/config.xml CHANGED
@@ -185,9 +185,8 @@
185
  <messages>
186
  <login_error>Invalid username or password</login_error>
187
  <max_login_attemps>Too many login attempts. Your account is locked for 10 minutes.</max_login_attemps>
188
- <shipping_error>We are currently having trouble calculating your shipping. Please try again later.</shipping_error>
189
  <approval_required>We are waiting to hear back from your parents. Thanks for using Oink.</approval_required>
190
- <success_transaction>Your order was created successfully.</success_transaction>
191
  <transaction_declined>We could not process your transaction. Please try again.</transaction_declined>
192
  <insufficient_funds>The Transaction was denied because you do not have enough funds available.</insufficient_funds>
193
  <transaction_not_authorized>You are not authorized to buy from this merchant. Please talk to your parents about letting you do this.</transaction_not_authorized>
185
  <messages>
186
  <login_error>Invalid username or password</login_error>
187
  <max_login_attemps>Too many login attempts. Your account is locked for 10 minutes.</max_login_attemps>
188
+ <shipping_error>Unfortunately we cannot ship to your area. Sorry!</shipping_error>
189
  <approval_required>We are waiting to hear back from your parents. Thanks for using Oink.</approval_required>
 
190
  <transaction_declined>We could not process your transaction. Please try again.</transaction_declined>
191
  <insufficient_funds>The Transaction was denied because you do not have enough funds available.</insufficient_funds>
192
  <transaction_not_authorized>You are not authorized to buy from this merchant. Please talk to your parents about letting you do this.</transaction_not_authorized>
app/design/frontend/base/default/layout/oink.xml CHANGED
@@ -41,13 +41,25 @@
41
 
42
  <oink_checkout_shippingmethod>
43
  <reference name="content">
44
- <block type="oink/checkout_shippingMethod" template="oink/checkout/shipping_method.phtml" name="oink.checkout.shippingMethod" output="toHtml" as="shippingMethod" >
45
  <action method="addJs"><script>js/prototype/prototype.js</script></action>
46
  <block type="oink/checkout_shippingMethod_available" name="oink.checkout.shippingMethod.available" as="available" template="oink/checkout/shipping_method/available.phtml"/>
47
  </block>
48
  </reference>
49
  </oink_checkout_shippingmethod>
50
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  <checkout_cart_index>
52
  <reference name="checkout.cart.methods">
53
  <block type="oink/checkout_button" template="oink/checkout/button/form.phtml" name="oink_login" />
41
 
42
  <oink_checkout_shippingmethod>
43
  <reference name="content">
44
+ <block type="oink/checkout_shippingMethod" template="oink/checkout/shipping_method.phtml" name="oink.checkout.shippingMethod" as="shippingMethod" >
45
  <action method="addJs"><script>js/prototype/prototype.js</script></action>
46
  <block type="oink/checkout_shippingMethod_available" name="oink.checkout.shippingMethod.available" as="available" template="oink/checkout/shipping_method/available.phtml"/>
47
  </block>
48
  </reference>
49
  </oink_checkout_shippingmethod>
50
 
51
+ <oink_checkout_success>
52
+ <reference name="content">
53
+ <block type="oink/checkout_success" name="oink.checkout.success" template="oink/checkout/success.phtml"/>
54
+ </reference>
55
+ </oink_checkout_success>
56
+
57
+ <oink_checkout_failure>
58
+ <reference name="content">
59
+ <block type="oink/checkout_failure" name="oink.checkout.success" template="oink/checkout/failure.phtml"/>
60
+ </reference>
61
+ </oink_checkout_failure>
62
+
63
  <checkout_cart_index>
64
  <reference name="checkout.cart.methods">
65
  <block type="oink/checkout_button" template="oink/checkout/button/form.phtml" name="oink_login" />
app/design/frontend/base/default/template/oink/checkout/failure.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title">
28
+ <h1><?php echo $this->__('An error occurred in the process of payment') ?></h1>
29
+ </div>
30
+ <?php if ($this->getRealOrderId()) : ?><p><?php echo $this->__('Order #') . $this->getRealOrderId() ?></p><?php endif ?>
31
+ <?php if ($error = $this->getErrorMessage()) : ?><p><?php echo $error ?></p><?php endif ?>
32
+
33
+ <div class="buttons-set">
34
+ <button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
35
+ </div>
app/design/frontend/base/default/template/oink/checkout/shipping_method.phtml CHANGED
@@ -1,8 +1,3 @@
1
- <script type="text/javascript" src="<?php echo $this->getJsUrl('prototype/prototype.js')?>"></script>
2
- <script type="text/javascript" src="<?php echo $this->getJsUrl('prototype/validation.js') ?>"></script>
3
- <script type="text/javascript" src="<?php echo $this->getJsUrl('varien/form.js') ?>"></script>
4
- <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
5
-
6
  <div class="page-title"><h1><?php echo $this->__('Oink Guest Checkout'); ?></h1></div>
7
 
8
  <ol class="opc">
 
 
 
 
 
1
  <div class="page-title"><h1><?php echo $this->__('Oink Guest Checkout'); ?></h1></div>
2
 
3
  <ol class="opc">
app/design/frontend/base/default/template/oink/checkout/success.phtml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Your order has been received.') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
32
+
33
+ <?php if ($this->getOrderId()):?>
34
+ <?php if ($this->getCanViewOrder()) :?>
35
+ <p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
36
+ <?php else :?>
37
+ <p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?></p>
38
+ <?php endif;?>
39
+ <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
40
+ <?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
41
+ <p>
42
+ <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
43
+ <?php echo $this->getChildHtml() ?>
44
+ </p>
45
+ <?php endif;?>
46
+ <?php endif;?>
47
+
48
+ <?php if ($this->getAgreementRefId()): ?>
49
+ <p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
50
+ <?php endif;?>
51
+
52
+ <?php if ($profiles = $this->getRecurringProfiles()):?>
53
+ <p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
54
+ <ul class="disc">
55
+ <?php foreach($profiles as $profile):?>
56
+ <?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
57
+ <li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
58
+ <?php endforeach;?>
59
+ </ul>
60
+ <?php endif;?>
61
+
62
+ <div class="buttons-set">
63
+ <button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
64
+ </div>
app/locale/en_US/Oink_Oink.csv CHANGED
@@ -28,4 +28,12 @@
28
  "",""
29
  "",""
30
  "You need to select a shipping method","You need to select a shipping method"
31
- "Sorry, no quotes are available for this order at this time.", "Sorry, no quotes are available for this order at this time."
 
 
 
 
 
 
 
 
28
  "",""
29
  "",""
30
  "You need to select a shipping method","You need to select a shipping method"
31
+ "Sorry, no quotes are available for this order at this time.", "Unfortunately we cannot ship to your location. Sorry!"
32
+ 'Thank you for your purchase!', 'Thank you for your purchase!'
33
+ 'Your order has been received.', 'Your order has been received.'
34
+ 'Your order # is: %s.', 'Your order # is: %s.'
35
+ 'You will receive an order confirmation email with details of your order and a link to track its progress.', 'You will receive an order confirmation email with details of your order and a link to track its progress.'
36
+ 'Your billing agreement # is: %s.', 'Your billing agreement # is: %s.'
37
+ 'Your recurring payment profiles:', 'Your recurring payment profiles:'
38
+ 'Payment profile # %s: "%s".', 'Payment profile # %s: "%s".'
39
+ 'Continue Shopping', 'Continue Shopping'
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Oink</name>
4
- <version>3.0.41</version>
5
  <stability>stable</stability>
6
- <license uri="https://www.gnu.org/licenses/lgpl.html">LGPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Oink is a module for eCommerce storefronts that allows children to safely make online purchases.</summary>
10
  <description>Oink gives young customers the ability to safely make COPPA (Child Online Privacy Protection Act) compliant purchases online, without providing any personal information. Parents can control all aspects of the child account, including monthly allowance and approved merchants. Best of all, it&#x2019;s free for families to use and easy to set up.</description>
11
- <notes>Styling. Added functionality for user to select shipping method</notes>
12
  <authors><author><name>Simon Taft</name><user>simon</user><email>simon@oink.com</email></author></authors>
13
- <date>2014-06-06</date>
14
- <time>18:07:39</time>
15
- <contents><target name="magelocal"><dir name="Oink"><dir name="MatrixrateIntegration"><dir name="Model"><file name="Observer.php" hash="c7d43c88bed42cc7e07b40d3876b58f7"/></dir><dir name="etc"><file name="config.xml" hash="a130f463fa52acbcb4ba17d87058c2f2"/></dir></dir><dir name="Oink"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><file name="Oink.php" hash="46afbf6be3348dd02702446c4a544677"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="TestConnection"><file name="Html.php" hash="796e413aa7471cbbdda7b7396e91fd30"/></dir><file name="TestConnection.php" hash="451c0a8b0c86bc167842b282edd9b3d7"/><file name="Version.php" hash="7b57e601b08f49d8547eaf1dfcca0db4"/></dir></dir></dir><dir name="Checkout"><file name="Button.php" hash="0e226d2db7696b6cd8e2282f9025233c"/><dir name="ParentConfirm"><file name="CSelect.php" hash="3a1d49aa7ddaf8a9b198b7af0be424ed"/><file name="Payment.php" hash="286169eb94a1e81ea76530519a1df9e3"/></dir><file name="ParentConfirm.php" hash="11c3bd670e51af51fc20b5b0b5899f07"/><dir name="Review"><file name="Info.php" hash="bd6fe28125cef0c9eb21597b628e5e23"/></dir><file name="Review.php" hash="1db5c89ed08522cafb8e81d4eb433292"/><dir name="ShippingMethod"><file name="Available.php" hash="942f894d96a9879e4ed4f6aea067b219"/></dir><file name="ShippingMethod.php" hash="736378aa03ab98acec4c6cec8705d503"/></dir><dir name="Payment"><dir name="Form"><file name="Oink.php" hash="64f278af22b04e202342318c20425516"/></dir><dir name="Info"><file name="Oink.php" hash="0d9fd2a084ab1144bbbbbd1b4b9916b0"/></dir></dir><dir name="Rewrite"><dir name="Checkout"><dir name="Onepage"><file name="Login.php" hash="2602dc2f8afec43a7aca5807641a4897"/></dir></dir></dir></dir><dir name="Helper"><file name="Checkout.php" hash="760e7bbea520a3a365cbba653625ab0a"/><file name="Data.php" hash="857a5a704229ec87e87f24683ff85785"/><file name="LibLoader.php" hash="cfa3a360bfba9d14343d0c2197f9503a"/></dir><dir name="Model"><dir name="Admin"><file name="Checkout.php" hash="7947d4b4d323be9e3c890c0c05350f1b"/><file name="Enablestatus.php" hash="2b96b3a3099c59bb32e9e12b0a5e6f60"/></dir><file name="ErrorHandler.php" hash="c3af123a0d64aebf50db9136ff99a671"/><dir name="Mysql4"><dir name="Order"><file name="Collection.php" hash="2879f7f78df4545c06d2a59cd1d4b025"/></dir><file name="Order.php" hash="241db286c2585e2849612d74763bf06c"/></dir><file name="Observer.php" hash="4a28a0d67f9584a26338880425aa0056"/><file name="Order.php" hash="4c90589d897ad858f8e909b2fbb393a3"/><dir name="Payment"><dir name="Method"><file name="Oink.php" hash="9aad5fcdc3a581963b6f8bcee108b824"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Payment.php" hash="14b71b889caf4f59dc2da6ab59779eda"/></dir><file name="Order.php" hash="f98ece2155bc1474c86c5831a65b18a0"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Shipping"><file name="Carriers.php" hash="00e3a64445bb4eb4ec4fe5bd238d1822"/></dir></dir></dir></dir><dir name="User"><file name="Children.php" hash="892225e5e742411be2ab704378657eaf"/><file name="Parent.php" hash="2e50902da749d79d2e957983104a5f44"/></dir><file name="User.php" hash="e0e91bf5d570154218898df78304bbcc"/></dir><dir name="Test"><dir name="Controller2"><dir name="CheckoutController"><dir name="providers"><file name="badLogin.yaml" hash="66e9a0d9d0dd6f2c05813cbaa80e29fd"/><file name="goodLogin.yaml" hash="2b93c079b403a52ca142d589dc891291"/></dir></dir><file name="CheckoutController.php" hash="fff0d7fbcc2fd5a8472973ad7190a892"/></dir><dir name="Helper"><dir name="Data"><dir name="fixtures"><file name="processTransaction.yaml" hash="497f7c10acd5894f2b2612f117f0d4fc"/></dir><dir name="providers"><file name="badLogin.yaml" hash="66e9a0d9d0dd6f2c05813cbaa80e29fd"/><file name="badLoginMultipleTimes.yaml" hash="66e9a0d9d0dd6f2c05813cbaa80e29fd"/><file name="getChildProfiles.yaml" hash="7c0fcc2a3c5281ff79df9d99addc864c"/><file name="getUserAddress.yaml" hash="8d72b216fe5732c1432c7feff51eb6b8"/><file name="goodLogin.yaml" hash="8d72b216fe5732c1432c7feff51eb6b8"/><file name="processTransaction.yaml" hash="8d72b216fe5732c1432c7feff51eb6b8"/></dir></dir><file name="Data.php" hash="bdc9c93dc4034c9babf8b443a6788135"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OinkController.php" hash="4a6fd3801f0bc96be36154d9d9037c5e"/></dir><file name="CheckoutController.php" hash="dfe3804aca249a993a7a587780a6ccc9"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d02b9fa155dd3f898294aa8091a89576"/><file name="config.xml" hash="bee6a2aee5beeac396fcb54c8f59d78b"/><file name="system.xml" hash="968af3f924fba39f3aece3b463dd16be"/></dir><dir name="sql"><dir name="oink_setup"><file name="mysql4-install-1.0.0.0.php" hash="64fe127e47626ff7b07ffaddc9084284"/><file name="mysql4-upgrade-1.0.0.0-1.0.0.1.php" hash="0703f9810231232032c13318801347c9"/><file name="mysql5-install-1.0.0.0.php" hash="64fe127e47626ff7b07ffaddc9084284"/><file name="mysql5-upgrade-1.0.0.0-1.0.0.1.php" hash="0703f9810231232032c13318801347c9"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="EcomDev"><dir name="PHPUnit"><dir name="Controller"><file name="Front.php" hash="de205b174cd69c7f33295f95451ecd84"/><dir name="Request"><file name="Http.php" hash="3851ff6d44cccd58682c41ec3d4536fb"/></dir><dir name="Response"><file name="Http.php" hash="72f5fa1e8fc6080261933d4d16e78028"/></dir></dir><dir name="Model"><dir name="App"><file name="Area.php" hash="76b78d2835b15b80cdb5db0020b62aeb"/></dir><file name="App.php" hash="6c19b3deb48fac868be6446d06943c38"/><file name="Config.php" hash="429a2f203fa9441599457ea6179e7984"/><dir name="Design"><file name="Package.php" hash="5e241ee0641ac7fc7fdcbd7c05587d09"/></dir><dir name="Expectation"><file name="Interface.php" hash="2aa7460bb285d1c93d8768561ed0e02a"/><file name="Object.php" hash="b93ffa709f97b0117a42acec897da657"/></dir><file name="Expectation.php" hash="11c5a90a2f4904ca3d8eb664c0bbe98f"/><dir name="Fixture"><file name="Interface.php" hash="f8d3e21c8e8b8a14f1357f80e7aa387f"/></dir><file name="Fixture.php" hash="c3bc66731e91fa2b03c8166afac306fd"/><file name="Layout.php" hash="35609e9d16892e83c617372b752a7ea2"/><dir name="Mysql4"><dir name="Fixture"><dir name="Eav"><file name="Abstract.php" hash="cbe9c2db99a28a6c15a382d72aac1a7e"/><dir name="Catalog"><file name="Abstract.php" hash="f3b5bd887b838c447a6e8d4241635954"/><file name="Category.php" hash="29bc1b005ce63f3a38ff7806eeca79bf"/><file name="Product.php" hash="4c5fce0f2144cccd16a71ad2c8ea9da2"/></dir><file name="Default.php" hash="dc5f82b240944f602c28e500fc6038bb"/></dir><file name="Exception.php" hash="12caa19701eba279eb9a8e106b64fa33"/></dir><file name="Fixture.php" hash="5f4e898531aa9f74a71b7a4bfe86d86f"/></dir><dir name="Test"><dir name="Loadable"><file name="Interface.php" hash="3c157c329cdbb33dadcd6287e5305a0d"/></dir></dir></dir><dir name="Test"><dir name="Case"><file name="Config.php" hash="ca67b6b514ac312109d339487a8352e5"/><file name="Controller.php" hash="70965703e54b9daf2356a442cf0ecb76"/></dir><file name="Case.php" hash="9f13140590e658cbec8c4310682bfdcd"/><dir name="Suite"><file name="Group.php" hash="17a16ce044df76ffa2ddf0e2cb208b8a"/></dir><file name="Suite.php" hash="3e00b310b88875eb4548d73d75122557"/></dir><dir name="etc"><file name="config.xml" hash="e1bfc18be71243d3791400fe273f9baf"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="layout"><file name="oink.xml" hash="94c1a0cdaaa71d84906bd0a14866540a"/></dir><dir name="template"><dir name="oink"><dir name="payment"><dir name="form"><file name="oink.phtml" hash="4e295c6a64c5fd8881d7196e8a62baff"/></dir><dir name="info"><file name="oink.phtml" hash="0005599e03b4732e78d6f9a50b50552f"/></dir></dir><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="oink.phtml" hash="9827710b653ec14305577eb88a577f2f"/></dir></dir></dir></dir><dir name="system"><dir name="config"><file name="testConnection.phtml" hash="6a4840d508269c6446de6249ddad1ca6"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="oink.xml" hash="cbb5d211ac0059686111c92e1b1594b2"/></dir><dir name="template"><dir name="oink"><dir name="checkout"><dir name="button"><file name="form.phtml" hash="67f0d311969a3dd7f1eccba5b833ae2e"/></dir><file name="button.phtml" hash="c8c825eb8e28a3e41df6795cd7e1d743"/><dir name="cart"><file name="button.phtml" hash="f8c3081a2c43532434b0c1827be7a0ea"/></dir><dir name="parent_confirm"><file name="c_select.phtml" hash="5be3cee6b56af239d7e34dc6218fd7cd"/><file name="payment.phtml" hash="6380dfa3a12925b0da59a51a02647e22"/></dir><file name="parent_confirm.phtml" hash="7ce0630f8a1b1a3e236ea5fd49a64f59"/><dir name="review"><file name="button.phtml" hash="e39ed437a5a0d465cf61fa2ec61230a0"/><file name="info.phtml" hash="fe91021201783e1f3e6b91867bd189d9"/></dir><file name="review.phtml" hash="bf4f49fcb90e40ba9225c6d362fdf2ff"/><dir name="shipping_method"><file name="available.phtml" hash="a660f42d85a5fa27c55c991dab6f1886"/></dir><file name="shipping_method.phtml" hash="b2220726057bf283950be6e97080d9d9"/></dir><dir name="payment"><dir name="form"><file name="oink.phtml" hash="4e295c6a64c5fd8881d7196e8a62baff"/></dir><dir name="info"><file name="oink.phtml" hash="4728b34687ed9900402ad26b992851e4"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="."><file name="local.xml.phpunit" hash="d07883248ae8266e1c79729731e62b91"/></dir><dir name="modules"><file name="EcomDev_PHPUnit.xml" hash="b6ea9351e47eae748d8b30c16712df3c"/><file name="Oink_MatrixrateIntegration.xml" hash="eb699a1539cb0eda1c2ca7b8f69dc061"/><file name="Oink_Oink.xml" hash="16c9dd8bfd69c9f763fa1c556bdd080c"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Oink_Oink.csv" hash="56c67a54f055eb55539de836c9615783"/></dir></target><target name="magelib"><dir name="EcomDev"><dir name="PHPUnit"><dir name="Constraint"><file name="Abstract.php" hash="7b3d50a4a979ee42247665d218eb5deb"/><dir name="Config"><file name="Abstract.php" hash="bd0d4fd20f89ae1a15fd464f6f844824"/><file name="ClassAlias.php" hash="d31c65bbe6a5c45cccd61e6522e747f9"/><file name="EventObserver.php" hash="3d646533826bffa54387f42fdf16644f"/><file name="Interface.php" hash="aa7e4a9d351dac72516a91bb5b0835a5"/><file name="Layout.php" hash="88e36c9c66305c939969bebb1c8730a5"/><file name="Module.php" hash="3d1c608ccd3b96bbe538ca32c6e0b74a"/><file name="Node.php" hash="19d8f4aee2f5826b39573b15f946cbb7"/><dir name="Resource"><file name="Script.php" hash="f30c73afb0130f841d16ca54e69cae27"/></dir><file name="Resource.php" hash="d1f73385ac8554f54e3733252502d098"/><file name="TableAlias.php" hash="87c9061118c77d391aab35a6baba89b7"/></dir><file name="Config.php" hash="94ba55f6816b1abfddb254ec6cb63b19"/><dir name="Controller"><file name="Request.php" hash="e80649881004b29cdc58c8988bbda058"/><dir name="Response"><file name="Abstract.php" hash="c53a7d48d87f1cfcabc4769144d33d0f"/><file name="Body.php" hash="9951874d1883a41150c87a7c761f7352"/><file name="Header.php" hash="f8cd7cab0742add6e381d015908d1490"/></dir></dir><file name="Exception.php" hash="2b2c7ec20761fb130486a523bb934333"/><file name="Json.php" hash="40ebce44ee1608cc0f7020481cc643f8"/><dir name="Layout"><file name="Abstract.php" hash="529d3e678619f5a4a07177c61345b796"/><dir name="Block"><file name="Action.php" hash="1bf1848798d8b6a7e3850a0133b248c6"/><file name="Property.php" hash="f644175bb5d095ab7042221edd951005"/></dir><file name="Block.php" hash="549ab96d9236492fb4519cc538aced9a"/><file name="Handle.php" hash="abd53be626d295d17f3442aca5db4322"/><dir name="Logger"><file name="Interface.php" hash="38a591fb3f49584c976a8a70a1a491e5"/></dir></dir><file name="Layout.php" hash="7c9b5a5bca7de277821bd4929da8eb08"/></dir><dir name="Controller"><dir name="Request"><file name="Interface.php" hash="1c37b02f4a2854f6e8029b3ae5af6558"/></dir><dir name="Response"><file name="Interface.php" hash="3478995bcb53e74249e7fc139c3ec03d"/></dir></dir><dir name="Design"><dir name="Package"><file name="Interface.php" hash="0043e3513245fbad7dc5651b9bab7e17"/></dir></dir><dir name="Isolation"><file name="Interface.php" hash="5ee9aeb6387fcb641eac650733f33cbf"/></dir></dir><dir name="Utils"><file name="Reflection.php" hash="50141121bd49508da22b346f1a6ccbe5"/></dir></dir><dir name="Oink"><dir name="Data"><file name="dtos.php" hash="a8546f1a514dfd11eddd898c5ea14402"/></dir><dir name="Schemas"><file name="cart.xml" hash="8c9e3a99c619d4c1ccb357a4812d6195"/><file name="cart_02.xml" hash="11992bd3ad7ffecc6d4bcbf3494410dd"/><file name="cart_03.xml" hash="95daf8c3c4b1f6ca48c7c611b8314bf1"/><file name="cart_04.xml" hash="ada7604a8fe8c69b906b307f3dc9d22f"/><file name="oink.xsd" hash="33dc3a164b7bd0663ae6f0248f99f38b"/></dir><dir name="Services"><dir name="Implementations"><file name="FormPaymentServiceConfiguration.php" hash="a01e5b2a9c8bcc5f1f5cb5033caf0cd6"/><file name="MagentoPaymentServiceConfiguration.php" hash="de1e48232bd5861a2764c70e91f5625e"/><file name="MerchantFormServiceConfiguration.php" hash="00e59aaef9376fe0774b4b2d8a618fd9"/><file name="MerchantPaymentServiceConfiguration.php" hash="5c6126a28cd80931ec001536bb96df76"/><file name="MockCartService.php" hash="b7b83766ba9e420cec88047eb8019b9b"/><file name="OinkCallbackService.php" hash="cd12192efdc9b2ad0a3232da13b73dbc"/><file name="OinkException.php" hash="62a34fa3ed167069179955c2b687728a"/><file name="OinkFormService.php" hash="d4a774c6417a3987f9dd38c4f4bc92e1"/><file name="OinkLoggingService.php" hash="12a58b8b57646e7906fe99261fe6b379"/><file name="OinkParentService.php" hash="73cf84766197846be2f31226c5d79440"/><file name="OinkPaymentService.php" hash="8a42b250f2ab603d82c12480bb82b711"/><file name="OinkSoapClient.php" hash="b8fb7071267b85b778ecf44e80d2651d"/><file name="XmlSerializationService.php" hash="1edbdfdbc95e0bddec3d70c8aae63a69"/><file name="XmlToArray.php" hash="dff38372563c22489a3459628eb874fd"/></dir><dir name="Interfaces"><file name="ICallbackService.php" hash="ffdd689c85fc3f51a1546f1039791e0e"/><file name="ICartService.php" hash="4b9e34cf1def0b7711b9e88fd3efdf95"/><file name="IFormService.php" hash="9e85eafcbdc86053c5ca6e404490e6a3"/><file name="IFormServiceConfiguration.php" hash="f2f4f1040db45e2988b7c07e1034b963"/><file name="ILoggingService.php" hash="42107a5d1bc0e8710a683c1e2cec5ee0"/><file name="IParentService.php" hash="44ad37895e77ce49f325066b19909c5c"/><file name="IPaymentService.php" hash="69b17e2481f19e4cbbe371a99be3d682"/><file name="IPaymentServiceConfiguration.php" hash="5a222d3034630438ede1185cdfde726d"/><file name="ISerializationService.php" hash="d3a2402a772f997f5feb5cc9bc24875d"/></dir></dir></dir><dir name="Spyc"><file name="spyc.php" hash="6405eec7d8d55bd8ae2a1f12f7d38f0b"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="oink"><file name="blank.gif" hash="5722d7bd0f1e1379d0a2005a0a9ea401"/><dir name="buttons"><file name="vp-checkout.png" hash="a3edc829cc9814d894a37bafe16366af"/></dir><dir name="checkout"><file name="OinkLogo.png" hash="db97e52961631503e11d2885b5d42a77"/><file name="Thumbs.db" hash="660184ecb1a4f4f72319e475c409822b"/><file name="add.png" hash="e48a572754fdf14c553843e62f6acf24"/><file name="continue.png" hash="292346af8d43a8dec516fd957895d3e6"/><file name="login.png" hash="bbdd6eba925d24f7821e3a2aac80f16a"/><file name="signup.png" hash="7727180f70df75d7cbf1ae1f7a59aa18"/><file name="x.png" hash="b47599f92ef803fdd550e70b18d25d58"/></dir><dir name="login"><file name="loader.gif" hash="4273200927b0609b3add19c1cb6d684a"/><file name="oink.png" hash="b7f4d8212d77947819d98376163c3e92"/><file name="vp-close.png" hash="d753dbae489507acf09acc2b749afd5a"/><file name="vp-login.png" hash="63730306ab3b02443b36e32765a496c1"/><file name="vp-signup.png" hash="741791c7a6e29fc19f67a094c61b0dc6"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Oink</name>
4
+ <version>3.0.42</version>
5
  <stability>stable</stability>
6
+ <license>LGPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Oink is a module for eCommerce storefronts that allows children to safely make online purchases.</summary>
10
  <description>Oink gives young customers the ability to safely make COPPA (Child Online Privacy Protection Act) compliant purchases online, without providing any personal information. Parents can control all aspects of the child account, including monthly allowance and approved merchants. Best of all, it&#x2019;s free for families to use and easy to set up.</description>
11
+ <notes>Fixed double rendering of HTML. Added more informative order success page. </notes>
12
  <authors><author><name>Simon Taft</name><user>simon</user><email>simon@oink.com</email></author></authors>
13
+ <date>2014-06-10</date>
14
+ <time>19:18:52</time>
15
+ <contents><target name="magelocal"><dir name="Oink"><dir name="MatrixrateIntegration"><dir name="Model"><file name="Observer.php" hash="c7d43c88bed42cc7e07b40d3876b58f7"/></dir><dir name="etc"><file name="config.xml" hash="a130f463fa52acbcb4ba17d87058c2f2"/></dir></dir><dir name="Oink"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><file name="Oink.php" hash="46afbf6be3348dd02702446c4a544677"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="TestConnection"><file name="Html.php" hash="796e413aa7471cbbdda7b7396e91fd30"/></dir><file name="TestConnection.php" hash="451c0a8b0c86bc167842b282edd9b3d7"/><file name="Version.php" hash="7b57e601b08f49d8547eaf1dfcca0db4"/></dir></dir></dir><dir name="Checkout"><file name="Button.php" hash="0e226d2db7696b6cd8e2282f9025233c"/><file name="Failure.php" hash="aed9fd262591c3880ccd1e9d4e2eb064"/><dir name="ParentConfirm"><file name="CSelect.php" hash="3a1d49aa7ddaf8a9b198b7af0be424ed"/><file name="Payment.php" hash="286169eb94a1e81ea76530519a1df9e3"/></dir><file name="ParentConfirm.php" hash="6f923ee13d694d17d3ac4d90dea79088"/><dir name="Review"><file name="Info.php" hash="bd6fe28125cef0c9eb21597b628e5e23"/></dir><file name="Review.php" hash="1db5c89ed08522cafb8e81d4eb433292"/><dir name="ShippingMethod"><file name="Available.php" hash="942f894d96a9879e4ed4f6aea067b219"/></dir><file name="ShippingMethod.php" hash="736378aa03ab98acec4c6cec8705d503"/><file name="Success.php" hash="b71873895c472e5b9f3e0638fc50e8db"/></dir><dir name="Payment"><dir name="Form"><file name="Oink.php" hash="64f278af22b04e202342318c20425516"/></dir><dir name="Info"><file name="Oink.php" hash="0d9fd2a084ab1144bbbbbd1b4b9916b0"/></dir></dir><dir name="Rewrite"><dir name="Checkout"><dir name="Onepage"><file name="Login.php" hash="2602dc2f8afec43a7aca5807641a4897"/></dir></dir></dir></dir><dir name="Helper"><file name="Checkout.php" hash="99fc1378d1aa25d8b89dbfffa4e1dc7c"/><file name="Data.php" hash="857a5a704229ec87e87f24683ff85785"/><file name="LibLoader.php" hash="cfa3a360bfba9d14343d0c2197f9503a"/></dir><dir name="Model"><dir name="Admin"><file name="Checkout.php" hash="7947d4b4d323be9e3c890c0c05350f1b"/><file name="Enablestatus.php" hash="2b96b3a3099c59bb32e9e12b0a5e6f60"/></dir><file name="ErrorHandler.php" hash="c3af123a0d64aebf50db9136ff99a671"/><dir name="Mysql4"><dir name="Order"><file name="Collection.php" hash="2879f7f78df4545c06d2a59cd1d4b025"/></dir><file name="Order.php" hash="241db286c2585e2849612d74763bf06c"/></dir><file name="Observer.php" hash="4a28a0d67f9584a26338880425aa0056"/><file name="Order.php" hash="4c90589d897ad858f8e909b2fbb393a3"/><dir name="Payment"><dir name="Method"><file name="Oink.php" hash="9aad5fcdc3a581963b6f8bcee108b824"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Payment.php" hash="14b71b889caf4f59dc2da6ab59779eda"/></dir><file name="Order.php" hash="f98ece2155bc1474c86c5831a65b18a0"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Shipping"><file name="Carriers.php" hash="00e3a64445bb4eb4ec4fe5bd238d1822"/></dir></dir></dir></dir><dir name="User"><file name="Children.php" hash="892225e5e742411be2ab704378657eaf"/><file name="Parent.php" hash="2e50902da749d79d2e957983104a5f44"/></dir><file name="User.php" hash="e0e91bf5d570154218898df78304bbcc"/></dir><dir name="Test"><dir name="Controller2"><dir name="CheckoutController"><dir name="providers"><file name="badLogin.yaml" hash="66e9a0d9d0dd6f2c05813cbaa80e29fd"/><file name="goodLogin.yaml" hash="2b93c079b403a52ca142d589dc891291"/></dir></dir><file name="CheckoutController.php" hash="fff0d7fbcc2fd5a8472973ad7190a892"/></dir><dir name="Helper"><dir name="Data"><dir name="fixtures"><file name="processTransaction.yaml" hash="497f7c10acd5894f2b2612f117f0d4fc"/></dir><dir name="providers"><file name="badLogin.yaml" hash="66e9a0d9d0dd6f2c05813cbaa80e29fd"/><file name="badLoginMultipleTimes.yaml" hash="66e9a0d9d0dd6f2c05813cbaa80e29fd"/><file name="getChildProfiles.yaml" hash="7c0fcc2a3c5281ff79df9d99addc864c"/><file name="getUserAddress.yaml" hash="8d72b216fe5732c1432c7feff51eb6b8"/><file name="goodLogin.yaml" hash="8d72b216fe5732c1432c7feff51eb6b8"/><file name="processTransaction.yaml" hash="8d72b216fe5732c1432c7feff51eb6b8"/></dir></dir><file name="Data.php" hash="bdc9c93dc4034c9babf8b443a6788135"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OinkController.php" hash="4a6fd3801f0bc96be36154d9d9037c5e"/></dir><file name="CheckoutController.php" hash="bb7e170871ac1e3622c14e7388618713"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d02b9fa155dd3f898294aa8091a89576"/><file name="config.xml" hash="874470e71cb1b7d5cbf61fd4f3e81c58"/><file name="system.xml" hash="968af3f924fba39f3aece3b463dd16be"/></dir><dir name="sql"><dir name="oink_setup"><file name="mysql4-install-1.0.0.0.php" hash="64fe127e47626ff7b07ffaddc9084284"/><file name="mysql4-upgrade-1.0.0.0-1.0.0.1.php" hash="0703f9810231232032c13318801347c9"/><file name="mysql5-install-1.0.0.0.php" hash="64fe127e47626ff7b07ffaddc9084284"/><file name="mysql5-upgrade-1.0.0.0-1.0.0.1.php" hash="0703f9810231232032c13318801347c9"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="EcomDev"><dir name="PHPUnit"><dir name="Controller"><file name="Front.php" hash="de205b174cd69c7f33295f95451ecd84"/><dir name="Request"><file name="Http.php" hash="3851ff6d44cccd58682c41ec3d4536fb"/></dir><dir name="Response"><file name="Http.php" hash="72f5fa1e8fc6080261933d4d16e78028"/></dir></dir><dir name="Model"><dir name="App"><file name="Area.php" hash="76b78d2835b15b80cdb5db0020b62aeb"/></dir><file name="App.php" hash="6c19b3deb48fac868be6446d06943c38"/><file name="Config.php" hash="429a2f203fa9441599457ea6179e7984"/><dir name="Design"><file name="Package.php" hash="5e241ee0641ac7fc7fdcbd7c05587d09"/></dir><dir name="Expectation"><file name="Interface.php" hash="2aa7460bb285d1c93d8768561ed0e02a"/><file name="Object.php" hash="b93ffa709f97b0117a42acec897da657"/></dir><file name="Expectation.php" hash="11c5a90a2f4904ca3d8eb664c0bbe98f"/><dir name="Fixture"><file name="Interface.php" hash="f8d3e21c8e8b8a14f1357f80e7aa387f"/></dir><file name="Fixture.php" hash="c3bc66731e91fa2b03c8166afac306fd"/><file name="Layout.php" hash="35609e9d16892e83c617372b752a7ea2"/><dir name="Mysql4"><dir name="Fixture"><dir name="Eav"><file name="Abstract.php" hash="cbe9c2db99a28a6c15a382d72aac1a7e"/><dir name="Catalog"><file name="Abstract.php" hash="f3b5bd887b838c447a6e8d4241635954"/><file name="Category.php" hash="29bc1b005ce63f3a38ff7806eeca79bf"/><file name="Product.php" hash="4c5fce0f2144cccd16a71ad2c8ea9da2"/></dir><file name="Default.php" hash="dc5f82b240944f602c28e500fc6038bb"/></dir><file name="Exception.php" hash="12caa19701eba279eb9a8e106b64fa33"/></dir><file name="Fixture.php" hash="5f4e898531aa9f74a71b7a4bfe86d86f"/></dir><dir name="Test"><dir name="Loadable"><file name="Interface.php" hash="3c157c329cdbb33dadcd6287e5305a0d"/></dir></dir></dir><dir name="Test"><dir name="Case"><file name="Config.php" hash="ca67b6b514ac312109d339487a8352e5"/><file name="Controller.php" hash="70965703e54b9daf2356a442cf0ecb76"/></dir><file name="Case.php" hash="9f13140590e658cbec8c4310682bfdcd"/><dir name="Suite"><file name="Group.php" hash="17a16ce044df76ffa2ddf0e2cb208b8a"/></dir><file name="Suite.php" hash="3e00b310b88875eb4548d73d75122557"/></dir><dir name="etc"><file name="config.xml" hash="e1bfc18be71243d3791400fe273f9baf"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="layout"><file name="oink.xml" hash="94c1a0cdaaa71d84906bd0a14866540a"/></dir><dir name="template"><dir name="oink"><dir name="payment"><dir name="form"><file name="oink.phtml" hash="4e295c6a64c5fd8881d7196e8a62baff"/></dir><dir name="info"><file name="oink.phtml" hash="0005599e03b4732e78d6f9a50b50552f"/></dir></dir><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="oink.phtml" hash="9827710b653ec14305577eb88a577f2f"/></dir></dir></dir></dir><dir name="system"><dir name="config"><file name="testConnection.phtml" hash="6a4840d508269c6446de6249ddad1ca6"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="oink.xml" hash="d771679dc439813fdf197bc19a48f0d0"/></dir><dir name="template"><dir name="oink"><dir name="checkout"><dir name="button"><file name="form.phtml" hash="67f0d311969a3dd7f1eccba5b833ae2e"/></dir><file name="button.phtml" hash="c8c825eb8e28a3e41df6795cd7e1d743"/><dir name="cart"><file name="button.phtml" hash="f8c3081a2c43532434b0c1827be7a0ea"/></dir><file name="failure.phtml" hash="e2816fe857beebdfee256cd7946c7f51"/><dir name="parent_confirm"><file name="c_select.phtml" hash="5be3cee6b56af239d7e34dc6218fd7cd"/><file name="payment.phtml" hash="6380dfa3a12925b0da59a51a02647e22"/></dir><file name="parent_confirm.phtml" hash="7ce0630f8a1b1a3e236ea5fd49a64f59"/><dir name="review"><file name="button.phtml" hash="e39ed437a5a0d465cf61fa2ec61230a0"/><file name="info.phtml" hash="fe91021201783e1f3e6b91867bd189d9"/></dir><file name="review.phtml" hash="bf4f49fcb90e40ba9225c6d362fdf2ff"/><dir name="shipping_method"><file name="available.phtml" hash="a660f42d85a5fa27c55c991dab6f1886"/></dir><file name="shipping_method.phtml" hash="b3a39ced0697c34431b4ab081211d694"/><file name="success.phtml" hash="2e15bd609848f9da5edcece36b75ee45"/></dir><dir name="payment"><dir name="form"><file name="oink.phtml" hash="4e295c6a64c5fd8881d7196e8a62baff"/></dir><dir name="info"><file name="oink.phtml" hash="4728b34687ed9900402ad26b992851e4"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="."><file name="local.xml.phpunit" hash="d07883248ae8266e1c79729731e62b91"/></dir><dir name="modules"><file name="EcomDev_PHPUnit.xml" hash="b6ea9351e47eae748d8b30c16712df3c"/><file name="Oink_MatrixrateIntegration.xml" hash="eb699a1539cb0eda1c2ca7b8f69dc061"/><file name="Oink_Oink.xml" hash="16c9dd8bfd69c9f763fa1c556bdd080c"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Oink_Oink.csv" hash="7c43ae3bff6876b83288c6c6ccb7bb29"/></dir></target><target name="magelib"><dir name="EcomDev"><dir name="PHPUnit"><dir name="Constraint"><file name="Abstract.php" hash="7b3d50a4a979ee42247665d218eb5deb"/><dir name="Config"><file name="Abstract.php" hash="bd0d4fd20f89ae1a15fd464f6f844824"/><file name="ClassAlias.php" hash="d31c65bbe6a5c45cccd61e6522e747f9"/><file name="EventObserver.php" hash="3d646533826bffa54387f42fdf16644f"/><file name="Interface.php" hash="aa7e4a9d351dac72516a91bb5b0835a5"/><file name="Layout.php" hash="88e36c9c66305c939969bebb1c8730a5"/><file name="Module.php" hash="3d1c608ccd3b96bbe538ca32c6e0b74a"/><file name="Node.php" hash="19d8f4aee2f5826b39573b15f946cbb7"/><dir name="Resource"><file name="Script.php" hash="f30c73afb0130f841d16ca54e69cae27"/></dir><file name="Resource.php" hash="d1f73385ac8554f54e3733252502d098"/><file name="TableAlias.php" hash="87c9061118c77d391aab35a6baba89b7"/></dir><file name="Config.php" hash="94ba55f6816b1abfddb254ec6cb63b19"/><dir name="Controller"><file name="Request.php" hash="e80649881004b29cdc58c8988bbda058"/><dir name="Response"><file name="Abstract.php" hash="c53a7d48d87f1cfcabc4769144d33d0f"/><file name="Body.php" hash="9951874d1883a41150c87a7c761f7352"/><file name="Header.php" hash="f8cd7cab0742add6e381d015908d1490"/></dir></dir><file name="Exception.php" hash="2b2c7ec20761fb130486a523bb934333"/><file name="Json.php" hash="40ebce44ee1608cc0f7020481cc643f8"/><dir name="Layout"><file name="Abstract.php" hash="529d3e678619f5a4a07177c61345b796"/><dir name="Block"><file name="Action.php" hash="1bf1848798d8b6a7e3850a0133b248c6"/><file name="Property.php" hash="f644175bb5d095ab7042221edd951005"/></dir><file name="Block.php" hash="549ab96d9236492fb4519cc538aced9a"/><file name="Handle.php" hash="abd53be626d295d17f3442aca5db4322"/><dir name="Logger"><file name="Interface.php" hash="38a591fb3f49584c976a8a70a1a491e5"/></dir></dir><file name="Layout.php" hash="7c9b5a5bca7de277821bd4929da8eb08"/></dir><dir name="Controller"><dir name="Request"><file name="Interface.php" hash="1c37b02f4a2854f6e8029b3ae5af6558"/></dir><dir name="Response"><file name="Interface.php" hash="3478995bcb53e74249e7fc139c3ec03d"/></dir></dir><dir name="Design"><dir name="Package"><file name="Interface.php" hash="0043e3513245fbad7dc5651b9bab7e17"/></dir></dir><dir name="Isolation"><file name="Interface.php" hash="5ee9aeb6387fcb641eac650733f33cbf"/></dir></dir><dir name="Utils"><file name="Reflection.php" hash="50141121bd49508da22b346f1a6ccbe5"/></dir></dir><dir name="Spyc"><file name="spyc.php" hash="6405eec7d8d55bd8ae2a1f12f7d38f0b"/></dir><dir name="Oink"><dir name="Data"><file name="dtos.php" hash="a8546f1a514dfd11eddd898c5ea14402"/></dir><dir name="Schemas"><file name="cart.xml" hash="8c9e3a99c619d4c1ccb357a4812d6195"/><file name="cart_02.xml" hash="11992bd3ad7ffecc6d4bcbf3494410dd"/><file name="cart_03.xml" hash="95daf8c3c4b1f6ca48c7c611b8314bf1"/><file name="cart_04.xml" hash="ada7604a8fe8c69b906b307f3dc9d22f"/><file name="oink.xsd" hash="33dc3a164b7bd0663ae6f0248f99f38b"/></dir><dir name="Services"><dir name="Implementations"><file name="FormPaymentServiceConfiguration.php" hash="a01e5b2a9c8bcc5f1f5cb5033caf0cd6"/><file name="MagentoPaymentServiceConfiguration.php" hash="de1e48232bd5861a2764c70e91f5625e"/><file name="MerchantFormServiceConfiguration.php" hash="00e59aaef9376fe0774b4b2d8a618fd9"/><file name="MerchantPaymentServiceConfiguration.php" hash="5c6126a28cd80931ec001536bb96df76"/><file name="MockCartService.php" hash="b7b83766ba9e420cec88047eb8019b9b"/><file name="OinkCallbackService.php" hash="cd12192efdc9b2ad0a3232da13b73dbc"/><file name="OinkException.php" hash="62a34fa3ed167069179955c2b687728a"/><file name="OinkFormService.php" hash="d4a774c6417a3987f9dd38c4f4bc92e1"/><file name="OinkLoggingService.php" hash="12a58b8b57646e7906fe99261fe6b379"/><file name="OinkParentService.php" hash="73cf84766197846be2f31226c5d79440"/><file name="OinkPaymentService.php" hash="8a42b250f2ab603d82c12480bb82b711"/><file name="OinkSoapClient.php" hash="b8fb7071267b85b778ecf44e80d2651d"/><file name="XmlSerializationService.php" hash="1edbdfdbc95e0bddec3d70c8aae63a69"/><file name="XmlToArray.php" hash="dff38372563c22489a3459628eb874fd"/></dir><dir name="Interfaces"><file name="ICallbackService.php" hash="ffdd689c85fc3f51a1546f1039791e0e"/><file name="ICartService.php" hash="4b9e34cf1def0b7711b9e88fd3efdf95"/><file name="IFormService.php" hash="9e85eafcbdc86053c5ca6e404490e6a3"/><file name="IFormServiceConfiguration.php" hash="f2f4f1040db45e2988b7c07e1034b963"/><file name="ILoggingService.php" hash="42107a5d1bc0e8710a683c1e2cec5ee0"/><file name="IParentService.php" hash="44ad37895e77ce49f325066b19909c5c"/><file name="IPaymentService.php" hash="69b17e2481f19e4cbbe371a99be3d682"/><file name="IPaymentServiceConfiguration.php" hash="5a222d3034630438ede1185cdfde726d"/><file name="ISerializationService.php" hash="d3a2402a772f997f5feb5cc9bc24875d"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="oink"><file name="blank.gif" hash="5722d7bd0f1e1379d0a2005a0a9ea401"/><dir name="buttons"><file name="vp-checkout.png" hash="a3edc829cc9814d894a37bafe16366af"/></dir><dir name="checkout"><file name="OinkLogo.png" hash="db97e52961631503e11d2885b5d42a77"/><file name="Thumbs.db" hash="660184ecb1a4f4f72319e475c409822b"/><file name="add.png" hash="e48a572754fdf14c553843e62f6acf24"/><file name="continue.png" hash="292346af8d43a8dec516fd957895d3e6"/><file name="login.png" hash="bbdd6eba925d24f7821e3a2aac80f16a"/><file name="signup.png" hash="7727180f70df75d7cbf1ae1f7a59aa18"/><file name="x.png" hash="b47599f92ef803fdd550e70b18d25d58"/></dir><dir name="login"><file name="loader.gif" hash="4273200927b0609b3add19c1cb6d684a"/><file name="oink.png" hash="b7f4d8212d77947819d98376163c3e92"/><file name="vp-close.png" hash="d753dbae489507acf09acc2b749afd5a"/><file name="vp-login.png" hash="63730306ab3b02443b36e32765a496c1"/><file name="vp-signup.png" hash="741791c7a6e29fc19f67a094c61b0dc6"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>