Oink - Version 3.0.3

Version Notes

Bug fixes

Download this release

Release Info

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


Code changes from version 3.0.2 to 3.0.3

app/design/adminhtml/base/default/layout/oink.xml DELETED
@@ -1,12 +0,0 @@
1
- <?xml version="1.0"?>
2
- <layout>
3
- <adminhtml_sales_order_view>
4
- <reference name="sales_order_tabs">
5
- <block type="oink/adminhtml_sales_order_view_tab_oink" name="order_tab_oink" template="oink/sales/order/view/tab/oink.phtml" />
6
- <action method="addTab">
7
- <name>oink_data</name>
8
- <block>order_tab_oink</block>
9
- </action>
10
- </reference>
11
- </adminhtml_sales_order_view>
12
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/oink/checkout/button.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php /* @var $this Oink_Oink_Block_Checkout_Button */ ?>
2
+ <?php $config = Mage::getStoreConfig('checkout/options'); ?>
3
+ <script type="text/javascript">
4
+ /* TODO: Get non-lossy image assets.
5
+ var oinkRadioImgs = new Array(
6
+ '68x8.png', '68x9.png', '68x10.png','68x11.png', '68x12.png', '68x13.png', '68x14.png',
7
+ '68x15.png', '68x16.png', '68x17.png', '68x18.png', '68x19.png', '68x20.png');
8
+ */
9
+
10
+ // 1. create "oinkRadio" element
11
+ // 2. save onepage-guest-register-button onclick method (prevents overiding core)
12
+ // 3. create vpCheckout method
13
+ // 4. only add Oink "radio" and replace "onepage" button (#2) if guest_checkout enabled.
14
+ // 5. in checkoutVP call onepage onclick method if Oink Radio not selected
15
+ // 6. use admin (config) for Oink image ->
16
+
17
+
18
+ var vp_onepageclick = null;
19
+ document.observe('dom:loaded', function(){
20
+
21
+ // 2. Save "Onepage Checkout(Magento)" onclick "function"
22
+ vp_onepageclick = $('onepage-guest-register-button').onclick;
23
+
24
+
25
+ // 4. If "Allow Guest Checkout" enabled, add Oink "radio" select and replace "onepage" guest with "oink"
26
+ var oinkCheckoutType = '<?php echo Mage::getStoreConfig("oink/checkoutbutton/oink_radio"); ?>';
27
+ var guestCheckoutEnabled = '<?php echo $config['guest_checkout']; ?>';
28
+ if(guestCheckoutEnabled == '1') {
29
+ // Merchant selected (0) "Checkout Button and Radio Select" OR
30
+ // Merchant selected (2) "Radio Select Only"
31
+ if(oinkCheckoutType == '1' || oinkCheckoutType == '0') {
32
+ var continueBtnHeight = $('onepage-guest-register-button').getHeight();
33
+ var oinkCheckoutBtn = '<a href="<?php echo $this->getCheckoutUrl() ?>" id="oink-checkout-button" onclick="return oinkLoginForm.toggleTooltip()" class="<?php echo $this->getCssClass() ?>"><img src="https://cdn.virtualpiggy.com/public/images/checkout-145x42.png" style="height: '+continueBtnHeight+'px" /></a>';
34
+ $('onepage-guest-register-button').up(0).insert(oinkCheckoutBtn);
35
+ }
36
+ if(oinkCheckoutType == '2' || oinkCheckoutType == '0') {
37
+ var radioOptionHeight = getRadioOptionHeight();
38
+ // 1. Oink Radio Button
39
+ var oinkRadio = '<li class="control"><input type="radio" name="checkout_method" id="lologin:oink" value="oink" class="radio"> <label for="login:oink"><img src="https://cdn.virtualpiggy.com/public/images/checkout-radio-68x20.png" height="'+radioOptionHeight+'px" style="vertical-align:middle;" /></label></li>';
40
+ $('login:register').up(0).insert({
41
+ before: oinkRadio
42
+ });
43
+ // 3. Create Oink onclick "function"
44
+ var vpContinue = '<button id="onepage-guest-register-button" type="button" class="button" onclick="checkoutVP();"><span><span>Continue</span></span></button>';
45
+ $('onepage-guest-register-button').replace(vpContinue);
46
+ }
47
+ }
48
+ });
49
+
50
+ function getRadioOptionHeight() {
51
+ var radioOptionLayout = $('login:register').up(0).getLayout();
52
+ var radioOptionHeight = radioOptionLayout.get('height')-radioOptionLayout.get('margin-top')-radioOptionLayout.get('margin-bottom');
53
+ if(radioOptionHeight < 8)
54
+ radioOptionHeight = 8;
55
+ if(radioOptionHeight > 20)
56
+ radioOptionHeight = 20;
57
+ return radioOptionHeight;
58
+ }
59
+
60
+ function checkoutVP() {
61
+ // 5. if Oink Radio selected display Oink Login else call "Onepage Checkout (Magento)"
62
+ if(document.getElementById('lologin:oink').checked) {
63
+ oinkLoginForm.toggleTooltip();
64
+ }
65
+ else {
66
+ vp_onepageclick();
67
+ }
68
+ }
69
+
70
+ </script>
app/design/frontend/base/default/template/oink/checkout/button/form.phtml ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ #oink-login-container{
3
+ position:relative;
4
+ }
5
+ input[type=text], input[type=password]
6
+ {
7
+ height:25px;
8
+ width:250px;
9
+ font-size:11pt;
10
+ color: #444;
11
+ padding-left: 10px;
12
+ text-decoration: none;
13
+ font-family: "helvetica neue regular";
14
+ }
15
+
16
+ #oink-cart-button {
17
+ display: inline-block;
18
+ margin-top: <?php echo Mage::getStoreConfig("oink/checkoutbutton/oink_cart_checkout_margin_top").'px;'; ?>
19
+ }
20
+
21
+ .opensans
22
+ {
23
+ font-family: "open sans condensed", sans-serif;
24
+ font-style:condensed;
25
+ font-size:16pt;
26
+ font-weight:bold;
27
+ color:#1E6FCA;
28
+ line-height: 15px;
29
+ }
30
+
31
+
32
+ #oink-checkout-button {
33
+ float: left;
34
+ }
35
+
36
+ .overlay_magento {
37
+ background-color: #000;
38
+ filter:alpha(opacity=60);
39
+ -moz-opacity: 0.6;
40
+ opacity: 0.6;
41
+ }
42
+
43
+ .dim
44
+ {
45
+ background-color: white;
46
+ filter:alpha(opacity=50); /* IE */
47
+ opacity: 0.5; /* Safari, Opera */
48
+ -moz-opacity:0.50; /* FireFox */
49
+ z-index: 20;
50
+ }
51
+
52
+
53
+ </style>
54
+
55
+ <?php $skinUrl = $this->getSkinUrl('images/oink/checkout/'); ?>
56
+ <?php $baseJsUrl = Mage::getBaseUrl('js'); ?>
57
+
58
+ <link rel="stylesheet" type="text/css" href="<?php echo $baseJsUrl ?>prototype/windows/themes/default.css"/>
59
+ <link href='//fonts.googleapis.com/css?family=Open+Sans+Condensed:bold&v1' rel='stylesheet' type='text/css'>
60
+
61
+ <script type="text/javascript" src="<?php echo $baseJsUrl ?>prototype/window.js"></script>
62
+ <div id="oink-login" align="center" style="display:none;">
63
+ <div align="left" style="width:600px;height:300px;border:1px solid #444;background-color:#fff;">
64
+
65
+ <!-- x //-->
66
+ <div style="float:right;padding:10px;"><a style="text-decoration:none;cursor:pointer;" onClick="return closePopup()"><img src="<?php echo $skinUrl; ?>x.png" /></a></div>
67
+ <div style="padding:30px;">
68
+
69
+ <!-- left col -->
70
+ <div id="loading" style="vertical-align:top;display:none;width:310px;height:200px;">
71
+ <div align="center">
72
+ <img src="https://cdn.virtualpiggy.com/public/images/checkout-logo-192x75.png" />
73
+ <div align="center" class="opensans" style="width:220px;padding-top:15px;"><span style="font-weight:bold;color:#999;"><?php echo Mage::helper('adminhtml')->__('Please wait while you are logged in...') ?></span></div>
74
+ <div align="center" style="padding-top:20px;"><img src="<?php echo $this->getSkinUrl('images/oink/login/loader.gif') ?>" alt="<?php echo Mage::helper('adminhtml')->__('Loading...') ?>"/></div>
75
+ </div>
76
+ </div>
77
+
78
+ <div id="login" style="vertical-align:top;display:inline-block;width:310px;height:200px;">
79
+ <div align="center">
80
+ <form id="oink-login">
81
+ <img src="https://cdn.virtualpiggy.com/public/images/checkout-logo-192x75.png" height="70"/>
82
+ <div class="opensans" style="font-size:16pt;font-weight:bold;color:#999;padding-top:15px;">Log In to Checkout</div>
83
+ <div align="center" style="padding-top:10px;">
84
+ <input class="textBox required-entry" onkeypress="bindOinkLoginPost(event)" id="oink-login-userid" name="UserName" tabindex="2" type="text" placeholder="Username" />
85
+ </div>
86
+ <div align="center" style="padding-top:5px;">
87
+ <input autocomplete="off" onkeypress="bindOinkLoginPost(event)" class="textBox required-entry" id="oink-login-password" name="Password" tabindex="3" type="password" placeholder="Password" />
88
+ <div class="opensans" style="font-size:10pt;color:#ff0000;" id="oink-errors-container">&nbsp;</div>
89
+ <div><a href="https://users.oink.com/login/forgotpassword" target="_blank" style="font-size:10pt;color:#999;font-family:"helvetica neue regular";">Forgot Password?</a></div>
90
+ </div>
91
+ </form>
92
+ </div>
93
+ </div>
94
+
95
+ <!-- separator -->
96
+ <div style="display:inline-block;height:210px;width:0px;border:1px solid #999;"></div>
97
+
98
+ <!-- right col -->
99
+ <div id="signup" style="vertical-align:top;display:inline-block;width:180px;height:200px;padding-left:15px;">
100
+ <div align="center" style="padding-top:30px;">
101
+ <div style=""><span class="opensans">Don't have an Oink account?</span></div>
102
+ <div style="padding-top:15px;"><span style="font-size:10pt;font-family:"helvetica neue regular";color:#444;line-height:10px;">Oink is the safe way for kids and teens to save, shop and give online.</span></div>
103
+ <div style="padding-top:35px;"><a href="http://www.oink.com/how-it-works" target="_blank" style="font-size:10pt;color:#999;font-family:"helvetica neue regular";">Learn More</a></div>
104
+ </div>
105
+ </div>
106
+
107
+ <!-- buttons -->
108
+ <div id="buttons">
109
+ <div id="button-login" align="center" style="display:inline-block;width:310px;"><a onclick="return oinkLoginForm.submit();" href="#"><img src="<?php echo $skinUrl; ?>login.png" /></a></div>
110
+ <div id="button-signup" align="center" style="display:inline-block;width:220px;"><a href="https://users.oink.com/registration" target="_blank" style="font-size:10pt;font-family:helvetica, neue, regular;color:#999;"><img src="<?php echo $skinUrl; ?>signup.png" /></a></div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </div>
115
+
116
+ <input type="hidden" id="oink-checkout-url" value="<?php echo $this->getCheckoutUrl() ?>"/>
117
+ <script type="text/javascript">
118
+ //<![CDATA[
119
+ if ("payment" in window)
120
+ {
121
+ var oldSwitchMethod=payment.switchMethod;
122
+ payment.switchMethod=function(method){
123
+ if(method=="oink"){
124
+ oinkLoginForm.toggleTooltip()
125
+ }else{
126
+ oldSwitchMethod.apply(this,[method])
127
+ }
128
+ }
129
+ }
130
+ // if($('p_method_oink')){
131
+ // $('p_method_oink').onclick=function(){
132
+ // oinkLoginForm.submit();
133
+ // }
134
+ // }
135
+ function closePopup(){
136
+ if($('p_method_oink'))$('p_method_oink').checked=false;
137
+ Dialog.cancelCallback();
138
+ return false;
139
+ }
140
+ var oinkLoginForm = new VarienForm('oink-login', true);
141
+ function bindOinkLoginPost(evt){
142
+ if (evt.keyCode == Event.KEY_RETURN) {
143
+ oinkLoginForm.submit();
144
+ }
145
+ }
146
+ oinkLoginForm.toggleTooltip=function(){
147
+ if($$(".dialog").length){
148
+ return false;
149
+ }
150
+ if($('p_method_oink')){
151
+ $('p_method_oink').checked=1;
152
+ }
153
+ Dialog.info($('oink-login').innerHTML, {
154
+ className:"magento",
155
+ width:600,
156
+ height:300,
157
+ top: 175,
158
+ });
159
+ return false;
160
+ }
161
+
162
+ oinkLoginForm.submit=function(){
163
+ var user=$('oink-login-userid').value;
164
+ var password=$('oink-login-password').value;
165
+
166
+ if(this.validator && this.validator.validate()){
167
+ new Ajax.Request("<?php echo $this->getLoginPostUrl() ?>",{
168
+ method:"post",
169
+ parameters:{
170
+ "user" : user,
171
+ "password" : password
172
+ },
173
+
174
+ onCreate:function() {
175
+ $('loading').setStyle({ display: 'inline-block'});
176
+ $('login').setStyle({ display: 'none'});
177
+ $('signup').addClassName('dim');
178
+ $('button-login').innerHTML = '<img src="<?php echo $skinUrl; ?>login.png" />';
179
+ $('buttons').addClassName('dim');
180
+ },
181
+
182
+ onComplete:function(){},
183
+
184
+ onSuccess:function(transport) {
185
+ var json=eval('(' + transport.responseText + ')');
186
+
187
+ if(json.response) {
188
+ setLocation($("oink-checkout-url").value);
189
+ $('oink-errors-container').innerHTML = '';
190
+ } else
191
+ {
192
+ $('oink-errors-container').innerHTML = json.errorMessage;
193
+ $('loading').setStyle({ display: 'none'});
194
+ $('login').setStyle({ display: 'inline-block'});
195
+ $('signup').removeClassName('dim');
196
+ $('button-login').innerHTML = '<a onclick="return oinkLoginForm.submit();" href="#"><img src="<?php echo $skinUrl; ?>login.png" /></a>';
197
+ $('buttons').removeClassName('dim');
198
+ }
199
+ }
200
+ });
201
+ }
202
+
203
+ return false;
204
+ }
205
+
206
+ //]]>
207
+ </script>
app/design/frontend/base/default/template/oink/checkout/cart/button.phtml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php /* @var $this Oink_Oink_Block_Checkout_Button */ ?>
2
+ <?php
3
+ if(Mage::helper("oink/checkout")->isEnabled()) { ?>
4
+ <a href="<?php echo $this->getCheckoutUrl() ?>" id="oink-cart-button" onclick="return oinkLoginForm.toggleTooltip()" class="<?php echo $this->getCssClass() ?>"><img src="https://cdn.virtualpiggy.com/public/images/checkout-145x42.png" /></a>
5
+ <?php } ?>
app/design/frontend/base/default/template/oink/checkout/parent_confirm.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ h1.page-title{
3
+ color:#1484c5;
4
+ text-decoration: underline;
5
+ }
6
+ #oinkParentConfirm select{
7
+ margin-left:10px;
8
+ }
9
+ #oinkParentConfirm{
10
+ font-size: 14px;
11
+ }
12
+ #paymentAccounts{
13
+ width:360px;
14
+ margin-bottom:15px;
15
+ }
16
+ #paymentAccounts th{
17
+ color:#fff;
18
+ font-weight: bold;
19
+ background-color: #1484c5;
20
+ }
21
+ #paymentAccounts td{
22
+ border:1px solid #676;
23
+ padding:5px;
24
+ }
25
+ </style>
26
+ <div class="page-title">
27
+ <h1><?php echo $this->__('Oink Guest Checkout'); ?></h1>
28
+ </div>
29
+ <ol class="opc">
30
+ <form method="POST" action="<?php echo $this->getFormActionUrl() ?>" id="oinkParentConfirm" >
31
+ <?php echo $this->getChildHtml("CSelect") ?>
32
+ <?php echo $this->getChildHtml("payment") ?>
33
+
34
+ <div class="buttons-set" id="billing-buttons-container">
35
+ <button type="submit" title="<?php echo $this->__('Finalize the Transaction'); ?>" class="button" ><span><span><?php echo $this->__('Finalize the Transaction') ?></span></span></button>
36
+ </div>
37
+
38
+ </form>
39
+ </ol>
40
+ <script type="text/javascript" >
41
+ //<![CDATA[
42
+ var oinkParentConfirm = new VarienForm('oinkParentConfirm', true);
43
+ //]]>
44
+ </script>
app/design/frontend/base/default/template/oink/checkout/parent_confirm/c_select.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /* @var $this Oink_Oink_Block_Checkout_ParentConfirm_CSelect */
3
+ $childrens = $this->getChildrens();
4
+ ?>
5
+
6
+
7
+
8
+
9
+ <li class="section allow active" id="opc-billing">
10
+ <div class="step-title">
11
+ <h2><?php echo $this->__("Child information") ?></h2>
12
+ </div>
13
+
14
+ <div id="checkout-step-billing" class="step a-item" style="">
15
+ <fieldset>
16
+ <ul class="form-list">
17
+ <li id="billing-new-address-form">
18
+ <fieldset>
19
+ <ul>
20
+ <li class="fields">
21
+ <div class="field">
22
+ <label for="children" class="required">This transaction is for</label>
23
+ <div class="input-box">
24
+ <select name="children" id="cSelect" class="required-entry">
25
+ <option value="" ></option>
26
+ <?php foreach ($childrens as $key => $children): ?>
27
+ <option value="<?php echo $children->getChildrenIdentifier() ?>"><?php echo $children->getName() ?></option>
28
+ <?php endforeach; ?>
29
+ </select>
30
+ </div>
31
+ </div>
32
+ </li>
33
+ </ul>
34
+ </fieldset>
35
+ </li>
36
+ <li class="control">
37
+ <!--input type="checkbox" id="notifyChild" name="notifyChild" value="1" /><label for="notifyChild" ><?php echo $this->__("Notify the child about this transaction") ?></label><br-->
38
+ <input type="checkbox" id="deliverToChildAddress" name="deliverToChildAddress" value="1" />
39
+ <label for="deliverToChildAddress" ><?php echo $this->__("Deliver to the child's address") ?></label>
40
+ </li>
41
+ </ul>
42
+
43
+ </fieldset>
44
+ </div>
45
+ </li>
app/design/frontend/base/default/template/oink/checkout/parent_confirm/payment.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $methods = $this->getMethods();
3
+ ?>
4
+ <li class="section allow active" id="opc-billing">
5
+ <div class="step-title">
6
+ <h2>Payment information</h2>
7
+ </div>
8
+
9
+ <div id="checkout-step-billing" class="step a-item" style="">
10
+ <fieldset>
11
+ <ul class="form-list">
12
+ <li id="billing-new-address-form">
13
+ <fieldset>
14
+ <ul>
15
+ <li class="fields">
16
+ <div class="field">
17
+ <ul>
18
+ <?php foreach ($methods as $i => $method): ?>
19
+ <li class="control">
20
+ <input type="radio" value="<?php echo $method->getToken() ?>" name="paymentAccount" <?php if ($i == count($methods) - 1): ?>class="validate-one-required-by-name"<?php endif; if($method == $methods[0]) echo 'checked'; ?> />
21
+ <label for="deliverToChildAddress" ><img style="width:30px;" src="<?php echo $method->getUrl() ?>" /> <span><?php echo $method->getName() ?></span></label>
22
+ </li>
23
+ <?php endforeach; ?>
24
+ </ul>
25
+ </div>
26
+ </li>
27
+ </ul>
28
+ </fieldset>
29
+ </li>
30
+ </ul>
31
+ </fieldset>
32
+ </div>
33
+ </li>
app/design/frontend/base/default/template/oink/checkout/review.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2011 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="order-review" id="checkout-review-load">
28
+ <?php echo $this->getChildHtml('info') ?>
29
+ </div>
app/design/frontend/base/default/template/oink/checkout/review/button.phtml ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php /* @var $this Mage_Core_Block_Template */ ?>
2
+ <button type="submit" title="<?php echo $this->__('Place Order'); ?>" class="button btn-checkout" onclick="this.onclick=function(){return false;};setLocation('<?php echo $this->getUrl("*/*/placeOrder") ?>');return false;"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
app/design/frontend/base/default/template/oink/checkout/review/info.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php echo $this->getChildHtml('items_before'); ?>
2
+ <div id="checkout-review-table-wrapper">
3
+ <table class="data-table" id="checkout-review-table">
4
+ <?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
5
+ <col />
6
+ <col width="1" />
7
+ <col width="1" />
8
+ <col width="1" />
9
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
10
+ <col width="1" />
11
+ <col width="1" />
12
+ <?php endif; ?>
13
+ <thead>
14
+ <tr>
15
+ <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
16
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
17
+ <th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
18
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
19
+ </tr>
20
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
21
+ <tr>
22
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
23
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
24
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
25
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
26
+ </tr>
27
+ <?php endif; ?>
28
+ </thead>
29
+ <?php echo $this->getChildHtml('totals'); ?>
30
+ <tbody>
31
+ <?php foreach($this->getItems() as $_item): ?>
32
+ <?php echo $this->getItemHtml($_item)?>
33
+ <?php endforeach ?>
34
+ </tbody>
35
+ </table>
36
+ </div>
37
+ <?php echo $this->getChildHtml('items_after'); ?>
38
+ <script type="text/javascript">
39
+ //<![CDATA[
40
+ decorateTable('checkout-review-table');
41
+ truncateOptions();
42
+ //]]>
43
+ </script>
44
+ <div id="checkout-review-submit">
45
+ <?php echo $this->getChildHtml('agreements') ?>
46
+ <div class="buttons-set" id="review-buttons-container">
47
+ <p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
48
+ <?php echo $this->getChildHtml('button') ?>
49
+ <span class="please-wait" id="review-please-wait" style="display:none;">
50
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
51
+ </span>
52
+ </div>
53
+ <script type="text/javascript">
54
+ //<![CDATA[
55
+ review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
56
+ //]]>
57
+ </script>
58
+ </div>
app/design/frontend/base/default/template/oink/payment/form/oink.phtml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php /* @var $this Oink_Oink_Block_Payment_Form_Oink */ ?>
2
+ <?php if ($this->getMethod()->getMailingAddress() || $this->getMethod()->getPayableTo()): ?>
3
+ <ul class="form-list checkmo-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
4
+ <?php if ($this->getMethod()->getPayableTo()): ?>
5
+ <li>
6
+ <label><?php echo $this->__('Make Check payable to:') ?></label>
7
+ <?php echo $this->escapeHtml($this->getMethod()->getPayableTo()) ?>
8
+ </li>
9
+ <?php endif; ?>
10
+ <?php if ($this->getMethod()->getMailingAddress()): ?>
11
+ <li>
12
+ <label><?php echo Mage::helper('payment')->__('Send Check to:') ?></label>
13
+ <address class="checkmo-mailing-address">
14
+ <?php echo nl2br($this->escapeHtml($this->getMethod()->getMailingAddress())) ?>
15
+ </address>
16
+ </li>
17
+ <?php endif; ?>
18
+ </ul>
19
+ <?php endif; ?>
app/design/frontend/base/default/template/oink/payment/info/oink.phtml ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php /* @var $this Oink_Oink_Block_Payment_Info_Oink */ ?>
2
+ <p><?php echo $this->getMethod()->getTitle() ?></p>
3
+ <?php if($this->getInfo()->getAdditionalData()): ?>
4
+ <?php if($this->getPayableTo()): ?>
5
+ <p><strong><?php echo $this->__('Make Check payable to:') ?></strong> <?php echo $this->escapeHtml($this->getPayableTo()) ?></p>
6
+ <?php endif; ?>
7
+ <?php if($this->getMailingAddress()): ?>
8
+ <p><strong><?php echo Mage::helper('payment')->__('Send Check to:') ?></strong></p>
9
+ <address class="checkmo-mailing-address">
10
+ <?php echo nl2br($this->escapeHtml($this->getMailingAddress())) ?>
11
+ </address>
12
+ <?php endif; ?>
13
+ <?php endif; ?>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Oink</name>
4
- <version>3.0.2</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>Updated styling.</notes>
12
  <authors><author><name>Simon Taft</name><user>simon</user><email>simon@oink.com</email></author></authors>
13
  <date>2014-05-27</date>
14
- <time>21:40:08</time>
15
- <contents><target name="magelocal"><dir name="Oink"><dir name="MatrixrateIntegration"><dir name="Model"><file name="Observer.php" hash="1ad95c4d1d9814e22145d4a452d62f15"/></dir><dir name="etc"><file name="config.xml" hash="df4259c1073f399c8da554669fd08e3d"/></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="88f2869eb2f9a61b9d5c1d0c58da4ccb"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="TestConnection"><file name="Html.php" hash="4493dc6d68b1054ad107aaccd90f8849"/></dir><file name="TestConnection.php" hash="7c5ed95a15a3795d08a03e70edac8e38"/><file name="Version.php" hash="567ce2916cfce5874be4b23a231b856f"/></dir></dir></dir><dir name="Checkout"><file name="Button.php" hash="1b25bcf121c5fd2e1b044c88bdabba43"/><dir name="ParentConfirm"><file name="CSelect.php" hash="07a1c5eb4583eda741cb3f9074f2efc5"/><file name="Payment.php" hash="1fdf2136a5abf8cc6d676baade20eae2"/></dir><file name="ParentConfirm.php" hash="c07914c6f913342cb7d86f662a55ac94"/><dir name="Review"><file name="Info.php" hash="1052609c22610e092f8974d7b02543bb"/></dir><file name="Review.php" hash="7a0710ba02a395036ae5e419c314bac8"/></dir><dir name="Payment"><dir name="Form"><file name="Oink.php" hash="0cc55a3f273512cb0ea408d0f3443b4a"/></dir><dir name="Info"><file name="Oink.php" hash="513559d214b08926dbb6d2fe4914ee63"/></dir></dir><dir name="Rewrite"><dir name="Checkout"><dir name="Onepage"><file name="Login.php" hash="0d7751b75dbb856550f36cd2aae83c16"/></dir></dir></dir></dir><dir name="Helper"><file name="Checkout.php" hash="270f4a273c6ffcf68c5f2293387cb7d2"/><file name="Data.php" hash="ba01d2f1f3be4488772188218f405228"/><file name="LibLoader.php" hash="a9a8b826b02106a9865c74244ff69415"/></dir><dir name="Model"><dir name="Admin"><file name="Checkout.php" hash="ce7a86912e7f07e65beefa9099f99a59"/><file name="Enablestatus.php" hash="f4e118ffafcc36f2d180383ee2a3d4a6"/></dir><file name="ErrorHandler.php" hash="38fa82bff169fb6eaad8d350e930e348"/><dir name="Mysql4"><dir name="Order"><file name="Collection.php" hash="943f3891c5965f8dc0b2db13e3ad403d"/></dir><file name="Order.php" hash="657eb776a8ca0487e76b27f53d59463b"/></dir><file name="Observer.php" hash="04aa15210ca430746892405985f3e12d"/><file name="Order.php" hash="774ea4ac5437025bb91c776ea9b14f42"/><dir name="Payment"><dir name="Method"><file name="Oink.php" hash="43e8e89139029c1918e45b7128ccb5ae"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Payment.php" hash="8dfe63c381d86fd75d3093e6d7e129f8"/></dir><file name="Order.php" hash="31fd730faace9a0d15385cb7f2343d2d"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Shipping"><file name="Carriers.php" hash="3c502ed259db8d94f1e71daf2a919b5f"/></dir></dir></dir></dir><dir name="User"><file name="Children.php" hash="348f3626d64519a58858ac4828593e6b"/><file name="Parent.php" hash="5096b9fb24f350d78fa4d9b9a4bbb9b2"/></dir><file name="User.php" hash="85fed8cfeeb166554edc9bcaec0f8421"/></dir><dir name="Test"><dir name="Controller2"><dir name="CheckoutController"><dir name="providers"><file name="badLogin.yaml" hash="da49958359c3ba92baa96095b4ce7394"/><file name="goodLogin.yaml" hash="918e2f1ff926a2562252db8547bb7d8e"/></dir></dir><file name="CheckoutController.php" hash="12be796256378f01e575d8474294b482"/></dir><dir name="Helper"><dir name="Data"><dir name="fixtures"><file name="processTransaction.yaml" hash="4dbdae37f7d24221f47f121fd5579f2c"/></dir><dir name="providers"><file name="badLogin.yaml" hash="da49958359c3ba92baa96095b4ce7394"/><file name="badLoginMultipleTimes.yaml" hash="da49958359c3ba92baa96095b4ce7394"/><file name="getChildProfiles.yaml" hash="8c7facf752f16c5921f78b0267188b1c"/><file name="getUserAddress.yaml" hash="eb6310661106ddccaffc4f539efe9768"/><file name="goodLogin.yaml" hash="eb6310661106ddccaffc4f539efe9768"/><file name="processTransaction.yaml" hash="eb6310661106ddccaffc4f539efe9768"/></dir></dir><file name="Data.php" hash="bd2e177e88cd65d9ae7a06ac24eaf9d8"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OinkController.php" hash="578a3cc0b4914e65adf6db4eaaaa9b23"/></dir><file name="CheckoutController.php" hash="015dc835725096d3af8088a1902e4b92"/></dir><dir name="etc"><file name="adminhtml.xml" hash="22ed149a3393086bc9e73ab2222183cb"/><file name="config.xml" hash="8516f5f4382d982089e9d58ff71919fd"/><file name="system.xml" hash="592d333a57b3cd859b631f00801f161b"/></dir><dir name="sql"><dir name="oink_setup"><file name="mysql4-install-1.0.0.0.php" hash="257a26eb67e2dc24448864d2e6f516ad"/><file name="mysql4-upgrade-1.0.0.0-1.0.0.1.php" hash="6aab451785809dbd3f3e91b7894a7c02"/><file name="mysql5-install-1.0.0.0.php" hash="257a26eb67e2dc24448864d2e6f516ad"/><file name="mysql5-upgrade-1.0.0.0-1.0.0.1.php" hash="6aab451785809dbd3f3e91b7894a7c02"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="EcomDev"><dir name="PHPUnit"><dir name="Controller"><file name="Front.php" hash="847d7e34b3cc72e3591d7ee803975cdb"/><dir name="Request"><file name="Http.php" hash="af4f28d44299e7ca0e4209690ecac69d"/></dir><dir name="Response"><file name="Http.php" hash="55d39daa2cc52d60579bcfae46c2a24a"/></dir></dir><dir name="Model"><dir name="App"><file name="Area.php" hash="d353d58095f14771057727dfd01aa961"/></dir><file name="App.php" hash="8dd3da0b8f12450a43ceee5dc7b508f0"/><file name="Config.php" hash="945b372ba1f8a3cc70da85dd00a846e7"/><dir name="Design"><file name="Package.php" hash="333c87bb0ff447934b1b0a71dec86079"/></dir><dir name="Expectation"><file name="Interface.php" hash="7b5e6b3a77b7be93a7e2a85aa6a339cb"/><file name="Object.php" hash="83576bc1b93a9708f9b43fcbf762c92b"/></dir><file name="Expectation.php" hash="a04bc23970c4037fe1eaa14743ed8e22"/><dir name="Fixture"><file name="Interface.php" hash="09aec5a338453baf0ac7dedf5d9452c7"/></dir><file name="Fixture.php" hash="47302c3144158393d5dda38bd3e4c620"/><file name="Layout.php" hash="81f4ecabaa4840a66404e659af70b69d"/><dir name="Mysql4"><dir name="Fixture"><dir name="Eav"><file name="Abstract.php" hash="e25701a2ea6869e868adb28cb7718e43"/><dir name="Catalog"><file name="Abstract.php" hash="f5798499ff5d8380442b9bb271f254f2"/><file name="Category.php" hash="93041bbc6f90ddd2ff1f7e29b58023d3"/><file name="Product.php" hash="58b6cf6cbd0aed217b6e4b6410010885"/></dir><file name="Default.php" hash="245bf00ecfb2e1efe96a3ed5d6dad589"/></dir><file name="Exception.php" hash="d1ce5cae98766f796a79f23304097ab8"/></dir><file name="Fixture.php" hash="1c5e85062bcf7a139080270e4c42b99f"/></dir><dir name="Test"><dir name="Loadable"><file name="Interface.php" hash="40be3317c5179b4fdca6c2696a15176f"/></dir></dir></dir><dir name="Test"><dir name="Case"><file name="Config.php" hash="709eeb9bca9006ed1d04860f29d7495b"/><file name="Controller.php" hash="104f85831d77910e650bd7296661472d"/></dir><file name="Case.php" hash="21489664fa9588ea3a97c35ce5066733"/><dir name="Suite"><file name="Group.php" hash="064eab1bf03faa1e1fb71b78846f0429"/></dir><file name="Suite.php" hash="3b6f8b22f20cb42c2094d03f28d20492"/></dir><dir name="etc"><file name="config.xml" hash="14e63b0adbcce9a375919da1aa15227a"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="layout"><file name="oink.xml" hash="d28ffcf3f7c0bbe99faac00169bef4ce"/></dir><dir name="template"><dir name="oink"><dir name="payment"><dir name="form"><file name="oink.phtml" hash="413f04e9914686ee5d3708f3780bb9d3"/></dir><dir name="info"><file name="oink.phtml" hash="06998a01415a9e09cfaa3806633f4249"/></dir></dir><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="oink.phtml" hash="fc9e1fd549cd1fd8e4b10d3eca7346f2"/></dir></dir></dir></dir><dir name="system"><dir name="config"><file name="testConnection.phtml" hash="c4895dfa22df790854e1912b5ae161a0"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="oink.xml" hash="74a257a386b1103a9f3b9e6b3e7fd797"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="."><file name="local.xml.phpunit" hash="155b3dacacad449828d3b46d9a4ff54c"/></dir><dir name="modules"><file name="EcomDev_PHPUnit.xml" hash="2c01f6939a92696235097c3911d8da95"/><file name="Oink_MatrixrateIntegration.xml" hash="38413b446bc64321a7ac213239b8d8f3"/><file name="Oink_Oink.xml" hash="55524a00acf6d5cf5c12dda5a54dc08e"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Oink_Oink.csv" hash="d2a4ee9cfc8fc86777b582dd60b6a938"/></dir></target><target name="magelib"><dir name="EcomDev"><dir name="PHPUnit"><dir name="Constraint"><file name="Abstract.php" hash="8367e95443051a1a3edc03bf6a0f818e"/><dir name="Config"><file name="Abstract.php" hash="284de496c6258eed0ea7830e9c628ef5"/><file name="ClassAlias.php" hash="a177fa3fa44f87c06a4b176e3cf4eb48"/><file name="EventObserver.php" hash="af42156827ae7c63f46abff1d56acf1c"/><file name="Interface.php" hash="c14f03486e21aad667bf2a0e832f04ce"/><file name="Layout.php" hash="f1ac1c04212b04fbdb1c94a0d975189e"/><file name="Module.php" hash="cd9ec3c31e291e2162843968c527d839"/><file name="Node.php" hash="988f9cd2e06102150612d0397de8a4b9"/><dir name="Resource"><file name="Script.php" hash="2babb4ca27b94bf74f7d8c47e916e0a6"/></dir><file name="Resource.php" hash="1eeee84158a53e7dc375f5fb1161bdb5"/><file name="TableAlias.php" hash="36aa17df9ec2ea600bda9d67f273c7b6"/></dir><file name="Config.php" hash="86a33da791eea8c7ad487663913a1d47"/><dir name="Controller"><file name="Request.php" hash="4f85a7c4fd6cad201d22f3db9154d557"/><dir name="Response"><file name="Abstract.php" hash="0f15f98a34c9d8282c45b618e07fe4c5"/><file name="Body.php" hash="07fad650d0df7872e44233a4cfe8ada5"/><file name="Header.php" hash="360d8bcf11b7b9ecffd702e2e7291fec"/></dir></dir><file name="Exception.php" hash="dbc6ae2eaa64f9f38b0b43f2c98a7c99"/><file name="Json.php" hash="137b118bc053f106645f8edee8bf3966"/><dir name="Layout"><file name="Abstract.php" hash="fbe141eef4f9d64e2a5ea0eb18fae94c"/><dir name="Block"><file name="Action.php" hash="3b524c284c332348e956f42d939a0a9e"/><file name="Property.php" hash="edbb3dfdb07215c2010fa86e472cd620"/></dir><file name="Block.php" hash="3711d6d8c134f72ef41ab93da89b2f45"/><file name="Handle.php" hash="aa17b9dbbb19e8b1b701ddaf75b5fc59"/><dir name="Logger"><file name="Interface.php" hash="1b669104ba95fe085aa66ae460271424"/></dir></dir><file name="Layout.php" hash="6387afaef7588092b4931f3be60e0638"/></dir><dir name="Controller"><dir name="Request"><file name="Interface.php" hash="e7a6a4526b8c97541e14a30dd1db3b11"/></dir><dir name="Response"><file name="Interface.php" hash="7d12c9687c37ca2241d1978a13ed4553"/></dir></dir><dir name="Design"><dir name="Package"><file name="Interface.php" hash="09caa9abec26253ec318c9cb97186844"/></dir></dir><dir name="Isolation"><file name="Interface.php" hash="3d1cfc661c1178212f7b2e3e54e5d8cf"/></dir></dir><dir name="Utils"><file name="Reflection.php" hash="433a0fe545498cd25d355ac397bda5e9"/></dir></dir><dir name="Oink"><dir name="Data"><file name="dtos.php" hash="531fc293eeb0bcd7e7b8b33c671ad233"/></dir><dir name="Schemas"><file name="cart.xml" hash="67e1d6e0bb80c0807d1209a0a63b5de9"/><file name="cart_02.xml" hash="a0cc5b00e7758fc021c05de105d96e7c"/><file name="cart_03.xml" hash="c2cf1d01b25033bac8dd058ca9ef8091"/><file name="cart_04.xml" hash="608065c7c7e490ac11e7767aa2cbd8ac"/><file name="oink.xsd" hash="6cd3f6703fdcb9edcd1c5c744df3d79d"/></dir><dir name="Services"><dir name="Implementations"><file name="FormPaymentServiceConfiguration.php" hash="0ca8abd64fd6c55943acbcc0c790fb93"/><file name="MagentoPaymentServiceConfiguration.php" hash="2a8a40a32e32070ff2403f85d7f14588"/><file name="MerchantFormServiceConfiguration.php" hash="9348b07cf422ce5a8f383bc8816dc2f6"/><file name="MerchantPaymentServiceConfiguration.php" hash="787d626749fa5f148c2302297a4643e6"/><file name="MockCartService.php" hash="e405a565156c2c654794f2498eb704d3"/><file name="OinkCallbackService.php" hash="d2e5d9b31531af56bff71925fe38a729"/><file name="OinkException.php" hash="7ec08618ff5bc6229e2798e159740cee"/><file name="OinkFormService.php" hash="87db0953c68684efa7145b1efaecf4ac"/><file name="OinkLoggingService.php" hash="442ff23c4cf96bf112b2e1b17c58fc8b"/><file name="OinkParentService.php" hash="fb80f2a2d887acd8f3b40775367cc635"/><file name="OinkPaymentService.php" hash="c7b45e54a418725ce5128d75c20531c4"/><file name="OinkSoapClient.php" hash="a285e5afb4b54470a3ede09e17ac9a31"/><file name="XmlSerializationService.php" hash="b3df52384ddcb22c36dd777a4b0c6e37"/><file name="XmlToArray.php" hash="bec873ee5a71cc56b90e1901e9dad448"/></dir><dir name="Interfaces"><file name="ICallbackService.php" hash="36249ed2ebbab470140e546e57a45eeb"/><file name="ICartService.php" hash="757fe16fd63e3643e1c1f721503062d6"/><file name="IFormService.php" hash="54ff55760a104205ab2ebdf3e2eba710"/><file name="IFormServiceConfiguration.php" hash="ab08a9b7e0a453919397a1f3d33e4374"/><file name="ILoggingService.php" hash="540baa761603b9821ce56268bbe3b4a3"/><file name="IParentService.php" hash="15cc1ad75b20f8b59add2aecb6cc805b"/><file name="IPaymentService.php" hash="cf3748640cf606e5e2b2b8b6a5a094ff"/><file name="IPaymentServiceConfiguration.php" hash="6394875c724bddb0594591615c627956"/><file name="ISerializationService.php" hash="08917f2e64ff4425a5b1261d262a357b"/></dir></dir></dir><dir name="Spyc"><file name="spyc.php" hash="a83c6d2c9f8cba7f195bce001b6d3965"/></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.3</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>Bug fixes</notes>
12
  <authors><author><name>Simon Taft</name><user>simon</user><email>simon@oink.com</email></author></authors>
13
  <date>2014-05-27</date>
14
+ <time>22:02:17</time>
15
+ <contents><target name="magelocal"><dir name="Oink"><dir name="MatrixrateIntegration"><dir name="Model"><file name="Observer.php" hash="1ad95c4d1d9814e22145d4a452d62f15"/></dir><dir name="etc"><file name="config.xml" hash="df4259c1073f399c8da554669fd08e3d"/></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="88f2869eb2f9a61b9d5c1d0c58da4ccb"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="TestConnection"><file name="Html.php" hash="4493dc6d68b1054ad107aaccd90f8849"/></dir><file name="TestConnection.php" hash="7c5ed95a15a3795d08a03e70edac8e38"/><file name="Version.php" hash="567ce2916cfce5874be4b23a231b856f"/></dir></dir></dir><dir name="Checkout"><file name="Button.php" hash="1b25bcf121c5fd2e1b044c88bdabba43"/><dir name="ParentConfirm"><file name="CSelect.php" hash="07a1c5eb4583eda741cb3f9074f2efc5"/><file name="Payment.php" hash="1fdf2136a5abf8cc6d676baade20eae2"/></dir><file name="ParentConfirm.php" hash="c07914c6f913342cb7d86f662a55ac94"/><dir name="Review"><file name="Info.php" hash="1052609c22610e092f8974d7b02543bb"/></dir><file name="Review.php" hash="7a0710ba02a395036ae5e419c314bac8"/></dir><dir name="Payment"><dir name="Form"><file name="Oink.php" hash="0cc55a3f273512cb0ea408d0f3443b4a"/></dir><dir name="Info"><file name="Oink.php" hash="513559d214b08926dbb6d2fe4914ee63"/></dir></dir><dir name="Rewrite"><dir name="Checkout"><dir name="Onepage"><file name="Login.php" hash="0d7751b75dbb856550f36cd2aae83c16"/></dir></dir></dir></dir><dir name="Helper"><file name="Checkout.php" hash="270f4a273c6ffcf68c5f2293387cb7d2"/><file name="Data.php" hash="ba01d2f1f3be4488772188218f405228"/><file name="LibLoader.php" hash="a9a8b826b02106a9865c74244ff69415"/></dir><dir name="Model"><dir name="Admin"><file name="Checkout.php" hash="ce7a86912e7f07e65beefa9099f99a59"/><file name="Enablestatus.php" hash="f4e118ffafcc36f2d180383ee2a3d4a6"/></dir><file name="ErrorHandler.php" hash="38fa82bff169fb6eaad8d350e930e348"/><dir name="Mysql4"><dir name="Order"><file name="Collection.php" hash="943f3891c5965f8dc0b2db13e3ad403d"/></dir><file name="Order.php" hash="657eb776a8ca0487e76b27f53d59463b"/></dir><file name="Observer.php" hash="04aa15210ca430746892405985f3e12d"/><file name="Order.php" hash="774ea4ac5437025bb91c776ea9b14f42"/><dir name="Payment"><dir name="Method"><file name="Oink.php" hash="43e8e89139029c1918e45b7128ccb5ae"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Payment.php" hash="8dfe63c381d86fd75d3093e6d7e129f8"/></dir><file name="Order.php" hash="31fd730faace9a0d15385cb7f2343d2d"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Shipping"><file name="Carriers.php" hash="3c502ed259db8d94f1e71daf2a919b5f"/></dir></dir></dir></dir><dir name="User"><file name="Children.php" hash="348f3626d64519a58858ac4828593e6b"/><file name="Parent.php" hash="5096b9fb24f350d78fa4d9b9a4bbb9b2"/></dir><file name="User.php" hash="85fed8cfeeb166554edc9bcaec0f8421"/></dir><dir name="Test"><dir name="Controller2"><dir name="CheckoutController"><dir name="providers"><file name="badLogin.yaml" hash="da49958359c3ba92baa96095b4ce7394"/><file name="goodLogin.yaml" hash="918e2f1ff926a2562252db8547bb7d8e"/></dir></dir><file name="CheckoutController.php" hash="12be796256378f01e575d8474294b482"/></dir><dir name="Helper"><dir name="Data"><dir name="fixtures"><file name="processTransaction.yaml" hash="4dbdae37f7d24221f47f121fd5579f2c"/></dir><dir name="providers"><file name="badLogin.yaml" hash="da49958359c3ba92baa96095b4ce7394"/><file name="badLoginMultipleTimes.yaml" hash="da49958359c3ba92baa96095b4ce7394"/><file name="getChildProfiles.yaml" hash="8c7facf752f16c5921f78b0267188b1c"/><file name="getUserAddress.yaml" hash="eb6310661106ddccaffc4f539efe9768"/><file name="goodLogin.yaml" hash="eb6310661106ddccaffc4f539efe9768"/><file name="processTransaction.yaml" hash="eb6310661106ddccaffc4f539efe9768"/></dir></dir><file name="Data.php" hash="bd2e177e88cd65d9ae7a06ac24eaf9d8"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OinkController.php" hash="578a3cc0b4914e65adf6db4eaaaa9b23"/></dir><file name="CheckoutController.php" hash="015dc835725096d3af8088a1902e4b92"/></dir><dir name="etc"><file name="adminhtml.xml" hash="22ed149a3393086bc9e73ab2222183cb"/><file name="config.xml" hash="8516f5f4382d982089e9d58ff71919fd"/><file name="system.xml" hash="592d333a57b3cd859b631f00801f161b"/></dir><dir name="sql"><dir name="oink_setup"><file name="mysql4-install-1.0.0.0.php" hash="257a26eb67e2dc24448864d2e6f516ad"/><file name="mysql4-upgrade-1.0.0.0-1.0.0.1.php" hash="6aab451785809dbd3f3e91b7894a7c02"/><file name="mysql5-install-1.0.0.0.php" hash="257a26eb67e2dc24448864d2e6f516ad"/><file name="mysql5-upgrade-1.0.0.0-1.0.0.1.php" hash="6aab451785809dbd3f3e91b7894a7c02"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="EcomDev"><dir name="PHPUnit"><dir name="Controller"><file name="Front.php" hash="847d7e34b3cc72e3591d7ee803975cdb"/><dir name="Request"><file name="Http.php" hash="af4f28d44299e7ca0e4209690ecac69d"/></dir><dir name="Response"><file name="Http.php" hash="55d39daa2cc52d60579bcfae46c2a24a"/></dir></dir><dir name="Model"><dir name="App"><file name="Area.php" hash="d353d58095f14771057727dfd01aa961"/></dir><file name="App.php" hash="8dd3da0b8f12450a43ceee5dc7b508f0"/><file name="Config.php" hash="945b372ba1f8a3cc70da85dd00a846e7"/><dir name="Design"><file name="Package.php" hash="333c87bb0ff447934b1b0a71dec86079"/></dir><dir name="Expectation"><file name="Interface.php" hash="7b5e6b3a77b7be93a7e2a85aa6a339cb"/><file name="Object.php" hash="83576bc1b93a9708f9b43fcbf762c92b"/></dir><file name="Expectation.php" hash="a04bc23970c4037fe1eaa14743ed8e22"/><dir name="Fixture"><file name="Interface.php" hash="09aec5a338453baf0ac7dedf5d9452c7"/></dir><file name="Fixture.php" hash="47302c3144158393d5dda38bd3e4c620"/><file name="Layout.php" hash="81f4ecabaa4840a66404e659af70b69d"/><dir name="Mysql4"><dir name="Fixture"><dir name="Eav"><file name="Abstract.php" hash="e25701a2ea6869e868adb28cb7718e43"/><dir name="Catalog"><file name="Abstract.php" hash="f5798499ff5d8380442b9bb271f254f2"/><file name="Category.php" hash="93041bbc6f90ddd2ff1f7e29b58023d3"/><file name="Product.php" hash="58b6cf6cbd0aed217b6e4b6410010885"/></dir><file name="Default.php" hash="245bf00ecfb2e1efe96a3ed5d6dad589"/></dir><file name="Exception.php" hash="d1ce5cae98766f796a79f23304097ab8"/></dir><file name="Fixture.php" hash="1c5e85062bcf7a139080270e4c42b99f"/></dir><dir name="Test"><dir name="Loadable"><file name="Interface.php" hash="40be3317c5179b4fdca6c2696a15176f"/></dir></dir></dir><dir name="Test"><dir name="Case"><file name="Config.php" hash="709eeb9bca9006ed1d04860f29d7495b"/><file name="Controller.php" hash="104f85831d77910e650bd7296661472d"/></dir><file name="Case.php" hash="21489664fa9588ea3a97c35ce5066733"/><dir name="Suite"><file name="Group.php" hash="064eab1bf03faa1e1fb71b78846f0429"/></dir><file name="Suite.php" hash="3b6f8b22f20cb42c2094d03f28d20492"/></dir><dir name="etc"><file name="config.xml" hash="14e63b0adbcce9a375919da1aa15227a"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><file name="oink.xml" hash=""/><dir name="template"><dir name="oink"><dir name="payment"><dir name="form"><file name="oink.phtml" hash="413f04e9914686ee5d3708f3780bb9d3"/></dir><dir name="info"><file name="oink.phtml" hash="06998a01415a9e09cfaa3806633f4249"/></dir></dir><dir name="sales"><dir name="order"><dir name="view"><dir name="tab"><file name="oink.phtml" hash="fc9e1fd549cd1fd8e4b10d3eca7346f2"/></dir></dir></dir></dir><dir name="system"><dir name="config"><file name="testConnection.phtml" hash="c4895dfa22df790854e1912b5ae161a0"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="oink.xml" hash="74a257a386b1103a9f3b9e6b3e7fd797"/></dir><dir name="template"><dir name="oink"><dir name="checkout"><dir name="button"><file name="form.phtml" hash="b129fa59dd71f39e6e3c7fb71122d5c0"/></dir><file name="button.phtml" hash="828c9fdd0f77f1b457ad4a76574ebe57"/><dir name="cart"><file name="button.phtml" hash="a0af805290eb9487a1ee170d131c7805"/></dir><dir name="parent_confirm"><file name="c_select.phtml" hash="aa477ffaf12b7d6a24c24b5269508472"/><file name="payment.phtml" hash="7dd2bf9a8255f989f9a499a2cfff854d"/></dir><file name="parent_confirm.phtml" hash="0922a7fdaa3cb4ee4dc8ebfd35b01e4d"/><dir name="review"><file name="button.phtml" hash="3d94f2ce6ae20835e94f847705328d64"/><file name="info.phtml" hash="c888c9a46f943681856d8bd5ea45af75"/></dir><file name="review.phtml" hash="f4fad1be808013dc001e1bc725ed5038"/></dir><dir name="payment"><dir name="form"><file name="oink.phtml" hash="413f04e9914686ee5d3708f3780bb9d3"/></dir><dir name="info"><file name="oink.phtml" hash="c6d80262e171f080ced20a1d96222087"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="."><file name="local.xml.phpunit" hash="155b3dacacad449828d3b46d9a4ff54c"/></dir><dir name="modules"><file name="EcomDev_PHPUnit.xml" hash="2c01f6939a92696235097c3911d8da95"/><file name="Oink_MatrixrateIntegration.xml" hash="38413b446bc64321a7ac213239b8d8f3"/><file name="Oink_Oink.xml" hash="55524a00acf6d5cf5c12dda5a54dc08e"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Oink_Oink.csv" hash="d2a4ee9cfc8fc86777b582dd60b6a938"/></dir></target><target name="magelib"><dir name="EcomDev"><dir name="PHPUnit"><dir name="Constraint"><file name="Abstract.php" hash="8367e95443051a1a3edc03bf6a0f818e"/><dir name="Config"><file name="Abstract.php" hash="284de496c6258eed0ea7830e9c628ef5"/><file name="ClassAlias.php" hash="a177fa3fa44f87c06a4b176e3cf4eb48"/><file name="EventObserver.php" hash="af42156827ae7c63f46abff1d56acf1c"/><file name="Interface.php" hash="c14f03486e21aad667bf2a0e832f04ce"/><file name="Layout.php" hash="f1ac1c04212b04fbdb1c94a0d975189e"/><file name="Module.php" hash="cd9ec3c31e291e2162843968c527d839"/><file name="Node.php" hash="988f9cd2e06102150612d0397de8a4b9"/><dir name="Resource"><file name="Script.php" hash="2babb4ca27b94bf74f7d8c47e916e0a6"/></dir><file name="Resource.php" hash="1eeee84158a53e7dc375f5fb1161bdb5"/><file name="TableAlias.php" hash="36aa17df9ec2ea600bda9d67f273c7b6"/></dir><file name="Config.php" hash="86a33da791eea8c7ad487663913a1d47"/><dir name="Controller"><file name="Request.php" hash="4f85a7c4fd6cad201d22f3db9154d557"/><dir name="Response"><file name="Abstract.php" hash="0f15f98a34c9d8282c45b618e07fe4c5"/><file name="Body.php" hash="07fad650d0df7872e44233a4cfe8ada5"/><file name="Header.php" hash="360d8bcf11b7b9ecffd702e2e7291fec"/></dir></dir><file name="Exception.php" hash="dbc6ae2eaa64f9f38b0b43f2c98a7c99"/><file name="Json.php" hash="137b118bc053f106645f8edee8bf3966"/><dir name="Layout"><file name="Abstract.php" hash="fbe141eef4f9d64e2a5ea0eb18fae94c"/><dir name="Block"><file name="Action.php" hash="3b524c284c332348e956f42d939a0a9e"/><file name="Property.php" hash="edbb3dfdb07215c2010fa86e472cd620"/></dir><file name="Block.php" hash="3711d6d8c134f72ef41ab93da89b2f45"/><file name="Handle.php" hash="aa17b9dbbb19e8b1b701ddaf75b5fc59"/><dir name="Logger"><file name="Interface.php" hash="1b669104ba95fe085aa66ae460271424"/></dir></dir><file name="Layout.php" hash="6387afaef7588092b4931f3be60e0638"/></dir><dir name="Controller"><dir name="Request"><file name="Interface.php" hash="e7a6a4526b8c97541e14a30dd1db3b11"/></dir><dir name="Response"><file name="Interface.php" hash="7d12c9687c37ca2241d1978a13ed4553"/></dir></dir><dir name="Design"><dir name="Package"><file name="Interface.php" hash="09caa9abec26253ec318c9cb97186844"/></dir></dir><dir name="Isolation"><file name="Interface.php" hash="3d1cfc661c1178212f7b2e3e54e5d8cf"/></dir></dir><dir name="Utils"><file name="Reflection.php" hash="433a0fe545498cd25d355ac397bda5e9"/></dir></dir><dir name="Oink"><dir name="Data"><file name="dtos.php" hash="531fc293eeb0bcd7e7b8b33c671ad233"/></dir><dir name="Schemas"><file name="cart.xml" hash="67e1d6e0bb80c0807d1209a0a63b5de9"/><file name="cart_02.xml" hash="a0cc5b00e7758fc021c05de105d96e7c"/><file name="cart_03.xml" hash="c2cf1d01b25033bac8dd058ca9ef8091"/><file name="cart_04.xml" hash="608065c7c7e490ac11e7767aa2cbd8ac"/><file name="oink.xsd" hash="6cd3f6703fdcb9edcd1c5c744df3d79d"/></dir><dir name="Services"><dir name="Implementations"><file name="FormPaymentServiceConfiguration.php" hash="0ca8abd64fd6c55943acbcc0c790fb93"/><file name="MagentoPaymentServiceConfiguration.php" hash="2a8a40a32e32070ff2403f85d7f14588"/><file name="MerchantFormServiceConfiguration.php" hash="9348b07cf422ce5a8f383bc8816dc2f6"/><file name="MerchantPaymentServiceConfiguration.php" hash="787d626749fa5f148c2302297a4643e6"/><file name="MockCartService.php" hash="e405a565156c2c654794f2498eb704d3"/><file name="OinkCallbackService.php" hash="d2e5d9b31531af56bff71925fe38a729"/><file name="OinkException.php" hash="7ec08618ff5bc6229e2798e159740cee"/><file name="OinkFormService.php" hash="87db0953c68684efa7145b1efaecf4ac"/><file name="OinkLoggingService.php" hash="442ff23c4cf96bf112b2e1b17c58fc8b"/><file name="OinkParentService.php" hash="fb80f2a2d887acd8f3b40775367cc635"/><file name="OinkPaymentService.php" hash="c7b45e54a418725ce5128d75c20531c4"/><file name="OinkSoapClient.php" hash="a285e5afb4b54470a3ede09e17ac9a31"/><file name="XmlSerializationService.php" hash="b3df52384ddcb22c36dd777a4b0c6e37"/><file name="XmlToArray.php" hash="bec873ee5a71cc56b90e1901e9dad448"/></dir><dir name="Interfaces"><file name="ICallbackService.php" hash="36249ed2ebbab470140e546e57a45eeb"/><file name="ICartService.php" hash="757fe16fd63e3643e1c1f721503062d6"/><file name="IFormService.php" hash="54ff55760a104205ab2ebdf3e2eba710"/><file name="IFormServiceConfiguration.php" hash="ab08a9b7e0a453919397a1f3d33e4374"/><file name="ILoggingService.php" hash="540baa761603b9821ce56268bbe3b4a3"/><file name="IParentService.php" hash="15cc1ad75b20f8b59add2aecb6cc805b"/><file name="IPaymentService.php" hash="cf3748640cf606e5e2b2b8b6a5a094ff"/><file name="IPaymentServiceConfiguration.php" hash="6394875c724bddb0594591615c627956"/><file name="ISerializationService.php" hash="08917f2e64ff4425a5b1261d262a357b"/></dir></dir></dir><dir name="Spyc"><file name="spyc.php" hash="a83c6d2c9f8cba7f195bce001b6d3965"/></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>