Version Notes
- Merchants can now either let their customers select a shipping method, or choose a default shipping method for them.
- Improved error handling
Download this release
Release Info
Developer | Simon Taft |
Extension | Oink |
Version | 3.0.43 |
Comparing to | |
See all releases |
Code changes from version 3.0.42 to 3.0.43
- app/code/local/Oink/Oink/Model/System/Config/Source/Shipping/Carriers.php +1 -4
- app/code/local/Oink/Oink/controllers/CheckoutController.php +30 -14
- app/code/local/Oink/Oink/etc/config.xml +2 -2
- app/code/local/Oink/Oink/etc/system.xml +4 -4
- app/locale/en_US/Oink_Oink.csv +1 -1
- lib/Oink/Services/Implementations/MerchantPaymentServiceConfiguration.php +1 -1
- lib/Oink/Services/Implementations/OinkParentService.php +2 -2
- lib/Oink/Services/Implementations/OinkPaymentService.php +20 -20
- package.xml +8 -6
app/code/local/Oink/Oink/Model/System/Config/Source/Shipping/Carriers.php
CHANGED
@@ -15,12 +15,9 @@ class Oink_Oink_Model_System_Config_Source_Shipping_Carriers
|
|
15 |
{
|
16 |
if (!$this->_options) {
|
17 |
$this->_options = $this->getShippingOptions();
|
|
|
18 |
}
|
19 |
$options = $this->_options;
|
20 |
-
if(!$isMultiselect){
|
21 |
-
array_unshift($options, array('value'=>'', 'label'=>''));
|
22 |
-
}
|
23 |
-
|
24 |
return $options;
|
25 |
}
|
26 |
/**
|
15 |
{
|
16 |
if (!$this->_options) {
|
17 |
$this->_options = $this->getShippingOptions();
|
18 |
+
array_unshift($this->_options, array('label'=>'Let Customer Select Shipping Method', 'value' => ''));
|
19 |
}
|
20 |
$options = $this->_options;
|
|
|
|
|
|
|
|
|
21 |
return $options;
|
22 |
}
|
23 |
/**
|
app/code/local/Oink/Oink/controllers/CheckoutController.php
CHANGED
@@ -18,18 +18,19 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
18 |
} elseif (!Mage::helper("oink")->isUserLogged()) {
|
19 |
Mage::getSingleton("core/session")->addError($this->__("You need to be logged in Oink."));
|
20 |
$this->_redirect("checkout/cart/index");
|
21 |
-
} else {
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
$this->
|
|
|
27 |
$this->_redirect("oink/checkout/shippingMethod");
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
}
|
34 |
}
|
35 |
|
@@ -38,7 +39,7 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
38 |
*/
|
39 |
public function parentConfirmAction()
|
40 |
{
|
41 |
-
|
42 |
try {
|
43 |
$this->loadLayout()->renderLayout();
|
44 |
} catch (Exception $e) {
|
@@ -68,7 +69,7 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
68 |
*/
|
69 |
public function loginPostAction()
|
70 |
{
|
71 |
-
|
72 |
$user = $this->getRequest()->getPost("user");
|
73 |
$password = $this->getRequest()->getPost("password");
|
74 |
$loginResponse = array();
|
@@ -139,7 +140,7 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
139 |
$order->save();
|
140 |
$originalOrder->save();
|
141 |
$path = "oink/checkout/success";
|
142 |
-
|
143 |
} else {
|
144 |
$errorMessage = Mage::getSingleton("oink/errorHandler")->rewriteError($result->ErrorMessage);
|
145 |
Mage::getSingleton("core/session")->addError($errorMessage);
|
@@ -175,6 +176,21 @@ class Oink_Oink_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
175 |
return isset($shippingMethod);
|
176 |
}
|
177 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
protected function _placeOrder()
|
179 |
{
|
180 |
$quote = $this->_prepareGuestQuote();
|
18 |
} elseif (!Mage::helper("oink")->isUserLogged()) {
|
19 |
Mage::getSingleton("core/session")->addError($this->__("You need to be logged in Oink."));
|
20 |
$this->_redirect("checkout/cart/index");
|
21 |
+
} else if ($this->_isOrderReadyForConfirmation()) {
|
22 |
+
$this->_redirect("oink/checkout/parentConfirm");
|
23 |
+
} else if (!($this->_isShippingMethodSelected())) {
|
24 |
+
$this->_setAddress();
|
25 |
+
if ($this->_setDefaultShippingMethod())
|
26 |
+
$this->_redirect("oink/checkout/index");
|
27 |
+
else
|
28 |
$this->_redirect("oink/checkout/shippingMethod");
|
29 |
+
|
30 |
+
} else {
|
31 |
+
Mage::helper("oink/checkout")->populateQuote();
|
32 |
+
$this->loadLayout()
|
33 |
+
->renderLayout();
|
34 |
}
|
35 |
}
|
36 |
|
39 |
*/
|
40 |
public function parentConfirmAction()
|
41 |
{
|
42 |
+
$this->_reset();
|
43 |
try {
|
44 |
$this->loadLayout()->renderLayout();
|
45 |
} catch (Exception $e) {
|
69 |
*/
|
70 |
public function loginPostAction()
|
71 |
{
|
72 |
+
$this->_reset();
|
73 |
$user = $this->getRequest()->getPost("user");
|
74 |
$password = $this->getRequest()->getPost("password");
|
75 |
$loginResponse = array();
|
140 |
$order->save();
|
141 |
$originalOrder->save();
|
142 |
$path = "oink/checkout/success";
|
143 |
+
$this->_reset();
|
144 |
} else {
|
145 |
$errorMessage = Mage::getSingleton("oink/errorHandler")->rewriteError($result->ErrorMessage);
|
146 |
Mage::getSingleton("core/session")->addError($errorMessage);
|
176 |
return isset($shippingMethod);
|
177 |
}
|
178 |
|
179 |
+
private function _setDefaultShippingMethod() {
|
180 |
+
$defaultShippingMethodCode = Mage::getStoreConfig("oink/merchant_info/DefaultShipmentMethod");
|
181 |
+
if (!empty($defaultShippingMethodCode)) {
|
182 |
+
Mage::helper("oink")->getUser()->addData(array(
|
183 |
+
"shipping_method" => $defaultShippingMethodCode,
|
184 |
+
));
|
185 |
+
return true;
|
186 |
+
}
|
187 |
+
return false;
|
188 |
+
}
|
189 |
+
|
190 |
+
private function _reset() {
|
191 |
+
Mage::getSingleton("customer/session")->unsParentConfirm();
|
192 |
+
}
|
193 |
+
|
194 |
protected function _placeOrder()
|
195 |
{
|
196 |
$quote = $this->_prepareGuestQuote();
|
app/code/local/Oink/Oink/etc/config.xml
CHANGED
@@ -174,7 +174,7 @@
|
|
174 |
<APIkey>gadgetboom123</APIkey>
|
175 |
<two_steps_authorization>0</two_steps_authorization>
|
176 |
<Currency>USD</Currency>
|
177 |
-
<DefaultShipmentMethod>
|
178 |
<order_expiration_time>5</order_expiration_time>
|
179 |
</merchant_info>
|
180 |
<checkoutbutton>
|
@@ -185,7 +185,7 @@
|
|
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 |
-
|
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>
|
174 |
<APIkey>gadgetboom123</APIkey>
|
175 |
<two_steps_authorization>0</two_steps_authorization>
|
176 |
<Currency>USD</Currency>
|
177 |
+
<DefaultShipmentMethod>Let Customer Select Shipping Method</DefaultShipmentMethod>
|
178 |
<order_expiration_time>5</order_expiration_time>
|
179 |
</merchant_info>
|
180 |
<checkoutbutton>
|
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 |
+
|
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>
|
app/code/local/Oink/Oink/etc/system.xml
CHANGED
@@ -84,13 +84,13 @@
|
|
84 |
<show_in_store>1</show_in_store>
|
85 |
</Currency>
|
86 |
<DefaultShipmentMethod>
|
87 |
-
<label>
|
88 |
<frontend_type>select</frontend_type>
|
89 |
<source_model>oink/system_config_source_shipping_carriers</source_model>
|
90 |
<sort_order>30</sort_order>
|
91 |
-
<show_in_default>
|
92 |
-
<show_in_website>
|
93 |
-
<show_in_store>
|
94 |
</DefaultShipmentMethod>
|
95 |
<order_expiration_time>
|
96 |
<label>Order Expiration time</label>
|
84 |
<show_in_store>1</show_in_store>
|
85 |
</Currency>
|
86 |
<DefaultShipmentMethod>
|
87 |
+
<label>Shipping Method</label>
|
88 |
<frontend_type>select</frontend_type>
|
89 |
<source_model>oink/system_config_source_shipping_carriers</source_model>
|
90 |
<sort_order>30</sort_order>
|
91 |
+
<show_in_default>1</show_in_default>
|
92 |
+
<show_in_website>1</show_in_website>
|
93 |
+
<show_in_store>1</show_in_store>
|
94 |
</DefaultShipmentMethod>
|
95 |
<order_expiration_time>
|
96 |
<label>Order Expiration time</label>
|
app/locale/en_US/Oink_Oink.csv
CHANGED
@@ -28,7 +28,7 @@
|
|
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.", "
|
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.'
|
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."
|
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.'
|
lib/Oink/Services/Implementations/MerchantPaymentServiceConfiguration.php
CHANGED
@@ -21,7 +21,7 @@ class MerchantPaymentServiceConfiguration implements IPaymentServiceConfiguratio
|
|
21 |
$config->MerchantIdentifier = "03d081e1-2d57-4c98-8f1b-bbb83d4ab14a";
|
22 |
$config->APIkey = "gadgetboom123";
|
23 |
$config->Currency = "USD";
|
24 |
-
$config->DefaultShipmentMethod = "
|
25 |
return $config;
|
26 |
}
|
27 |
}
|
21 |
$config->MerchantIdentifier = "03d081e1-2d57-4c98-8f1b-bbb83d4ab14a";
|
22 |
$config->APIkey = "gadgetboom123";
|
23 |
$config->Currency = "USD";
|
24 |
+
$config->DefaultShipmentMethod = "Let Customer Select Shipping Method";
|
25 |
return $config;
|
26 |
}
|
27 |
}
|
lib/Oink/Services/Implementations/OinkParentService.php
CHANGED
@@ -45,7 +45,7 @@ class OinkParentService implements IParentService{
|
|
45 |
$result_dto->Status = $result->AuthenticateParentResult->Status;
|
46 |
|
47 |
} catch(Exception $e) {
|
48 |
-
$result_dto->ErrorMessage =
|
49 |
}
|
50 |
return $result_dto;
|
51 |
}
|
@@ -62,7 +62,7 @@ class OinkParentService implements IParentService{
|
|
62 |
$result = $client->GetChildProfiles($params);
|
63 |
return $result;
|
64 |
} catch(Exception $e) {
|
65 |
-
echo
|
66 |
}
|
67 |
}
|
68 |
}
|
45 |
$result_dto->Status = $result->AuthenticateParentResult->Status;
|
46 |
|
47 |
} catch(Exception $e) {
|
48 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
49 |
}
|
50 |
return $result_dto;
|
51 |
}
|
62 |
$result = $client->GetChildProfiles($params);
|
63 |
return $result;
|
64 |
} catch(Exception $e) {
|
65 |
+
echo $e->getMessage();
|
66 |
}
|
67 |
}
|
68 |
}
|
lib/Oink/Services/Implementations/OinkPaymentService.php
CHANGED
@@ -72,7 +72,7 @@ class OinkPaymentService implements IPaymentService {
|
|
72 |
$result_dto->Status = $result->AuthenticateChildResult->Status;
|
73 |
|
74 |
} catch (Exception $e) {
|
75 |
-
$result_dto->ErrorMessage =
|
76 |
}
|
77 |
return $result_dto;
|
78 |
}
|
@@ -98,7 +98,7 @@ class OinkPaymentService implements IPaymentService {
|
|
98 |
$result_dto->Status = $result->AuthenticateUserResult->Status;
|
99 |
$result_dto->UserType = $result->AuthenticateUserResult->UserType;
|
100 |
} catch (Exception $e) {
|
101 |
-
$result_dto->ErrorMessage =
|
102 |
}
|
103 |
return $result_dto;
|
104 |
}
|
@@ -117,7 +117,7 @@ class OinkPaymentService implements IPaymentService {
|
|
117 |
$profile->Gender = $result->GetChildGenderAgeResult->Gender;
|
118 |
$profile->ErrorMessage = $result->GetChildGenderAgeResult->ErrorMessage;
|
119 |
} catch (Exception $e) {
|
120 |
-
$profile->ErrorMessage =
|
121 |
}
|
122 |
return $profile;
|
123 |
}
|
@@ -149,7 +149,7 @@ class OinkPaymentService implements IPaymentService {
|
|
149 |
$result_dto->ParentName = $result->GetChildAddressResult->Name;
|
150 |
$result_dto->ChildName = $result->GetChildAddressResult->AttentionOf;
|
151 |
} catch (Exception $e) {
|
152 |
-
$result_dto->ErrorMessage =
|
153 |
}
|
154 |
return $result_dto;
|
155 |
}
|
@@ -180,7 +180,7 @@ class OinkPaymentService implements IPaymentService {
|
|
180 |
$result_dto->ParentEmail = $result->GetParentAddressResult->ParentEmail;
|
181 |
$result_dto->ParentName = $result->GetParentAddressResult->Name;
|
182 |
} catch (Exception $e) {
|
183 |
-
$result_dto->ErrorMessage =
|
184 |
}
|
185 |
return $result_dto;
|
186 |
}
|
@@ -212,7 +212,7 @@ class OinkPaymentService implements IPaymentService {
|
|
212 |
$result_dto->ParentEmail = $result->GetParentChildAddressResult->ParentEmail;
|
213 |
$result_dto->ParentName = $result->GetParentChildAddressResult->Name;
|
214 |
} catch (Exception $e) {
|
215 |
-
$result_dto->ErrorMessage =
|
216 |
}
|
217 |
return $result_dto;
|
218 |
}
|
@@ -245,7 +245,7 @@ class OinkPaymentService implements IPaymentService {
|
|
245 |
$childrens[] = $children;
|
246 |
}
|
247 |
} catch (Exception $e) {
|
248 |
-
$result_dto->ErrorMessage =
|
249 |
return $result_dto;
|
250 |
}
|
251 |
return $childrens;
|
@@ -281,7 +281,7 @@ class OinkPaymentService implements IPaymentService {
|
|
281 |
$paymentAccounts[] = $paymentAccount;
|
282 |
}
|
283 |
} catch (Exception $e) {
|
284 |
-
$result_dto->ErrorMessage =
|
285 |
return $result_dto;
|
286 |
}
|
287 |
return $paymentAccounts;
|
@@ -330,7 +330,7 @@ class OinkPaymentService implements IPaymentService {
|
|
330 |
);
|
331 |
$return = $client->GetTransactions($params);
|
332 |
} catch (Exception $e) {
|
333 |
-
echo
|
334 |
}
|
335 |
}
|
336 |
|
@@ -355,7 +355,7 @@ class OinkPaymentService implements IPaymentService {
|
|
355 |
$result_dto->TransactionStatus = $result->ProcessTransactionResult->TransactionStatus;
|
356 |
$result_dto->TransactionIdentifier = $result->ProcessTransactionResult->TransactionIdentifier;
|
357 |
} catch (Exception $e) {
|
358 |
-
$result_dto->ErrorMessage =
|
359 |
}
|
360 |
return $result_dto;
|
361 |
}
|
@@ -383,7 +383,7 @@ class OinkPaymentService implements IPaymentService {
|
|
383 |
$result_dto->TransactionStatus = $result->ProcessParentTransactionResult->TransactionStatus;
|
384 |
$result_dto->TransactionIdentifier = $result->ProcessParentTransactionResult->TransactionIdentifier;
|
385 |
} catch (Exception $e) {
|
386 |
-
$result_dto->ErrorMessage =
|
387 |
}
|
388 |
return $result_dto;
|
389 |
}
|
@@ -406,7 +406,7 @@ class OinkPaymentService implements IPaymentService {
|
|
406 |
$result_dto->Name = $result->ProcessSubscriptionResult->Name;
|
407 |
$result_dto->Type = $result->ProcessSubscriptionResult->Type;
|
408 |
} catch (Exception $e) {
|
409 |
-
$result_dto->ErrorMessage =
|
410 |
}
|
411 |
return $result;
|
412 |
}
|
@@ -427,7 +427,7 @@ class OinkPaymentService implements IPaymentService {
|
|
427 |
);
|
428 |
$result = $client->ApproveSubscription($params);
|
429 |
} catch (Exception $e) {
|
430 |
-
$result_dto->ErrorMessage =
|
431 |
return $result_dto;
|
432 |
}
|
433 |
return $result;
|
@@ -444,7 +444,7 @@ class OinkPaymentService implements IPaymentService {
|
|
444 |
);
|
445 |
$result = $client->ApproveSubscription($params);
|
446 |
} catch (Exception $e) {
|
447 |
-
$result_dto->ErrorMessage =
|
448 |
return $result_dto;
|
449 |
}
|
450 |
return $result;
|
@@ -461,7 +461,7 @@ class OinkPaymentService implements IPaymentService {
|
|
461 |
);
|
462 |
$result = $client->ApproveSubscription($params);
|
463 |
} catch (Exception $e) {
|
464 |
-
$result_dto->ErrorMessage =
|
465 |
return $result_dto;
|
466 |
}
|
467 |
return $result;
|
@@ -478,7 +478,7 @@ class OinkPaymentService implements IPaymentService {
|
|
478 |
);
|
479 |
$result = $client->ApproveSubscription($params);
|
480 |
} catch (Exception $e) {
|
481 |
-
$result_dto->ErrorMessage =
|
482 |
return $result_dto;
|
483 |
}
|
484 |
return $result;
|
@@ -495,7 +495,7 @@ class OinkPaymentService implements IPaymentService {
|
|
495 |
);
|
496 |
$result = $client->ApproveSubscription($params);
|
497 |
} catch (Exception $e) {
|
498 |
-
$result_dto->ErrorMessage =
|
499 |
return $result_dto;
|
500 |
}
|
501 |
return $result;
|
@@ -515,7 +515,7 @@ class OinkPaymentService implements IPaymentService {
|
|
515 |
);
|
516 |
$result = $client->SaveWishList($params);
|
517 |
} catch (Exception $e) {
|
518 |
-
echo
|
519 |
}
|
520 |
$status = new dtoWishlistStatus();
|
521 |
$status->Children = $result->SaveWishListResult->Children;
|
@@ -555,7 +555,7 @@ class OinkPaymentService implements IPaymentService {
|
|
555 |
$result_dto->Status = $result->CaptureTransactionByIdentifierResult->Status;
|
556 |
} catch (Exception $e) {
|
557 |
|
558 |
-
$result_dto->ErrorMessage =
|
559 |
}
|
560 |
return $result_dto;
|
561 |
}
|
@@ -575,7 +575,7 @@ class OinkPaymentService implements IPaymentService {
|
|
575 |
$result_dto->ErrorMessage = $result->CaptureTransactionByIdentifierResult->ErrorMessage;
|
576 |
$result_dto->Status = $result->CaptureTransactionByIdentifierResult->Status;
|
577 |
} catch (Exception $e) {
|
578 |
-
$result_dto->ErrorMessage =
|
579 |
}
|
580 |
return $result_dto;
|
581 |
}
|
72 |
$result_dto->Status = $result->AuthenticateChildResult->Status;
|
73 |
|
74 |
} catch (Exception $e) {
|
75 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
76 |
}
|
77 |
return $result_dto;
|
78 |
}
|
98 |
$result_dto->Status = $result->AuthenticateUserResult->Status;
|
99 |
$result_dto->UserType = $result->AuthenticateUserResult->UserType;
|
100 |
} catch (Exception $e) {
|
101 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
102 |
}
|
103 |
return $result_dto;
|
104 |
}
|
117 |
$profile->Gender = $result->GetChildGenderAgeResult->Gender;
|
118 |
$profile->ErrorMessage = $result->GetChildGenderAgeResult->ErrorMessage;
|
119 |
} catch (Exception $e) {
|
120 |
+
$profile->ErrorMessage = $e->getMessage();
|
121 |
}
|
122 |
return $profile;
|
123 |
}
|
149 |
$result_dto->ParentName = $result->GetChildAddressResult->Name;
|
150 |
$result_dto->ChildName = $result->GetChildAddressResult->AttentionOf;
|
151 |
} catch (Exception $e) {
|
152 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
153 |
}
|
154 |
return $result_dto;
|
155 |
}
|
180 |
$result_dto->ParentEmail = $result->GetParentAddressResult->ParentEmail;
|
181 |
$result_dto->ParentName = $result->GetParentAddressResult->Name;
|
182 |
} catch (Exception $e) {
|
183 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
184 |
}
|
185 |
return $result_dto;
|
186 |
}
|
212 |
$result_dto->ParentEmail = $result->GetParentChildAddressResult->ParentEmail;
|
213 |
$result_dto->ParentName = $result->GetParentChildAddressResult->Name;
|
214 |
} catch (Exception $e) {
|
215 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
216 |
}
|
217 |
return $result_dto;
|
218 |
}
|
245 |
$childrens[] = $children;
|
246 |
}
|
247 |
} catch (Exception $e) {
|
248 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
249 |
return $result_dto;
|
250 |
}
|
251 |
return $childrens;
|
281 |
$paymentAccounts[] = $paymentAccount;
|
282 |
}
|
283 |
} catch (Exception $e) {
|
284 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
285 |
return $result_dto;
|
286 |
}
|
287 |
return $paymentAccounts;
|
330 |
);
|
331 |
$return = $client->GetTransactions($params);
|
332 |
} catch (Exception $e) {
|
333 |
+
echo $e->getMessage();
|
334 |
}
|
335 |
}
|
336 |
|
355 |
$result_dto->TransactionStatus = $result->ProcessTransactionResult->TransactionStatus;
|
356 |
$result_dto->TransactionIdentifier = $result->ProcessTransactionResult->TransactionIdentifier;
|
357 |
} catch (Exception $e) {
|
358 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
359 |
}
|
360 |
return $result_dto;
|
361 |
}
|
383 |
$result_dto->TransactionStatus = $result->ProcessParentTransactionResult->TransactionStatus;
|
384 |
$result_dto->TransactionIdentifier = $result->ProcessParentTransactionResult->TransactionIdentifier;
|
385 |
} catch (Exception $e) {
|
386 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
387 |
}
|
388 |
return $result_dto;
|
389 |
}
|
406 |
$result_dto->Name = $result->ProcessSubscriptionResult->Name;
|
407 |
$result_dto->Type = $result->ProcessSubscriptionResult->Type;
|
408 |
} catch (Exception $e) {
|
409 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
410 |
}
|
411 |
return $result;
|
412 |
}
|
427 |
);
|
428 |
$result = $client->ApproveSubscription($params);
|
429 |
} catch (Exception $e) {
|
430 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
431 |
return $result_dto;
|
432 |
}
|
433 |
return $result;
|
444 |
);
|
445 |
$result = $client->ApproveSubscription($params);
|
446 |
} catch (Exception $e) {
|
447 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
448 |
return $result_dto;
|
449 |
}
|
450 |
return $result;
|
461 |
);
|
462 |
$result = $client->ApproveSubscription($params);
|
463 |
} catch (Exception $e) {
|
464 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
465 |
return $result_dto;
|
466 |
}
|
467 |
return $result;
|
478 |
);
|
479 |
$result = $client->ApproveSubscription($params);
|
480 |
} catch (Exception $e) {
|
481 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
482 |
return $result_dto;
|
483 |
}
|
484 |
return $result;
|
495 |
);
|
496 |
$result = $client->ApproveSubscription($params);
|
497 |
} catch (Exception $e) {
|
498 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
499 |
return $result_dto;
|
500 |
}
|
501 |
return $result;
|
515 |
);
|
516 |
$result = $client->SaveWishList($params);
|
517 |
} catch (Exception $e) {
|
518 |
+
echo $e->getMessage();
|
519 |
}
|
520 |
$status = new dtoWishlistStatus();
|
521 |
$status->Children = $result->SaveWishListResult->Children;
|
555 |
$result_dto->Status = $result->CaptureTransactionByIdentifierResult->Status;
|
556 |
} catch (Exception $e) {
|
557 |
|
558 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
559 |
}
|
560 |
return $result_dto;
|
561 |
}
|
575 |
$result_dto->ErrorMessage = $result->CaptureTransactionByIdentifierResult->ErrorMessage;
|
576 |
$result_dto->Status = $result->CaptureTransactionByIdentifierResult->Status;
|
577 |
} catch (Exception $e) {
|
578 |
+
$result_dto->ErrorMessage = $e->getMessage();
|
579 |
}
|
580 |
return $result_dto;
|
581 |
}
|
package.xml
CHANGED
@@ -1,18 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Oink</name>
|
4 |
-
<version>3.0.
|
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
|
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’s free for families to use and easy to set up.</description>
|
11 |
-
<notes
|
|
|
|
|
12 |
<authors><author><name>Simon Taft</name><user>simon</user><email>simon@oink.com</email></author></authors>
|
13 |
-
<date>2014-06-
|
14 |
-
<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>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Oink</name>
|
4 |
+
<version>3.0.43</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’s free for families to use and easy to set up.</description>
|
11 |
+
<notes>- Merchants can now either let their customers select a shipping method, or choose a default shipping method for them.
|
12 |
+

|
13 |
+
- Improved error handling</notes>
|
14 |
<authors><author><name>Simon Taft</name><user>simon</user><email>simon@oink.com</email></author></authors>
|
15 |
+
<date>2014-06-11</date>
|
16 |
+
<time>18:18:04</time>
|
17 |
+
<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="9c260c516bd33ba9ac2c58fcd6c9f6d0"/></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="f61cc506283a896997ec3dd55bf5393f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d02b9fa155dd3f898294aa8091a89576"/><file name="config.xml" hash="6b2f225c2bd13b2a882448d5f7f7e686"/><file name="system.xml" hash="83335881f1867d9cddaaefc18e58bfe7"/></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="9efa918f64b2a814f888a3a0872883d7"/></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="a89017c6ddbe621074ddf10dce83219b"/><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="4ef90962c04b913a874e7b5f526c5be8"/><file name="OinkPaymentService.php" hash="6bd3704aab5196e9b898dac93f18bcc5"/><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>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
|
20 |
</package>
|