Version Notes
Fixed minor styling bug with responsive theme
Download this release
Release Info
Developer | Classy Llama |
Extension | CLS_Paypal_Credit_Card_Tokenization |
Version | 1.1.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.7 to 1.1.8
- app/code/community/CLS/Paypal/CHANGELOG.txt +4 -0
- app/code/community/CLS/Paypal/etc/config.xml +1 -1
- app/design/frontend/enterprise/default/template/cls_paypal/payment/form/cc.phtml +155 -0
- app/design/frontend/rwd/default/template/cls_paypal/payment/form/cc.phtml +153 -0
- app/design/frontend/rwd/default/template/cls_paypal/paypal/payflow/info.phtml +42 -0
- package.xml +5 -5
app/code/community/CLS/Paypal/CHANGELOG.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
CLS_Paypal 1.1.7 (8/8/2014)
|
2 |
=======================================
|
3 |
[ADDED] Notifications about PayPal reference transaction configuration in System Config
|
1 |
+
CLS_Paypal 1.1.8 (9/15/2014)
|
2 |
+
=======================================
|
3 |
+
[FIXED] Fixed minor style issue with responsive theme
|
4 |
+
|
5 |
CLS_Paypal 1.1.7 (8/8/2014)
|
6 |
=======================================
|
7 |
[ADDED] Notifications about PayPal reference transaction configuration in System Config
|
app/code/community/CLS/Paypal/etc/config.xml
CHANGED
@@ -30,7 +30,7 @@
|
|
30 |
<config>
|
31 |
<modules>
|
32 |
<CLS_Paypal>
|
33 |
-
<version>1.1.
|
34 |
</CLS_Paypal>
|
35 |
</modules>
|
36 |
|
30 |
<config>
|
31 |
<modules>
|
32 |
<CLS_Paypal>
|
33 |
+
<version>1.1.8</version>
|
34 |
</CLS_Paypal>
|
35 |
</modules>
|
36 |
|
app/design/frontend/enterprise/default/template/cls_paypal/payment/form/cc.phtml
ADDED
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Classy Llama
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email to us at
|
13 |
+
* support+paypal@classyllama.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 this module
|
18 |
+
* to newer versions in the future. If you require customizations of this
|
19 |
+
* module for your needs, please write us at sales@classyllama.com.
|
20 |
+
*
|
21 |
+
* To report bugs or issues with this module, please email support+paypal@classyllama.com.
|
22 |
+
*
|
23 |
+
* @category CLS
|
24 |
+
* @package Paypal
|
25 |
+
* @copyright Copyright (c) 2014 Classy Llama Studios, LLC (http://www.classyllama.com)
|
26 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
27 |
+
*/
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Custom credit card payment form
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php $_code=$this->getMethodCode() ?>
|
34 |
+
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
35 |
+
<?php /*
|
36 |
+
<li>
|
37 |
+
<div class="input-box">
|
38 |
+
<label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
|
39 |
+
<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')) ?>" />
|
40 |
+
</div>
|
41 |
+
</li>
|
42 |
+
*/ ?>
|
43 |
+
<li>
|
44 |
+
<label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select">
|
47 |
+
<option value=""><?php echo $this->__('--Please Select--')?></option>
|
48 |
+
<?php $_ccType = $this->getInfoData('cc_type') ?>
|
49 |
+
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
50 |
+
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
51 |
+
<?php endforeach ?>
|
52 |
+
</select>
|
53 |
+
</div>
|
54 |
+
</li>
|
55 |
+
<li>
|
56 |
+
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
57 |
+
<div class="input-box">
|
58 |
+
<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="" />
|
59 |
+
</div>
|
60 |
+
</li>
|
61 |
+
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
62 |
+
<label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
|
63 |
+
<div class="input-box">
|
64 |
+
<div class="v-fix">
|
65 |
+
<select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
|
66 |
+
<?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
|
67 |
+
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
68 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
69 |
+
<?php endforeach ?>
|
70 |
+
</select>
|
71 |
+
</div>
|
72 |
+
<div class="v-fix">
|
73 |
+
<?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
|
74 |
+
<select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
|
75 |
+
<?php foreach ($this->getCcYears() as $k=>$v): ?>
|
76 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
77 |
+
<?php endforeach ?>
|
78 |
+
</select>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
</li>
|
82 |
+
<?php echo $this->getChildHtml() ?>
|
83 |
+
<?php if($this->hasVerification()): ?>
|
84 |
+
<li id="<?php echo $_code ?>_cc_type_cvv_div">
|
85 |
+
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
86 |
+
<div class="input-box">
|
87 |
+
<div class="v-fix">
|
88 |
+
<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="" />
|
89 |
+
</div>
|
90 |
+
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
91 |
+
</div>
|
92 |
+
</li>
|
93 |
+
<?php endif; ?>
|
94 |
+
|
95 |
+
<?php if ($this->isCcSaveAllowed()): ?>
|
96 |
+
<li>
|
97 |
+
<label for="<?php echo $_code ?>_cc_save_future"><?php echo $this->__('Save this card for future use') ?></label>
|
98 |
+
<div class="input-box">
|
99 |
+
<div class="v-fix">
|
100 |
+
<input type="checkbox" id="<?php echo $_code ?>_cc_save_future" name="payment[cc_save_future]" value="Y" />
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
</li>
|
104 |
+
<?php endif; ?>
|
105 |
+
|
106 |
+
<?php if ($this->hasSsCardType()): ?>
|
107 |
+
<li id="<?php echo $_code ?>_cc_type_ss_div">
|
108 |
+
<ul class="inner-form">
|
109 |
+
<li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
|
110 |
+
<li>
|
111 |
+
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
112 |
+
<span class="input-box">
|
113 |
+
<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="" />
|
114 |
+
</span>
|
115 |
+
</li>
|
116 |
+
|
117 |
+
<li>
|
118 |
+
<label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
|
119 |
+
<div class="input-box">
|
120 |
+
<div class="v-fix">
|
121 |
+
<select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
|
122 |
+
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
123 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
124 |
+
<?php endforeach ?>
|
125 |
+
</select>
|
126 |
+
</div>
|
127 |
+
<div class="v-fix">
|
128 |
+
<select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
|
129 |
+
<?php foreach ($this->getSsStartYears() as $k=>$v): ?>
|
130 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
131 |
+
<?php endforeach ?>
|
132 |
+
</select>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</li>
|
136 |
+
<li class="adv-container"> </li>
|
137 |
+
</ul>
|
138 |
+
<script type="text/javascript">
|
139 |
+
//<![CDATA[
|
140 |
+
var SSChecked<?php echo $_code ?> = function() {
|
141 |
+
var elm = $('<?php echo $_code ?>_cc_type');
|
142 |
+
if (['SS','SM','SO'].indexOf(elm.value) != -1) {
|
143 |
+
$('<?php echo $_code ?>_cc_type_ss_div').show();
|
144 |
+
} else {
|
145 |
+
$('<?php echo $_code ?>_cc_type_ss_div').hide();
|
146 |
+
}
|
147 |
+
};
|
148 |
+
|
149 |
+
Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
|
150 |
+
SSChecked<?php echo $_code ?>();
|
151 |
+
//]]>
|
152 |
+
</script>
|
153 |
+
</li>
|
154 |
+
<?php endif; ?>
|
155 |
+
</ul>
|
app/design/frontend/rwd/default/template/cls_paypal/payment/form/cc.phtml
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Classy Llama
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email to us at
|
13 |
+
* support+paypal@classyllama.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 this module
|
18 |
+
* to newer versions in the future. If you require customizations of this
|
19 |
+
* module for your needs, please write us at sales@classyllama.com.
|
20 |
+
*
|
21 |
+
* To report bugs or issues with this module, please email support+paypal@classyllama.com.
|
22 |
+
*
|
23 |
+
* @category CLS
|
24 |
+
* @package Paypal
|
25 |
+
* @copyright Copyright (c) 2014 Classy Llama Studios, LLC (http://www.classyllama.com)
|
26 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
27 |
+
*/
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Custom credit card payment form
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php $_code=$this->getMethodCode() ?>
|
34 |
+
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
35 |
+
<?php /*
|
36 |
+
<li>
|
37 |
+
<div class="input-box">
|
38 |
+
<label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
|
39 |
+
<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->escapeHtml($this->getInfoData('cc_owner')) ?>" />
|
40 |
+
</div>
|
41 |
+
</li>
|
42 |
+
*/ ?>
|
43 |
+
<li>
|
44 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
45 |
+
<label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
46 |
+
<div class="input-box">
|
47 |
+
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select" title="<?php echo $this->__('Credit Card Type') ?>">
|
48 |
+
<option value=""><?php echo $this->__('--Please Select--')?></option>
|
49 |
+
<?php $_ccType = $this->getInfoData('cc_type') ?>
|
50 |
+
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
51 |
+
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
52 |
+
<?php endforeach ?>
|
53 |
+
</select>
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
<li>
|
57 |
+
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
58 |
+
<div class="input-box">
|
59 |
+
<input type="text" pattern="\d*" 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="" />
|
60 |
+
</div>
|
61 |
+
</li>
|
62 |
+
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
63 |
+
<label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
|
64 |
+
<div class="input-box">
|
65 |
+
<div class="v-fix">
|
66 |
+
<select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
|
67 |
+
<?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
|
68 |
+
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
69 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
70 |
+
<?php endforeach ?>
|
71 |
+
</select>
|
72 |
+
</div>
|
73 |
+
<div class="v-fix">
|
74 |
+
<?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
|
75 |
+
<select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
|
76 |
+
<?php foreach ($this->getCcYears() as $k=>$v): ?>
|
77 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
78 |
+
<?php endforeach ?>
|
79 |
+
</select>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
</li>
|
83 |
+
<?php echo $this->getChildHtml() ?>
|
84 |
+
<?php if($this->hasVerification()): ?>
|
85 |
+
<li id="<?php echo $_code ?>_cc_type_cvv_div">
|
86 |
+
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
87 |
+
<div class="input-box">
|
88 |
+
<div class="v-fix">
|
89 |
+
<input type="text" pattern="\d*" 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="" />
|
90 |
+
</div>
|
91 |
+
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
92 |
+
</div>
|
93 |
+
</li>
|
94 |
+
<?php endif; ?>
|
95 |
+
|
96 |
+
<?php if ($this->isCcSaveAllowed()): ?>
|
97 |
+
<li>
|
98 |
+
<p>
|
99 |
+
<input type="checkbox" id="<?php echo $_code ?>_cc_save_future" name="payment[cc_save_future]" value="Y" class="checkbox" /><label for="<?php echo $_code ?>_cc_save_future"><?php echo $this->__('Save this card for future use') ?></label>
|
100 |
+
</p>
|
101 |
+
</li>
|
102 |
+
<?php endif; ?>
|
103 |
+
|
104 |
+
<?php if ($this->hasSsCardType()): ?>
|
105 |
+
<li id="<?php echo $_code ?>_cc_type_ss_div">
|
106 |
+
<ul class="inner-form">
|
107 |
+
<li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
|
108 |
+
<li>
|
109 |
+
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
110 |
+
<span class="input-box">
|
111 |
+
<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="" />
|
112 |
+
</span>
|
113 |
+
</li>
|
114 |
+
|
115 |
+
<li>
|
116 |
+
<label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
|
117 |
+
<div class="input-box">
|
118 |
+
<div class="v-fix">
|
119 |
+
<select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
|
120 |
+
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
121 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
122 |
+
<?php endforeach ?>
|
123 |
+
</select>
|
124 |
+
</div>
|
125 |
+
<div class="v-fix">
|
126 |
+
<select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
|
127 |
+
<?php foreach ($this->getSsStartYears() as $k=>$v): ?>
|
128 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
129 |
+
<?php endforeach ?>
|
130 |
+
</select>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
</li>
|
134 |
+
<li class="adv-container"> </li>
|
135 |
+
</ul>
|
136 |
+
<script type="text/javascript">
|
137 |
+
//<![CDATA[
|
138 |
+
var SSChecked<?php echo $_code ?> = function() {
|
139 |
+
var elm = $('<?php echo $_code ?>_cc_type');
|
140 |
+
if (['SS','SM','SO'].indexOf(elm.value) != -1) {
|
141 |
+
$('<?php echo $_code ?>_cc_type_ss_div').show();
|
142 |
+
} else {
|
143 |
+
$('<?php echo $_code ?>_cc_type_ss_div').hide();
|
144 |
+
}
|
145 |
+
};
|
146 |
+
|
147 |
+
Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
|
148 |
+
SSChecked<?php echo $_code ?>();
|
149 |
+
//]]>
|
150 |
+
</script>
|
151 |
+
</li>
|
152 |
+
<?php endif; ?>
|
153 |
+
</ul>
|
app/design/frontend/rwd/default/template/cls_paypal/paypal/payflow/info.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Classy Llama
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email to us at
|
13 |
+
* support+paypal@classyllama.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 this module
|
18 |
+
* to newer versions in the future. If you require customizations of this
|
19 |
+
* module for your needs, please write us at sales@classyllama.com.
|
20 |
+
*
|
21 |
+
* To report bugs or issues with this module, please email support+paypal@classyllama.com.
|
22 |
+
*
|
23 |
+
* @category CLS
|
24 |
+
* @package Paypal
|
25 |
+
* @copyright Copyright (c) 2014 Classy Llama Studios, LLC (http://www.classyllama.com)
|
26 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
27 |
+
*/
|
28 |
+
?>
|
29 |
+
<?php $_code = $this->getMethodCode() ?>
|
30 |
+
<ul id="payment_form_<?php echo $_code ?>" style="display:none" class="form-list">
|
31 |
+
<li>
|
32 |
+
<?php echo $this->__('You will be required to enter your payment details after you place an order.') ?>
|
33 |
+
</li>
|
34 |
+
|
35 |
+
<?php if ($this->isCcSaveAllowed()): ?>
|
36 |
+
<li>
|
37 |
+
<p>
|
38 |
+
<input type="checkbox" id="<?php echo $_code ?>_cc_save_future" name="payment[cc_save_future]" value="Y" class="checkbox" /><label for="<?php echo $_code ?>_cc_save_future"><?php echo $this->__('Save this card for future use') ?></label>
|
39 |
+
</p>
|
40 |
+
</li>
|
41 |
+
<?php endif; ?>
|
42 |
+
</ul>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>CLS_Paypal_Credit_Card_Tokenization</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -71,11 +71,11 @@ Settings for this module's features can be found in System Configuration, under
|
|
71 |
PayPal Billing Agreement Settings can now be found under Advanced Settings for Payflow Pro, just as it is found for other solutions.
|
72 |

|
73 |
For each of the four supported direct payment solutions, Advanced Settings now contains three added groups: PayPal Saved Credit Card Settings, PayPal Previous Order Credit Card Settings, and PayPal Previous Order Billing Agreement Settings. Enable the module's various features from these groups, as well as setting their configuration options independently of the standard credit card and billing agreement configurations.</description>
|
74 |
-
<notes>
|
75 |
<authors><author><name>Classy Llama</name><user>classyllama</user><email>info@classyllama.com</email></author></authors>
|
76 |
-
<date>2014-
|
77 |
-
<time>18:
|
78 |
-
<contents><target name="magecommunity"><dir name="CLS"><dir name="Paypal"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Customer.php" hash="4217b90d94215a6652dcc698ae348f6c"/></dir></dir></dir></dir><dir name="Customer"><file name="Storedcard.php" hash="1f19b685983a801be9a0e3a5224df987"/></dir><dir name="Payment"><dir name="Form"><file name="Cc.php" hash="4a6046c29e70e5d3668ee9840c642c57"/></dir></dir><dir name="Paypal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Location.php" hash="2730278f26f00678f7effaee7fabafae"/></dir></dir></dir></dir><dir name="Payflow"><dir name="Advanced"><file name="Form.php" hash="ab4f2b5d5b90d3d9c59793a44bcd3106"/></dir><dir name="Link"><file name="Form.php" hash="2078d80e9d02f4410ad521d669131f8c"/></dir></dir><dir name="Payment"><dir name="Form"><file name="Customerstored.php" hash="bf998008e870864c4af7f4da7b1f3776"/><dir name="Orderstored"><file name="Agreement.php" hash="96d1322d1ee4aaa1bfb1a29705ad3693"/></dir><file name="Orderstored.php" hash="ad8641f36a240b3582f9c2df872f1e7a"/></dir></dir></dir><dir name="Paypaluk"><dir name="Payment"><dir name="Form"><dir name="Orderstored"><file name="Agreement.php" hash="df2393007cedf8f07a9f5c075875287c"/></dir></dir></dir></dir></dir><file name="CHANGELOG.txt" hash="
|
79 |
<compatible/>
|
80 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
81 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>CLS_Paypal_Credit_Card_Tokenization</name>
|
4 |
+
<version>1.1.8</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
71 |
PayPal Billing Agreement Settings can now be found under Advanced Settings for Payflow Pro, just as it is found for other solutions.
|
72 |

|
73 |
For each of the four supported direct payment solutions, Advanced Settings now contains three added groups: PayPal Saved Credit Card Settings, PayPal Previous Order Credit Card Settings, and PayPal Previous Order Billing Agreement Settings. Enable the module's various features from these groups, as well as setting their configuration options independently of the standard credit card and billing agreement configurations.</description>
|
74 |
+
<notes>Fixed minor styling bug with responsive theme</notes>
|
75 |
<authors><author><name>Classy Llama</name><user>classyllama</user><email>info@classyllama.com</email></author></authors>
|
76 |
+
<date>2014-09-15</date>
|
77 |
+
<time>18:04:48</time>
|
78 |
+
<contents><target name="magecommunity"><dir name="CLS"><dir name="Paypal"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Customer.php" hash="4217b90d94215a6652dcc698ae348f6c"/></dir></dir></dir></dir><dir name="Customer"><file name="Storedcard.php" hash="1f19b685983a801be9a0e3a5224df987"/></dir><dir name="Payment"><dir name="Form"><file name="Cc.php" hash="4a6046c29e70e5d3668ee9840c642c57"/></dir></dir><dir name="Paypal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Location.php" hash="2730278f26f00678f7effaee7fabafae"/></dir></dir></dir></dir><dir name="Payflow"><dir name="Advanced"><file name="Form.php" hash="ab4f2b5d5b90d3d9c59793a44bcd3106"/></dir><dir name="Link"><file name="Form.php" hash="2078d80e9d02f4410ad521d669131f8c"/></dir></dir><dir name="Payment"><dir name="Form"><file name="Customerstored.php" hash="bf998008e870864c4af7f4da7b1f3776"/><dir name="Orderstored"><file name="Agreement.php" hash="96d1322d1ee4aaa1bfb1a29705ad3693"/></dir><file name="Orderstored.php" hash="ad8641f36a240b3582f9c2df872f1e7a"/></dir></dir></dir><dir name="Paypaluk"><dir name="Payment"><dir name="Form"><dir name="Orderstored"><file name="Agreement.php" hash="df2393007cedf8f07a9f5c075875287c"/></dir></dir></dir></dir></dir><file name="CHANGELOG.txt" hash="991ba0e64c507f59f74dd5510b46be7b"/><dir name="Helper"><file name="Data.php" hash="f90e0a15ea4bf54d8a5e6413dccfe2dd"/><dir name="Orderstored"><file name="Agreement.php" hash="87bc057e438e2364bfef6c8aaf298b72"/></dir><dir name="Paypal"><file name="Data.php" hash="334a4067ea02a750ad92d6ef228e5620"/></dir><file name="Storedcard.php" hash="d1dcbd3169146a8be0b0f743e780219b"/></dir><file name="LICENSE.txt" hash="71db18446bebc23ced8dd62644d16b5f"/><dir name="Model"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Create.php" hash="c4495227ebcf57985c76aee3484fdda8"/></dir></dir></dir><file name="Customerstored.php" hash="b665668e2dea947732e15b807d0ac0d9"/><file name="Observer.php" hash="adc978c7f0d89bc4bfb07a41d4ca1749"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="1a39867d97056840b3b7220f21e7d8a8"/></dir><file name="Config.php" hash="4c94e4720c26c36373ee60b95fa4f855"/><file name="Direct.php" hash="ef3b0556bf0a42e06540918f6a199c89"/><dir name="Express"><file name="Checkout.php" hash="0089b290510d6558f405837c04b0d28d"/></dir><file name="Express.php" hash="01df608f519c2686f2b92bb29f0d710b"/><file name="Info.php" hash="e9e62f9a4de192ad2e4475cd329239ac"/><dir name="Method"><dir name="Orderstored"><file name="Agreement.php" hash="4e835c3ced7234f1fa85a9ac2135d159"/></dir></dir><file name="Payflowadvanced.php" hash="0c1b29ae87e3d99bc9213c98cd6fce62"/><file name="Payflowlink.php" hash="43d11dce5912b1065c09fc1deb1b8a55"/><file name="Payflowpro.php" hash="012bd91fcb65ed3b66182a0a84b0b2d2"/><dir name="Stored"><file name="Abstract.php" hash="d3d462fdec47a0c7a9fbe400f3db7570"/><dir name="Customerstored"><file name="Direct.php" hash="4d8c9ca1bd51387e30020a5ab7cf18e0"/><file name="Payflow.php" hash="8f7bc5a7711c090c99e368269dff0256"/><file name="Payflowadvanced.php" hash="140b8ce3772c1b1e7eba27fda3621b40"/><file name="Payflowlink.php" hash="ec10930f8e13759b7eee19eca2a1a402"/><file name="Payflowpro.php" hash="e3e9106c86b2121d5bc22346cedb5e70"/></dir><file name="Customerstored.php" hash="575f429204a079e1ac363cd6dde4d1af"/><dir name="Orderstored"><file name="Direct.php" hash="b5e43e468696da57104d14558cbf6796"/><file name="Payflow.php" hash="39d2b02a4ca5f21966d3733800edeb74"/><file name="Payflowadvanced.php" hash="81983792d914701ff5853e2372c62e87"/><file name="Payflowlink.php" hash="b2a23f8f793d4791207580eec2a1614c"/><file name="Payflowpro.php" hash="e740ceaeb6b6eabb7bf69d91c802248c"/></dir><file name="Orderstored.php" hash="da3695a5c11bc9692c44985682faf763"/><file name="Payflow.php" hash="cf8395c60cd48a890366932e0b771a2b"/></dir></dir><dir name="Paypaluk"><dir name="Api"><dir name="Express"><file name="Nvp.php" hash="e7f2f3d43460963e0c03be0e2570b945"/></dir><dir name="Nvp"><file name="Common.php" hash="61d14420b595f41ee05dcac38e7b6a30"/></dir><file name="Nvp.php" hash="cd91e35953728ec23cc3d12d370b3d01"/></dir><dir name="Express"><file name="Checkout.php" hash="30be50f4f37c4dd86a030ef8d8e746ab"/></dir><file name="Express.php" hash="3bd2447989120a23637112e83440bc34"/><dir name="Method"><file name="Agreement.php" hash="6130d3dd630e45822af00c03e43d2fdd"/><dir name="Orderstored"><file name="Agreement.php" hash="128ebc81894ff25ba713b4d4817dfda3"/></dir></dir></dir><dir name="Resource"><dir name="Customerstored"><file name="Collection.php" hash="a6555fdd2413470de3492e3dd79f245d"/></dir><file name="Customerstored.php" hash="4817d0cc17fd7878db7635bdaf4d28ca"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Payflowbaenabled.php" hash="01eea301e74636cfb3446a32875696f8"/></dir></dir></dir></dir><file name="README.md" hash="7fa044486107cdf0d86d24a340fdc675"/><file name="SUPPORT.md" hash="262472006386d2141541a4d1723860b7"/><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="CreateController.php" hash="7f38863fd347676405af75c90fce8eff"/></dir></dir></dir><dir name="Customer"><file name="StoredcardController.php" hash="265534f272fb6fc7a8c6198db29d0bbe"/></dir><dir name="Paypal"><file name="ExpressController.php" hash="3ee6219c5bc5bc126b96de6089fc5344"/></dir><dir name="PaypalUk"><file name="ExpressController.php" hash="630f0fae3d9a84e7fa0f8242f7e715d1"/></dir></dir><dir name="etc"><file name="config.xml" hash="6408b19582ee6b8bb37e64dab227e664"/><file name="system.xml" hash="04d4fb444d7cb3aba57b7a9fdfbb0a9b"/></dir><dir name="sql"><dir name="cls_paypal_setup"><file name="mysql4-install-0.0.1.php" hash="5b4967e3363969977e11131911e34a93"/><file name="mysql4-install-0.3.1.php" hash="a924ac18a74bf6d1688db002ff5c9ec0"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="238220d8673832b5c6bdc6904cd616b5"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="79f01d08391f43d036eda62b7e065ab0"/></dir><dir name="template"><dir name="cls_paypal"><dir name="payment"><dir name="form"><file name="cc.phtml" hash="18374f975a2b4a2ff54d4694be4a994c"/><file name="customer_stored.phtml" hash="12522cb9f7acd46b1ffb61d1537994da"/><file name="order_stored.phtml" hash="b621f2c672d66cf418737cf68669976c"/></dir></dir><dir name="sales"><dir name="order"><dir name="create"><dir name="form"><file name="address.phtml" hash="1c6b60a4758aac055e935dfd56f468ae"/></dir></dir></dir><dir name="payment"><dir name="form"><dir name="orderstored"><file name="agreement.phtml" hash="a7c7568b9a7dda44673c1c195906f611"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="4c37fcb580cbcaa1a01a897045758728"/></dir><dir name="template"><dir name="cls_paypal"><dir name="customer"><file name="storedcard.phtml" hash="0561300c7a3185739f42a60d4afe0c6d"/></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="3980e7d249cfd0990ec2a1b9a26d6f5c"/><file name="customer_stored.phtml" hash="71a894688d69f295f24e79239b2735c0"/></dir></dir><dir name="paypal"><dir name="payflow"><file name="info.phtml" hash="634070bc37d37dcb5a434f388d8a303c"/></dir></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="template"><dir name="cls_paypal"><dir name="payment"><dir name="form"><file name="cc.phtml" hash="55b79cb005448d03b99578564cf175b5"/></dir></dir></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="cls_paypal"><dir name="payment"><dir name="form"><file name="cc.phtml" hash="55ca835564286814ddb831f1482a7390"/></dir></dir><dir name="paypal"><dir name="payflow"><file name="info.phtml" hash="2373904e6ba3113bf17eba45b1d77c19"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CLS_Paypal.xml" hash="9e629aac18f2e5f2c9feb266985c912f"/></dir></target><target name="magelocale"><dir name="en_US"><file name="CLS_Paypal.csv" hash="ab57482877d914bb1d02021d95c65520"/></dir></target></contents>
|
79 |
<compatible/>
|
80 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
81 |
</package>
|