Version Notes
This module adds the wide range of different 2000Charge methods.
Download this release
Release Info
Developer | 2000Charge Inc |
Extension | TwoKChargeInc_TwoKCharge |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.3
- app/code/community/TwoKChargeInc/TwoKCharge/Model/Standard.php +2 -5
- app/code/community/TwoKChargeInc/TwoKCharge/etc/config.xml +1 -1
- app/code/community/TwoKChargeInc/TwoKCharge/etc/system.xml +2 -2
- app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-install-0.1.0.php +2 -4
- app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.1.0-0.1.4.php +0 -2
- app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.1.4-0.2.0.php +0 -2
- app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.2.0-0.2.2.php +0 -1
- app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.2.2-0.2.3.php +0 -1
- app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.2.3-1.0.0.php +0 -1
- app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-1.0.0-1.0.1.php +0 -1
- app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-1.0.1-1.0.3.php +76 -0
- app/design/frontend/base/default/template/twokcharge/form/sepa.phtml +13 -12
- package.xml +4 -5
app/code/community/TwoKChargeInc/TwoKCharge/Model/Standard.php
CHANGED
@@ -113,7 +113,7 @@ class TwoKChargeInc_TwoKCharge_Model_Standard extends Mage_Payment_Model_Method_
|
|
113 |
return $errorMsg;
|
114 |
}
|
115 |
|
116 |
-
|
117 |
$order->setSepaIban($data->getTwokchargeSepaIban());
|
118 |
$order->setSepaBic($data->getTwokchargeSepaBic());
|
119 |
|
@@ -290,9 +290,6 @@ class TwoKChargeInc_TwoKCharge_Model_Standard extends Mage_Payment_Model_Method_
|
|
290 |
|
291 |
// ---- direct pay gateway method - START !!!!!! -------
|
292 |
if (in_array($order->getTwokchargeTypeName(), array("SEPA", "EuroDebit", "ACH", "CreditCard", "BARPAY"))) {
|
293 |
-
|
294 |
-
// Mage::log(var_export($order->debug(), TRUE), null,'$cart3.log');
|
295 |
-
|
296 |
|
297 |
$check = $this -> _getOrderDirectPay($order);
|
298 |
if ($check == 'N' || $check == 'X') {
|
@@ -535,7 +532,7 @@ class TwoKChargeInc_TwoKCharge_Model_Standard extends Mage_Payment_Model_Method_
|
|
535 |
|
536 |
"pricepoint" => $cart->getPricePoint(),
|
537 |
"paymenttype" => $cart->getTwokchargeTypeName(),
|
538 |
-
"signum" => $cart->getSepaSignum(),
|
539 |
"iban" => $cart->getSepaIban(),
|
540 |
"bic" => $cart->getSepaBic(),
|
541 |
);
|
113 |
return $errorMsg;
|
114 |
}
|
115 |
|
116 |
+
// $order->setSepaSignum($data->getTwokchargeSepaSignum());
|
117 |
$order->setSepaIban($data->getTwokchargeSepaIban());
|
118 |
$order->setSepaBic($data->getTwokchargeSepaBic());
|
119 |
|
290 |
|
291 |
// ---- direct pay gateway method - START !!!!!! -------
|
292 |
if (in_array($order->getTwokchargeTypeName(), array("SEPA", "EuroDebit", "ACH", "CreditCard", "BARPAY"))) {
|
|
|
|
|
|
|
293 |
|
294 |
$check = $this -> _getOrderDirectPay($order);
|
295 |
if ($check == 'N' || $check == 'X') {
|
532 |
|
533 |
"pricepoint" => $cart->getPricePoint(),
|
534 |
"paymenttype" => $cart->getTwokchargeTypeName(),
|
535 |
+
// "signum" => $cart->getSepaSignum(),
|
536 |
"iban" => $cart->getSepaIban(),
|
537 |
"bic" => $cart->getSepaBic(),
|
538 |
);
|
app/code/community/TwoKChargeInc/TwoKCharge/etc/config.xml
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
<config>
|
23 |
<modules>
|
24 |
<TwoKChargeInc_TwoKCharge>
|
25 |
-
<version>1.0.
|
26 |
</TwoKChargeInc_TwoKCharge>
|
27 |
</modules>
|
28 |
|
22 |
<config>
|
23 |
<modules>
|
24 |
<TwoKChargeInc_TwoKCharge>
|
25 |
+
<version>1.0.3</version>
|
26 |
</TwoKChargeInc_TwoKCharge>
|
27 |
</modules>
|
28 |
|
app/code/community/TwoKChargeInc/TwoKCharge/etc/system.xml
CHANGED
@@ -119,14 +119,14 @@
|
|
119 |
<show_in_website>1</show_in_website>
|
120 |
<show_in_store>0</show_in_store>
|
121 |
</pp_ach>
|
122 |
-
|
123 |
<label>Price Point for "BARPAY"</label>
|
124 |
<frontend_type>text</frontend_type>
|
125 |
<sort_order>32</sort_order>
|
126 |
<show_in_default>1</show_in_default>
|
127 |
<show_in_website>1</show_in_website>
|
128 |
<show_in_store>0</show_in_store>
|
129 |
-
</pp_barpay>
|
130 |
<pp_directpay translate="label">
|
131 |
<label>Price Point for "Directpay"</label>
|
132 |
<frontend_type>text</frontend_type>
|
119 |
<show_in_website>1</show_in_website>
|
120 |
<show_in_store>0</show_in_store>
|
121 |
</pp_ach>
|
122 |
+
<!-- <pp_barpay translate="label">
|
123 |
<label>Price Point for "BARPAY"</label>
|
124 |
<frontend_type>text</frontend_type>
|
125 |
<sort_order>32</sort_order>
|
126 |
<show_in_default>1</show_in_default>
|
127 |
<show_in_website>1</show_in_website>
|
128 |
<show_in_store>0</show_in_store>
|
129 |
+
</pp_barpay> -->
|
130 |
<pp_directpay translate="label">
|
131 |
<label>Price Point for "Directpay"</label>
|
132 |
<frontend_type>text</frontend_type>
|
app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-install-0.1.0.php
CHANGED
@@ -25,8 +25,6 @@
|
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
28 |
-
echo 'Running Insall script (mysql4-install-0.1.0.php) for module TwoKChargeInc_TwoKCharge <br />';
|
29 |
-
|
30 |
$installer = $this;
|
31 |
|
32 |
$installer->startSetup();
|
@@ -41,7 +39,7 @@ $select = $conn
|
|
41 |
$data1 = $conn->fetchAll($select);
|
42 |
|
43 |
if ($data1) {
|
44 |
-
|
45 |
} else {
|
46 |
//echo 'Insert in db - sales/order_status';
|
47 |
|
@@ -61,7 +59,7 @@ $select = $conn
|
|
61 |
$data2 = $conn->fetchAll($select);
|
62 |
|
63 |
if ($data2) {
|
64 |
-
|
65 |
} else {
|
66 |
//echo 'Insert in db - sales/order_status_state';
|
67 |
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
|
|
|
|
28 |
$installer = $this;
|
29 |
|
30 |
$installer->startSetup();
|
39 |
$data1 = $conn->fetchAll($select);
|
40 |
|
41 |
if ($data1) {
|
42 |
+
// echo 'In database jet - sales/order_status';
|
43 |
} else {
|
44 |
//echo 'Insert in db - sales/order_status';
|
45 |
|
59 |
$data2 = $conn->fetchAll($select);
|
60 |
|
61 |
if ($data2) {
|
62 |
+
// echo 'In database jet - sales/order_status_state';
|
63 |
} else {
|
64 |
//echo 'Insert in db - sales/order_status_state';
|
65 |
|
app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.1.0-0.1.4.php
CHANGED
@@ -26,8 +26,6 @@
|
|
26 |
*/
|
27 |
|
28 |
|
29 |
-
echo 'Running Upgrade script (mysql4-upgrade-0.1.0-0.1.4.php) for TwoKChargeInc_TwoKCharge<br />';
|
30 |
-
|
31 |
$installer = $this;
|
32 |
|
33 |
$installer->startSetup();
|
26 |
*/
|
27 |
|
28 |
|
|
|
|
|
29 |
$installer = $this;
|
30 |
|
31 |
$installer->startSetup();
|
app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.1.4-0.2.0.php
CHANGED
@@ -25,8 +25,6 @@
|
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
28 |
-
echo 'Running Upgrade script (mysql4-upgrade-0.1.4-0.2.0.php) for TwoKChargeInc_TwoKCharge<br />';
|
29 |
-
|
30 |
$installer = $this;
|
31 |
|
32 |
$installer->startSetup();
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
|
|
|
|
28 |
$installer = $this;
|
29 |
|
30 |
$installer->startSetup();
|
app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.2.0-0.2.2.php
CHANGED
@@ -25,7 +25,6 @@
|
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
28 |
-
echo 'Running Upgrade script (mysql4-upgrade-0.2.0-0.2.2.php) for TwoKChargeInc_TwoKCharge<br />';
|
29 |
|
30 |
$installer = $this;
|
31 |
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
|
|
28 |
|
29 |
$installer = $this;
|
30 |
|
app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.2.2-0.2.3.php
CHANGED
@@ -25,7 +25,6 @@
|
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
28 |
-
echo 'Running Upgrade script (mysql4-upgrade-0.2.2-0.2.3.php) for TwoKChargeInc_TwoKCharge<br />';
|
29 |
|
30 |
$installer = $this;
|
31 |
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
|
|
28 |
|
29 |
$installer = $this;
|
30 |
|
app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-0.2.3-1.0.0.php
CHANGED
@@ -25,7 +25,6 @@
|
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
28 |
-
echo 'Running Upgrade script (mysql4-upgrade-0.2.3-1.0.0.php) for TwoKChargeInc_TwoKCharge<br />';
|
29 |
|
30 |
/*
|
31 |
$installer = $this;
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
|
|
28 |
|
29 |
/*
|
30 |
$installer = $this;
|
app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-1.0.0-1.0.1.php
CHANGED
@@ -25,7 +25,6 @@
|
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
28 |
-
echo 'Running Upgrade script (mysql4-upgrade-1.0.0-1.0.1.php) for TwoKChargeInc_TwoKCharge<br />';
|
29 |
|
30 |
$installer = $this;
|
31 |
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
|
|
28 |
|
29 |
$installer = $this;
|
30 |
|
app/code/community/TwoKChargeInc/TwoKCharge/sql/twokcharge_setup/mysql4-upgrade-1.0.1-1.0.3.php
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category Payment Method
|
23 |
+
* @package AlternativePaymentsInc_AlternativePayments
|
24 |
+
* @copyright Copyright (c) 2012 Alternative Payments Inc (http://www.alternativepayments.com)
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
|
29 |
+
$installer = $this;
|
30 |
+
|
31 |
+
$installer->startSetup();
|
32 |
+
|
33 |
+
$table = $this->getTable('twokcharge_resource');
|
34 |
+
|
35 |
+
$installer->run("
|
36 |
+
|
37 |
+
DROP TABLE IF EXISTS {$table};
|
38 |
+
CREATE TABLE `{$table}`
|
39 |
+
(
|
40 |
+
type_name VARCHAR(255) NOT NULL UNIQUE,
|
41 |
+
type_label VARCHAR(255) NOT NULL,
|
42 |
+
allow_country TEXT NOT NULL,
|
43 |
+
validation VARCHAR(255) NOT NULL
|
44 |
+
) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
45 |
+
|
46 |
+
INSERT INTO `{$table}`
|
47 |
+
(`type_name`, `type_label`, `allow_country`, `validation` )
|
48 |
+
VALUES
|
49 |
+
( 'ACH', 'ACH - Online Check', 'US|CA', 'achValidation' ),
|
50 |
+
( 'EPS', 'EPS', 'AT', 'emptyValidation' ),
|
51 |
+
( 'IDEAL', 'iDEAL', 'NL', 'idealValidation' ),
|
52 |
+
( 'GIROPAY', 'GiroPay', 'DE', 'giropayValidation' ),
|
53 |
+
( 'YELLOWPAY', 'YellowPay', 'CH', 'emptyValidation' ),
|
54 |
+
( 'EuroDebit', 'EuroDebit', 'DE|AT|NL', 'eurodebitValidation' ),
|
55 |
+
( 'DIRECTPAYMAX', 'Pay by Bank', 'DE|US', 'directpaymaxValidation' ),
|
56 |
+
( 'DIRECTPAY', 'Directpay', 'AD|AT|BE|CH|CY|CZ|DE|DK|EE|ES|FI|FR|GB|GI|GR|HR|HU|IE|IS|IT|LT|LU|LV|MK|MT|NL|NO|PL|PT|RO|SE|SI|SK|TN|TR|US', 'emptyValidation' ),
|
57 |
+
( 'PAYSAFE', 'Paysafecard', 'AR|AT|BE|CH|CS|CY|CZ|DE|DK|ES|FI|FR|GB|GR|IE|IT|LU|LV|MX|NL|NO|PL|PT|RO|SE|SI|US', 'emptyValidation' ),
|
58 |
+
( 'POLI', 'POLi', 'AU|NZ', 'emptyValidation' ),
|
59 |
+
( 'PRZELEWY', 'Przelewy24', 'PL', 'emptyValidation' ),
|
60 |
+
( 'TELEINGRESO', 'Teleingreso', 'ES', 'emptyValidation' ),
|
61 |
+
( 'SEPA', 'EuroDebit SEPA', 'AT|BE|BG|CH|CY|CZ|DE|DK|ES|FI|FR|GB|GR|HU|IE|IS|IT|LI|LT|LU|LV|MC|MT|NO|PL|PT|RO|SE|SI|SK', 'sepaValidation' ),
|
62 |
+
( 'TELEPAY', 'TelePay', 'MX', 'emptyValidation' ),
|
63 |
+
( 'QIWI', 'QIWI', 'RU', 'emptyValidation' );
|
64 |
+
|
65 |
+
|
66 |
+
");
|
67 |
+
// ( 'BARPAY', 'BARPAY', 'DE', 'emptyValidation' ),
|
68 |
+
// ( 'CreditCard', 'Credit Card', 'AD|AE|AF|AG|AI|AL|AM|AN|AO|AQ|AR|AS|AT|AU|AW|AZ|BA|BB|BD|BE|BF|BG|BH|BI|BJ|BM|BN|BO|BR|BS|BT|BW|BY|BZ|CA|CD|CH|CI|CK|CL|CM|CN|CO|CR|RS|CU|CV|CY|CZ|DE|DJ|DK|DM|DO|DZ|EC|EE|EG|ES|ET|FI|FJ|FK|FM|FO|FR|GA|GB|GD|GE|GF|GH|GI|GL|GM|GN|GP|GQ|GR|GT|GU|GW|GY|HK|HN|HR|HT|HU|ID|IE|IL|IN|IQ|IR|IS|IT|JM|JO|JP|KE|KG|KH|KI|KM|KN|KR|KW|KY|KZ|LA|LB|LC|LI|LK|LR|LS|LT|LU|LV|LY|MA|MC|MG|ML|MM|MN|MO|MR|MS|MT|MU|MV|MW|MX|MY|MZ|NA|NC|NE|NG|NI|NL|NO|NP|NR|NZ|OM|PA|PE|PF|PG|PH|PK|PL|PM|PR|PT|PY|QA|RO|RU|RW|SA|SB|SC|SE|SG|SH|SI|SK|SL|SM|SN|SO|SR|ST|SV|SY|SZ|TC|TD|TG|TH|TJ|TM|TN|TO|TR|TT|TW|TZ|UA|UG|US|UY|UZ|VA|VC|VE|VG|VN|VU|WF|WS|YE|YT|YU|ZA|ZM|ZR|ZW', 'creditcardValidation' ),
|
69 |
+
// ( 'BrazilPay', 'BrazilPay', 'BR', 'brazilpayValidation' ),
|
70 |
+
// ( 'CHINADEBIT', 'China Debit', 'CN', 'emptyValidation' ),
|
71 |
+
// ( 'FASTERPAY', 'FasterPay', 'GB' ),
|
72 |
+
|
73 |
+
$installer->endSetup();
|
74 |
+
|
75 |
+
|
76 |
+
|
app/design/frontend/base/default/template/twokcharge/form/sepa.phtml
CHANGED
@@ -783,31 +783,32 @@ Validation.add('<?php echo $type; ?>-validate-sepa-signature', '<?php echo __('S
|
|
783 |
<input type="text" style="float:left" class="required-entry validate-alphanum <?php echo $type; ?>-validate-sepa-bic" maxlength="11" size="15" name="payment[<?php echo $type; ?>_sepa_bic]" />
|
784 |
</span>
|
785 |
</li>
|
786 |
-
|
787 |
<li>
|
788 |
-
<label for="<?php echo $type; ?>-sepa-signature" class="required">
|
789 |
-
<em>*</em><?php echo $this->__('Signature') ?></label>
|
790 |
<span class="input-box" style="width:360px;">
|
791 |
-
<a class="<?php echo $type; ?>-sepa-make-tool <?php echo $type; ?>-sepa-signature-make-tool" title="<?php echo $this->__('How the signature box works') ?>" href="#">
|
792 |
-
<img src="<?php echo $this->getSkinUrl('twokcharge/images/qm.gif') ?>" alt="<?php echo $this->__('How the signature box works') ?>" title="<?php echo $this->__('How the signature box works') ?>" />
|
793 |
</a>
|
794 |
<iframe id="signaturebox" frameborder=0 style="margin:0px;width:325px;height:145px;float:left"
|
795 |
-
src="https://secure.2000charge.com/secure/signature/capturesignature.asp?clientaccount=<?php echo $clientaccount ?>&key=<?php echo $keyaccount ?>">
|
796 |
</iframe>
|
797 |
</span>
|
798 |
</li>
|
799 |
<li>
|
800 |
-
<label for="<?php echo $type; ?>-sepa-signature-number" class="required">
|
801 |
-
<em>*</em><?php echo $this->__('Signature number') ?></label>
|
802 |
<span class="input-box">
|
803 |
-
|
804 |
-
<a class="<?php echo $type; ?>-sepa-make-tool <?php echo $type; ?>-sepa-signature-number-make-tool" title="<?php echo $this->__('How you make Signature Number') ?>" href="#">
|
805 |
-
<img src="<?php echo $this->getSkinUrl('twokcharge/images/qm.gif') ?>" alt="<?php echo $this->__('How you make Signature Number') ?>" title="<?php echo $this->__('How you make Signature Number') ?>" />
|
806 |
</a>
|
807 |
-
<input type="text" style="float:left" class="required-entry validate-digits <?php echo $type; ?>-validate-sepa-signature" maxLength="8" size="8" name="payment[<?php echo $type; ?>_sepa_signum]">
|
808 |
|
809 |
</span>
|
810 |
</li>
|
|
|
811 |
</ul>
|
812 |
|
813 |
|
783 |
<input type="text" style="float:left" class="required-entry validate-alphanum <?php echo $type; ?>-validate-sepa-bic" maxlength="11" size="15" name="payment[<?php echo $type; ?>_sepa_bic]" />
|
784 |
</span>
|
785 |
</li>
|
786 |
+
<!--
|
787 |
<li>
|
788 |
+
<label for="<?php //echo $type; ?>-sepa-signature" class="required">
|
789 |
+
<em>*</em><?php //echo $this->__('Signature') ?></label>
|
790 |
<span class="input-box" style="width:360px;">
|
791 |
+
<a class="<?php //echo $type; ?>-sepa-make-tool <?php //echo $type; ?>-sepa-signature-make-tool" title="<?php //echo $this->__('How the signature box works') ?>" href="#">
|
792 |
+
<img src="<?php //echo $this->getSkinUrl('twokcharge/images/qm.gif') ?>" alt="<?php //echo $this->__('How the signature box works') ?>" title="<?php //echo $this->__('How the signature box works') ?>" />
|
793 |
</a>
|
794 |
<iframe id="signaturebox" frameborder=0 style="margin:0px;width:325px;height:145px;float:left"
|
795 |
+
src="https://secure.2000charge.com/secure/signature/capturesignature.asp?clientaccount=<?php //echo $clientaccount ?>&key=<?php //echo $keyaccount ?>">
|
796 |
</iframe>
|
797 |
</span>
|
798 |
</li>
|
799 |
<li>
|
800 |
+
<label for="<?php //echo $type; ?>-sepa-signature-number" class="required">
|
801 |
+
<em>*</em><?php //echo $this->__('Signature number') ?></label>
|
802 |
<span class="input-box">
|
803 |
+
--><!-- <input type="text" class="required-entry" maxlength="11" size="11" name="payment[sepa_bic]" /> --><!--
|
804 |
+
<a class="<?php //echo $type; ?>-sepa-make-tool <?php //echo $type; ?>-sepa-signature-number-make-tool" title="<?php //echo $this->__('How you make Signature Number') ?>" href="#">
|
805 |
+
<img src="<?php //echo $this->getSkinUrl('twokcharge/images/qm.gif') ?>" alt="<?php //echo $this->__('How you make Signature Number') ?>" title="<?php //echo $this->__('How you make Signature Number') ?>" />
|
806 |
</a>
|
807 |
+
<input type="text" style="float:left" class="required-entry validate-digits <?php //echo $type; ?>-validate-sepa-signature" maxLength="8" size="8" name="payment[<?php //echo $type; ?>_sepa_signum]">
|
808 |
|
809 |
</span>
|
810 |
</li>
|
811 |
+
-->
|
812 |
</ul>
|
813 |
|
814 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>TwoKChargeInc_TwoKCharge</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/OSL-3.0">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,7 +10,6 @@
|
|
10 |
<description>2000Charge offers merchants a variety of payment methods that will limit the exposure and risks involved in providing services online to consumers worldwide.
|
11 |
Adding 2000Charge extension will increase your sales because you can offer consumers more options to pay:
|
12 |
ACH - Online Check
|
13 |
-
BARPAY
|
14 |
EPS
|
15 |
iDEAL
|
16 |
GiroPay
|
@@ -27,9 +26,9 @@ QIWI
|
|
27 |
TelePay</description>
|
28 |
<notes>This module adds the wide range of different 2000Charge methods.</notes>
|
29 |
<authors><author><name>2000Charge Inc</name><user>twokcharge</user><email>magento@2000charge.com</email></author></authors>
|
30 |
-
<date>
|
31 |
-
<time>
|
32 |
-
<contents><target name="magecommunity"><dir name="TwoKChargeInc"><dir name="TwoKCharge"><dir name="Block"><file name="Form.php" hash="9fab9e6058c7c6f99c57df8ae4c622a7"/><file name="PaymentInfo.php" hash="4458e81a08f2a9e2dfae96dff41d7830"/><file name="Postback.php" hash="c4165df000bfccdba30a333f96543a6b"/><file name="Redirect.php" hash="baab3cee4a93f3280d7871abdca12df8"/></dir><dir name="Helper"><file name="Data.php" hash="09db6528a35017bec022f4871ae8b45d"/></dir><dir name="Model"><file name="Dbiban.php" hash="e2941c0a7a64082927ee50415cf121a6"/><file name="Dbsource.php" hash="9afb0805eea1b1b02950c0fc49733b8a"/><dir name="Mysql4"><dir name="Dbiban"><file name="Collection.php" hash="5584af68e309d6c5161b8374cbc66bd2"/></dir><file name="Dbiban.php" hash="425336a3109f471b20b927b45947c8c3"/><dir name="Dbsource"><file name="Collection.php" hash="d8f830429707821ce03d235030c0dc19"/></dir><file name="Dbsource.php" hash="4abc74c06176e0dcb657286b5a50f10a"/></dir><dir name="Resource"><file name="Setup.php" hash="9911bf718e8ce796aba85bb739d17657"/></dir><file name="Session.php" hash="5508051f291806efa1e03ac49d34cca6"/><file name="Standard.php" hash="
|
33 |
<compatible/>
|
34 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mygento_JQueryLib</name><channel>community</channel><min>1.8.1.0</min><max></max></package></required></dependencies>
|
35 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>TwoKChargeInc_TwoKCharge</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/OSL-3.0">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>2000Charge offers merchants a variety of payment methods that will limit the exposure and risks involved in providing services online to consumers worldwide.
|
11 |
Adding 2000Charge extension will increase your sales because you can offer consumers more options to pay:
|
12 |
ACH - Online Check
|
|
|
13 |
EPS
|
14 |
iDEAL
|
15 |
GiroPay
|
26 |
TelePay</description>
|
27 |
<notes>This module adds the wide range of different 2000Charge methods.</notes>
|
28 |
<authors><author><name>2000Charge Inc</name><user>twokcharge</user><email>magento@2000charge.com</email></author></authors>
|
29 |
+
<date>2014-01-29</date>
|
30 |
+
<time>15:02:07</time>
|
31 |
+
<contents><target name="magecommunity"><dir name="TwoKChargeInc"><dir name="TwoKCharge"><dir name="Block"><file name="Form.php" hash="9fab9e6058c7c6f99c57df8ae4c622a7"/><file name="PaymentInfo.php" hash="4458e81a08f2a9e2dfae96dff41d7830"/><file name="Postback.php" hash="c4165df000bfccdba30a333f96543a6b"/><file name="Redirect.php" hash="baab3cee4a93f3280d7871abdca12df8"/></dir><dir name="Helper"><file name="Data.php" hash="09db6528a35017bec022f4871ae8b45d"/></dir><dir name="Model"><file name="Dbiban.php" hash="e2941c0a7a64082927ee50415cf121a6"/><file name="Dbsource.php" hash="9afb0805eea1b1b02950c0fc49733b8a"/><dir name="Mysql4"><dir name="Dbiban"><file name="Collection.php" hash="5584af68e309d6c5161b8374cbc66bd2"/></dir><file name="Dbiban.php" hash="425336a3109f471b20b927b45947c8c3"/><dir name="Dbsource"><file name="Collection.php" hash="d8f830429707821ce03d235030c0dc19"/></dir><file name="Dbsource.php" hash="4abc74c06176e0dcb657286b5a50f10a"/></dir><dir name="Resource"><file name="Setup.php" hash="9911bf718e8ce796aba85bb739d17657"/></dir><file name="Session.php" hash="5508051f291806efa1e03ac49d34cca6"/><file name="Standard.php" hash="d6efdb580f18076f2b087a99aae71de8"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Allowtypeall.php" hash="9421a1e0d5c635a95b96650b88c2fa05"/><dir name="Payment"><file name="Twokchargetype.php" hash="045a3b5152d8b0f72afa753501b5fba8"/></dir><file name="Testmode.php" hash="287f1b5d149212a7c38977fedace7db0"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="09efa5269cde213f8ec6a54fd6476823"/><file name="PaymentController.php" hash="912ae7614275deb636839d5144bdbdaa"/></dir><dir name="etc"><file name="config.xml" hash="0993c5f243669d5173dee9fa570b1c2d"/><file name="system.xml" hash="6a6bb9abca1af12eb9c74c0d09fb29c6"/></dir><dir name="sql"><dir name="twokcharge_setup"><file name="mysql4-install-0.1.0.php" hash="33f0b73c0f9ab41435791b6752a03161"/><file name="mysql4-upgrade-0.1.0-0.1.4.php" hash="8c09da0aba995bf00303d447b47bbb33"/><file name="mysql4-upgrade-0.1.4-0.2.0.php" hash="d06be665085816ba61620243e5eddcab"/><file name="mysql4-upgrade-0.2.0-0.2.2.php" hash="9006ef35f1bb312e8430b20edeb11db1"/><file name="mysql4-upgrade-0.2.2-0.2.3.php" hash="424137327a8f72fe17a325841345ba66"/><file name="mysql4-upgrade-0.2.3-1.0.0.php" hash="3ba4c61d1cbff48751d033cbf82e765f"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="731bfd4ba098e91ad03b177147d6a0da"/><file name="mysql4-upgrade-1.0.1-1.0.3.php" hash="7af90c22391570acd3617f389e02dd75"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="TwoKChargeInc_TwoKCharge.xml" hash="53f181cd30b94ffb2a8dfb693fab6d0f"/></dir></target><target name="magelocale"><dir name="en_US"><file name="TwoKChargeInc_TwoKCharge.csv" hash="8ddcaf54ac93ec7b5af8b5f9c4df350a"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="twokcharge"><file name="failure.phtml" hash="cd2f794d3259ae701e52b5f3055af4a8"/><dir name="form"><file name="ach.phtml" hash="39d6d344d155ec6a914d32148516cce4"/><file name="barpay.phtml" hash="d9b8bb18d6f28c22b60bf02cce93f3a8"/><file name="brazilpay.phtml" hash="134ba0b19fc3150c199491f962e44ced"/><file name="chinadebit.phtml" hash="aa786274e898e3d64adc8cfe2e78cff8"/><file name="creditcard.phtml" hash="c8610200b519ca61179e989df01e16f8"/><file name="directpay.phtml" hash="328b77c286ee6e27af32caad58f67002"/><file name="directpaymax.phtml" hash="6107631e0eed80e060f0298a7df2a37b"/><file name="eps.phtml" hash="d9b8bb18d6f28c22b60bf02cce93f3a8"/><file name="eurodebit.phtml" hash="164592ef92ffc299a5322be1a6bfbd04"/><file name="giropay.phtml" hash="f243ac95d565c8b33ad9db9ec1942b4d"/><file name="ideal.phtml" hash="3ec9b88080d1930d3e36dd1de919fe25"/><file name="paysafe.phtml" hash="d9b8bb18d6f28c22b60bf02cce93f3a8"/><file name="poli.phtml" hash="d9b8bb18d6f28c22b60bf02cce93f3a8"/><file name="przelewy.phtml" hash="d9b8bb18d6f28c22b60bf02cce93f3a8"/><file name="qiwi.phtml" hash="d9b8bb18d6f28c22b60bf02cce93f3a8"/><file name="sepa.phtml" hash="87b78c5ccdb2362dd0aec4711db8a879"/><file name="teleingreso.phtml" hash="144506852d8dacc40820f30052d46730"/><file name="telepay.phtml" hash="d9b8bb18d6f28c22b60bf02cce93f3a8"/><file name="yellowpay.phtml" hash="7d90a517b723ff2d3ce1d0b4b216903f"/></dir><file name="form.phtml" hash="6324ec4bbaba9941f8221a464a25a4db"/><file name="isapprove.phtml" hash="a6a49ecc833842f6e73823295c7e52fb"/><file name="postback.phtml" hash="817721301eb611669071b479c2bee13b"/><file name="redirect.phtml" hash="3c176a19395f8be45e00d647142f831a"/><file name="response.phtml" hash="8626c606900c46c0a0d97da6cfe6f3de"/><file name="success.phtml" hash="91c00024f5f9a67d5614e3654c7eaddb"/></dir></dir><dir name="layout"><file name="twokcharge.xml" hash="20ee7f76e52ecdfece78ffca329d5cab"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="twokcharge"><dir name="css"><file name="styles.css" hash="35c19911069f5c1ff27f0d62466fc034"/></dir><dir name="images"><file name="cvv22.gif" hash="83cdd38bf110b0f9c52fe84b56f45298"/><file name="information.png" hash="db8ec00f3807b9c6a4f83f860507473c"/><file name="phoneverf1.jpg" hash="e767327aeb2ac74f63dab481102963ab"/><file name="phoneverf2.jpg" hash="8a2b8e54fcc8ed9e9d374798b9a151df"/><file name="phoneverf3.jpg" hash="6e01da6a98e7416993974867e155350a"/><file name="phoneverf4.jpg" hash="c2d41b2e90ff26d1cd5b25c104bd14e5"/><file name="qm.gif" hash="90db9e3e88dbd76eaf7c1f902262ddc6"/></dir></dir></dir></dir></dir></target></contents>
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mygento_JQueryLib</name><channel>community</channel><min>1.8.1.0</min><max></max></package></required></dependencies>
|
34 |
</package>
|