Version Notes
Product Grabber Added
Further Enhancements
Download this release
Release Info
Developer | SwipezoomUK |
Extension | Swipezoom_InternationalShipping |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- app/code/local/Swipezoom/CardPayment/etc/config.xml +1 -1
- app/code/local/Swipezoom/InternationalShipping/Block/Onepage/Login.php +70 -0
- app/code/local/Swipezoom/InternationalShipping/Block/Onepage/Review.php +33 -0
- app/code/local/Swipezoom/InternationalShipping/Block/Onepage/Shipping/Method.php +21 -0
- app/code/local/Swipezoom/InternationalShipping/Model/Carrier/Swipezoom.php +146 -0
- app/code/local/Swipezoom/InternationalShipping/Model/Service/Quote.php +71 -0
- app/code/local/Swipezoom/InternationalShipping/Model/Type/Onepage.php +56 -0
- app/code/local/Swipezoom/InternationalShipping/controllers/IndexController.php +10 -0
- app/code/local/Swipezoom/InternationalShipping/controllers/OnepageController.php +514 -0
- app/code/local/Swipezoom/InternationalShipping/etc/config.xml +38 -1
- app/code/local/Swipezoom/InternationalShipping/etc/system.xml +27 -0
- app/design/frontend/base/default/layout/internationalshipping.xml +8 -1
- app/design/frontend/base/default/template/cardpayment/onepage/payment/methods.phtml +18 -0
- app/design/frontend/base/default/template/cardpayment/redirect.phtml +1 -0
- app/design/frontend/base/default/template/internationalshipping/checkout/onepage.phtml +64 -0
- app/design/frontend/base/default/template/internationalshipping/onepage/payment.phtml +59 -0
- package.xml +6 -6
app/code/local/Swipezoom/CardPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Swipezoom_cardpayment>
|
5 |
-
<version>1.0.
|
6 |
</Swipezoom_cardpayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Swipezoom_cardpayment>
|
5 |
+
<version>1.0.4</version>
|
6 |
</Swipezoom_cardpayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/Swipezoom/InternationalShipping/Block/Onepage/Login.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Swipezoom_InternationalShipping_Block_Onepage_Login
|
5 |
+
*
|
6 |
+
* @author Swipezoom
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Swipezoom_InternationalShipping_Block_Onepage_Login extends Mage_Checkout_Block_Onepage_Abstract
|
10 |
+
{
|
11 |
+
|
12 |
+
protected function _construct()
|
13 |
+
{
|
14 |
+
if (!$this->isCustomerLoggedIn()) {
|
15 |
+
$this->getCheckout()->setStepData('login', array('label'=>Mage::helper('checkout')->__('Checkout Method'), 'allow'=>true));
|
16 |
+
}
|
17 |
+
parent::_construct();
|
18 |
+
}
|
19 |
+
|
20 |
+
public function getMessages()
|
21 |
+
{
|
22 |
+
return Mage::getSingleton('customer/session')->getMessages(true);
|
23 |
+
}
|
24 |
+
|
25 |
+
public function getPostAction()
|
26 |
+
{
|
27 |
+
return Mage::getUrl('customer/account/loginPost', array('_secure'=>true));
|
28 |
+
}
|
29 |
+
|
30 |
+
public function getMethod()
|
31 |
+
{
|
32 |
+
return $this->getQuote()->getMethod();
|
33 |
+
}
|
34 |
+
|
35 |
+
public function getMethodData()
|
36 |
+
{
|
37 |
+
return $this->getCheckout()->getMethodData();
|
38 |
+
}
|
39 |
+
|
40 |
+
public function getSuccessUrl()
|
41 |
+
{
|
42 |
+
return $this->getUrl('*/*');
|
43 |
+
}
|
44 |
+
|
45 |
+
public function getErrorUrl()
|
46 |
+
{
|
47 |
+
return $this->getUrl('*/*');
|
48 |
+
}
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Retrieve username for form field
|
52 |
+
*
|
53 |
+
* @return string
|
54 |
+
*/
|
55 |
+
public function getUsername()
|
56 |
+
{
|
57 |
+
return Mage::getSingleton('customer/session')->getUsername(true);
|
58 |
+
}
|
59 |
+
|
60 |
+
public function isShow()
|
61 |
+
{
|
62 |
+
$force_guest_checkout = Mage::getStoreConfig('carriers/swipezoom/force_guest_checkout',Mage::app()->getStore());
|
63 |
+
|
64 |
+
if($force_guest_checkout) {
|
65 |
+
return false;
|
66 |
+
} else {
|
67 |
+
return true;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
}
|
app/code/local/Swipezoom/InternationalShipping/Block/Onepage/Review.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Swipezoom_InternationalShipping_Block_Onepage_Review
|
5 |
+
*
|
6 |
+
* @author Swipezoom
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Swipezoom_InternationalShipping_Block_Onepage_Review extends Mage_Checkout_Block_Onepage_Abstract
|
10 |
+
{
|
11 |
+
protected function _construct()
|
12 |
+
{
|
13 |
+
$this->getCheckout()->setStepData('review', array(
|
14 |
+
'label' => Mage::helper('checkout')->__('Order Review'),
|
15 |
+
'is_show' => $this->isShow()
|
16 |
+
));
|
17 |
+
parent::_construct();
|
18 |
+
|
19 |
+
$this->getQuote()->collectTotals()->save();
|
20 |
+
}
|
21 |
+
|
22 |
+
public function isShow()
|
23 |
+
{
|
24 |
+
$hidereview = Mage::getStoreConfig('carriers/swipezoom/hidereview',Mage::app()->getStore());
|
25 |
+
|
26 |
+
if($hidereview) {
|
27 |
+
return false;
|
28 |
+
} else {
|
29 |
+
return true;
|
30 |
+
}
|
31 |
+
|
32 |
+
}
|
33 |
+
}
|
app/code/local/Swipezoom/InternationalShipping/Block/Onepage/Shipping/Method.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Swipezoom_InternationalShipping_Block_Onepage_Shipping_Method
|
5 |
+
*
|
6 |
+
* @author Swipezoom
|
7 |
+
*/
|
8 |
+
|
9 |
+
class Swipezoom_InternationalShipping_Block_Onepage_Shipping_Method extends Mage_Checkout_Block_Onepage_Shipping_Method
|
10 |
+
{
|
11 |
+
public function isShow()
|
12 |
+
{
|
13 |
+
$hideshipping = Mage::getStoreConfig('carriers/swipezoom/hideshipping',Mage::app()->getStore());
|
14 |
+
|
15 |
+
if($hideshipping) {
|
16 |
+
return false;
|
17 |
+
} else {
|
18 |
+
return true;
|
19 |
+
}
|
20 |
+
}
|
21 |
+
}
|
app/code/local/Swipezoom/InternationalShipping/Model/Carrier/Swipezoom.php
CHANGED
@@ -962,6 +962,152 @@ extends Mage_Shipping_Model_Carrier_Abstract
|
|
962 |
return $responseAutoComplete;
|
963 |
|
964 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
965 |
|
966 |
|
967 |
|
962 |
return $responseAutoComplete;
|
963 |
|
964 |
}
|
965 |
+
|
966 |
+
//function defination to convert array to xml
|
967 |
+
function array_to_xml($array, &$xml_user_info) {
|
968 |
+
foreach($array as $key => $value) {
|
969 |
+
if(is_array($value)) {
|
970 |
+
if(!is_numeric($key)){
|
971 |
+
$subnode = $xml_user_info->addChild("$key");
|
972 |
+
$this->array_to_xml($value, $subnode);
|
973 |
+
}else{
|
974 |
+
$subnode = $xml_user_info->addChild("Product");
|
975 |
+
$this->array_to_xml($value, $subnode);
|
976 |
+
}
|
977 |
+
}else {
|
978 |
+
$xml_user_info->addChild("$key",htmlspecialchars("$value"));
|
979 |
+
}
|
980 |
+
}
|
981 |
+
}
|
982 |
+
|
983 |
+
/**
|
984 |
+
* Get Product List
|
985 |
+
*/
|
986 |
+
public function getProductList() {
|
987 |
+
|
988 |
+
$response = array();
|
989 |
+
try {
|
990 |
+
|
991 |
+
if(empty($_POST['MerchantID']) || empty($_POST['MerchantKey'])
|
992 |
+
|| $this->getConfigData('merchantid') != $_POST['MerchantID']
|
993 |
+
|| $this->getConfigData('merchantkey') != $_POST['MerchantKey']) {
|
994 |
+
$response = array();
|
995 |
+
|
996 |
+
$xml = new SimpleXMLElement('<ProductListResponse/>');
|
997 |
+
|
998 |
+
$xml->addChild('error', "Stakeholder credentials are not valid");
|
999 |
+
|
1000 |
+
return $xml->asXML();
|
1001 |
+
|
1002 |
+
} else {
|
1003 |
+
|
1004 |
+
if($_POST['ProductStartingID'])
|
1005 |
+
$lastId = $_POST['ProductStartingID'];
|
1006 |
+
else
|
1007 |
+
$lastId = 0;
|
1008 |
+
|
1009 |
+
$datefilter = array();
|
1010 |
+
if(!empty($_POST['StartDate']))
|
1011 |
+
$datefilter['from'] = $_POST['StartDate'];
|
1012 |
+
|
1013 |
+
if(!empty($_POST['EndDate']))
|
1014 |
+
$datefilter['to'] = $_POST['EndDate'];
|
1015 |
+
|
1016 |
+
if(!empty($datefilter)) {
|
1017 |
+
$_productCollection = Mage::getModel('catalog/product')
|
1018 |
+
->getCollection()
|
1019 |
+
->addAttributeToFilter('entity_id', array('gt' => $lastId))
|
1020 |
+
->addAttributeToFilter('created_at', $datefilter)
|
1021 |
+
->addAttributeToSort('created_at', 'DESC')
|
1022 |
+
->addAttributeToSelect('*')
|
1023 |
+
->load();
|
1024 |
+
} else {
|
1025 |
+
$_productCollection = Mage::getModel('catalog/product')
|
1026 |
+
->getCollection()
|
1027 |
+
->addAttributeToFilter('entity_id', array('gt' => $lastId))
|
1028 |
+
->addAttributeToSort('created_at', 'DESC')
|
1029 |
+
->addAttributeToSelect('*')
|
1030 |
+
->load();
|
1031 |
+
}
|
1032 |
+
|
1033 |
+
$i = 0;
|
1034 |
+
$len = count($_productCollection);
|
1035 |
+
foreach ($_productCollection as $_product){
|
1036 |
+
|
1037 |
+
if ($i == 0) {
|
1038 |
+
$lastProductId = $response[$_product->getId()]['ProductID'];
|
1039 |
+
// save last product id
|
1040 |
+
}
|
1041 |
+
$i++;
|
1042 |
+
|
1043 |
+
$response[$_product->getId()]['ProductCode'] = $_product->getSku();
|
1044 |
+
$response[$_product->getId()]['ProductDescription'] = $_product->getName();
|
1045 |
+
|
1046 |
+
$categoryIds = $_product->getCategoryIds();
|
1047 |
+
|
1048 |
+
if(count($categoryIds) ){
|
1049 |
+
$firstCategoryId = $categoryIds[0];
|
1050 |
+
$_category = Mage::getModel('catalog/category')->load($firstCategoryId);
|
1051 |
+
$cat_name = $_category->getName();
|
1052 |
+
} else {
|
1053 |
+
$cat_name = '';
|
1054 |
+
$firstCategoryId = '';
|
1055 |
+
}
|
1056 |
+
|
1057 |
+
$countryList = Mage::getResourceModel('directory/country_collection')
|
1058 |
+
->loadData()
|
1059 |
+
->toOptionArray(false);
|
1060 |
+
$needle = $_product->getAttributeText('country_of_manufacture');
|
1061 |
+
$countrycode = '';
|
1062 |
+
foreach ($countryList as $key => $val)
|
1063 |
+
{
|
1064 |
+
if (strtolower($val['label']) === strtolower($needle)) {
|
1065 |
+
$countrycode = $val['value'];
|
1066 |
+
break;
|
1067 |
+
}
|
1068 |
+
}
|
1069 |
+
|
1070 |
+
$country = Mage::getResourceModel('directory/country_collection')->addFieldToFilter("country_id",$countrycode)->getData();
|
1071 |
+
$countrycode = $country[0]["iso3_code"];
|
1072 |
+
|
1073 |
+
$response[$_product->getId()]['CategoryID'] = $firstCategoryId;
|
1074 |
+
$response[$_product->getId()]['CategoryName'] = $cat_name;
|
1075 |
+
$response[$_product->getId()]['Weight'] = number_format($_product->getWeight(),2);
|
1076 |
+
$response[$_product->getId()]['CountryOfManufacture'] = $countrycode;
|
1077 |
+
$response[$_product->getId()]['ImageURL'] = $_product->getImageUrl();
|
1078 |
+
$response[$_product->getId()]['ProductURL'] = $_product->getProductUrl();
|
1079 |
+
$response[$_product->getId()]['ProductID'] = $_product->getId();
|
1080 |
+
|
1081 |
+
if($_product->getStatus() == 1)
|
1082 |
+
$response[$_product->getId()]['Status'] = 'Enabled';
|
1083 |
+
else
|
1084 |
+
$response[$_product->getId()]['Status'] = 'Disabled';
|
1085 |
+
|
1086 |
+
}
|
1087 |
+
|
1088 |
+
if($len == 0) {
|
1089 |
+
$response = array();
|
1090 |
+
$xml = new SimpleXMLElement('<ProductListResponse/>');
|
1091 |
+
|
1092 |
+
$xml->addChild('error', "0 records found");
|
1093 |
+
|
1094 |
+
return $xml->asXML();
|
1095 |
+
}
|
1096 |
+
|
1097 |
+
//creating object of SimpleXMLElement
|
1098 |
+
$xml_user_info = new SimpleXMLElement("<?xml version=\"1.0\"?><ProductListResponse></ProductListResponse>");
|
1099 |
+
|
1100 |
+
//function call to convert array to xml
|
1101 |
+
$this->array_to_xml($response,$xml_user_info);
|
1102 |
+
|
1103 |
+
//saving generated xml file
|
1104 |
+
return $xml_user_info->asXML();
|
1105 |
+
}
|
1106 |
+
|
1107 |
+
} catch (Exception $e) {
|
1108 |
+
Mage::logException($e);
|
1109 |
+
}
|
1110 |
+
}
|
1111 |
|
1112 |
|
1113 |
|
app/code/local/Swipezoom/InternationalShipping/Model/Service/Quote.php
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Swipezoom_InternationalShipping_Model_Service_Quote
|
4 |
+
*
|
5 |
+
* @author Swipezoom
|
6 |
+
*/
|
7 |
+
|
8 |
+
class Swipezoom_InternationalShipping_Model_Service_Quote extends Mage_Sales_Model_Service_Quote
|
9 |
+
{
|
10 |
+
|
11 |
+
protected function _validate()
|
12 |
+
{
|
13 |
+
$hideshipping = Mage::getStoreConfig('carriers/swipezoom/hideshipping',Mage::app()->getStore());
|
14 |
+
|
15 |
+
if($hideshipping) {
|
16 |
+
$helper = Mage::helper('sales');
|
17 |
+
if (!$this->getQuote()->isVirtual()) {
|
18 |
+
$address = $this->getQuote()->getShippingAddress();
|
19 |
+
$addressValidation = $address->validate();
|
20 |
+
if ($addressValidation !== true) {
|
21 |
+
Mage::throwException(
|
22 |
+
$helper->__('Please check shipping address information. %s', implode(' ', $addressValidation))
|
23 |
+
);
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
$addressValidation = $this->getQuote()->getBillingAddress()->validate();
|
28 |
+
if ($addressValidation !== true) {
|
29 |
+
Mage::throwException(
|
30 |
+
$helper->__('Please check billing address information. %s', implode(' ', $addressValidation))
|
31 |
+
);
|
32 |
+
}
|
33 |
+
|
34 |
+
if (!($this->getQuote()->getPayment()->getMethod())) {
|
35 |
+
Mage::throwException($helper->__('Please select a valid payment method.'));
|
36 |
+
}
|
37 |
+
|
38 |
+
return $this;
|
39 |
+
} else {
|
40 |
+
if (!$this->getQuote()->isVirtual()) {
|
41 |
+
$address = $this->getQuote()->getShippingAddress();
|
42 |
+
$addressValidation = $address->validate();
|
43 |
+
if ($addressValidation !== true) {
|
44 |
+
Mage::throwException(
|
45 |
+
Mage::helper('sales')->__('Please check shipping address information. %s', implode(' ', $addressValidation))
|
46 |
+
);
|
47 |
+
}
|
48 |
+
$method= $address->getShippingMethod();
|
49 |
+
$rate = $address->getShippingRateByCode($method);
|
50 |
+
if (!$this->getQuote()->isVirtual() && (!$method || !$rate)) {
|
51 |
+
Mage::throwException(Mage::helper('sales')->__('Please specify a shipping method.'));
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
$addressValidation = $this->getQuote()->getBillingAddress()->validate();
|
56 |
+
if ($addressValidation !== true) {
|
57 |
+
Mage::throwException(
|
58 |
+
Mage::helper('sales')->__('Please check billing address information. %s', implode(' ', $addressValidation))
|
59 |
+
);
|
60 |
+
}
|
61 |
+
|
62 |
+
if (!($this->getQuote()->getPayment()->getMethod())) {
|
63 |
+
Mage::throwException(Mage::helper('sales')->__('Please select a valid payment method.'));
|
64 |
+
}
|
65 |
+
|
66 |
+
return $this;
|
67 |
+
}
|
68 |
+
|
69 |
+
|
70 |
+
}
|
71 |
+
}
|
app/code/local/Swipezoom/InternationalShipping/Model/Type/Onepage.php
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Swipezoom_InternationalShipping_Model_Type_Onepage
|
4 |
+
*
|
5 |
+
* @author Swipezoom
|
6 |
+
*/
|
7 |
+
|
8 |
+
class Swipezoom_InternationalShipping_Model_Type_Onepage extends Mage_Checkout_Model_Type_Onepage
|
9 |
+
{
|
10 |
+
protected function validateOrder()
|
11 |
+
{
|
12 |
+
$hideshipping = Mage::getStoreConfig('carriers/swipezoom/hideshipping',Mage::app()->getStore());
|
13 |
+
|
14 |
+
if($hideshipping) {
|
15 |
+
$helper = Mage::helper('checkout');
|
16 |
+
if ($this->getQuote()->getIsMultiShipping()) {
|
17 |
+
Mage::throwException($helper->__('Invalid checkout type.'));
|
18 |
+
}
|
19 |
+
|
20 |
+
$addressValidation = $this->getQuote()->getBillingAddress()->validate();
|
21 |
+
if ($addressValidation !== true) {
|
22 |
+
Mage::throwException($helper->__('Please check billing address information.'));
|
23 |
+
}
|
24 |
+
|
25 |
+
if (!($this->getQuote()->getPayment()->getMethod())) {
|
26 |
+
Mage::throwException($helper->__('Please select valid payment method.'));
|
27 |
+
}
|
28 |
+
} else {
|
29 |
+
if ($this->getQuote()->getIsMultiShipping()) {
|
30 |
+
Mage::throwException(Mage::helper('checkout')->__('Invalid checkout type.'));
|
31 |
+
}
|
32 |
+
|
33 |
+
if (!$this->getQuote()->isVirtual()) {
|
34 |
+
$address = $this->getQuote()->getShippingAddress();
|
35 |
+
$addressValidation = $address->validate();
|
36 |
+
if ($addressValidation !== true) {
|
37 |
+
Mage::throwException(Mage::helper('checkout')->__('Please check shipping address information.'));
|
38 |
+
}
|
39 |
+
$method= $address->getShippingMethod();
|
40 |
+
$rate = $address->getShippingRateByCode($method);
|
41 |
+
if (!$this->getQuote()->isVirtual() && (!$method || !$rate)) {
|
42 |
+
Mage::throwException(Mage::helper('checkout')->__('Please specify shipping method.'));
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
$addressValidation = $this->getQuote()->getBillingAddress()->validate();
|
47 |
+
if ($addressValidation !== true) {
|
48 |
+
Mage::throwException(Mage::helper('checkout')->__('Please check billing address information.'));
|
49 |
+
}
|
50 |
+
|
51 |
+
if (!($this->getQuote()->getPayment()->getMethod())) {
|
52 |
+
Mage::throwException(Mage::helper('checkout')->__('Please select valid payment method.'));
|
53 |
+
}
|
54 |
+
}
|
55 |
+
}
|
56 |
+
}
|
app/code/local/Swipezoom/InternationalShipping/controllers/IndexController.php
CHANGED
@@ -129,6 +129,16 @@ class Swipezoom_InternationalShipping_IndexController extends Mage_Core_Controll
|
|
129 |
{
|
130 |
$task = Mage::getModel('internationalshipping/carrier_swipezoom')->AddressVerifacation();
|
131 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
public function getCitiesForAutoCompleteAction() {
|
134 |
$responseArray = Mage::getModel('internationalshipping/carrier_swipezoom')->getCitiesForAutoComplete();
|
129 |
{
|
130 |
$task = Mage::getModel('internationalshipping/carrier_swipezoom')->AddressVerifacation();
|
131 |
}
|
132 |
+
|
133 |
+
public function getProductListAction() {
|
134 |
+
$responseArray = Mage::getModel('internationalshipping/carrier_swipezoom')->getProductList();
|
135 |
+
$dom = new DOMDocument;
|
136 |
+
$dom->preserveWhiteSpace = FALSE;
|
137 |
+
$dom->loadXML($responseArray);
|
138 |
+
$dom->formatOutput = TRUE;
|
139 |
+
echo $dom->saveXml();
|
140 |
+
return true;
|
141 |
+
}
|
142 |
|
143 |
public function getCitiesForAutoCompleteAction() {
|
144 |
$responseArray = Mage::getModel('internationalshipping/carrier_swipezoom')->getCitiesForAutoComplete();
|
app/code/local/Swipezoom/InternationalShipping/controllers/OnepageController.php
ADDED
@@ -0,0 +1,514 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Swipezoom_InternationalShipping_OnepageController
|
5 |
+
*
|
6 |
+
* @author Swipezoom
|
7 |
+
*/
|
8 |
+
|
9 |
+
require_once 'Mage/Checkout/controllers/OnepageController.php';
|
10 |
+
class Swipezoom_InternationalShipping_OnepageController extends Mage_Checkout_OnepageController {
|
11 |
+
|
12 |
+
public function savePaymentAction()
|
13 |
+
{
|
14 |
+
|
15 |
+
$hidereview = Mage::getStoreConfig('carriers/swipezoom/hidereview',Mage::app()->getStore());
|
16 |
+
|
17 |
+
if($hidereview) {
|
18 |
+
if ($this->_expireAjax()) {
|
19 |
+
return;
|
20 |
+
}
|
21 |
+
try {
|
22 |
+
if (!$this->getRequest()->isPost()) {
|
23 |
+
$this->_ajaxRedirectResponse();
|
24 |
+
return;
|
25 |
+
}
|
26 |
+
|
27 |
+
// set payment to quote
|
28 |
+
$result = array();
|
29 |
+
$data = $this->getRequest()->getPost('payment', array());
|
30 |
+
$result = $this->getOnepage()->savePayment($data);
|
31 |
+
|
32 |
+
// get section and redirect data
|
33 |
+
$redirectUrl = $this->getOnepage()->getQuote()->getPayment()->getCheckoutRedirectUrl();
|
34 |
+
if (empty($result['error']) && !$redirectUrl) {
|
35 |
+
$this->loadLayout('checkout_onepage_review');
|
36 |
+
$result['goto_section'] = 'review';
|
37 |
+
$result['update_section'] = array(
|
38 |
+
'name' => 'review',
|
39 |
+
'html' => $this->_getReviewHtml()
|
40 |
+
);
|
41 |
+
}
|
42 |
+
if ($redirectUrl) {
|
43 |
+
$result['redirect'] = $redirectUrl;
|
44 |
+
}
|
45 |
+
} catch (Mage_Payment_Exception $e) {
|
46 |
+
if ($e->getFields()) {
|
47 |
+
$result['fields'] = $e->getFields();
|
48 |
+
}
|
49 |
+
$result['error'] = $e->getMessage();
|
50 |
+
} catch (Mage_Core_Exception $e) {
|
51 |
+
$result['error'] = $e->getMessage();
|
52 |
+
} catch (Exception $e) {
|
53 |
+
Mage::logException($e);
|
54 |
+
$result['error'] = $this->__('Unable to set Payment Method.');
|
55 |
+
}
|
56 |
+
|
57 |
+
$result['redirect'] = '';
|
58 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
59 |
+
$this->saveOrderAction();
|
60 |
+
} else {
|
61 |
+
|
62 |
+
if ($this->_expireAjax()) {
|
63 |
+
return;
|
64 |
+
}
|
65 |
+
try {
|
66 |
+
if (!$this->getRequest()->isPost()) {
|
67 |
+
$this->_ajaxRedirectResponse();
|
68 |
+
return;
|
69 |
+
}
|
70 |
+
|
71 |
+
$data = $this->getRequest()->getPost('payment', array());
|
72 |
+
$result = $this->getOnepage()->savePayment($data);
|
73 |
+
|
74 |
+
// get section and redirect data
|
75 |
+
$redirectUrl = $this->getOnepage()->getQuote()->getPayment()->getCheckoutRedirectUrl();
|
76 |
+
if (empty($result['error']) && !$redirectUrl) {
|
77 |
+
$this->loadLayout('checkout_onepage_review');
|
78 |
+
$result['goto_section'] = 'review';
|
79 |
+
$result['update_section'] = array(
|
80 |
+
'name' => 'review',
|
81 |
+
'html' => $this->_getReviewHtml()
|
82 |
+
);
|
83 |
+
}
|
84 |
+
if ($redirectUrl) {
|
85 |
+
$result['redirect'] = $redirectUrl;
|
86 |
+
}
|
87 |
+
} catch (Mage_Payment_Exception $e) {
|
88 |
+
if ($e->getFields()) {
|
89 |
+
$result['fields'] = $e->getFields();
|
90 |
+
}
|
91 |
+
$result['error'] = $e->getMessage();
|
92 |
+
} catch (Mage_Core_Exception $e) {
|
93 |
+
$result['error'] = $e->getMessage();
|
94 |
+
} catch (Exception $e) {
|
95 |
+
Mage::logException($e);
|
96 |
+
$result['error'] = $this->__('Unable to set Payment Method.');
|
97 |
+
}
|
98 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
99 |
+
|
100 |
+
}
|
101 |
+
}
|
102 |
+
|
103 |
+
public function saveBillingAction()
|
104 |
+
{
|
105 |
+
$hideshipping = Mage::getStoreConfig('carriers/swipezoom/hideshipping',Mage::app()->getStore());
|
106 |
+
|
107 |
+
if($hideshipping) {
|
108 |
+
|
109 |
+
if ($this->_expireAjax()) {
|
110 |
+
return;
|
111 |
+
}
|
112 |
+
if ($this->getRequest()->isPost()) {
|
113 |
+
$data = $this->getRequest()->getPost('billing', array());
|
114 |
+
$customerAddressId = $this->getRequest()->getPost('billing_address_id', false);
|
115 |
+
$result = $this->getOnepage()->saveBilling($data, $customerAddressId);
|
116 |
+
|
117 |
+
if (!isset($result['error'])) {
|
118 |
+
|
119 |
+
if($data['use_for_shipping'] == 1) {
|
120 |
+
|
121 |
+
$method = 'swipezoom_custshippingcharges_noduties_noinsurance';
|
122 |
+
$swipezoomCountry = true;
|
123 |
+
$logistic_success = false;
|
124 |
+
$existing_carrier = '';
|
125 |
+
|
126 |
+
$countrycode= $data['country_id'];
|
127 |
+
$specificCountry = Mage::getStoreConfig('carriers/swipezoom/sallowspecific',Mage::app()->getStore());
|
128 |
+
$specificCountryList = Mage::getStoreConfig('carriers/swipezoom/specificcountry',Mage::app()->getStore());
|
129 |
+
if($specificCountry == 1 && strpos($specificCountryList,$countrycode) === FALSE){
|
130 |
+
$swipezoomCountry = false;
|
131 |
+
}else{
|
132 |
+
$swipezoomCountry = true;
|
133 |
+
}
|
134 |
+
|
135 |
+
$cart = Mage::getSingleton('checkout/cart');
|
136 |
+
$address = $cart->getQuote()->getShippingAddress();
|
137 |
+
$rates = $address->collectShippingRates()
|
138 |
+
->getGroupedAllShippingRates();
|
139 |
+
|
140 |
+
foreach ($rates as $carrier) {
|
141 |
+
foreach ($carrier as $rate) {
|
142 |
+
$shipping_method = $rate->getData();
|
143 |
+
|
144 |
+
if($swipezoomCountry) {
|
145 |
+
if($shipping_method['code'] == $method) {
|
146 |
+
$logistic_success = true;
|
147 |
+
}
|
148 |
+
} else {
|
149 |
+
$existing_carrier = $shipping_method['code'];
|
150 |
+
}
|
151 |
+
}
|
152 |
+
}
|
153 |
+
|
154 |
+
$shippingaddress = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress();
|
155 |
+
|
156 |
+
if($swipezoomCountry) {
|
157 |
+
if(!$logistic_success) {
|
158 |
+
$specificerrmsg = Mage::getStoreConfig('carriers/swipezoom/specificerrmsg',Mage::app()->getStore());
|
159 |
+
$result = array('error' => -1, 'message' => Mage::helper('checkout')->__($specificerrmsg));
|
160 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
161 |
+
return;
|
162 |
+
} else {
|
163 |
+
$shippingaddress->setShippingMethod($method);
|
164 |
+
$shippingaddress->save();
|
165 |
+
$result = $this->getOnepage()->saveShippingMethod($method);
|
166 |
+
}
|
167 |
+
} else {
|
168 |
+
$shippingaddress->setShippingMethod($existing_carrier);
|
169 |
+
$shippingaddress->save();
|
170 |
+
$result = $this->getOnepage()->saveShippingMethod($existing_carrier);
|
171 |
+
}
|
172 |
+
|
173 |
+
}
|
174 |
+
|
175 |
+
if ($this->getOnepage()->getQuote()->isVirtual()) {
|
176 |
+
|
177 |
+
$result['goto_section'] = 'payment';
|
178 |
+
$result['update_section'] = array(
|
179 |
+
'name' => 'payment-method',
|
180 |
+
'html' => $this->_getPaymentMethodsHtml()
|
181 |
+
);
|
182 |
+
}
|
183 |
+
elseif (isset($data['use_for_shipping']) && $data['use_for_shipping'] == 1) {
|
184 |
+
|
185 |
+
$result['goto_section'] = 'payment';
|
186 |
+
$result['update_section'] = array(
|
187 |
+
'name' => 'payment-method',
|
188 |
+
'html' => $this->_getPaymentMethodsHtml()
|
189 |
+
);
|
190 |
+
}
|
191 |
+
else {
|
192 |
+
$result['goto_section'] = 'shipping';
|
193 |
+
}
|
194 |
+
}
|
195 |
+
|
196 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
197 |
+
}
|
198 |
+
} else {
|
199 |
+
|
200 |
+
if ($this->_expireAjax()) {
|
201 |
+
return;
|
202 |
+
}
|
203 |
+
if ($this->getRequest()->isPost()) {
|
204 |
+
$data = $this->getRequest()->getPost('billing', array());
|
205 |
+
$customerAddressId = $this->getRequest()->getPost('billing_address_id', false);
|
206 |
+
|
207 |
+
if (isset($data['email'])) {
|
208 |
+
$data['email'] = trim($data['email']);
|
209 |
+
}
|
210 |
+
$result = $this->getOnepage()->saveBilling($data, $customerAddressId);
|
211 |
+
|
212 |
+
if (!isset($result['error'])) {
|
213 |
+
if ($this->getOnepage()->getQuote()->isVirtual()) {
|
214 |
+
$result['goto_section'] = 'payment';
|
215 |
+
$result['update_section'] = array(
|
216 |
+
'name' => 'payment-method',
|
217 |
+
'html' => $this->_getPaymentMethodsHtml()
|
218 |
+
);
|
219 |
+
} elseif (isset($data['use_for_shipping']) && $data['use_for_shipping'] == 1) {
|
220 |
+
$result['goto_section'] = 'shipping_method';
|
221 |
+
$result['update_section'] = array(
|
222 |
+
'name' => 'shipping-method',
|
223 |
+
'html' => $this->_getShippingMethodsHtml()
|
224 |
+
);
|
225 |
+
|
226 |
+
$result['allow_sections'] = array('shipping');
|
227 |
+
$result['duplicateBillingInfo'] = 'true';
|
228 |
+
} else {
|
229 |
+
$result['goto_section'] = 'shipping';
|
230 |
+
}
|
231 |
+
}
|
232 |
+
|
233 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
234 |
+
}
|
235 |
+
|
236 |
+
}
|
237 |
+
}
|
238 |
+
|
239 |
+
|
240 |
+
public function saveShippingAction()
|
241 |
+
{
|
242 |
+
$hideshipping = Mage::getStoreConfig('carriers/swipezoom/hideshipping',Mage::app()->getStore());
|
243 |
+
|
244 |
+
if($hideshipping) {
|
245 |
+
if ($this->_expireAjax()) {
|
246 |
+
return;
|
247 |
+
}
|
248 |
+
if ($this->getRequest()->isPost()) {
|
249 |
+
$data = $this->getRequest()->getPost('shipping', array());
|
250 |
+
$customerAddressId = $this->getRequest()->getPost('shipping_address_id', false);
|
251 |
+
$result = $this->getOnepage()->saveShipping($data, $customerAddressId);
|
252 |
+
|
253 |
+
if (!isset($result['error'])) {
|
254 |
+
|
255 |
+
$method = 'swipezoom_custshippingcharges_noduties_noinsurance';
|
256 |
+
$swipezoomCountry = true;
|
257 |
+
$logistic_success = false;
|
258 |
+
$existing_carrier = '';
|
259 |
+
|
260 |
+
$countrycode= $data['country_id'];
|
261 |
+
$specificCountry = Mage::getStoreConfig('carriers/swipezoom/sallowspecific',Mage::app()->getStore());
|
262 |
+
$specificCountryList = Mage::getStoreConfig('carriers/swipezoom/specificcountry',Mage::app()->getStore());
|
263 |
+
if($specificCountry == 1 && strpos($specificCountryList,$countrycode) === FALSE){
|
264 |
+
$swipezoomCountry = false;
|
265 |
+
}else{
|
266 |
+
$swipezoomCountry = true;
|
267 |
+
}
|
268 |
+
|
269 |
+
$cart = Mage::getSingleton('checkout/cart');
|
270 |
+
$address = $cart->getQuote()->getShippingAddress();
|
271 |
+
$rates = $address->collectShippingRates()
|
272 |
+
->getGroupedAllShippingRates();
|
273 |
+
|
274 |
+
|
275 |
+
foreach ($rates as $carrier) {
|
276 |
+
foreach ($carrier as $rate) {
|
277 |
+
$shipping_method = $rate->getData();
|
278 |
+
|
279 |
+
if($swipezoomCountry) {
|
280 |
+
if($shipping_method['code'] == $method) {
|
281 |
+
$logistic_success = true;
|
282 |
+
}
|
283 |
+
} else {
|
284 |
+
$existing_carrier = $shipping_method['code'];
|
285 |
+
}
|
286 |
+
}
|
287 |
+
}
|
288 |
+
|
289 |
+
$shippingaddress = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress();
|
290 |
+
|
291 |
+
if($swipezoomCountry) {
|
292 |
+
if(!$logistic_success) {
|
293 |
+
$specificerrmsg = Mage::getStoreConfig('carriers/swipezoom/specificerrmsg',Mage::app()->getStore());
|
294 |
+
$result = array('error' => -1, 'message' => Mage::helper('checkout')->__($specificerrmsg));
|
295 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
296 |
+
return;
|
297 |
+
} else {
|
298 |
+
$shippingaddress->setShippingMethod($method);
|
299 |
+
$shippingaddress->save();
|
300 |
+
$result = $this->getOnepage()->saveShippingMethod($method);
|
301 |
+
}
|
302 |
+
} else {
|
303 |
+
$shippingaddress->setShippingMethod($existing_carrier);
|
304 |
+
$shippingaddress->save();
|
305 |
+
$result = $this->getOnepage()->saveShippingMethod($existing_carrier);
|
306 |
+
}
|
307 |
+
|
308 |
+
$result['goto_section'] = 'payment';
|
309 |
+
$result['update_section'] = array(
|
310 |
+
'name' => 'payment-method',
|
311 |
+
'html' => $this->_getPaymentMethodsHtml()
|
312 |
+
);
|
313 |
+
}
|
314 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
315 |
+
}
|
316 |
+
} else {
|
317 |
+
|
318 |
+
if ($this->_expireAjax()) {
|
319 |
+
return;
|
320 |
+
}
|
321 |
+
if ($this->getRequest()->isPost()) {
|
322 |
+
$data = $this->getRequest()->getPost('shipping', array());
|
323 |
+
$customerAddressId = $this->getRequest()->getPost('shipping_address_id', false);
|
324 |
+
$result = $this->getOnepage()->saveShipping($data, $customerAddressId);
|
325 |
+
|
326 |
+
if (!isset($result['error'])) {
|
327 |
+
$result['goto_section'] = 'shipping_method';
|
328 |
+
$result['update_section'] = array(
|
329 |
+
'name' => 'shipping-method',
|
330 |
+
'html' => $this->_getShippingMethodsHtml()
|
331 |
+
);
|
332 |
+
}
|
333 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
334 |
+
}
|
335 |
+
|
336 |
+
}
|
337 |
+
}
|
338 |
+
|
339 |
+
public function saveOrderAction()
|
340 |
+
{
|
341 |
+
$hidereview = Mage::getStoreConfig('carriers/swipezoom/hidereview',Mage::app()->getStore());
|
342 |
+
|
343 |
+
if($hidereview) {
|
344 |
+
if ($this->_expireAjax()) {
|
345 |
+
return;
|
346 |
+
}
|
347 |
+
|
348 |
+
$result = array();
|
349 |
+
try {
|
350 |
+
if ($requiredAgreements = Mage::helper('checkout')->getRequiredAgreementIds()) {
|
351 |
+
$postedAgreements = array_keys($this->getRequest()->getPost('agreement', array()));
|
352 |
+
if ($diff = array_diff($requiredAgreements, $postedAgreements)) {
|
353 |
+
$result['success'] = false;
|
354 |
+
$result['error'] = true;
|
355 |
+
$result['error_messages'] = $this->__('Please agree to all the terms and conditions before placing the order.');
|
356 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
357 |
+
return;
|
358 |
+
}
|
359 |
+
}
|
360 |
+
if ($data = $this->getRequest()->getPost('payment', false)) {
|
361 |
+
$this->getOnepage()->getQuote()->getPayment()->importData($data);
|
362 |
+
}
|
363 |
+
$this->getOnepage()->saveOrder();
|
364 |
+
|
365 |
+
$redirectUrl = $this->getOnepage()->getCheckout()->getRedirectUrl();
|
366 |
+
$result['success'] = true;
|
367 |
+
$result['error'] = false;
|
368 |
+
} catch (Mage_Payment_Model_Info_Exception $e) {
|
369 |
+
$message = $e->getMessage();
|
370 |
+
if( !empty($message) ) {
|
371 |
+
$result['error_messages'] = $message;
|
372 |
+
}
|
373 |
+
$result['goto_section'] = 'payment';
|
374 |
+
$result['update_section'] = array(
|
375 |
+
'name' => 'payment-method',
|
376 |
+
'html' => $this->_getPaymentMethodsHtml()
|
377 |
+
);
|
378 |
+
} catch (Mage_Core_Exception $e) {
|
379 |
+
Mage::logException($e);
|
380 |
+
Mage::helper('checkout')->sendPaymentFailedEmail($this->getOnepage()->getQuote(), $e->getMessage());
|
381 |
+
$result['success'] = false;
|
382 |
+
$result['error'] = true;
|
383 |
+
$result['error_messages'] = $e->getMessage();
|
384 |
+
|
385 |
+
if ($gotoSection = $this->getOnepage()->getCheckout()->getGotoSection()) {
|
386 |
+
$result['goto_section'] = $gotoSection;
|
387 |
+
$this->getOnepage()->getCheckout()->setGotoSection(null);
|
388 |
+
}
|
389 |
+
|
390 |
+
if ($updateSection = $this->getOnepage()->getCheckout()->getUpdateSection()) {
|
391 |
+
if (isset($this->_sectionUpdateFunctions[$updateSection])) {
|
392 |
+
$updateSectionFunction = $this->_sectionUpdateFunctions[$updateSection];
|
393 |
+
$result['update_section'] = array(
|
394 |
+
'name' => $updateSection,
|
395 |
+
'html' => $this->$updateSectionFunction()
|
396 |
+
);
|
397 |
+
}
|
398 |
+
$this->getOnepage()->getCheckout()->setUpdateSection(null);
|
399 |
+
}
|
400 |
+
} catch (Exception $e) {
|
401 |
+
Mage::logException($e);
|
402 |
+
Mage::helper('checkout')->sendPaymentFailedEmail($this->getOnepage()->getQuote(), $e->getMessage());
|
403 |
+
$result['success'] = false;
|
404 |
+
$result['error'] = true;
|
405 |
+
$result['error_messages'] = $this->__('There was an error processing your order. Please contact us or try again later.');
|
406 |
+
}
|
407 |
+
$this->getOnepage()->getQuote()->save();
|
408 |
+
/**
|
409 |
+
* when there is redirect to third party, we don't want to save order yet.
|
410 |
+
* we will save the order in return action.
|
411 |
+
*/
|
412 |
+
if (isset($redirectUrl)) {
|
413 |
+
$result['redirect'] = $redirectUrl;
|
414 |
+
}
|
415 |
+
else
|
416 |
+
{
|
417 |
+
$result['redirect'] = Mage::getUrl('*/*/success');
|
418 |
+
}
|
419 |
+
|
420 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
421 |
+
} else {
|
422 |
+
|
423 |
+
if (!$this->_validateFormKey()) {
|
424 |
+
$this->_redirect('*/*');
|
425 |
+
return;
|
426 |
+
}
|
427 |
+
|
428 |
+
if ($this->_expireAjax()) {
|
429 |
+
return;
|
430 |
+
}
|
431 |
+
|
432 |
+
$result = array();
|
433 |
+
try {
|
434 |
+
$requiredAgreements = Mage::helper('checkout')->getRequiredAgreementIds();
|
435 |
+
if ($requiredAgreements) {
|
436 |
+
$postedAgreements = array_keys($this->getRequest()->getPost('agreement', array()));
|
437 |
+
$diff = array_diff($requiredAgreements, $postedAgreements);
|
438 |
+
if ($diff) {
|
439 |
+
$result['success'] = false;
|
440 |
+
$result['error'] = true;
|
441 |
+
$result['error_messages'] = $this->__('Please agree to all the terms and conditions before placing the order.');
|
442 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
443 |
+
return;
|
444 |
+
}
|
445 |
+
}
|
446 |
+
|
447 |
+
$data = $this->getRequest()->getPost('payment', array());
|
448 |
+
if ($data) {
|
449 |
+
$data['checks'] = Mage_Payment_Model_Method_Abstract::CHECK_USE_CHECKOUT
|
450 |
+
| Mage_Payment_Model_Method_Abstract::CHECK_USE_FOR_COUNTRY
|
451 |
+
| Mage_Payment_Model_Method_Abstract::CHECK_USE_FOR_CURRENCY
|
452 |
+
| Mage_Payment_Model_Method_Abstract::CHECK_ORDER_TOTAL_MIN_MAX
|
453 |
+
| Mage_Payment_Model_Method_Abstract::CHECK_ZERO_TOTAL;
|
454 |
+
$this->getOnepage()->getQuote()->getPayment()->importData($data);
|
455 |
+
}
|
456 |
+
|
457 |
+
$this->getOnepage()->saveOrder();
|
458 |
+
|
459 |
+
$redirectUrl = $this->getOnepage()->getCheckout()->getRedirectUrl();
|
460 |
+
$result['success'] = true;
|
461 |
+
$result['error'] = false;
|
462 |
+
} catch (Mage_Payment_Model_Info_Exception $e) {
|
463 |
+
$message = $e->getMessage();
|
464 |
+
if (!empty($message)) {
|
465 |
+
$result['error_messages'] = $message;
|
466 |
+
}
|
467 |
+
$result['goto_section'] = 'payment';
|
468 |
+
$result['update_section'] = array(
|
469 |
+
'name' => 'payment-method',
|
470 |
+
'html' => $this->_getPaymentMethodsHtml()
|
471 |
+
);
|
472 |
+
} catch (Mage_Core_Exception $e) {
|
473 |
+
Mage::logException($e);
|
474 |
+
Mage::helper('checkout')->sendPaymentFailedEmail($this->getOnepage()->getQuote(), $e->getMessage());
|
475 |
+
$result['success'] = false;
|
476 |
+
$result['error'] = true;
|
477 |
+
$result['error_messages'] = $e->getMessage();
|
478 |
+
|
479 |
+
$gotoSection = $this->getOnepage()->getCheckout()->getGotoSection();
|
480 |
+
if ($gotoSection) {
|
481 |
+
$result['goto_section'] = $gotoSection;
|
482 |
+
$this->getOnepage()->getCheckout()->setGotoSection(null);
|
483 |
+
}
|
484 |
+
$updateSection = $this->getOnepage()->getCheckout()->getUpdateSection();
|
485 |
+
if ($updateSection) {
|
486 |
+
if (isset($this->_sectionUpdateFunctions[$updateSection])) {
|
487 |
+
$updateSectionFunction = $this->_sectionUpdateFunctions[$updateSection];
|
488 |
+
$result['update_section'] = array(
|
489 |
+
'name' => $updateSection,
|
490 |
+
'html' => $this->$updateSectionFunction()
|
491 |
+
);
|
492 |
+
}
|
493 |
+
$this->getOnepage()->getCheckout()->setUpdateSection(null);
|
494 |
+
}
|
495 |
+
} catch (Exception $e) {
|
496 |
+
Mage::logException($e);
|
497 |
+
Mage::helper('checkout')->sendPaymentFailedEmail($this->getOnepage()->getQuote(), $e->getMessage());
|
498 |
+
$result['success'] = false;
|
499 |
+
$result['error'] = true;
|
500 |
+
$result['error_messages'] = $this->__('There was an error processing your order. Please contact us or try again later.');
|
501 |
+
}
|
502 |
+
$this->getOnepage()->getQuote()->save();
|
503 |
+
|
504 |
+
if (isset($redirectUrl)) {
|
505 |
+
$result['redirect'] = $redirectUrl;
|
506 |
+
}
|
507 |
+
|
508 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
509 |
+
|
510 |
+
}
|
511 |
+
|
512 |
+
}
|
513 |
+
|
514 |
+
}
|
app/code/local/Swipezoom/InternationalShipping/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Swipezoom_InternationalShipping>
|
13 |
-
<version>1.0.
|
14 |
</Swipezoom_InternationalShipping>
|
15 |
</modules>
|
16 |
<frontend>
|
@@ -22,6 +22,13 @@
|
|
22 |
<frontName>internationalshipping</frontName>
|
23 |
</args>
|
24 |
</internationalshipping>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
</routers>
|
26 |
<layout>
|
27 |
<updates>
|
@@ -206,6 +213,16 @@
|
|
206 |
<address_abstract>Swipezoom_InternationalShipping_Model_Validation_Abstract</address_abstract>
|
207 |
</rewrite>
|
208 |
</customer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
</models>
|
210 |
<resources>
|
211 |
<internationalshipping_setup>
|
@@ -247,6 +264,22 @@
|
|
247 |
<sales_order_creditmemo_totals>Swipezoom_InternationalShipping_Block_Adminhtml_Sales_Order_Creditmemo_Totals</sales_order_creditmemo_totals>
|
248 |
</rewrite>
|
249 |
</adminhtml>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
</blocks>
|
251 |
<helpers>
|
252 |
<internationalshipping>
|
@@ -305,6 +338,7 @@
|
|
305 |
</atwix_exgrid>
|
306 |
</observers>
|
307 |
</sales_order_grid_collection_load_before>
|
|
|
308 |
</events>
|
309 |
</global>
|
310 |
<default>
|
@@ -330,6 +364,9 @@
|
|
330 |
<merchantkey>TESTABCERLHYC100567PKI1001ENCYM00</merchantkey>
|
331 |
<showmethod>1</showmethod>
|
332 |
<debug>0</debug>
|
|
|
|
|
|
|
333 |
</swipezoom>
|
334 |
</carriers>
|
335 |
</default>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Swipezoom_InternationalShipping>
|
13 |
+
<version>1.0.4</version>
|
14 |
</Swipezoom_InternationalShipping>
|
15 |
</modules>
|
16 |
<frontend>
|
22 |
<frontName>internationalshipping</frontName>
|
23 |
</args>
|
24 |
</internationalshipping>
|
25 |
+
<checkout>
|
26 |
+
<args>
|
27 |
+
<modules>
|
28 |
+
<Swipezoom_InternationalShipping before="Mage_Checkout">Swipezoom_InternationalShipping</Swipezoom_InternationalShipping>
|
29 |
+
</modules>
|
30 |
+
</args>
|
31 |
+
</checkout>
|
32 |
</routers>
|
33 |
<layout>
|
34 |
<updates>
|
213 |
<address_abstract>Swipezoom_InternationalShipping_Model_Validation_Abstract</address_abstract>
|
214 |
</rewrite>
|
215 |
</customer>
|
216 |
+
<checkout>
|
217 |
+
<rewrite>
|
218 |
+
<type_onepage>Swipezoom_InternationalShipping_Model_Type_Onepage</type_onepage>
|
219 |
+
</rewrite>
|
220 |
+
</checkout>
|
221 |
+
<sales>
|
222 |
+
<rewrite>
|
223 |
+
<service_quote>Swipezoom_InternationalShipping_Model_Service_Quote</service_quote>
|
224 |
+
</rewrite>
|
225 |
+
</sales>
|
226 |
</models>
|
227 |
<resources>
|
228 |
<internationalshipping_setup>
|
264 |
<sales_order_creditmemo_totals>Swipezoom_InternationalShipping_Block_Adminhtml_Sales_Order_Creditmemo_Totals</sales_order_creditmemo_totals>
|
265 |
</rewrite>
|
266 |
</adminhtml>
|
267 |
+
|
268 |
+
<checkout>
|
269 |
+
<rewrite>
|
270 |
+
<onepage_shipping_method>Swipezoom_InternationalShipping_Block_Onepage_Shipping_Method</onepage_shipping_method>
|
271 |
+
</rewrite>
|
272 |
+
</checkout>
|
273 |
+
<checkout>
|
274 |
+
<rewrite>
|
275 |
+
<onepage_review>Swipezoom_InternationalShipping_Block_Onepage_Review</onepage_review>
|
276 |
+
</rewrite>
|
277 |
+
</checkout>
|
278 |
+
<checkout>
|
279 |
+
<rewrite>
|
280 |
+
<onepage_login>Swipezoom_InternationalShipping_Block_Onepage_Login</onepage_login>
|
281 |
+
</rewrite>
|
282 |
+
</checkout>
|
283 |
</blocks>
|
284 |
<helpers>
|
285 |
<internationalshipping>
|
338 |
</atwix_exgrid>
|
339 |
</observers>
|
340 |
</sales_order_grid_collection_load_before>
|
341 |
+
|
342 |
</events>
|
343 |
</global>
|
344 |
<default>
|
364 |
<merchantkey>TESTABCERLHYC100567PKI1001ENCYM00</merchantkey>
|
365 |
<showmethod>1</showmethod>
|
366 |
<debug>0</debug>
|
367 |
+
<hideshipping>0</hideshipping>
|
368 |
+
<hidereview>0</hidereview>
|
369 |
+
<force_guest_checkout>0</force_guest_checkout>
|
370 |
</swipezoom>
|
371 |
</carriers>
|
372 |
</default>
|
app/code/local/Swipezoom/InternationalShipping/etc/system.xml
CHANGED
@@ -152,6 +152,33 @@
|
|
152 |
<show_in_store>0</show_in_store>
|
153 |
<can_be_empty>1</can_be_empty>
|
154 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
</fields>
|
156 |
</swipezoom>
|
157 |
</groups>
|
152 |
<show_in_store>0</show_in_store>
|
153 |
<can_be_empty>1</can_be_empty>
|
154 |
</specificcountry>
|
155 |
+
<hideshipping translate="label">
|
156 |
+
<label>Hide Shipping Step (on checkout page)</label>
|
157 |
+
<frontend_type>select</frontend_type>
|
158 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
159 |
+
<sort_order>2000</sort_order>
|
160 |
+
<show_in_default>1</show_in_default>
|
161 |
+
<show_in_website>1</show_in_website>
|
162 |
+
<show_in_store>1</show_in_store>
|
163 |
+
</hideshipping>
|
164 |
+
<hidereview translate="label">
|
165 |
+
<label>Hide Review Step (on checkout page)</label>
|
166 |
+
<frontend_type>select</frontend_type>
|
167 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
168 |
+
<sort_order>2010</sort_order>
|
169 |
+
<show_in_default>1</show_in_default>
|
170 |
+
<show_in_website>1</show_in_website>
|
171 |
+
<show_in_store>1</show_in_store>
|
172 |
+
</hidereview>
|
173 |
+
<force_guest_checkout translate="label">
|
174 |
+
<label>Force Guest Checkout</label>
|
175 |
+
<frontend_type>select</frontend_type>
|
176 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
177 |
+
<sort_order>2020</sort_order>
|
178 |
+
<show_in_default>1</show_in_default>
|
179 |
+
<show_in_website>1</show_in_website>
|
180 |
+
<show_in_store>1</show_in_store>
|
181 |
+
</force_guest_checkout>
|
182 |
</fields>
|
183 |
</swipezoom>
|
184 |
</groups>
|
app/design/frontend/base/default/layout/internationalshipping.xml
CHANGED
@@ -20,13 +20,20 @@
|
|
20 |
<action method="addJs"><script>swipezoom/jquery.creditCardValidator.js</script></action>
|
21 |
<action method="addJs"><script>swipezoom/sz_common.js</script></action>
|
22 |
</reference>
|
23 |
-
|
|
|
|
|
24 |
<reference name="checkout.onepage.billing">
|
25 |
<action method="setTemplate" ifconfig="carriers/swipezoom/active"><template>internationalshipping/checkout/onepage/billing.phtml</template></action>
|
26 |
</reference>
|
27 |
<reference name="checkout.onepage.shipping">
|
28 |
<action method="setTemplate" ifconfig="carriers/swipezoom/active"><template>internationalshipping/checkout/onepage/shipping.phtml</template></action>
|
29 |
</reference>
|
|
|
|
|
|
|
|
|
|
|
30 |
</checkout_onepage_index>
|
31 |
<checkout_onepage_progress>
|
32 |
<!-- Mage_Checkout -->
|
20 |
<action method="addJs"><script>swipezoom/jquery.creditCardValidator.js</script></action>
|
21 |
<action method="addJs"><script>swipezoom/sz_common.js</script></action>
|
22 |
</reference>
|
23 |
+
<reference name="checkout.onepage">
|
24 |
+
<action method="setTemplate" ifconfig='carriers/swipezoom/force_guest_checkout'><template>internationalshipping/checkout/onepage.phtml</template></action>
|
25 |
+
</reference>
|
26 |
<reference name="checkout.onepage.billing">
|
27 |
<action method="setTemplate" ifconfig="carriers/swipezoom/active"><template>internationalshipping/checkout/onepage/billing.phtml</template></action>
|
28 |
</reference>
|
29 |
<reference name="checkout.onepage.shipping">
|
30 |
<action method="setTemplate" ifconfig="carriers/swipezoom/active"><template>internationalshipping/checkout/onepage/shipping.phtml</template></action>
|
31 |
</reference>
|
32 |
+
<reference name="checkout.onepage.payment">
|
33 |
+
<action method="setTemplate" ifconfig="carriers/swipezoom/active">
|
34 |
+
<template>internationalshipping/onepage/payment.phtml</template>
|
35 |
+
</action>
|
36 |
+
</reference>
|
37 |
</checkout_onepage_index>
|
38 |
<checkout_onepage_progress>
|
39 |
<!-- Mage_Checkout -->
|
app/design/frontend/base/default/template/cardpayment/onepage/payment/methods.phtml
CHANGED
@@ -33,6 +33,8 @@
|
|
33 |
?>
|
34 |
|
35 |
<?php
|
|
|
|
|
36 |
$methods = $this->getMethods();
|
37 |
?>
|
38 |
<?php if (empty($methods)): ?>
|
@@ -86,6 +88,22 @@
|
|
86 |
//<![CDATA[
|
87 |
<?php echo $this->getChildChildHtml('scripts'); ?>
|
88 |
payment.init();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
<?php if (is_string($oneMethod)): ?>
|
90 |
payment.switchMethod('<?php echo $oneMethod ?>');
|
91 |
<?php endif; ?>
|
33 |
?>
|
34 |
|
35 |
<?php
|
36 |
+
$hideshipping = Mage::getStoreConfig('carriers/swipezoom/hideshipping',Mage::app()->getStore());
|
37 |
+
$ExtraRates = Mage::getSingleton('core/session')->getSwipezoomExtraRates();
|
38 |
$methods = $this->getMethods();
|
39 |
?>
|
40 |
<?php if (empty($methods)): ?>
|
88 |
//<![CDATA[
|
89 |
<?php echo $this->getChildChildHtml('scripts'); ?>
|
90 |
payment.init();
|
91 |
+
var hideshipping = "<?php echo $hideshipping; ?>";
|
92 |
+
if(hideshipping == "1") {
|
93 |
+
var datastorageurl = "<?php echo $ExtraRates['DataStorageUrl']; ?>";
|
94 |
+
|
95 |
+
if(datastorageurl) {
|
96 |
+
if($(".wirecard-datastorage"))
|
97 |
+
$(".wirecard-datastorage").remove();
|
98 |
+
var filename = datastorageurl;
|
99 |
+
|
100 |
+
var fileref = document.createElement('script');
|
101 |
+
fileref.setAttribute("type", "text/javascript");
|
102 |
+
fileref.setAttribute("src", filename);
|
103 |
+
fileref.setAttribute("class",'wirecard-datastorage')
|
104 |
+
document.getElementsByTagName("head")[0].appendChild(fileref);
|
105 |
+
}
|
106 |
+
}
|
107 |
<?php if (is_string($oneMethod)): ?>
|
108 |
payment.switchMethod('<?php echo $oneMethod ?>');
|
109 |
<?php endif; ?>
|
app/design/frontend/base/default/template/cardpayment/redirect.phtml
CHANGED
@@ -10,6 +10,7 @@
|
|
10 |
$paymentmode = Mage::getStoreConfig('carriers/swipezoom/paymentenabled',Mage::app()->getStore());
|
11 |
|
12 |
$shippingMethod = $order->getData("shipping_method");
|
|
|
13 |
// If shipping method is Swipezoom and Payment is enabled
|
14 |
if(strpos($shippingMethod,"swipezoom") !== FALSE && $paymentmode == 1):
|
15 |
|
10 |
$paymentmode = Mage::getStoreConfig('carriers/swipezoom/paymentenabled',Mage::app()->getStore());
|
11 |
|
12 |
$shippingMethod = $order->getData("shipping_method");
|
13 |
+
|
14 |
// If shipping method is Swipezoom and Payment is enabled
|
15 |
if(strpos($shippingMethod,"swipezoom") !== FALSE && $paymentmode == 1):
|
16 |
|
app/design/frontend/base/default/template/internationalshipping/checkout/onepage.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.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.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Checkout') ?></h1>
|
29 |
+
</div>
|
30 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
|
31 |
+
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
|
32 |
+
<ol class="opc" id="checkoutSteps">
|
33 |
+
<?php $i=0; foreach($this->getSteps() as $_stepId => $_stepInfo): ?>
|
34 |
+
<?php if (!$this->getChild($_stepId) || !$this->getChild($_stepId)->isShow()): continue; endif; $i++ ?>
|
35 |
+
<li id="opc-<?php echo $_stepId ?>" class="section<?php echo !empty($_stepInfo['allow'])?' allow':'' ?><?php echo !empty($_stepInfo['complete'])?' saved':'' ?>">
|
36 |
+
<div class="step-title">
|
37 |
+
<span class="number"><?php echo $i ?></span>
|
38 |
+
<h2><?php echo $_stepInfo['label'] ?></h2>
|
39 |
+
<a href="#"><?php echo $this->__('Edit') ?></a>
|
40 |
+
</div>
|
41 |
+
<div id="checkout-step-<?php echo $_stepId ?>" class="step a-item" style="display:none;">
|
42 |
+
<?php echo $this->getChildHtml($_stepId) ?>
|
43 |
+
</div>
|
44 |
+
</li>
|
45 |
+
<?php endforeach ?>
|
46 |
+
</ol>
|
47 |
+
<input type="hidden" name="checkout_method" id="login:guest" checked="checked" value="guest">
|
48 |
+
<script type="text/javascript">
|
49 |
+
//<![CDATA[
|
50 |
+
var accordion = new Accordion('checkoutSteps', '.step-title', true);
|
51 |
+
<?php if($this->getActiveStep()): ?>
|
52 |
+
accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
|
53 |
+
<?php endif ?>
|
54 |
+
var checkout = new Checkout(accordion,{
|
55 |
+
progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
|
56 |
+
review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
|
57 |
+
saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
|
58 |
+
failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
|
59 |
+
);
|
60 |
+
var cb = $("login:guest");
|
61 |
+
cb.checked = true;
|
62 |
+
checkout.setMethod();
|
63 |
+
//]]>
|
64 |
+
</script>
|
app/design/frontend/base/default/template/internationalshipping/onepage/payment.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
<script type="text/javascript">
|
3 |
+
//<![CDATA[
|
4 |
+
var quoteBaseGrandTotal = <?php echo (float)$this->getQuoteBaseGrandTotal(); ?>;
|
5 |
+
var checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
|
6 |
+
var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
|
7 |
+
var lastPrice;
|
8 |
+
//]]>
|
9 |
+
</script>
|
10 |
+
<form action="" id="co-payment-form">
|
11 |
+
<div class="fieldset">
|
12 |
+
<?php echo $this->getChildChildHtml('methods_additional', '', true, true) ?>
|
13 |
+
<?php echo $this->getChildHtml('methods') ?>
|
14 |
+
</div>
|
15 |
+
</form>
|
16 |
+
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
17 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close')) ?>"><?php echo $this->__('Close') ?></a></div>
|
18 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" /></div>
|
19 |
+
</div>
|
20 |
+
<?php echo $this->getChildChildHtml('additional') ?>
|
21 |
+
<div class="buttons-set" id="payment-buttons-container">
|
22 |
+
<?php // Moved to CC form ?>
|
23 |
+
<?php /* <p class="required"><?php echo $this->__('* Required Fields') ?></p> */ ?>
|
24 |
+
<button type="button" class="button" onclick="payment.save()"><span><span><?php
|
25 |
+
$hidereview = Mage::getStoreConfig('carriers/swipezoom/hidereview',Mage::app()->getStore());
|
26 |
+
|
27 |
+
if($hidereview) {
|
28 |
+
echo $this->__('Place Order');
|
29 |
+
} else {
|
30 |
+
echo $this->__('Continue');
|
31 |
+
}
|
32 |
+
|
33 |
+
?></span></span></button>
|
34 |
+
<span class="please-wait" id="payment-please-wait" style="display:none;">
|
35 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
36 |
+
</span>
|
37 |
+
</div>
|
38 |
+
<script type="text/javascript">
|
39 |
+
//<![CDATA[
|
40 |
+
function toggleToolTip(event){
|
41 |
+
if($('payment-tool-tip')){
|
42 |
+
$('payment-tool-tip').setStyle({
|
43 |
+
top: (Event.pointerY(event)-560)+'px'//,
|
44 |
+
//left: (Event.pointerX(event)+100)+'px'
|
45 |
+
})
|
46 |
+
$('payment-tool-tip').toggle();
|
47 |
+
}
|
48 |
+
Event.stop(event);
|
49 |
+
}
|
50 |
+
if($('payment-tool-tip-close')){
|
51 |
+
Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
|
52 |
+
}
|
53 |
+
//]]>
|
54 |
+
</script>
|
55 |
+
<script type="text/javascript">
|
56 |
+
//<![CDATA[
|
57 |
+
payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
|
58 |
+
//]]>
|
59 |
+
</script>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Swipezoom_InternationalShipping</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -12,12 +12,12 @@
|
|
12 |
Regardless of the size of your business, Swipezoom makes it as simple to sell and ship internationally, as it is to your domestic customers.
|
13 |

|
14 |
Note: Swipezoom can be configured as a logistics solution, a payment solution or both combined. The extension is free, with a per-transaction fee for successful orders and no additional hidden costs.</description>
|
15 |
-
<notes
|
16 |
-
|
17 |
<authors><author><name>SwipezoomUK</name><user>SwipezoomUK</user><email>info@swipezoom.com</email></author></authors>
|
18 |
-
<date>2016-
|
19 |
-
<time>
|
20 |
-
<contents><target name="magelocal"><dir name="Swipezoom"><dir name="InternationalShipping"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Creditmemo"><file name="Grid.php" hash="7754f32a0e7f681e3a1b796619ee70f3"/></dir><dir name="Grid"><file name="Swipezoomorder.php" hash="0326cb03a5b1078a07345ff3ec4c15c6"/><file name="Swipezoomorderchild.php" hash="ab294771dc2a4e5ba7aa4653714cc348"/><file name="Swipezoomorderinvoice.php" hash="a89359f62c2a1b3c3123e8220bbf33bd"/><file name="Swipezoomorderparent.php" hash="6850630004dcd9231dd6c4eabc03af51"/></dir><file name="Grid.php" hash="4885d7330fdc2ee9d94305dd147dec0d"/><dir name="Invoice"><file name="Grid.php" hash="fa7c097dd902f5164e10e626f0ee7336"/></dir><dir name="Order"><dir name="Create"><dir name="Sidebar"><file name="Customreorder.php" hash="31b68f168b3331db15063c6b4cec2197"/><file name="Reorder.php" hash="e1af714bd4fc9d85e29cd0830adcd319"/><file name="_Reorder.php" hash="39fce63e72b85688fac0b04585bb6919"/></dir></dir><dir name="Creditmemo"><file name="Totals.php" hash="22f0b3c6ff2d1ac4c24c447ce9b55772"/><file name="View.php" hash="637c688b4a6e9605583dbd8b29f33321"/></dir><dir name="Invoice"><file name="Totals.php" hash="ab7552d8b1d227150da39638b4a11e84"/><file name="View.php" hash="0da0b7cd65ac57b1f563482d05b79e9d"/></dir><dir name="Shipment"><file name="View.php" hash="a7eb3aa7ad54cda28b7c8901cb818b93"/></dir><file name="Totals.php" hash="832515dce009e3c68127e83ee22423ea"/><file name="View.php" hash="1efd3edf8954e50005e19276191b5800"/></dir><dir name="Shipment"><file name="Grid.php" hash="8821f57c6643519565c58437b74e7759"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Shipping"><dir name="Method"><file name="Available.php" hash="cbff1cef3e6b188c8600320ac16adca2"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="141460fabb9478e6744f13f2f0eb7ab0"/></dir><dir name="Model"><dir name="Carrier"><file name="Swipezoom.php" hash="1b453d3016ea4f046012829bca0b4b8b"/></dir><dir name="Mysql4"><dir name="Packingdetail"><file name="Collection.php" hash="662a9e5d5d6d90d63e74785ee2540605"/></dir><file name="Packingdetail.php" hash="d472529b9cfc8b08fcf7f365c2490601"/><dir name="Partshipreq"><file name="Collection.php" hash="e359b19851682e7c6af07d4a150b8670"/></dir><file name="Partshipreq.php" hash="234ff3c0b22daab1e93dc9b3b3786602"/><dir name="Partshipreqitems"><file name="Collection.php" hash="ee4aaa2f86624c1f3e22e8b0f730fb4b"/></dir><file name="Partshipreqitems.php" hash="afab6baeb2a8eedae954235fdfbac1d9"/><dir name="Shipmentdetail"><file name="Collection.php" hash="f6692d095e21bb795007ee1898cc8347"/></dir><file name="Shipmentdetail.php" hash="511b5dd004fb895ed2195e4a492d9025"/><dir name="Swipezoomcreditmemo"><file name="Collection.php" hash="0e61bb4ff5353866e3e33ab560377cac"/></dir><file name="Swipezoomcreditmemo.php" hash="42eb8d4190499a2e15dce399b4591183"/></dir><file name="Observer.php" hash="41c4af1fe13425e849e2209f17c98a61"/><file name="Order.php" hash="f943dc977f3dda0b3d04a336042870c4"/><file name="Packingdetail.php" hash="5f44cb082835e0bc8bd78a4aaf505d95"/><file name="Partshipreq.php" hash="6fd011e313b42642e8b45af54a253eb5"/><file name="Partshipreqitems.php" hash="2d56993668648d3f02097594233dc572"/><dir name="Sales"><dir name="Order"><dir name="Pdf"><dir name="Invoice"><dir name="Amasty"><file name="Pure.php" hash="953dc92e457a09b6a1959ec82fff071b"/></dir></dir><file name="Invoice.php" hash="cb2b4af2a9d3c5cc6fe892bd23df2ea3"/><dir name="Items"><dir name="Invoice"><file name="Default.php" hash="cd30dd6ab9ad1a91fdce0a077abbcd52"/></dir><dir name="Shipment"><file name="Default.php" hash="ddf5b4ceba5188a427fa9b8b396165fe"/></dir></dir><dir name="Shipment"><dir name="Amasty"><file name="Pure.php" hash="5fc5e46ed5bd1a905bf99fc8b3f6635d"/></dir></dir><file name="Shipment.php" hash="c42bc786605b4b41daee32874d3aafd0"/></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Vat.php" hash="0367c834f76dd2cc20d1322a81feadf9"/></dir></dir></dir></dir><file name="Shipmentdetail.php" hash="01be12565bf44a7da0c099f1bc237c5c"/><file name="Swipezoomcreditmemo.php" hash="8bab02b324442c99748a51683d550c71"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Extmode.php" hash="98543d6dba8b02a11dfb63d2f332f00e"/></dir></dir></dir><dir name="Total"><dir name="Vat"><file name="Creditmemo.php" hash="ad22325aa7a092c930c114ea433c1110"/><file name="Invoice.php" hash="44c652fad20dfdbaaa8bd878aae290ba"/></dir></dir><dir name="Validation"><file name="Abstract.php" hash="21e6d4c1fbe73aeee54f8237d9ec9650"/><file name="Address.php" hash="1c17eff218fa072253b1a50c38088b9d"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="CreateController.php" hash="9a06c94dbc097a6abb5bdbbc9d4387e4"/><file name="CreditmemoController.php" hash="e143c146c1d1dd90c6bcf2d6f3bb4b4f"/><file name="EditController.php" hash="d61bc9954dc1eb2fd6025c727a9f7075"/><file name="InvoiceController.php" hash="2db32dacd97e0fbf2083c712e7587a27"/><file name="ShipmentController.php" hash="765b46fb886d49b9ffc0fc757afdd87c"/></dir></dir></dir><file name="CartController.php" hash="945068d4819389f50d0a57809eceeaf8"/><file name="IndexController.php" hash="4853a09b841a221b47692ba9622d3b81"/></dir><dir name="etc"><dir name="WsWsdl"><file name="GecaWs.wsdl" hash="e67a00ea594b53505f156b065a8bb0c1"/><file name="_GecaWs.wsdl" hash="f7d77e486f3348a42604c1b5ac7da9ad"/><dir name="binding"><file name="transaction_binding_root_element.xml" hash="9cfba7815cb8a3f6bb2e18eb75cf5756"/><file name="transaction_binding_wsdl_port.xml" hash="f5162f1c2ebe57ae45b607cba6ab7fe1"/><file name="wsdl_binding.xml" hash="723c439e09612ddd189fb05c4502cda3"/><file name="wsdl_binding_root_element.xml" hash="9cfba7815cb8a3f6bb2e18eb75cf5756"/><file name="wsdl_binding_wsdl_port.xml" hash="f00c5ca2690f600b9a1533317345303c"/></dir><dir name="schema"><file name="common_schema.xsd" hash="73b1eabb8680329a0160020823af6e20"/><dir name="request"><file name="GecaWsRequestSchema.xsd" hash="a37b1411df8fee0a8f05816dc1d58078"/><file name="transaction_request_schema.xsd" hash="8be79329397a2fc541bb33b641cdf7ca"/></dir><dir name="response"><file name="GecaWsResponseSchema.xsd" hash="41537f845f36bb4cb8a3e5b33f6861f9"/><file name="transaction_response_schema.xsd" hash="a409f3d4b940d26b301733342b777f2b"/></dir></dir><file name="transaction_ws.wsdl" hash="6f2a4c3b345309c9faf7feeb79c68e1d"/><file name="wsdl_binding.xml" hash="723c439e09612ddd189fb05c4502cda3"/><file name="wsdl_binding_root.xjb" hash="bfef57bc0807ca5896e150a70bed4a8b"/><file name="wsdl_binding_root_element.xml" hash="9cfba7815cb8a3f6bb2e18eb75cf5756"/><file name="wsdl_binding_wsdl_port.xml" hash="7fb3c746df5dc2d1de5dc86a5235a7ca"/></dir><file name="config.xml" hash="f59f2c039de75c2082ebcafcb9ba2b73"/><file name="system.xml" hash="752b0ac3955c5befaddffea405472945"/></dir><dir name="sql"><dir name="internationalshipping_setup"><file name="mysql4-install-1.0.0.php" hash="36b6859f84ec6384f42e2df2e6e7f55f"/></dir></dir></dir><dir name="CardPayment"><dir name="Block"><dir name="Form"><file name="Ccsave.php" hash="b3c29ba824e68047c2e321e19d21db0b"/></dir><dir name="Info"><file name="Ccsave.php" hash="7a660b08034976b885051df08cb9d4ff"/></dir></dir><dir name="Helper"><file name="Data.php" hash="e872e5f14dccc209aeea3f77bcc484ad"/></dir><dir name="Model"><file name="Standard.php" hash="1491f168999cca00ab97d3e1a71d2936"/></dir><dir name="controllers"><file name="PaymentController.php" hash="c87f1987daf0471a8b6c6c24aa7357e0"/></dir><dir name="etc"><file name="config.xml" hash="c62940a058d8ee041e7518e0d47532fd"/><file name="system.xml" hash="41902beaf6300157da8392eb3a29df67"/></dir></dir></dir><dir name="Mage"><dir name="Customer"><dir name="Model"><dir name="Address"><file name="Abstract.php" hash="24a66f9a7a92d02d55066936259b1b1e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Swipezoom_InternationalShipping.xml" hash="73dfa6fa84fa9e745904fd2a2c0f1599"/><file name="Swipezoom_CardPayment.xml" hash="e5d205446f58ce790bb15c0dbd4aa193"/></dir></target><target name="mage"><dir name="js"><dir name="swipezoom"><dir name="autocomplete"><file name="jquery-1.12.1.min.js" hash="1d244cb043be8157f0050ce9e45c9ef2"/><file name="jquery-1.8.2.min.js" hash="f9746b2f191d65bd261b0ebc3ba8ea51"/><file name="jquery.autocomplete-1.1.js" hash="eaa91f81c9172fe0e1f28df7d6adacc4"/><file name="jquery.autocomplete.js" hash="83425df5877db9cccc715dadf6ebd6cd"/><file name="jquery.min.js" hash="6fc159d00dc3cea4153c038739683f93"/></dir><file name="jquery.creditCardValidator.js" hash="2505547e775bba3f5061b83621229f40"/><file name="order.js" hash="3ad4bd298be417eefd39806966ae8c16"/><file name="sales.js" hash="687aa7067efda7a9d6760d33a32b2af0"/><file name="sz_admin.js" hash="6938b3a3c5f7356a04b96ef50e5cbf48"/><file name="sz_common.js" hash="1257525296251d3362340b6b812b7318"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="internationalshipping"><dir name="css"><file name="images.png" hash="4044f10027e5af5db4f3fc00c7a07e5f"/><file name="indicator.gif" hash="32881eaecd4c7f401d2894088690314f"/><file name="jquery.autocomplete.css" hash="0f5fbadb34521fe413f1a34c421d87d5"/><file name="sz_common.css" hash="31cf533fe3609fee019056a057ea9115"/></dir><dir name="images"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="load1.gif" hash="6c22f248854b5f469e8c4e1a7f9a3f10"/><file name="loading11.gif" hash="e67d85a8d2d4021514815d0ff4d65173"/><file name="logo.jpg" hash="ac0652462b8454fc71cea9f96e9c4583"/><dir name="payment_logos"><file name="cup50.png" hash="e8ff5c6915b17f229a29acc4bf0b0c6f"/><file name="diners50.png" hash="75e0d362a766bea3a3a5b7704c1ddd6a"/><file name="discover50.png" hash="656c466ae6e6bdd25737445f76ced66c"/><file name="elv50.png" hash="507f44e590b972b7666250dcc9b4b456"/><file name="jcb50.png" hash="fcc0ddbb45b6be62279968d0ff3152b3"/><file name="maestro50.png" hash="978a05ecebcd9fc873af7756fa921bd6"/><file name="mastercard50.png" hash="6150c85618cf27208d651a73f2856a4b"/><file name="mastercardseecurecode50.png" hash="b61e62e1fc4d4247b3e1c0b5cc13c183"/><file name="sepa50.png" hash="3ece76009bd40ed7c2cf0955e1fcc3f3"/><file name="vbv50.png" hash="18fdaeeb26ddd2ef1ec69c0b55740088"/><file name="visa50.png" hash="3fdb4056523aee57fd320eb022236c7a"/><file name="visaelectron50.png" hash="c3401d14b0ce4c6138f091a348fe328a"/></dir><file name="que.png" hash="e5765bcc40d92465c4544be79db21b14"/><file name="sz.png" hash="00d403ba46668052b57bd8c846e4aade"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="internationalshipping"><dir name="images"><file name="load.gif" hash="c5c5d50fddb6a70bb07da4b77d32e530"/><file name="load1.gif" hash="6c22f248854b5f469e8c4e1a7f9a3f10"/><file name="loading.gif" hash="a009e8335c555d68ef8a75ed1cd955d8"/><file name="logo.jpg" hash="1e7c2e1790560a028fe32966d3ab25af"/><file name="popupclose.png" hash="29b101fcca99dce5bf34909703fe939f"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="internationalshipping.xml" hash="29df0e5e937fdc9d4fd427e8cb358a14"/></dir><dir name="template"><dir name="internationalshipping"><dir name="creditmemo"><file name="form.phtml" hash="f087164aacab6fe96f04e8a64b54e328"/><file name="grid.phtml" hash="54f2686a238c60f6f4aae961c42a128b"/><file name="index.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="items.phtml" hash="b073f2c6dc131b538bee9086d4cb67b1"/><dir name="total"><file name="adjustments.phtml" hash="d99c7df4da1942d06616fc03eaff19bd"/><file name="totals.phtml" hash="1145f244d40fe0ac45fba2788cbb7df4"/></dir><dir name="view"><file name="form.phtml" hash="9b21d0738410cd5dd8a612a2aa95fce5"/></dir></dir><file name="info.phtml" hash="4dc7911a52ceb3072a6a45d52058d436"/><dir name="invoice"><file name="form.phtml" hash="ffe2c01167899b16d9fc747e417f9e86"/><file name="grid.phtml" hash="11d12dc5bd6671cc4646f92ae718e7ca"/><file name="info.phtml" hash="c0e7f1e4db55483d8b057df1ea0e0120"/><file name="items.phtml" hash="d3d7011f98e1d124e7e21f0772fceda5"/><dir name="rederer"><file name="default.phtml" hash="a3b6d70ecd41d1b5f4dedf9909630fd6"/></dir><dir name="view"><file name="form.phtml" hash="45235e503aa496db9b1ecdb7d282f96a"/><file name="items.phtml" hash="dcc91845e05c8ed7af5dae06a3b6f1df"/></dir></dir><dir name="order"><file name="comment.phtml" hash="8454a97a408aa2067fa678e64580a23a"/><file name="history.phtml" hash="80d726ac3901ddebba9becf7c1d48dac"/><file name="info.phtml" hash="51ceea7169f59439af003fd42ceed9a9"/><file name="items.phtml" hash="dfad5fe15e06195465941eca8819f402"/></dir><dir name="sales"><dir name="order"><dir name="create"><file name="data.phtml" hash="b47eb147ccba4cae1f167a91b672fe10"/><file name="form.phtml" hash="fbccffd74638e36da5ad6ec67fb4a9d1"/><dir name="items"><file name="sz_grid.phtml" hash="b67ed7f2d4ea8ac516c8b7f93f94b2d7"/></dir><file name="items.phtml" hash="196114736ab6e59ff3f726508ae550d1"/><dir name="sidebar"><file name="items.phtml" hash="2b28817bb9c3b152dd31ddeed1c672e2"/></dir><file name="sidebar.phtml" hash="737c4be80a6426534d1f3bfbe29154a9"/></dir></dir></dir><dir name="shipment"><file name="form.phtml" hash="90b02ea0dd67db8682dbfbd96ef8e090"/><file name="grid.phtml" hash="2492ec4e0b513d79795a4234ce9614ca"/><file name="info.phtml" hash="5ec916dbfa368e349f331b0826543045"/><file name="items.phtml" hash="aa9f427efb1453948ba213a072794b76"/><dir name="view"><file name="form.phtml" hash="c34dee605eb832e4b0ae2417ebedc884"/><file name="grid.phtml" hash="2636c1ce99a2fd072eab039166ef3676"/><file name="items.phtml" hash="83ad1ea2f7cedd777a4bf9dc8ef842b4"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="internationalshipping.xml" hash="543d4163407d317f16059c14ba4ecfcc"/><file name="cardpayment.xml" hash="3f5a87d524f32907d2591a28d1f78e97"/></dir><dir name="template"><dir name="internationalshipping"><file name="cancel.phtml" hash="571e147948862cb64ecf4b37fc58bf6e"/><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="e4dfa7b6e4222de94df46325963972cf"/><file name="login.phtml" hash="b87942af6108cf127d7dfc2ff4c922d3"/><file name="shipping.phtml" hash="0b75eab06686eb1cb4aeee47381046ae"/></dir></dir><dir name="onepage"><file name="progress.phtml" hash="1d83ba34117cb13efe79327fbbb101db"/><dir name="shipping_method"><file name="available.phtml" hash="167ab3095f41449a60684c4c103946c9"/></dir></dir><file name="openpdf.phtml" hash="643d6f38b27412ab99335cb235c3bcca"/><dir name="order"><file name="info.phtml" hash="7cdfb12d51e1d4a1e74bf4701f6b0905"/><dir name="invoice"><dir name="rederer"><file name="default.phtml" hash="25e2d5d1cd28742ca647fef345c52e4a"/></dir></dir></dir><file name="printall.phtml" hash="0b4689fa00d9607ea7f6f24975121704"/><file name="printpack.phtml" hash="31d0a267c27959dd4f585d719af6e3be"/><file name="processformat.phtml" hash="bae9e34de9c25d1c83b447e38e9790cc"/><dir name="sales"><dir name="order"><file name="print.phtml" hash="2f04d5f9eee003358a3fb38e3d34cb3d"/></dir></dir><dir name="shipping"><dir name="tracking"><file name="popup.phtml" hash="1aee8d5546ce2dfd42d91abef9952467"/></dir></dir><file name="success.phtml" hash="069b17eb7e287593c4717d4292caf16e"/></dir><dir name="cardpayment"><file name="ccsave.phtml" hash="0e609a3b9b42b34e2eaf9a0968e84713"/><dir name="onepage"><dir name="payment"><file name="methods.phtml" hash="9eb5444fc6795e065d15bf49572e628a"/></dir></dir><file name="redirect.phtml" hash="c2892c62c922a3e9956fb54ecf696f72"/></dir></dir></dir></dir></dir></target></contents>
|
21 |
<compatible/>
|
22 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>soap</name><min/><max/></extension></required></dependencies>
|
23 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Swipezoom_InternationalShipping</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
12 |
Regardless of the size of your business, Swipezoom makes it as simple to sell and ship internationally, as it is to your domestic customers.
|
13 |

|
14 |
Note: Swipezoom can be configured as a logistics solution, a payment solution or both combined. The extension is free, with a per-transaction fee for successful orders and no additional hidden costs.</description>
|
15 |
+
<notes>Product Grabber Added
|
16 |
+
Further Enhancements</notes>
|
17 |
<authors><author><name>SwipezoomUK</name><user>SwipezoomUK</user><email>info@swipezoom.com</email></author></authors>
|
18 |
+
<date>2016-04-11</date>
|
19 |
+
<time>09:39:48</time>
|
20 |
+
<contents><target name="magelocal"><dir name="Swipezoom"><dir name="InternationalShipping"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Creditmemo"><file name="Grid.php" hash="7754f32a0e7f681e3a1b796619ee70f3"/></dir><dir name="Grid"><file name="Swipezoomorder.php" hash="0326cb03a5b1078a07345ff3ec4c15c6"/><file name="Swipezoomorderchild.php" hash="ab294771dc2a4e5ba7aa4653714cc348"/><file name="Swipezoomorderinvoice.php" hash="a89359f62c2a1b3c3123e8220bbf33bd"/><file name="Swipezoomorderparent.php" hash="6850630004dcd9231dd6c4eabc03af51"/></dir><file name="Grid.php" hash="4885d7330fdc2ee9d94305dd147dec0d"/><dir name="Invoice"><file name="Grid.php" hash="fa7c097dd902f5164e10e626f0ee7336"/></dir><dir name="Order"><dir name="Create"><dir name="Sidebar"><file name="Customreorder.php" hash="31b68f168b3331db15063c6b4cec2197"/><file name="Reorder.php" hash="e1af714bd4fc9d85e29cd0830adcd319"/><file name="_Reorder.php" hash="39fce63e72b85688fac0b04585bb6919"/></dir></dir><dir name="Creditmemo"><file name="Totals.php" hash="22f0b3c6ff2d1ac4c24c447ce9b55772"/><file name="View.php" hash="637c688b4a6e9605583dbd8b29f33321"/></dir><dir name="Invoice"><file name="Totals.php" hash="ab7552d8b1d227150da39638b4a11e84"/><file name="View.php" hash="0da0b7cd65ac57b1f563482d05b79e9d"/></dir><dir name="Shipment"><file name="View.php" hash="a7eb3aa7ad54cda28b7c8901cb818b93"/></dir><file name="Totals.php" hash="832515dce009e3c68127e83ee22423ea"/><file name="View.php" hash="1efd3edf8954e50005e19276191b5800"/></dir><dir name="Shipment"><file name="Grid.php" hash="8821f57c6643519565c58437b74e7759"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Shipping"><dir name="Method"><file name="Available.php" hash="cbff1cef3e6b188c8600320ac16adca2"/></dir></dir></dir></dir><dir name="Onepage"><file name="Login.php" hash="9c6686f25d29ecfbad226c5aecd0d726"/><file name="Review.php" hash="01c0d52b4e0c466cd904f69d76087480"/><dir name="Shipping"><file name="Method.php" hash="cc5ae38cc37f828792f2122410216fdb"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="141460fabb9478e6744f13f2f0eb7ab0"/></dir><dir name="Model"><dir name="Carrier"><file name="Swipezoom.php" hash="7868c9a33d01ef7ad44486a6fbcb70c9"/></dir><dir name="Mysql4"><dir name="Packingdetail"><file name="Collection.php" hash="662a9e5d5d6d90d63e74785ee2540605"/></dir><file name="Packingdetail.php" hash="d472529b9cfc8b08fcf7f365c2490601"/><dir name="Partshipreq"><file name="Collection.php" hash="e359b19851682e7c6af07d4a150b8670"/></dir><file name="Partshipreq.php" hash="234ff3c0b22daab1e93dc9b3b3786602"/><dir name="Partshipreqitems"><file name="Collection.php" hash="ee4aaa2f86624c1f3e22e8b0f730fb4b"/></dir><file name="Partshipreqitems.php" hash="afab6baeb2a8eedae954235fdfbac1d9"/><dir name="Shipmentdetail"><file name="Collection.php" hash="f6692d095e21bb795007ee1898cc8347"/></dir><file name="Shipmentdetail.php" hash="511b5dd004fb895ed2195e4a492d9025"/><dir name="Swipezoomcreditmemo"><file name="Collection.php" hash="0e61bb4ff5353866e3e33ab560377cac"/></dir><file name="Swipezoomcreditmemo.php" hash="42eb8d4190499a2e15dce399b4591183"/></dir><file name="Observer.php" hash="41c4af1fe13425e849e2209f17c98a61"/><file name="Order.php" hash="f943dc977f3dda0b3d04a336042870c4"/><file name="Packingdetail.php" hash="5f44cb082835e0bc8bd78a4aaf505d95"/><file name="Partshipreq.php" hash="6fd011e313b42642e8b45af54a253eb5"/><file name="Partshipreqitems.php" hash="2d56993668648d3f02097594233dc572"/><dir name="Sales"><dir name="Order"><dir name="Pdf"><dir name="Invoice"><dir name="Amasty"><file name="Pure.php" hash="953dc92e457a09b6a1959ec82fff071b"/></dir></dir><file name="Invoice.php" hash="cb2b4af2a9d3c5cc6fe892bd23df2ea3"/><dir name="Items"><dir name="Invoice"><file name="Default.php" hash="cd30dd6ab9ad1a91fdce0a077abbcd52"/></dir><dir name="Shipment"><file name="Default.php" hash="ddf5b4ceba5188a427fa9b8b396165fe"/></dir></dir><dir name="Shipment"><dir name="Amasty"><file name="Pure.php" hash="5fc5e46ed5bd1a905bf99fc8b3f6635d"/></dir></dir><file name="Shipment.php" hash="c42bc786605b4b41daee32874d3aafd0"/></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Vat.php" hash="0367c834f76dd2cc20d1322a81feadf9"/></dir></dir></dir></dir><dir name="Service"><file name="Quote.php" hash="a0aa3304121e17ec388feb5d8ade046f"/></dir><file name="Shipmentdetail.php" hash="01be12565bf44a7da0c099f1bc237c5c"/><file name="Swipezoomcreditmemo.php" hash="8bab02b324442c99748a51683d550c71"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Extmode.php" hash="98543d6dba8b02a11dfb63d2f332f00e"/></dir></dir></dir><dir name="Total"><dir name="Vat"><file name="Creditmemo.php" hash="ad22325aa7a092c930c114ea433c1110"/><file name="Invoice.php" hash="44c652fad20dfdbaaa8bd878aae290ba"/></dir></dir><dir name="Type"><file name="Onepage.php" hash="e6cb1052fe4d504acc2c0dc1ace807e0"/></dir><dir name="Validation"><file name="Abstract.php" hash="21e6d4c1fbe73aeee54f8237d9ec9650"/><file name="Address.php" hash="1c17eff218fa072253b1a50c38088b9d"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="CreateController.php" hash="9a06c94dbc097a6abb5bdbbc9d4387e4"/><file name="CreditmemoController.php" hash="e143c146c1d1dd90c6bcf2d6f3bb4b4f"/><file name="EditController.php" hash="d61bc9954dc1eb2fd6025c727a9f7075"/><file name="InvoiceController.php" hash="2db32dacd97e0fbf2083c712e7587a27"/><file name="ShipmentController.php" hash="765b46fb886d49b9ffc0fc757afdd87c"/></dir></dir></dir><file name="CartController.php" hash="945068d4819389f50d0a57809eceeaf8"/><file name="IndexController.php" hash="ed1908a4c791f7e7212eac2f65272f0f"/><file name="OnepageController.php" hash="31b943de4ce418cf2c2832c251e2e0ab"/></dir><dir name="etc"><dir name="WsWsdl"><file name="GecaWs.wsdl" hash="e67a00ea594b53505f156b065a8bb0c1"/><file name="_GecaWs.wsdl" hash="f7d77e486f3348a42604c1b5ac7da9ad"/><dir name="binding"><file name="transaction_binding_root_element.xml" hash="9cfba7815cb8a3f6bb2e18eb75cf5756"/><file name="transaction_binding_wsdl_port.xml" hash="f5162f1c2ebe57ae45b607cba6ab7fe1"/><file name="wsdl_binding.xml" hash="723c439e09612ddd189fb05c4502cda3"/><file name="wsdl_binding_root_element.xml" hash="9cfba7815cb8a3f6bb2e18eb75cf5756"/><file name="wsdl_binding_wsdl_port.xml" hash="f00c5ca2690f600b9a1533317345303c"/></dir><dir name="schema"><file name="common_schema.xsd" hash="73b1eabb8680329a0160020823af6e20"/><dir name="request"><file name="GecaWsRequestSchema.xsd" hash="a37b1411df8fee0a8f05816dc1d58078"/><file name="transaction_request_schema.xsd" hash="8be79329397a2fc541bb33b641cdf7ca"/></dir><dir name="response"><file name="GecaWsResponseSchema.xsd" hash="41537f845f36bb4cb8a3e5b33f6861f9"/><file name="transaction_response_schema.xsd" hash="a409f3d4b940d26b301733342b777f2b"/></dir></dir><file name="transaction_ws.wsdl" hash="6f2a4c3b345309c9faf7feeb79c68e1d"/><file name="wsdl_binding.xml" hash="723c439e09612ddd189fb05c4502cda3"/><file name="wsdl_binding_root.xjb" hash="bfef57bc0807ca5896e150a70bed4a8b"/><file name="wsdl_binding_root_element.xml" hash="9cfba7815cb8a3f6bb2e18eb75cf5756"/><file name="wsdl_binding_wsdl_port.xml" hash="7fb3c746df5dc2d1de5dc86a5235a7ca"/></dir><file name="config.xml" hash="74be99a7a273dafce1b593e50db8fe45"/><file name="system.xml" hash="a4b09b75333d4af7c2edc7ea3f207505"/></dir><dir name="sql"><dir name="internationalshipping_setup"><file name="mysql4-install-1.0.0.php" hash="36b6859f84ec6384f42e2df2e6e7f55f"/></dir></dir></dir><dir name="CardPayment"><dir name="Block"><dir name="Form"><file name="Ccsave.php" hash="b3c29ba824e68047c2e321e19d21db0b"/></dir><dir name="Info"><file name="Ccsave.php" hash="7a660b08034976b885051df08cb9d4ff"/></dir></dir><dir name="Helper"><file name="Data.php" hash="e872e5f14dccc209aeea3f77bcc484ad"/></dir><dir name="Model"><file name="Standard.php" hash="1491f168999cca00ab97d3e1a71d2936"/></dir><dir name="controllers"><file name="PaymentController.php" hash="c87f1987daf0471a8b6c6c24aa7357e0"/></dir><dir name="etc"><file name="config.xml" hash="402ee901dc83368c4e4eddd461d2ebd6"/><file name="system.xml" hash="41902beaf6300157da8392eb3a29df67"/></dir></dir></dir><dir name="Mage"><dir name="Customer"><dir name="Model"><dir name="Address"><file name="Abstract.php" hash="24a66f9a7a92d02d55066936259b1b1e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Swipezoom_InternationalShipping.xml" hash="73dfa6fa84fa9e745904fd2a2c0f1599"/><file name="Swipezoom_CardPayment.xml" hash="e5d205446f58ce790bb15c0dbd4aa193"/></dir></target><target name="mage"><dir name="js"><dir name="swipezoom"><dir name="autocomplete"><file name="jquery-1.12.1.min.js" hash="1d244cb043be8157f0050ce9e45c9ef2"/><file name="jquery-1.8.2.min.js" hash="f9746b2f191d65bd261b0ebc3ba8ea51"/><file name="jquery.autocomplete-1.1.js" hash="eaa91f81c9172fe0e1f28df7d6adacc4"/><file name="jquery.autocomplete.js" hash="83425df5877db9cccc715dadf6ebd6cd"/><file name="jquery.min.js" hash="6fc159d00dc3cea4153c038739683f93"/></dir><file name="jquery.creditCardValidator.js" hash="2505547e775bba3f5061b83621229f40"/><file name="order.js" hash="3ad4bd298be417eefd39806966ae8c16"/><file name="sales.js" hash="687aa7067efda7a9d6760d33a32b2af0"/><file name="sz_admin.js" hash="6938b3a3c5f7356a04b96ef50e5cbf48"/><file name="sz_common.js" hash="1257525296251d3362340b6b812b7318"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="internationalshipping"><dir name="css"><file name="images.png" hash="4044f10027e5af5db4f3fc00c7a07e5f"/><file name="indicator.gif" hash="32881eaecd4c7f401d2894088690314f"/><file name="jquery.autocomplete.css" hash="0f5fbadb34521fe413f1a34c421d87d5"/><file name="sz_common.css" hash="31cf533fe3609fee019056a057ea9115"/></dir><dir name="images"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="load1.gif" hash="6c22f248854b5f469e8c4e1a7f9a3f10"/><file name="loading11.gif" hash="e67d85a8d2d4021514815d0ff4d65173"/><file name="logo.jpg" hash="ac0652462b8454fc71cea9f96e9c4583"/><dir name="payment_logos"><file name="cup50.png" hash="e8ff5c6915b17f229a29acc4bf0b0c6f"/><file name="diners50.png" hash="75e0d362a766bea3a3a5b7704c1ddd6a"/><file name="discover50.png" hash="656c466ae6e6bdd25737445f76ced66c"/><file name="elv50.png" hash="507f44e590b972b7666250dcc9b4b456"/><file name="jcb50.png" hash="fcc0ddbb45b6be62279968d0ff3152b3"/><file name="maestro50.png" hash="978a05ecebcd9fc873af7756fa921bd6"/><file name="mastercard50.png" hash="6150c85618cf27208d651a73f2856a4b"/><file name="mastercardseecurecode50.png" hash="b61e62e1fc4d4247b3e1c0b5cc13c183"/><file name="sepa50.png" hash="3ece76009bd40ed7c2cf0955e1fcc3f3"/><file name="vbv50.png" hash="18fdaeeb26ddd2ef1ec69c0b55740088"/><file name="visa50.png" hash="3fdb4056523aee57fd320eb022236c7a"/><file name="visaelectron50.png" hash="c3401d14b0ce4c6138f091a348fe328a"/></dir><file name="que.png" hash="e5765bcc40d92465c4544be79db21b14"/><file name="sz.png" hash="00d403ba46668052b57bd8c846e4aade"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="internationalshipping"><dir name="images"><file name="load.gif" hash="c5c5d50fddb6a70bb07da4b77d32e530"/><file name="load1.gif" hash="6c22f248854b5f469e8c4e1a7f9a3f10"/><file name="loading.gif" hash="a009e8335c555d68ef8a75ed1cd955d8"/><file name="logo.jpg" hash="1e7c2e1790560a028fe32966d3ab25af"/><file name="popupclose.png" hash="29b101fcca99dce5bf34909703fe939f"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="internationalshipping.xml" hash="29df0e5e937fdc9d4fd427e8cb358a14"/></dir><dir name="template"><dir name="internationalshipping"><dir name="creditmemo"><file name="form.phtml" hash="f087164aacab6fe96f04e8a64b54e328"/><file name="grid.phtml" hash="54f2686a238c60f6f4aae961c42a128b"/><file name="index.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="items.phtml" hash="b073f2c6dc131b538bee9086d4cb67b1"/><dir name="total"><file name="adjustments.phtml" hash="d99c7df4da1942d06616fc03eaff19bd"/><file name="totals.phtml" hash="1145f244d40fe0ac45fba2788cbb7df4"/></dir><dir name="view"><file name="form.phtml" hash="9b21d0738410cd5dd8a612a2aa95fce5"/></dir></dir><file name="info.phtml" hash="4dc7911a52ceb3072a6a45d52058d436"/><dir name="invoice"><file name="form.phtml" hash="ffe2c01167899b16d9fc747e417f9e86"/><file name="grid.phtml" hash="11d12dc5bd6671cc4646f92ae718e7ca"/><file name="info.phtml" hash="c0e7f1e4db55483d8b057df1ea0e0120"/><file name="items.phtml" hash="d3d7011f98e1d124e7e21f0772fceda5"/><dir name="rederer"><file name="default.phtml" hash="a3b6d70ecd41d1b5f4dedf9909630fd6"/></dir><dir name="view"><file name="form.phtml" hash="45235e503aa496db9b1ecdb7d282f96a"/><file name="items.phtml" hash="dcc91845e05c8ed7af5dae06a3b6f1df"/></dir></dir><dir name="order"><file name="comment.phtml" hash="8454a97a408aa2067fa678e64580a23a"/><file name="history.phtml" hash="80d726ac3901ddebba9becf7c1d48dac"/><file name="info.phtml" hash="51ceea7169f59439af003fd42ceed9a9"/><file name="items.phtml" hash="dfad5fe15e06195465941eca8819f402"/></dir><dir name="sales"><dir name="order"><dir name="create"><file name="data.phtml" hash="b47eb147ccba4cae1f167a91b672fe10"/><file name="form.phtml" hash="fbccffd74638e36da5ad6ec67fb4a9d1"/><dir name="items"><file name="sz_grid.phtml" hash="b67ed7f2d4ea8ac516c8b7f93f94b2d7"/></dir><file name="items.phtml" hash="196114736ab6e59ff3f726508ae550d1"/><dir name="sidebar"><file name="items.phtml" hash="2b28817bb9c3b152dd31ddeed1c672e2"/></dir><file name="sidebar.phtml" hash="737c4be80a6426534d1f3bfbe29154a9"/></dir></dir></dir><dir name="shipment"><file name="form.phtml" hash="90b02ea0dd67db8682dbfbd96ef8e090"/><file name="grid.phtml" hash="2492ec4e0b513d79795a4234ce9614ca"/><file name="info.phtml" hash="5ec916dbfa368e349f331b0826543045"/><file name="items.phtml" hash="aa9f427efb1453948ba213a072794b76"/><dir name="view"><file name="form.phtml" hash="c34dee605eb832e4b0ae2417ebedc884"/><file name="grid.phtml" hash="2636c1ce99a2fd072eab039166ef3676"/><file name="items.phtml" hash="83ad1ea2f7cedd777a4bf9dc8ef842b4"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="internationalshipping.xml" hash="d77198b7c604f392526f66811ae20215"/><file name="cardpayment.xml" hash="3f5a87d524f32907d2591a28d1f78e97"/></dir><dir name="template"><dir name="internationalshipping"><file name="cancel.phtml" hash="571e147948862cb64ecf4b37fc58bf6e"/><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="e4dfa7b6e4222de94df46325963972cf"/><file name="login.phtml" hash="b87942af6108cf127d7dfc2ff4c922d3"/><file name="shipping.phtml" hash="0b75eab06686eb1cb4aeee47381046ae"/></dir><file name="onepage.phtml" hash="ffc0e2ed09bae51e14cc2f9e920d85b6"/></dir><dir name="onepage"><file name="payment.phtml" hash="270ef2553db39a79f0d9c03de8b5dd2c"/><file name="progress.phtml" hash="1d83ba34117cb13efe79327fbbb101db"/><dir name="shipping_method"><file name="available.phtml" hash="167ab3095f41449a60684c4c103946c9"/></dir></dir><file name="openpdf.phtml" hash="643d6f38b27412ab99335cb235c3bcca"/><dir name="order"><file name="info.phtml" hash="7cdfb12d51e1d4a1e74bf4701f6b0905"/><dir name="invoice"><dir name="rederer"><file name="default.phtml" hash="25e2d5d1cd28742ca647fef345c52e4a"/></dir></dir></dir><file name="printall.phtml" hash="0b4689fa00d9607ea7f6f24975121704"/><file name="printpack.phtml" hash="31d0a267c27959dd4f585d719af6e3be"/><file name="processformat.phtml" hash="bae9e34de9c25d1c83b447e38e9790cc"/><dir name="sales"><dir name="order"><file name="print.phtml" hash="2f04d5f9eee003358a3fb38e3d34cb3d"/></dir></dir><dir name="shipping"><dir name="tracking"><file name="popup.phtml" hash="1aee8d5546ce2dfd42d91abef9952467"/></dir></dir><file name="success.phtml" hash="069b17eb7e287593c4717d4292caf16e"/></dir><dir name="cardpayment"><file name="ccsave.phtml" hash="0e609a3b9b42b34e2eaf9a0968e84713"/><dir name="onepage"><dir name="payment"><file name="methods.phtml" hash="b595363eabaa22c8da2d8aaff0e9c661"/></dir></dir><file name="redirect.phtml" hash="aca9d98fb89d0323ac27cc36f75067b6"/></dir></dir></dir></dir></dir></target></contents>
|
21 |
<compatible/>
|
22 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>soap</name><min/><max/></extension></required></dependencies>
|
23 |
</package>
|