Version Notes
Fixed JS errors on checkout
Download this release
Release Info
Developer | Justin Slingerland |
Extension | BluePay_Echeck |
Version | 1.5.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.5.0.8 to 1.5.0.9
- app/design/frontend/base/default/template/bluepay/{button.phtml → buttonach.phtml} +1 -4
- app/design/frontend/base/default/template/bluepay/creditcard.phtml +0 -140
- app/design/frontend/base/default/template/bluepay/echeck.phtml +93 -0
- app/design/frontend/base/default/template/bluepay/{form.phtml → echeck_form.phtml} +7 -16
- app/design/frontend/base/default/template/bluepay/{creditcardiframe.phtml → echeck_iframe.phtml} +1 -1
- app/design/frontend/base/default/template/bluepay/inforeview.phtml +0 -86
- package.xml +3 -3
app/design/frontend/base/default/template/bluepay/{button.phtml → buttonach.phtml}
RENAMED
@@ -23,10 +23,7 @@
|
|
23 |
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
-
|
27 |
-
$save = (Mage::getStoreConfig('payment/ccpayment/use_iframe') == '1') ? 'process()' :'checkReview();bluepay.save()';
|
28 |
-
else
|
29 |
-
$save = 'review.save()';
|
30 |
?>
|
31 |
<script>
|
32 |
</script>
|
23 |
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
+
$save = (Mage::getStoreConfig('payment/echeckpayment/use_iframe') == '1') ? 'process()' :'checkReview();bluepay.save()';
|
|
|
|
|
|
|
27 |
?>
|
28 |
<script>
|
29 |
</script>
|
app/design/frontend/base/default/template/bluepay/creditcard.phtml
DELETED
@@ -1,140 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/afl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
-
*
|
21 |
-
* @category design
|
22 |
-
* @package base_default
|
23 |
-
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
-
*/
|
26 |
-
?>
|
27 |
-
<?php $_code=$this->getMethodCode();
|
28 |
-
//$_form = $this;
|
29 |
-
//$_method = $_form->getMethod(); ?>
|
30 |
-
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
31 |
-
<?php /*
|
32 |
-
<li>
|
33 |
-
<div class="input-box">
|
34 |
-
<label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
|
35 |
-
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->htmlEscape($this->getInfoData('cc_owner')) ?>" />
|
36 |
-
</div>
|
37 |
-
</li>
|
38 |
-
*/ ?>
|
39 |
-
<li>
|
40 |
-
<label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
41 |
-
<div class="input-box">
|
42 |
-
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select">
|
43 |
-
<option value=""><?php echo $this->__('--Please Select--')?></option>
|
44 |
-
<?php $_ccType = $this->getInfoData('cc_type') ?>
|
45 |
-
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
46 |
-
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
47 |
-
<?php endforeach ?>
|
48 |
-
</select>
|
49 |
-
</div>
|
50 |
-
</li>
|
51 |
-
<li>
|
52 |
-
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
53 |
-
<div class="input-box">
|
54 |
-
<input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
55 |
-
</div>
|
56 |
-
</li>
|
57 |
-
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
58 |
-
<label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
|
59 |
-
<div class="input-box">
|
60 |
-
<div class="v-fix">
|
61 |
-
<select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
|
62 |
-
<?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
|
63 |
-
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
64 |
-
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
65 |
-
<?php endforeach ?>
|
66 |
-
</select>
|
67 |
-
</div>
|
68 |
-
<div class="v-fix">
|
69 |
-
<?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
|
70 |
-
<select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
|
71 |
-
<?php foreach ($this->getCcYears() as $k=>$v): ?>
|
72 |
-
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
73 |
-
<?php endforeach ?>
|
74 |
-
</select>
|
75 |
-
</div>
|
76 |
-
</div>
|
77 |
-
</li>
|
78 |
-
<?php echo $this->getChildHtml() ?>
|
79 |
-
<?php if($this->hasVerification()): ?>
|
80 |
-
<li id="<?php echo $_code ?>_cc_type_cvv_div">
|
81 |
-
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
82 |
-
<div class="input-box">
|
83 |
-
<div class="v-fix">
|
84 |
-
<input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
85 |
-
</div>
|
86 |
-
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
87 |
-
</div>
|
88 |
-
</li>
|
89 |
-
<?php endif; ?>
|
90 |
-
|
91 |
-
<?php if ($this->hasSsCardType()): ?>
|
92 |
-
<li id="<?php echo $_code ?>_cc_type_ss_div">
|
93 |
-
<ul class="inner-form">
|
94 |
-
<li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
|
95 |
-
<li>
|
96 |
-
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
97 |
-
<span class="input-box">
|
98 |
-
<input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
|
99 |
-
</span>
|
100 |
-
</li>
|
101 |
-
|
102 |
-
<li>
|
103 |
-
<label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
|
104 |
-
<div class="input-box">
|
105 |
-
<div class="v-fix">
|
106 |
-
<select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
|
107 |
-
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
108 |
-
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
109 |
-
<?php endforeach ?>
|
110 |
-
</select>
|
111 |
-
</div>
|
112 |
-
<div class="v-fix">
|
113 |
-
<select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
|
114 |
-
<?php foreach ($this->getSsStartYears() as $k=>$v): ?>
|
115 |
-
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
116 |
-
<?php endforeach ?>
|
117 |
-
</select>
|
118 |
-
</div>
|
119 |
-
</div>
|
120 |
-
</li>
|
121 |
-
<li class="adv-container"> </li>
|
122 |
-
</ul>
|
123 |
-
<script type="text/javascript">
|
124 |
-
//<![CDATA[
|
125 |
-
var SSChecked<?php echo $_code ?> = function() {
|
126 |
-
var elm = $('<?php echo $_code ?>_cc_type');
|
127 |
-
if (['SS','SM','SO'].indexOf(elm.value) != -1) {
|
128 |
-
$('<?php echo $_code ?>_cc_type_ss_div').show();
|
129 |
-
} else {
|
130 |
-
$('<?php echo $_code ?>_cc_type_ss_div').hide();
|
131 |
-
}
|
132 |
-
};
|
133 |
-
|
134 |
-
Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
|
135 |
-
SSChecked<?php echo $_code ?>();
|
136 |
-
//]]>
|
137 |
-
</script>
|
138 |
-
</li>
|
139 |
-
<?php endif; ?>
|
140 |
-
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/bluepay/echeck.phtml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<fieldset class="form-list">
|
2 |
+
|
3 |
+
<?php $_code=$this->getMethodCode() ?>
|
4 |
+
|
5 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none">
|
6 |
+
|
7 |
+
<li>
|
8 |
+
|
9 |
+
<div class="input-box">
|
10 |
+
|
11 |
+
<label for="<?php echo $_code ?>_echeck_routing_number"><?php echo $this->__('Bank routing number') ?> <span class="required">*</span></label><br />
|
12 |
+
|
13 |
+
<input id="<?php echo $_code ?>_echeck_routing_number" name="payment[echeck_routing_number]" class="required-entry">
|
14 |
+
|
15 |
+
</div>
|
16 |
+
|
17 |
+
</li>
|
18 |
+
|
19 |
+
<!-- <li>
|
20 |
+
|
21 |
+
<div class="input-box">
|
22 |
+
|
23 |
+
<label for="<?php echo $_code ?>_echeck_bank_name"><?php echo $this->__('Bank name') ?> <span class="required">*</span></label><br />
|
24 |
+
|
25 |
+
<input id="<?php echo $_code ?>_echeck_bank_name" name="payment[echeck_bank_name]" class="required-entry">
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
+
</li> -->
|
30 |
+
|
31 |
+
<li>
|
32 |
+
|
33 |
+
<div class="input-box">
|
34 |
+
|
35 |
+
<label for="<?php echo $_code ?>_echeck_bank_acct_num"><?php echo $this->__('Bank account number') ?> <span class="required">*</span></label><br />
|
36 |
+
|
37 |
+
<input id="<?php echo $_code ?>_echeck_bank_acct_num" name="payment[echeck_bank_acct_num]" class="required-entry">
|
38 |
+
|
39 |
+
</div>
|
40 |
+
|
41 |
+
</li>
|
42 |
+
|
43 |
+
<li>
|
44 |
+
|
45 |
+
<div class="input-box">
|
46 |
+
|
47 |
+
<label for="<?php echo $_code ?>_echeck_account_type"><?php echo $this->__('Account type') ?> <span class="required">*</span></label><br />
|
48 |
+
|
49 |
+
<select id="<?php echo $_code ?>_echeck_account_type" name="payment[echeck_account_type]" class="required-entry">
|
50 |
+
|
51 |
+
<option value=""><?php echo $this->__('--Please Select--')?></option>
|
52 |
+
|
53 |
+
<?php $_accountType = $this->getInfoData('account_type') ?>
|
54 |
+
|
55 |
+
<?php foreach ($this->getAccountAvailableTypes() as $_typeCode => $_typeName): ?>
|
56 |
+
|
57 |
+
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_accountType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
58 |
+
|
59 |
+
<?php endforeach ?>
|
60 |
+
|
61 |
+
</select>
|
62 |
+
|
63 |
+
</div>
|
64 |
+
|
65 |
+
</li>
|
66 |
+
|
67 |
+
<!-- <li>
|
68 |
+
|
69 |
+
<div class="input-box">
|
70 |
+
|
71 |
+
<label for="<?php echo $_code ?>_echeck_account_name"><?php echo $this->__('Name On Account') ?> <span class="required">*</span></label><br />
|
72 |
+
|
73 |
+
<input id="<?php echo $_code ?>_echeck_account_name" name="payment[echeck_account_name]" class="required-entry">
|
74 |
+
|
75 |
+
</div>
|
76 |
+
|
77 |
+
</li> -->
|
78 |
+
|
79 |
+
<!-- li>
|
80 |
+
|
81 |
+
<div class="input-box">
|
82 |
+
|
83 |
+
<label for="<?php echo $_code ?>_echeck_type"><?php echo $this->__('Echeck type') ?> <span class="required">*</span></label><br />
|
84 |
+
|
85 |
+
<input id="<?php echo $_code ?>_echeck_type" name="payment[echeck_type]" class="required-entry">
|
86 |
+
|
87 |
+
</div>
|
88 |
+
|
89 |
+
</li-->
|
90 |
+
|
91 |
+
</ul>
|
92 |
+
|
93 |
+
</fieldset>
|
app/design/frontend/base/default/template/bluepay/{form.phtml → echeck_form.phtml}
RENAMED
@@ -1,18 +1,15 @@
|
|
1 |
<?PHP
|
2 |
-
if (
|
3 |
-
return false;
|
4 |
-
if (Mage::getStoreConfig('payment/ccpayment/use_iframe') == '0') {
|
5 |
return false;
|
6 |
}
|
7 |
$_initial = true;
|
8 |
$_form = $this;
|
9 |
$_code = $_form->getMethodCode();
|
10 |
$_method = $_form->getMethod();
|
11 |
-
$_accID = Mage::getStoreConfig('payment/
|
12 |
-
$_secKey = Mage::getStoreConfig('payment/
|
13 |
-
$_transType = Mage::getStoreConfig('payment/
|
14 |
-
$_transMode = Mage::getStoreConfig('payment/
|
15 |
-
$_cvv2 = Mage::getStoreConfig('payment/ccpayment/useccv');
|
16 |
$_storeUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
|
17 |
$totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals();
|
18 |
$_amount = $totals["grand_total"]->getValue();
|
@@ -35,7 +32,8 @@ foreach ($session->getQuote()->getAllItems() as $item) {
|
|
35 |
$comment .= $item->getBaseCalculationPrice . ' ';
|
36 |
}
|
37 |
$shpfTPS = md5($_secKey . $_amount . $customerName . $city . $state . $zip . $phone . $email);
|
38 |
-
$_url = 'https://secure.bluepay.com/interfaces/shpf?SHPF_FORM_ID=
|
|
|
39 |
?>
|
40 |
<html>
|
41 |
<body>
|
@@ -43,12 +41,5 @@ $_url = 'https://secure.bluepay.com/interfaces/shpf?SHPF_FORM_ID=magentocc&SHPF_
|
|
43 |
<script>
|
44 |
iframeSocket("<?php echo $_url;?>");
|
45 |
</script>
|
46 |
-
<style type="text/css">
|
47 |
-
iframe {
|
48 |
-
width: 100%;
|
49 |
-
height: 125px;
|
50 |
-
border: 0px;
|
51 |
-
}
|
52 |
-
</style>
|
53 |
</body>
|
54 |
</html>
|
1 |
<?PHP
|
2 |
+
if (Mage::getStoreConfig('payment/echeckpayment/use_iframe') == '0') {
|
|
|
|
|
3 |
return false;
|
4 |
}
|
5 |
$_initial = true;
|
6 |
$_form = $this;
|
7 |
$_code = $_form->getMethodCode();
|
8 |
$_method = $_form->getMethod();
|
9 |
+
$_accID = Mage::getStoreConfig('payment/echeckpayment/login');
|
10 |
+
$_secKey = Mage::getStoreConfig('payment/echeckpayment/trans_key');
|
11 |
+
$_transType = Mage::getStoreConfig('payment/echeckpayment/payment_action');
|
12 |
+
$_transMode = Mage::getStoreConfig('payment/echeckpayment/test_mode');
|
|
|
13 |
$_storeUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
|
14 |
$totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals();
|
15 |
$_amount = $totals["grand_total"]->getValue();
|
32 |
$comment .= $item->getBaseCalculationPrice . ' ';
|
33 |
}
|
34 |
$shpfTPS = md5($_secKey . $_amount . $customerName . $city . $state . $zip . $phone . $email);
|
35 |
+
$_url = 'https://secure.bluepay.com/interfaces/shpf?SHPF_FORM_ID=magentoach&SHPF_ACCOUNT_ID=' . $_accID . '&SHPF_TPS_DEF=AMOUNT NAME CITY STATE ZIPCODE PHONE EMAIL' . '&SHPF_TPS=' . $shpfTPS . '&TRANS_TYPE=' . $_transType . '&KEY=' . $_secKey . '&MODE=' . $_transMode . '&NAME=' . $customerName . '&STORE_URL=' . $_storeUrl . '&AMOUNT=' . $_amount . '&ADDR1=' . $billingAddress . '&CITY=' . $city . '&STATE=' . $state . '&ZIPCODE=' . $zip . '&COUNTRY=' . $country . '&PHONE=' . $phone . '&EMAIL=' . $email . '&COMMENT=' . $comment;
|
36 |
+
|
37 |
?>
|
38 |
<html>
|
39 |
<body>
|
41 |
<script>
|
42 |
iframeSocket("<?php echo $_url;?>");
|
43 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
</body>
|
45 |
</html>
|
app/design/frontend/base/default/template/bluepay/{creditcardiframe.phtml → echeck_iframe.phtml}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
<?php $_code=$this->getMethodCode() ?>
|
2 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
3 |
-
<p>Enter your
|
1 |
<?php $_code=$this->getMethodCode() ?>
|
2 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
3 |
+
<p>Enter your e-check details on the Order Review page.</p>
|
app/design/frontend/base/default/template/bluepay/inforeview.phtml
DELETED
@@ -1,86 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/afl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
-
*
|
21 |
-
* @category design
|
22 |
-
* @package base_default
|
23 |
-
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
-
*/
|
26 |
-
?>
|
27 |
-
<?php echo $this->getChildHtml('items_before'); ?>
|
28 |
-
<div id="checkout-review-table-wrapper">
|
29 |
-
<table class="data-table" id="checkout-review-table">
|
30 |
-
<?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
|
31 |
-
<col />
|
32 |
-
<col width="1" />
|
33 |
-
<col width="1" />
|
34 |
-
<col width="1" />
|
35 |
-
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
36 |
-
<col width="1" />
|
37 |
-
<col width="1" />
|
38 |
-
<?php endif; ?>
|
39 |
-
<thead>
|
40 |
-
<tr>
|
41 |
-
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
|
42 |
-
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
43 |
-
<th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
44 |
-
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
45 |
-
</tr>
|
46 |
-
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
47 |
-
<tr>
|
48 |
-
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
49 |
-
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
50 |
-
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
51 |
-
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
52 |
-
</tr>
|
53 |
-
<?php endif; ?>
|
54 |
-
</thead>
|
55 |
-
<?php echo $this->getChildHtml('totals'); ?>
|
56 |
-
<tbody>
|
57 |
-
<?php foreach($this->getItems() as $_item): ?>
|
58 |
-
<?php echo $this->getItemHtml($_item)?>
|
59 |
-
<?php endforeach ?>
|
60 |
-
</tbody>
|
61 |
-
</table>
|
62 |
-
</div>
|
63 |
-
<?php echo $this->getChildHtml('items_after'); ?>
|
64 |
-
<script type="text/javascript">
|
65 |
-
//<![CDATA[
|
66 |
-
decorateTable('checkout-review-table');
|
67 |
-
truncateOptions();
|
68 |
-
//]]>
|
69 |
-
</script>
|
70 |
-
<div id="checkout-review-submit">
|
71 |
-
<?php echo $this->getChildHtml('agreements') ?>
|
72 |
-
<div class="buttons-set" id="review-buttons-container">
|
73 |
-
<p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
|
74 |
-
<?php echo $this->getChildHtml('button') ?>
|
75 |
-
<span class="please-wait" id="review-please-wait" style="display:none;">
|
76 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
77 |
-
</span>
|
78 |
-
</div>
|
79 |
-
<script type="text/javascript">
|
80 |
-
//<![CDATA[
|
81 |
-
bluepay = new BluePay('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
|
82 |
-
review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
|
83 |
-
//bluepay = new BluePay('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
|
84 |
-
//]]>
|
85 |
-
</script>
|
86 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>BluePay_Echeck</name>
|
4 |
-
<version>1.5.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License</license>
|
7 |
<channel>community</channel>
|
@@ -11,8 +11,8 @@
|
|
11 |
<notes>Fixed JS errors on checkout</notes>
|
12 |
<authors><author><name>Justin Slingerland</name><user>jslingerland</user><email>jslingerland@bluepay.com</email></author></authors>
|
13 |
<date>2014-09-04</date>
|
14 |
-
<time>17:
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="BluePay_Echeck.xml" hash="252f244ae4f8cba53f883559a23273c7"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="bluepay_echeck.xml" hash="3cee814a8fe7c11cb7fe031896d4b9eb"/></dir><dir name="template"><dir name="bluepay"><file name="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>5.5.15</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>BluePay_Echeck</name>
|
4 |
+
<version>1.5.0.9</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License</license>
|
7 |
<channel>community</channel>
|
11 |
<notes>Fixed JS errors on checkout</notes>
|
12 |
<authors><author><name>Justin Slingerland</name><user>jslingerland</user><email>jslingerland@bluepay.com</email></author></authors>
|
13 |
<date>2014-09-04</date>
|
14 |
+
<time>17:26:05</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="BluePay_Echeck.xml" hash="252f244ae4f8cba53f883559a23273c7"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="bluepay_echeck.xml" hash="3cee814a8fe7c11cb7fe031896d4b9eb"/></dir><dir name="template"><dir name="bluepay"><file name="echeck.phtml" hash="ac7dcd1a79982fcf9a6f39f8d9036d9b"/><file name="echeck_form.phtml" hash="00d42bc0b3e09b9a2a287a2ee8305b65"/><file name="echeck_iframe.phtml" hash="59436bef6158dbd19d81daf8dcdfd157"/><file name="buttonach.phtml" hash="b2442203bae192765c52c354a4207161"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="bluepay_echeck"><file name="bluepay.js" hash="ec4e109ea21e525a890d219ff33e5820"/><dir name="easyXDM"><file name="easyXDM.Widgets.debug.js" hash="26b23561d39a64b926fe8dafea2f0a7b"/><file name="easyXDM.Widgets.js" hash="26b23561d39a64b926fe8dafea2f0a7b"/><file name="easyXDM.Widgets.min.js" hash="790f5fa04af75a8013d0ff5fd6dc770d"/><file name="easyXDM.debug.js" hash="2f74fa97b0aacdfb5e8570e381465905"/><file name="easyXDM.js" hash="499464a0c3d89679c11df6ee5d188df5"/><file name="easyXDM.min.js" hash="e3fd912457d7213fe5ccae7bf0fd0c82"/><file name="name.html" hash="990620350432f6c7e28f1e111ce598c8"/><file name=".gitignore" hash="f256c78995e7e95eb33afc3cee8ff195"/></dir></dir></dir></target><target name="magelocal"><dir name="BluePay"><dir name="Echeck"><dir name="Block"><dir name="Form"><file name="Echeck.php" hash="8923468466074253526500bd4fabe2e2"/></dir><file name="Form.php" hash="e3de4548b513596b1a218ce261c2328f"/><dir name="Info"><file name="Echeck.php" hash="76a035e618edbcd0463db55f26ce3cb1"/></dir><file name="Info.php" hash="de65c278c010d85d67e5b1ae031a1c28"/></dir><dir name="Helper"><file name="Data.php" hash="8f64e111734ce162a0d0b28ebad1db90"/></dir><dir name="Model"><file name="Config.php" hash="94567f95c4463897ba822ca1c61dca7a"/><dir name="EcheckPayment"><file name="Debug.php" hash="76d8cb6c86a595b2b78d43664c6dd6e8"/><file name="Request.php" hash="0a65c3aae69eb0c196231cbf6f007cec"/><file name="Result.php" hash="6935ba845811c005b9c501a03891e33a"/><dir name="Source"><file name="Accounttypes.php" hash="3c8b8034d6c96b0280db4e7e595ab73c"/><file name="PaymentAction.php" hash="9da2c6580cfd6d611c207e5be3b2aea5"/></dir></dir><file name="EcheckPayment.php" hash="219af9bb2d3c725df9d61a6e4770bb97"/><dir name="Mysql4"><dir name="ECheckPayment"><dir name="Debug"><file name="Collection.php" hash="aa8222f78f17b4c35050c9d06dc085bc"/></dir><file name="Debug.php" hash="829e050092ffb527e08a6a9d9959374a"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="bf862e0ba158cebf78b785c98cfdca3e"/><file name="system.xml" hash="b68b53fb8a301bc3f21b0cd0bd788ba1"/></dir><dir name="sql"><dir name="echeck_setup"><file name="mysql4-install-0.7.0.php" hash="8a9c16edd149e1e41c4015aeebb35892"/></dir></dir></dir></dir></target><target name="magecore"><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="TestmodeACH.php" hash="371db79c030d69b3b19fc4caac4e7ba0"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>5.5.15</max></php></required></dependencies>
|
18 |
</package>
|