Version Notes
* Minor improvements
Download this release
Release Info
Developer | Capayable |
Extension | Tritac_Capayable |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3.0 to 2.3.1
app/code/community/Tritac/Capayable/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Tritac_Capayable>
|
13 |
-
<version>2.3.
|
14 |
</Tritac_Capayable>
|
15 |
</modules>
|
16 |
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Tritac_Capayable>
|
13 |
+
<version>2.3.1</version>
|
14 |
</Tritac_Capayable>
|
15 |
</modules>
|
16 |
|
app/design/frontend/base/default/template/capayable/form.phtml
CHANGED
@@ -43,7 +43,7 @@
|
|
43 |
}
|
44 |
//if($_customer->getCustomerMiddlename() && $isLoggedIn)
|
45 |
// $initials = $_customer->getCustomerMiddlename();
|
46 |
-
$hasMageWorldOSC = Mage::helper('core')->isModuleEnabled('MW_Onestepcheckout');
|
47 |
|
48 |
$postcode = $billingAddress->getData("postcode");
|
49 |
if($_customer->getPostalCode() && $isLoggedIn) {
|
@@ -58,14 +58,6 @@
|
|
58 |
?>
|
59 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
60 |
|
61 |
-
<li>
|
62 |
-
<label for="<?php echo $_code?>_middlename" class="required"><em>*</em><?php echo $this->__('Initials')?></label>
|
63 |
-
<div class="input-box">
|
64 |
-
<input type="text" id="<?php echo $_code?>_middlename" name="payment[customer_middlename]" class="input-text required-entry" value="<?php echo $initials; ?>" />
|
65 |
-
</div>
|
66 |
-
</li>
|
67 |
-
|
68 |
-
|
69 |
<?php if(!$_quote->getCustomerDob()): ?>
|
70 |
<li>
|
71 |
<label for="<?php echo $_code?>_month" class="required"><em>*</em><?php echo $this->__('Date of Birth') ?></label>
|
@@ -123,6 +115,7 @@
|
|
123 |
</script>
|
124 |
</li>
|
125 |
<?php endif ?>
|
|
|
126 |
<?php if(!$_quote->getCustomerGender()): ?>
|
127 |
<li>
|
128 |
<label for="<?php echo $_code?>_gender" class="required"><em>*</em><?php echo $this->__('Gender') ?></label>
|
@@ -174,39 +167,73 @@
|
|
174 |
<input type="text" id="<?php echo $_code?>_corporation_name" name="payment[corporation_name]" class="input-text" value="<?php if($_customer->getCorporationName() && $isLoggedIn) echo $_customer->getCorporationName()?>" />
|
175 |
</div>
|
176 |
</li>
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
<
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
<
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
</
|
207 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
|
209 |
-
</ul>
|
210 |
|
211 |
<script type="text/javascript">
|
212 |
//<![CDATA[
|
@@ -292,6 +319,8 @@
|
|
292 |
<?php if ($hasMageWorldOSC): ?>
|
293 |
listenAndApplyChanges('#billing\\:company', '#capayable_corporation_name');
|
294 |
listenAndApplyChanges('#billing\\:firstname', '#capayable_middlename');
|
|
|
|
|
295 |
listenAndApplyChanges('#billing\\:postcode', '#capayable_postcode');
|
296 |
listenAndApplyChanges('#billing\\:city', '#capayable_city');
|
297 |
<?php endif ?>
|
43 |
}
|
44 |
//if($_customer->getCustomerMiddlename() && $isLoggedIn)
|
45 |
// $initials = $_customer->getCustomerMiddlename();
|
46 |
+
$hasMageWorldOSC = Mage::helper('core')->isModuleEnabled('MW_Onestepcheckout') || true;
|
47 |
|
48 |
$postcode = $billingAddress->getData("postcode");
|
49 |
if($_customer->getPostalCode() && $isLoggedIn) {
|
58 |
?>
|
59 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
<?php if(!$_quote->getCustomerDob()): ?>
|
62 |
<li>
|
63 |
<label for="<?php echo $_code?>_month" class="required"><em>*</em><?php echo $this->__('Date of Birth') ?></label>
|
115 |
</script>
|
116 |
</li>
|
117 |
<?php endif ?>
|
118 |
+
|
119 |
<?php if(!$_quote->getCustomerGender()): ?>
|
120 |
<li>
|
121 |
<label for="<?php echo $_code?>_gender" class="required"><em>*</em><?php echo $this->__('Gender') ?></label>
|
167 |
<input type="text" id="<?php echo $_code?>_corporation_name" name="payment[corporation_name]" class="input-text" value="<?php if($_customer->getCorporationName() && $isLoggedIn) echo $_customer->getCorporationName()?>" />
|
168 |
</div>
|
169 |
</li>
|
170 |
+
|
171 |
+
<?php if($hasMageWorldOSC): ?>
|
172 |
+
|
173 |
+
<input type="hidden" id="<?php echo $_code?>_middlename" name="payment[customer_middlename]" class="input-text required-entry" value="<?php echo $initials; ?>" />
|
174 |
+
|
175 |
+
<input type="hidden" id="<?php echo $_code?>_street" name="payment[street]" class="input-text required-entry" value="<?php if($_customer->getStreet(0) && $isLoggedIn) echo $_customer->getStreet(0)?>" />
|
176 |
+
<input type="hidden" id="<?php echo $_code?>_house_number" name="payment[house_number]" class="validate-digits validate-greater-than-zero input-text required-entry" value="<?php if($_customer->getStreet(1) && $isLoggedIn) echo $_customer->getStreet(1)?>" />
|
177 |
+
<input type="hidden" id="<?php echo $_code?>_house_suffix" name="payment[house_suffix]" class="input-text" value="<?php if($_customer->getHouseSuffix() && $isLoggedIn) echo $_customer->getHouseSuffix()?>" />
|
178 |
+
|
179 |
+
<input type="hidden" id="<?php echo $_code?>_postcode" name="payment[postcode]" class="input-text required-entry" value="<?php echo $postcode; ?>" />
|
180 |
+
<input type="hidden" id="<?php echo $_code?>_city" name="payment[city]" class="input-text required-entry" value="<?php echo $city; ?>" />
|
181 |
+
|
182 |
+
<?php else: ?>
|
183 |
+
|
184 |
+
<?php if(!$initials): ?>
|
185 |
+
<li>
|
186 |
+
<label for="<?php echo $_code?>_middlename" class="required"><em>*</em><?php echo $this->__('Initials')?></label>
|
187 |
+
<div class="input-box">
|
188 |
+
<input type="text" id="<?php echo $_code?>_middlename" name="payment[customer_middlename]" class="input-text required-entry" value="<?php echo $initials; ?>" />
|
189 |
+
</div>
|
190 |
+
</li>
|
191 |
+
<?php endif; ?>
|
192 |
+
|
193 |
+
|
194 |
+
<li>
|
195 |
+
<label for="<?php echo $_code?>_street" class="required"><em>*</em><?php echo $this->__('Street')?></label>
|
196 |
+
<div class="input-box">
|
197 |
+
<input type="text" id="<?php echo $_code?>_street" name="payment[street]" class="input-text required-entry" value="<?php if($_customer->getStreet() && $isLoggedIn) echo $_customer->getStreet()?>" />
|
198 |
+
</div>
|
199 |
+
</li>
|
200 |
+
|
201 |
+
<li>
|
202 |
+
<label for="<?php echo $_code?>_house_number" class="required"><em>*</em><?php echo $this->__('House number')?></label>
|
203 |
+
<div class="input-box">
|
204 |
+
<input type="text" id="<?php echo $_code?>_house_number" name="payment[house_number]" class="validate-digits validate-greater-than-zero input-text required-entry" value="<?php if($_customer->getHouseNumber() && $isLoggedIn) echo $_customer->getHouseNumber()?>" />
|
205 |
+
</div>
|
206 |
+
</li>
|
207 |
+
<li>
|
208 |
+
<label for="<?php echo $_code?>_house_suffix"><?php echo $this->__('House number suffix')?></label>
|
209 |
+
<div class="input-box">
|
210 |
+
<input type="text" id="<?php echo $_code?>_house_suffix" name="payment[house_suffix]" class="input-text" value="<?php if($_customer->getHouseSuffix() && $isLoggedIn) echo $_customer->getHouseSuffix()?>" />
|
211 |
+
</div>
|
212 |
+
</li>
|
213 |
+
|
214 |
+
<?php if(!$postcode): ?>
|
215 |
+
|
216 |
+
<li>
|
217 |
+
<label for="<?php echo $_code?>_postcode" class="required"><em>*</em><?php echo $this->__('Postal Code')?></label>
|
218 |
+
<div class="input-box">
|
219 |
+
<input type="text" id="<?php echo $_code?>_postcode" name="payment[postcode]" class="input-text required-entry" value="<?php echo $postcode; ?>" />
|
220 |
+
</div>
|
221 |
+
</li>
|
222 |
+
|
223 |
+
<?php endif; ?>
|
224 |
+
|
225 |
+
<?php if(!$city): ?>
|
226 |
+
<li>
|
227 |
+
<label for="<?php echo $_code?>_city" class="required"><em>*</em><?php echo $this->__('City')?></label>
|
228 |
+
<div class="input-box">
|
229 |
+
<input type="text" id="<?php echo $_code?>_city" name="payment[city]" class="input-text required-entry" value="<?php echo $city; ?>" />
|
230 |
+
</div>
|
231 |
+
</li>
|
232 |
+
<?php endif; ?>
|
233 |
+
|
234 |
+
<?php endif; ?>
|
235 |
|
236 |
+
</ul>
|
237 |
|
238 |
<script type="text/javascript">
|
239 |
//<![CDATA[
|
319 |
<?php if ($hasMageWorldOSC): ?>
|
320 |
listenAndApplyChanges('#billing\\:company', '#capayable_corporation_name');
|
321 |
listenAndApplyChanges('#billing\\:firstname', '#capayable_middlename');
|
322 |
+
listenAndApplyChanges('#billing\\:street1', '#capayable_street');
|
323 |
+
listenAndApplyChanges('#billing\\:street2', '#capayable_house_number');
|
324 |
listenAndApplyChanges('#billing\\:postcode', '#capayable_postcode');
|
325 |
listenAndApplyChanges('#billing\\:city', '#capayable_city');
|
326 |
<?php endif ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tritac_Capayable</name>
|
4 |
-
<version>2.3.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -14,11 +14,11 @@ The trust of your customers will increase by providing multiple payment methods
|
|
14 |
By fulfilling your customers desires you will realize a substatial gain in online sales. Studies show that an increase of conversion rates up to 30%. This is revenue you don't want to miss! With Capayable pay after delivery you will achieve maximum convenience at your webshop's checkout. You show trust in your customers and they will appreciate it. This way you will work on a healthy relation.
|
15 |

|
16 |
Keep the risk of default to a minimum with Capayable. During the order process Capayable will assess the solvency of the customer. The result of this assessment will determine if the customer gets the option to pay after delivery. Moreover, the collection of the due payment is Capayable's risk. Customer service at checkout and your financial security go hand in hand.</description>
|
17 |
-
<notes>*
|
18 |
<authors><author><name>Capayable</name><user>capayable</user><email>capayable@tritac.com</email></author></authors>
|
19 |
-
<date>2014-09-
|
20 |
-
<time>
|
21 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Tritac_Capayable.xml" hash="7001b4ff4fb879a1186fcd5d2c8e66a9"/></dir></target><target name="magecommunity"><dir name="Tritac"><dir name="Capayable"><dir name="Block"><file name="Form.php" hash="6e7b2763ca0b75f0654d1abf3f8ad997"/><file name="Info.php" hash="a77b42b5730b33e46a3e9168d2080d3f"/></dir><dir name="Helper"><file name="Data.php" hash="a0804e5a3fd7b051530d202a19829ced"/></dir><dir name="Model"><file name="Customer.php" hash="562adc10291a0e835affbad196f3a8e7"/><file name="Observer.php" hash="bc1487f9a350ea681de64df7f69138a9"/><file name="Payment.php" hash="f64dd63d9024205610a13e6e74ddbae8"/><dir name="Resource"><dir name="Customer"><file name="Collection.php" hash="d3ada6e04cd45cf7722194707ab46b72"/></dir><file name="Customer.php" hash="3e56839b9b93adf24f711cfc6b08cbb1"/><file name="Setup.php" hash="1d6ad9d431cf9a945720ba82d2adf57f"/></dir></dir><dir name="controllers"><file name="AjaxController.php" hash="2bf8a0353625fa86d06ce5af8c2f8c1b"/></dir><dir name="etc"><file name="config.xml" hash="
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tritac_Capayable</name>
|
4 |
+
<version>2.3.1</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>
|
14 |
By fulfilling your customers desires you will realize a substatial gain in online sales. Studies show that an increase of conversion rates up to 30%. This is revenue you don't want to miss! With Capayable pay after delivery you will achieve maximum convenience at your webshop's checkout. You show trust in your customers and they will appreciate it. This way you will work on a healthy relation.
|
15 |

|
16 |
Keep the risk of default to a minimum with Capayable. During the order process Capayable will assess the solvency of the customer. The result of this assessment will determine if the customer gets the option to pay after delivery. Moreover, the collection of the due payment is Capayable's risk. Customer service at checkout and your financial security go hand in hand.</description>
|
17 |
+
<notes>* Minor improvements</notes>
|
18 |
<authors><author><name>Capayable</name><user>capayable</user><email>capayable@tritac.com</email></author></authors>
|
19 |
+
<date>2014-09-10</date>
|
20 |
+
<time>12:22:17</time>
|
21 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Tritac_Capayable.xml" hash="7001b4ff4fb879a1186fcd5d2c8e66a9"/></dir></target><target name="magecommunity"><dir name="Tritac"><dir name="Capayable"><dir name="Block"><file name="Form.php" hash="6e7b2763ca0b75f0654d1abf3f8ad997"/><file name="Info.php" hash="a77b42b5730b33e46a3e9168d2080d3f"/></dir><dir name="Helper"><file name="Data.php" hash="a0804e5a3fd7b051530d202a19829ced"/></dir><dir name="Model"><file name="Customer.php" hash="562adc10291a0e835affbad196f3a8e7"/><file name="Observer.php" hash="bc1487f9a350ea681de64df7f69138a9"/><file name="Payment.php" hash="f64dd63d9024205610a13e6e74ddbae8"/><dir name="Resource"><dir name="Customer"><file name="Collection.php" hash="d3ada6e04cd45cf7722194707ab46b72"/></dir><file name="Customer.php" hash="3e56839b9b93adf24f711cfc6b08cbb1"/><file name="Setup.php" hash="1d6ad9d431cf9a945720ba82d2adf57f"/></dir></dir><dir name="controllers"><file name="AjaxController.php" hash="2bf8a0353625fa86d06ce5af8c2f8c1b"/></dir><dir name="etc"><file name="config.xml" hash="4a9e545373429b8b4fe0411f357ebf54"/><file name="system.xml" hash="5fd9ee783a0cb5a8c93d96973e6f46b4"/></dir><dir name="sql"><dir name="capayable_setup"><file name="install-1.0.0.php" hash="8e3ad890975e11649a0dc51970aba4ec"/></dir></dir></dir></dir></target><target name="magelib"><dir name="Tritac"><dir name="CapayableApiClient"><file name="AddTrustExternalCARoot.crt" hash="f85d1ff17b0079709f131f3ce3f288d2"/><file name="Client.php" hash="ac813fed45cb5bd4108b52f9cb1bac41"/><dir name="Enums"><file name="Enum.php" hash="25559e778c2d276f731b6a8b63827d03"/><file name="Environment.php" hash="1c138f029b693bde668e9a5c33b73e8a"/><file name="Gender.php" hash="ad079406a788728980d6142405675cfd"/><file name="HttpMethod.php" hash="f9dc6ddcdef8c7573c726642ef596163"/><file name="InvoiceCreditStatus.php" hash="785c735390476ed66e3c0e1a538d8e44"/><file name="InvoicePdfSubmitType.php" hash="596d1e64019a9177a05fa677407ad85a"/><file name="RefuseReason.php" hash="47ddf3a0f5cc3613099c401acabbe8f0"/></dir><dir name="Models"><file name="BaseModel.php" hash="0656176f09813a43eb27cb3a17001c55"/><file name="CreditCheckRequest.php" hash="30333356893937e860b79c7248810856"/><file name="CreditCheckResponse.php" hash="7886ac596afcca7a48ecfe0a104609be"/><file name="Invoice.php" hash="9f081793f2feec025d5dd478311875db"/><file name="InvoiceCreditRequest.php" hash="be0649d3b7584165ed12abe45452ab32"/><file name="InvoiceCreditResponse.php" hash="808df1a58451393d91fe358413b7eab4"/><file name="RegistrationCheckRequest.php" hash="c6d5e5eb633839a03e86f4fe4bcd3ce5"/><file name="RegistrationCheckResponse.php" hash="e65c5157a29403a0f916316823e7ee25"/></dir><file name="fiddler.crt" hash="b0dff65ab013256030658fee29ce0919"/><file name="loader.php" hash="5a7f334b15555740f45c3d54cf826bc3"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="capayable"><file name="form.phtml" hash="ad3f5202c707daee216bdfb0c019a057"/><file name="info.phtml" hash="fabb3f3bfe1d75424d7e5af1659bf2f1"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="."><file name="Tritac_Capayable.csv" hash=""/></dir></target></contents>
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|