Smart2Pay - Version 1.1.5

Version Notes

- Payment details are saved in database and displayed in order details for both front-end and back-end

Download this release

Release Info

Developer Stefan Iancu
Extension Smart2Pay
Version 1.1.5
Comparing to
See all releases


Code changes from version 1.1.4 to 1.1.5

Files changed (72) hide show
  1. app/code/community/Smart2Pay/Globalpay/Block/Info.php +31 -25
  2. app/code/community/Smart2Pay/Globalpay/Block/Info/Globalpay.php +117 -0
  3. app/code/community/Smart2Pay/Globalpay/Block/Paymentinstructions.php +59 -52
  4. app/code/community/Smart2Pay/Globalpay/Block/Paymethod/Form.php +44 -42
  5. app/code/community/Smart2Pay/Globalpay/Block/Paymethod/Sendform.php +124 -105
  6. app/code/community/Smart2Pay/Globalpay/Helper/Data.php +13 -0
  7. app/code/community/Smart2Pay/Globalpay/Helper/Helper.php +212 -10
  8. app/code/community/Smart2Pay/Globalpay/Model/Country.php +11 -11
  9. app/code/community/Smart2Pay/Globalpay/Model/Countrymethod.php +11 -11
  10. app/code/community/Smart2Pay/Globalpay/Model/GlobalpayLog.php +6 -6
  11. app/code/community/Smart2Pay/Globalpay/Model/Logger.php +50 -38
  12. app/code/community/Smart2Pay/Globalpay/Model/Method.php +11 -12
  13. app/code/community/Smart2Pay/Globalpay/Model/Pay.php +92 -72
  14. app/code/community/Smart2Pay/Globalpay/Model/Resource/Country.php +9 -9
  15. app/code/community/Smart2Pay/Globalpay/Model/Resource/Country/Collection.php +8 -8
  16. app/code/community/Smart2Pay/Globalpay/Model/Resource/Countrymethod.php +9 -9
  17. app/code/community/Smart2Pay/Globalpay/Model/Resource/Countrymethod/Collection.php +9 -9
  18. app/code/community/Smart2Pay/Globalpay/Model/Resource/Logger.php +12 -9
  19. app/code/community/Smart2Pay/Globalpay/Model/Resource/Logger/Collection.php +9 -9
  20. app/code/community/Smart2Pay/Globalpay/Model/Resource/Method.php +11 -9
  21. app/code/community/Smart2Pay/Globalpay/Model/Resource/Method/Collection.php +7 -7
  22. app/code/community/Smart2Pay/Globalpay/Model/Resource/Setup.php +4 -5
  23. app/code/community/Smart2Pay/Globalpay/Model/Resource/Transactionlogger.php +11 -0
  24. app/code/community/Smart2Pay/Globalpay/Model/Resource/Transactionlogger/Collection.php +9 -0
  25. app/code/community/Smart2Pay/Globalpay/Model/Source/Displaymodes.php +33 -33
  26. app/code/community/Smart2Pay/Globalpay/Model/Source/Methods.php +46 -46
  27. app/code/community/Smart2Pay/Globalpay/Model/Source/Testlive.php +30 -30
  28. app/code/community/Smart2Pay/Globalpay/Model/Transactionlogger.php +186 -0
  29. app/code/community/Smart2Pay/Globalpay/controllers/IndexController.php +547 -343
  30. app/code/community/Smart2Pay/Globalpay/controllers/TestsController.php +12 -12
  31. app/code/community/Smart2Pay/Globalpay/etc/config.xml +134 -124
  32. app/code/community/Smart2Pay/Globalpay/etc/system.xml +363 -345
  33. app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-install-0.1.0.php +544 -544
  34. app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.0.3-1.1.1.php +585 -585
  35. app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.1.1-1.1.2.php +574 -574
  36. app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.1.2-1.1.3.php +848 -848
  37. app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.1.3-1.1.4.php +853 -853
  38. app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.1.4-1.1.5.php +869 -0
  39. app/design/adminhtml/default/default/template/smart2pay/globalpay/info.phtml +3 -0
  40. app/design/adminhtml/default/default/template/smart2pay/globalpay/methodinfo.phtml +16 -0
  41. app/design/adminhtml/default/default/template/smart2pay/globalpay/methodinfopdf.phtml +17 -0
  42. app/design/adminhtml/default/default/template/smart2pay/globalpay/paymentinstructions.phtml +115 -0
  43. app/design/adminhtml/default/default/template/smart2pay/globalpay/paymethod/form.phtml +212 -0
  44. app/design/adminhtml/default/default/template/smart2pay/globalpay/paymethod/sendform.phtml +230 -0
  45. app/design/frontend/base/default/template/smart2pay/globalpay/info.phtml +2 -2
  46. app/design/frontend/base/default/template/smart2pay/globalpay/methodinfo.phtml +16 -0
  47. app/design/frontend/base/default/template/smart2pay/globalpay/methodinfopdf.phtml +17 -0
  48. app/design/frontend/base/default/template/smart2pay/globalpay/paymentinstructions.phtml +115 -120
  49. app/design/frontend/base/default/template/smart2pay/globalpay/paymethod/form.phtml +212 -228
  50. app/design/frontend/base/default/template/smart2pay/globalpay/paymethod/sendform.phtml +230 -265
  51. app/locale/da_DK/Smart2Pay_Globalpay.csv +8 -8
  52. app/locale/de_AT/Smart2Pay_Globalpay.csv +14 -14
  53. app/locale/de_DE/Smart2Pay_Globalpay.csv +14 -14
  54. app/locale/en_GB/Smart2Pay_Globalpay.csv +193 -187
  55. app/locale/en_GB/template/email/smart2pay/globalpay/payment_confirmation.html +23 -23
  56. app/locale/en_GB/template/email/smart2pay/globalpay/payment_instructions.html +67 -114
  57. app/locale/en_GB/template/email/smart2pay/globalpay/payment_instructions_sibs.html +55 -0
  58. app/locale/en_US/Smart2Pay_Globalpay.csv +193 -187
  59. app/locale/en_US/template/email/smart2pay/globalpay/payment_confirmation.html +23 -23
  60. app/locale/en_US/template/email/smart2pay/globalpay/payment_instructions.html +67 -114
  61. app/locale/en_US/template/email/smart2pay/globalpay/payment_instructions_sibs.html +55 -0
  62. app/locale/es_AR/Smart2Pay_Globalpay.csv +55 -55
  63. app/locale/es_CL/Smart2Pay_Globalpay.csv +55 -55
  64. app/locale/es_CO/Smart2Pay_Globalpay.csv +55 -55
  65. app/locale/es_ES/Smart2Pay_Globalpay.csv +55 -55
  66. app/locale/es_MX/Smart2Pay_Globalpay.csv +55 -55
  67. app/locale/fi_FI/Smart2Pay_Globalpay.csv +15 -15
  68. app/locale/fr_FR/Smart2Pay_Globalpay.csv +11 -11
  69. app/locale/it_IT/Smart2Pay_Globalpay.csv +18 -18
  70. app/locale/pt_BR/Smart2Pay_Globalpay.csv +38 -38
  71. app/locale/pt_PT/Smart2Pay_Globalpay.csv +38 -38
  72. package.xml +103 -11
app/code/community/Smart2Pay/Globalpay/Block/Info.php CHANGED
@@ -1,26 +1,32 @@
1
- <?php
2
-
3
- class Smart2Pay_Globalpay_Block_Info extends Mage_Core_Block_Template
4
- {
5
- public $message;
6
-
7
- public function __construct()
8
- {
9
- $this->message = $this->getMessage();
10
- parent::__construct();
11
- }
12
-
13
- private function getMessage()
14
- {
15
- /**@var $paymethod Smart2Pay_Globalpay_Model_Paymethod*/
16
- $paymethod = Mage::getModel('globalpay/pay');
17
- $query = $this->getRequest()->getQuery();
18
- $data = $query['data'];
19
-
20
- if (in_array($data, array(2, 3, 4, 7))) {
21
- return $paymethod->method_config['message_data_' . $data];
22
- } else {
23
- return $paymethod->method_config['message_data_7'];
24
- }
25
- }
 
 
 
 
 
 
26
  }
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Block_Info extends Mage_Core_Block_Template
4
+ {
5
+ const S2P_STATUS_SUCCESS = 2, S2P_STATUS_CANCELLED = 3, S2P_STATUS_FAILED = 4, S2P_STATUS_EXPIRED = 5, S2P_STATUS_PROCESSING = 7;
6
+
7
+ public $message;
8
+
9
+ public function __construct()
10
+ {
11
+ $this->message = $this->getMessage();
12
+ parent::__construct();
13
+ }
14
+
15
+ private function getMessage()
16
+ {
17
+ /**@var $paymethod Smart2Pay_Globalpay_Model_Pay */
18
+ $paymethod = Mage::getModel('globalpay/pay');
19
+ $query = $this->getRequest()->getQuery();
20
+
21
+ if( empty( $query ) or !is_array( $query ) )
22
+ $query = array();
23
+
24
+ if( empty( $query['data'] ) )
25
+ $query['data'] = 0;
26
+
27
+ if( in_array( $query['data'], array( self::S2P_STATUS_SUCCESS, self::S2P_STATUS_CANCELLED, self::S2P_STATUS_FAILED, self::S2P_STATUS_PROCESSING ) ) )
28
+ return $paymethod->method_config['message_data_' . $query['data']];
29
+
30
+ return $paymethod->method_config['message_data_7'];
31
+ }
32
  }
app/code/community/Smart2Pay/Globalpay/Block/Info/Globalpay.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Block_Info_Globalpay extends Mage_Payment_Block_Info
4
+ {
5
+ public function __construct()
6
+ {
7
+ parent::__construct();
8
+
9
+ $this->setTemplate( 'smart2pay/globalpay/methodinfo.phtml' );
10
+ }
11
+
12
+ /**
13
+ * Render as PDF
14
+ * @return string
15
+ */
16
+ public function toPdf()
17
+ {
18
+ $this->setTemplate( 'smart2pay/globalpay/methodinfopdf.phtml' );
19
+ return $this->toHtml();
20
+ }
21
+
22
+ /**
23
+ * Prepare information specific to current payment method
24
+ *
25
+ * @param Varien_Object|array $transport
26
+ * @return Varien_Object
27
+ */
28
+ protected function _prepareSpecificInformation( $transport = null )
29
+ {
30
+ if( null !== $this->_paymentSpecificInformation )
31
+ return $this->_paymentSpecificInformation;
32
+
33
+ if( $transport === null )
34
+ $transport = new Varien_Object;
35
+ elseif( is_array( $transport ) )
36
+ $transport = new Varien_Object( $transport );
37
+
38
+ $transport = parent::_prepareSpecificInformation( $transport );
39
+
40
+ /** @var Mage_Sales_Model_Order $order */
41
+ $order = Mage::getModel( 'sales/order' );
42
+ /** @var Smart2Pay_Globalpay_Helper_Helper $s2pHelper */
43
+ $s2pHelper = Mage::helper( 'globalpay/helper' );
44
+ /** @var Smart2Pay_Globalpay_Model_Resource_Method_Collection $s2pMethodCollection */
45
+ $s2pMethodCollection = Mage::getModel( 'globalpay/method' )->getCollection();
46
+ /** @var Smart2Pay_Globalpay_Model_Logger $s2pLogger */
47
+ $s2pLogger = Mage::getModel( 'globalpay/logger' );
48
+ /** @var Smart2Pay_Globalpay_Model_Transactionlogger $s2pTransactionLogger */
49
+ $s2pTransactionLogger = Mage::getModel( 'globalpay/transactionlogger' );
50
+
51
+ $no_information_available_arr = array( $this->__( 'No information available' ) => '' );
52
+
53
+ try
54
+ {
55
+ if( !($info = $this->getInfo())
56
+ or empty( $info['entity_id'] )
57
+ or !$order->load( $info['entity_id'] )
58
+ or !($merchant_transaction_id = $order->getIncrementId()) )
59
+ return $this->_paymentSpecificInformation;
60
+
61
+ if( !($s2p_transaction_arr = $s2pTransactionLogger->getTransactionDetailsAsArray( $merchant_transaction_id )) )
62
+ return $transport->addData( $no_information_available_arr );
63
+
64
+ $payment_info_arr = array();
65
+
66
+ if( empty( $s2p_transaction_arr['method_id'] ) )
67
+ $payment_info_arr['Payment Method'] = 'N/A';
68
+
69
+ else
70
+ {
71
+ $method_arr = false;
72
+ $s2pMethodCollection->addFieldToSelect( '*' )
73
+ ->addFieldToFilter( 'method_id', $s2p_transaction_arr['method_id'] );
74
+ if( ($methods_list_arr = $s2pMethodCollection->getData())
75
+ and is_array( $methods_list_arr ) )
76
+ $method_arr = array_pop( $methods_list_arr );
77
+
78
+ if( empty( $method_arr ) )
79
+ $payment_info_arr['Payment Method'] = 'N/A';
80
+ else
81
+ $payment_info_arr['Payment Method'] = $method_arr['display_name'];
82
+ }
83
+
84
+ if( $s2pHelper->isAdmin() )
85
+ {
86
+ $payment_info_arr['PaymentID'] = (!empty($s2p_transaction_arr['payment_id']) ? $s2p_transaction_arr['payment_id'] : 'N/A');
87
+ $payment_info_arr['SiteID'] = (!empty($s2p_transaction_arr['site_id']) ? $s2p_transaction_arr['site_id'] : 'N/A');
88
+
89
+ if( !empty( $s2p_transaction_arr['created'] ) )
90
+ $payment_info_arr['Created'] = $this->formatDate( $s2p_transaction_arr['created'], 'medium', true);
91
+ else
92
+ $payment_info_arr['Created'] = 'N/A';
93
+
94
+ if( !empty( $s2p_transaction_arr['updated'] ) )
95
+ $payment_info_arr['Last Update'] = $this->formatDate( $s2p_transaction_arr['updated'], 'medium', true);
96
+ else
97
+ $payment_info_arr['Last Update'] = 'N/A';
98
+ }
99
+
100
+ if( !empty( $s2p_transaction_arr['extra_data'] )
101
+ and ($extra_data_arr = $s2pHelper->parse_string( $s2p_transaction_arr['extra_data'] )) )
102
+ {
103
+ foreach( $extra_data_arr as $key => $val )
104
+ $payment_info_arr[$this->__( $key )] = $val;
105
+ }
106
+
107
+ $transport->addData( $payment_info_arr );
108
+ } catch( Exception $e )
109
+ {
110
+ $s2pLogger->write( 'Exception ('.$e->getMessage().')', 'trans_logger' );
111
+ $transport->addData( $no_information_available_arr );
112
+ }
113
+
114
+ return $transport;
115
+ }
116
+
117
+ }
app/code/community/Smart2Pay/Globalpay/Block/Paymentinstructions.php CHANGED
@@ -1,52 +1,59 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Block_Paymentinstructions extends /*Mage_Core_Block_Template*/ Mage_Checkout_Block_Onepage_Success{
3
-
4
- public $referenceNumber;
5
- public $amountToPay;
6
- public $accountHolder;
7
- public $merchantTransactionID;
8
- public $bankName;
9
- public $accountNumber;
10
- public $SWIFT_BIC;
11
- public $accountCurrency;
12
-
13
- public function __construct() {
14
- parent::__construct();
15
-
16
- $query = $this->getRequest()->getParams();
17
-
18
- if(isset($query['MerchantTransactionID'])) {
19
- $merchantTransactionID = $query['MerchantTransactionID'];
20
- }
21
- if(isset($query['ReferenceNumber'])) {
22
- $this->referenceNumber = $query['ReferenceNumber'];
23
-
24
- if (isset($query['AmountToPay'])) {
25
- $this->amountToPay = $query['AmountToPay'];
26
-
27
- }
28
- if (isset($query['AccountHolder'])) {
29
- $this->accountHolder = $query['AccountHolder'];
30
-
31
- }
32
- if (isset($query['BankName'])) {
33
- $this->bankName = $query['BankName'];
34
-
35
- }
36
- if (isset($query['AccountNumber'])) {
37
- $this->accountNumber = $query['AccountNumber'];
38
-
39
- }
40
- if (isset($query['SWIFT_BIC'])) {
41
- $this->SWIFT_BIC = $query['SWIFT_BIC'];
42
-
43
- }
44
- if (isset($query['AccountCurrency'])) {
45
- $this->accountCurrency = $query['AccountCurrency'];
46
-
47
- }
48
-
49
- }
50
- }
51
- }
52
- ?>
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Block_Paymentinstructions extends Mage_Checkout_Block_Onepage_Success
4
+ {
5
+ public $referenceNumber;
6
+ public $amountToPay;
7
+ public $accountHolder;
8
+ public $merchantTransactionID;
9
+ public $bankName;
10
+ public $accountNumber;
11
+ public $SWIFT_BIC;
12
+ public $IBAN;
13
+ public $accountCurrency;
14
+ public $entityNumber;
15
+ public $displayPaymentInstructions = false;
16
+
17
+ public function __construct()
18
+ {
19
+ parent::__construct();
20
+
21
+ if( !($query = $this->getRequest()->getParams()) )
22
+ {
23
+ $this->displayPaymentInstructions = false;
24
+ return;
25
+ }
26
+
27
+ if( empty( $query['ReferenceNumber'] ) )
28
+ $this->displayPaymentInstructions = false;
29
+ else
30
+ $this->displayPaymentInstructions = true;
31
+
32
+ if( isset( $query['ReferenceNumber'] ) )
33
+ $this->referenceNumber = $query['ReferenceNumber'];
34
+
35
+ if( isset( $query['AmountToPay'] ) )
36
+ $this->amountToPay = $query['AmountToPay'];
37
+
38
+ if( isset( $query['AccountHolder'] ) )
39
+ $this->accountHolder = $query['AccountHolder'];
40
+
41
+ if( isset( $query['BankName'] ) )
42
+ $this->bankName = $query['BankName'];
43
+
44
+ if( isset( $query['AccountNumber'] ) )
45
+ $this->accountNumber = $query['AccountNumber'];
46
+
47
+ if( isset( $query['SWIFT_BIC'] ) )
48
+ $this->SWIFT_BIC = $query['SWIFT_BIC'];
49
+
50
+ if( isset( $query['IBAN'] ) )
51
+ $this->IBAN = $query['IBAN'];
52
+
53
+ if( isset( $query['AccountCurrency'] ) )
54
+ $this->accountCurrency = $query['AccountCurrency'];
55
+
56
+ if( isset( $query['EntityNumber'] ) )
57
+ $this->entityNumber = $query['EntityNumber'];
58
+ }
59
+ }
app/code/community/Smart2Pay/Globalpay/Block/Paymethod/Form.php CHANGED
@@ -1,42 +1,44 @@
1
- <?php
2
-
3
- class Smart2Pay_Globalpay_Block_Paymethod_Form extends Mage_Payment_Block_Form {
4
-
5
- public $method_config = array();
6
-
7
- protected function _construct() {
8
- parent::_construct();
9
- // set template
10
- $this->setTemplate('smart2pay/globalpay/paymethod/form.phtml');
11
- // set method config
12
- $this->method_config = Mage::getModel('globalpay/pay')->method_config;
13
- }
14
-
15
- public function getPaymentMethods(){
16
- $pay_method = Mage::getModel('globalpay/pay');
17
- $chkout = Mage::getSingleton('checkout/session');
18
- $quote = $chkout->getQuote();
19
- $billingAddress = $quote->getBillingAddress();
20
- $countryCode = $billingAddress->getCountryId();
21
- $countryId = Mage::getModel('globalpay/country')->load($countryCode, 'code')->getId();
22
- $collection = Mage::getModel('globalpay/countrymethod')->getCollection();
23
- $collection->addFieldToSelect('*');
24
- $collection->addFieldToFilter('country_id', array(
25
- 'in' => array($countryId)
26
- ));
27
- $collection->addFieldToFilter('s2p_gp_methods.method_id', array(
28
- 'in' => explode(",", $pay_method->method_config['methods'])
29
- ));
30
- $collection->addFieldToFilter('active', array(
31
- 'in' => array(1)
32
- ));
33
- $collection->getSelect()->join(
34
- 's2p_gp_methods',
35
- 's2p_gp_methods.method_id = main_table.method_id'
36
- );
37
- $collection->setOrder('priority', 'ASC');
38
- return $collection->getData();
39
- }
40
- }
41
-
42
- ?>
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Block_Paymethod_Form extends Mage_Payment_Block_Form
4
+ {
5
+
6
+ public $method_config = array();
7
+
8
+ protected function _construct()
9
+ {
10
+ parent::_construct();
11
+ // set template
12
+ $this->setTemplate('smart2pay/globalpay/paymethod/form.phtml');
13
+
14
+ // set method config
15
+ $this->method_config = Mage::getModel('globalpay/pay')->method_config;
16
+ }
17
+
18
+ public function getPaymentMethods()
19
+ {
20
+ $pay_method = Mage::getModel('globalpay/pay');
21
+ $chkout = Mage::getSingleton('checkout/session');
22
+ $quote = $chkout->getQuote();
23
+ $billingAddress = $quote->getBillingAddress();
24
+ $countryCode = $billingAddress->getCountryId();
25
+ $countryId = Mage::getModel('globalpay/country')->load($countryCode, 'code')->getId();
26
+ $collection = Mage::getModel('globalpay/countrymethod')->getCollection();
27
+ $collection->addFieldToSelect('*');
28
+ $collection->addFieldToFilter('country_id', array(
29
+ 'in' => array($countryId)
30
+ ));
31
+ $collection->addFieldToFilter('s2p_gp_methods.method_id', array(
32
+ 'in' => explode(",", $pay_method->method_config['methods'])
33
+ ));
34
+ $collection->addFieldToFilter('active', array(
35
+ 'in' => array(1)
36
+ ));
37
+ $collection->getSelect()->join(
38
+ 's2p_gp_methods',
39
+ 's2p_gp_methods.method_id = main_table.method_id'
40
+ );
41
+ $collection->setOrder('priority', 'ASC');
42
+ return $collection->getData();
43
+ }
44
+ }
app/code/community/Smart2Pay/Globalpay/Block/Paymethod/Sendform.php CHANGED
@@ -1,105 +1,124 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Block_Paymethod_Sendform extends Mage_Core_Block_Template{
3
- public $form_data;
4
- public $message_to_hash;
5
- public $hash;
6
-
7
- public function __construct() {
8
- parent::__construct();
9
-
10
- /** @var Mage_Sales_Model_Order $order */
11
- $paymentModel = Mage::getModel('globalpay/pay');
12
- $order_id = Mage::getSingleton('checkout/session')->getLastOrderId();
13
- $order = Mage::getModel('sales/order');
14
- $order->load($order_id);
15
- $order_id = $order->getRealOrderId();
16
-
17
- // FORM DATA
18
- $this->form_data = $paymentModel->method_config;
19
- $this->form_data['method_id'] = $_SESSION['globalpay_method'];
20
- $this->form_data['order_id'] = $order_id;
21
- $this->form_data['currency'] = $order->getOrderCurrency()->getCurrencyCode();
22
- $this->form_data['amount'] = number_format($order->getGrandTotal(), 2, '.', '') * 100;
23
-
24
- //anonymous user, get the info from billing details
25
- if($order->getCustomerId() === NULL){
26
- $this->form_data['customer_last_name'] = substr(trim($order->getBillingAddress()->getLastname()),0,30);
27
- $this->form_data['customer_first_name'] = substr(trim($order->getBillingAddress()->getFirstname()),0,30);
28
- $this->form_data['customer_name'] = substr(trim($this->form_data['customer_first_name'] . ' ' . $this->form_data['customer_last_name']),0,30);
29
- }
30
- //else, they're a normal registered user.
31
- else {
32
- $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
33
- $this->form_data['customer_name'] = substr(trim($order->getCustomerName()),0,30);
34
- $this->form_data['customer_last_name'] = substr(trim($customer->getDefaultBillingAddress()->getLastname()),0,30);
35
- $this->form_data['customer_first_name'] = substr(trim($customer->getDefaultBillingAddress()->getFirstname()),0,30);
36
- }
37
-
38
- $this->form_data['customer_email'] = trim($order->getCustomerEmail());
39
- $this->form_data['country'] = $order->getBillingAddress()->getCountry();
40
-
41
-
42
- $messageToHash = 'MerchantID'.$this->form_data['mid']
43
- .'MerchantTransactionID'.$this->form_data['order_id']
44
- .'Amount'.$this->form_data['amount']
45
- .'Currency'.$this->form_data['currency']
46
- .'ReturnURL'.$this->form_data['return_url'];
47
- if(!$this->form_data['method_id']){
48
- $messageToHash .= 'IncludeMethodIDs'.$this->form_data['methods'];
49
- }
50
- if($this->form_data['site_id']){
51
- $messageToHash .= 'SiteID'.$this->form_data['site_id'];
52
- }
53
-
54
- $messageToHash .= "CustomerName".$this->form_data['customer_name'];
55
- $messageToHash .= "CustomerLastName".$this->form_data['customer_last_name'];
56
- $messageToHash .= "CustomerFirstName".$this->form_data['customer_first_name'];
57
- $messageToHash .= "CustomerEmail".$this->form_data['customer_email'];
58
- $messageToHash .= "Country".$this->form_data['country'];
59
- $messageToHash .= "MethodID".$this->form_data['method_id'];
60
-
61
-
62
- if($this->form_data['product_description_ref']){
63
- $messageToHash .= "Description"."Ref. no.: ".$this->form_data['order_id'];
64
- }
65
- else{
66
- $messageToHash .= "Description".$this->form_data['product_description_custom'];
67
- }
68
-
69
- if($this->form_data['skip_payment_page']){
70
- if(!in_array($this->form_data['method_id'], array(1, 20)) || $this->form_data['notify_payment_instructions']){
71
- $messageToHash .= "SkipHpp1";
72
- }
73
- }
74
- if($this->form_data['redirect_in_iframe']){
75
- $messageToHash .= "RedirectInIframe1";
76
- }
77
- if($this->form_data['skin_id']){
78
- $messageToHash .= "SkinID".$this->form_data['skin_id'];
79
- }
80
-
81
-
82
- $messageToHash .= $this->form_data['signature'];
83
-
84
- Mage::getModel('globalpay/logger')->write($messageToHash, 'info');
85
-
86
- $this->form_data['hash'] = Mage::helper('globalpay/helper')->computeSHA256Hash($messageToHash);
87
-
88
- //
89
- $this->message_to_hash = $messageToHash;
90
- $this->hash = $this->form_data['hash'];
91
- //
92
-
93
- //send e-mail to customer about order creation before redirect to Smart2Pay
94
- try{
95
- $order = new Mage_Sales_Model_Order();
96
- $incrementId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
97
- $order->loadByIncrementId($incrementId);
98
- $order->sendNewOrderEmail();
99
- }
100
- catch (Exception $ex) {
101
- }
102
-
103
- }
104
- }
105
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Block_Paymethod_Sendform extends Mage_Core_Block_Template
4
+ {
5
+ public $form_data;
6
+ public $message_to_hash;
7
+ public $hash;
8
+
9
+ public function __construct()
10
+ {
11
+ parent::__construct();
12
+
13
+ /** @var Smart2Pay_Globalpay_Model_Logger $s2pLogger */
14
+ $s2pLogger = Mage::getModel( 'globalpay/logger' );
15
+ /** @var Smart2Pay_Globalpay_Model_Transactionlogger $s2pTransactionLogger */
16
+ $s2pTransactionLogger = Mage::getModel( 'globalpay/transactionlogger' );
17
+
18
+ /** @var Smart2Pay_Globalpay_Model_Pay $paymentModel */
19
+ $paymentModel = Mage::getModel('globalpay/pay');
20
+ $order_id = Mage::getSingleton('checkout/session')->getLastOrderId();
21
+ /** @var Mage_Sales_Model_Order $order */
22
+ $order = Mage::getModel('sales/order');
23
+ $order->load($order_id);
24
+ $order_id = $order->getRealOrderId();
25
+
26
+ // FORM DATA
27
+ $this->form_data = $paymentModel->method_config;
28
+
29
+ if( !empty( $_SESSION['globalpay_method'] ) )
30
+ $this->form_data['method_id'] = $_SESSION['globalpay_method'];
31
+ else
32
+ $this->form_data['method_id'] = 0;
33
+
34
+ $this->form_data['order_id'] = $order_id;
35
+ $this->form_data['currency'] = $order->getOrderCurrency()->getCurrencyCode();
36
+ $this->form_data['amount'] = number_format($order->getGrandTotal(), 2, '.', '') * 100;
37
+
38
+ //anonymous user, get the info from billing details
39
+ if( $order->getCustomerId() === NULL )
40
+ {
41
+ $this->form_data['customer_last_name'] = substr(trim($order->getBillingAddress()->getLastname()),0,30);
42
+ $this->form_data['customer_first_name'] = substr(trim($order->getBillingAddress()->getFirstname()),0,30);
43
+ $this->form_data['customer_name'] = substr(trim($this->form_data['customer_first_name'] . ' ' . $this->form_data['customer_last_name']),0,30);
44
+ }
45
+ //else, they're a normal registered user.
46
+ else
47
+ {
48
+ $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
49
+ $this->form_data['customer_name'] = substr(trim($order->getCustomerName()),0,30);
50
+ $this->form_data['customer_last_name'] = substr(trim($customer->getDefaultBillingAddress()->getLastname()),0,30);
51
+ $this->form_data['customer_first_name'] = substr(trim($customer->getDefaultBillingAddress()->getFirstname()),0,30);
52
+ }
53
+
54
+ $this->form_data['customer_email'] = trim($order->getCustomerEmail());
55
+ $this->form_data['country'] = $order->getBillingAddress()->getCountry();
56
+
57
+ $messageToHash = 'MerchantID'.$this->form_data['mid'].
58
+ 'MerchantTransactionID'.$this->form_data['order_id'].
59
+ 'Amount'.$this->form_data['amount'].
60
+ 'Currency'.$this->form_data['currency'].
61
+ 'ReturnURL'.$this->form_data['return_url'];
62
+
63
+ if( !$this->form_data['method_id'] )
64
+ $messageToHash .= 'IncludeMethodIDs'.$this->form_data['methods'];
65
+
66
+ if( $this->form_data['site_id'] )
67
+ $messageToHash .= 'SiteID'.$this->form_data['site_id'];
68
+
69
+ $messageToHash .= 'CustomerName'.$this->form_data['customer_name'];
70
+ $messageToHash .= 'CustomerLastName'.$this->form_data['customer_last_name'];
71
+ $messageToHash .= 'CustomerFirstName'.$this->form_data['customer_first_name'];
72
+ $messageToHash .= 'CustomerEmail'.$this->form_data['customer_email'];
73
+ $messageToHash .= 'Country'.$this->form_data['country'];
74
+ $messageToHash .= 'MethodID'.$this->form_data['method_id'];
75
+
76
+ if( $this->form_data['product_description_ref'] )
77
+ $messageToHash .= 'Description'.'Ref. no.: '.$this->form_data['order_id'];
78
+ else
79
+ $messageToHash .= 'Description'.$this->form_data['product_description_custom'];
80
+
81
+ if( $this->form_data['skip_payment_page'] )
82
+ {
83
+ if( !in_array( $this->form_data['method_id'], array( $paymentModel::PAYMENT_METHOD_BT, $paymentModel::PAYMENT_METHOD_SIBS ) )
84
+ or $this->form_data['notify_payment_instructions'] )
85
+ $messageToHash .= 'SkipHpp1';
86
+ }
87
+
88
+ if( $this->form_data['redirect_in_iframe'] )
89
+ $messageToHash .= 'RedirectInIframe1';
90
+
91
+ if( $this->form_data['skin_id'] )
92
+ $messageToHash .= 'SkinID'.$this->form_data['skin_id'];
93
+
94
+ $messageToHash .= $this->form_data['signature'];
95
+
96
+ $s2pLogger->write( 'Form hash: ['.$messageToHash.']', 'info' );
97
+
98
+ $this->form_data['hash'] = Mage::helper( 'globalpay/helper' )->computeSHA256Hash( $messageToHash );
99
+
100
+ $this->message_to_hash = $messageToHash;
101
+ $this->hash = $this->form_data['hash'];
102
+
103
+ $s2p_transaction_arr = array();
104
+ if( !empty( $this->form_data['method_id'] ) )
105
+ $s2p_transaction_arr['method_id'] = $this->form_data['method_id'];
106
+ if( !empty( $order_id ) )
107
+ $s2p_transaction_arr['merchant_transaction_id'] = $order_id;
108
+ if( !empty( $this->form_data['site_id'] ) )
109
+ $s2p_transaction_arr['site_id'] = $this->form_data['site_id'];
110
+
111
+ $s2pTransactionLogger->write( $s2p_transaction_arr );
112
+
113
+ //send e-mail to customer about order creation before redirect to Smart2Pay
114
+ try
115
+ {
116
+ $order = new Mage_Sales_Model_Order();
117
+ $incrementId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
118
+ $order->loadByIncrementId( $incrementId );
119
+ $order->sendNewOrderEmail();
120
+ } catch ( Exception $ex ) {
121
+ }
122
+ }
123
+
124
+ }
app/code/community/Smart2Pay/Globalpay/Helper/Data.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Helper_Data extends Mage_Payment_Helper_Data
4
+ {
5
+ public function computeSHA256Hash( $message )
6
+ {
7
+ if( function_exists( 'mb_strtolower' ) )
8
+ return hash( 'sha256', mb_strtolower( $message, 'UTF-8' ) );
9
+ else
10
+ return hash( 'sha256', strtolower( $message ) );
11
+ }
12
+ }
13
+
app/code/community/Smart2Pay/Globalpay/Helper/Helper.php CHANGED
@@ -1,10 +1,212 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Helper_Helper{
3
- public function computeSHA256Hash($message){
4
- if(function_exists(mb_strtolower))
5
- return hash("sha256", mb_strtolower($message,'UTF-8'));
6
- else
7
- return hash("sha256", strtolower($message));
8
- }
9
- }
10
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Helper_Helper extends Mage_Core_Helper_Abstract
4
+ {
5
+ public function isAdmin()
6
+ {
7
+ if( Mage::app()->getStore()->isAdmin()
8
+ or Mage::getDesign()->getArea() == 'adminhtml' )
9
+ return true;
10
+
11
+ return false;
12
+ }
13
+
14
+ public function computeSHA256Hash( $message )
15
+ {
16
+ if( function_exists( 'mb_strtolower' ) )
17
+ return hash( 'sha256', mb_strtolower( $message, 'UTF-8' ) );
18
+ else
19
+ return hash( 'sha256', strtolower( $message ) );
20
+ }
21
+
22
+ static public function value_to_string( $val )
23
+ {
24
+ if( is_object( $val ) or is_resource( $val ) )
25
+ return false;
26
+
27
+ if( is_array( $val ) )
28
+ return json_encode( $val );
29
+
30
+ if( is_string( $val ) )
31
+ return '\''.$val.'\'';
32
+
33
+ if( is_bool( $val ) )
34
+ return (!empty( $val )?'true':'false');
35
+
36
+ if( is_null( $val ) )
37
+ return 'null';
38
+
39
+ if( is_numeric( $val ) )
40
+ return $val;
41
+
42
+ return false;
43
+ }
44
+
45
+ static public function string_to_value( $str )
46
+ {
47
+ if( !is_string( $str ) )
48
+ return null;
49
+
50
+ if( ($val = @json_decode( $str, true )) !== null )
51
+ return $val;
52
+
53
+ if( is_numeric( $str ) )
54
+ return $str;
55
+
56
+ if( ($tch = substr( $str, 0, 1 )) == '\'' or $tch = '"' )
57
+ $str = substr( $str, 1 );
58
+ if( ($tch = substr( $str, -1 )) == '\'' or $tch = '"' )
59
+ $str = substr( $str, 0, -1 );
60
+
61
+ $str_lower = strtolower( $str );
62
+ if( $str_lower == 'null' )
63
+ return null;
64
+
65
+ if( $str_lower == 'false' )
66
+ return false;
67
+
68
+ if( $str_lower == 'true' )
69
+ return true;
70
+
71
+ return $str;
72
+ }
73
+
74
+ static public function to_string( $lines_data )
75
+ {
76
+ if( empty( $lines_data ) or !is_array( $lines_data ) )
77
+ return '';
78
+
79
+ $lines_str = '';
80
+ $first_line = true;
81
+ foreach( $lines_data as $key => $val )
82
+ {
83
+ if( !$first_line )
84
+ $lines_str .= "\r\n";
85
+
86
+ $first_line = false;
87
+
88
+ // In normal cases there cannot be '=' char in key so we interpret that value should just be passed as-it-is
89
+ if( substr( $key, 0, 1 ) == '=' )
90
+ {
91
+ $lines_str .= $val;
92
+ continue;
93
+ }
94
+
95
+ // Don't save if error converting to string
96
+ if( ($line_val = self::value_to_string( $val )) === false )
97
+ continue;
98
+
99
+ $lines_str .= $key.'='.$line_val;
100
+ }
101
+
102
+ return $lines_str;
103
+ }
104
+
105
+ static public function parse_string_line( $line_str, $comment_no = 0 )
106
+ {
107
+ if( !is_string( $line_str ) )
108
+ $line_str = '';
109
+
110
+ // allow empty lines (keeps file 'styling' same)
111
+ if( trim( $line_str ) == '' )
112
+ $line_str = '';
113
+
114
+ $return_arr = array();
115
+ $return_arr['key'] = '';
116
+ $return_arr['val'] = '';
117
+ $return_arr['comment_no'] = $comment_no;
118
+
119
+ $first_char = substr( $line_str, 0, 1 );
120
+ if( $line_str == '' or $first_char == '#' or $first_char == ';' )
121
+ {
122
+ $comment_no++;
123
+
124
+ $return_arr['key'] = '='.$comment_no.'='; // comment count added to avoid comment key overwrite
125
+ $return_arr['val'] = $line_str;
126
+ $return_arr['comment_no'] = $comment_no;
127
+
128
+ return $return_arr;
129
+ }
130
+
131
+ $line_details = explode( '=', $line_str, 2 );
132
+ $key = trim( $line_details[0] );
133
+
134
+ if( $key == '' )
135
+ return false;
136
+
137
+ if( !isset( $line_details[1] ) )
138
+ {
139
+ $return_arr['key'] = $key;
140
+ $return_arr['val'] = '';
141
+
142
+ return $return_arr;
143
+ }
144
+
145
+ $return_arr['key'] = $key;
146
+ $return_arr['val'] = self::string_to_value( $line_details[1] );
147
+
148
+ return $return_arr;
149
+ }
150
+
151
+ static public function parse_string( $string )
152
+ {
153
+ if( empty( $string )
154
+ or (!is_array( $string ) and !is_string( $string )) )
155
+ return array();
156
+
157
+ if( is_array( $string ) )
158
+ return $string;
159
+
160
+ $string = str_replace( "\r", "\n", str_replace( array( "\r\n", "\n\r" ), "\n", $string ) );
161
+ $lines_arr = explode( "\n", $string );
162
+
163
+ $return_arr = array();
164
+ $comment_no = 1;
165
+ foreach( $lines_arr as $line_nr => $line_str )
166
+ {
167
+ if( !($line_data = self::parse_string_line( $line_str, $comment_no ))
168
+ or !is_array( $line_data ) or !isset( $line_data['key'] ) or $line_data['key'] == '' )
169
+ continue;
170
+
171
+ $return_arr[$line_data['key']] = $line_data['val'];
172
+ $comment_no = $line_data['comment_no'];
173
+ }
174
+
175
+ return $return_arr;
176
+ }
177
+
178
+ static public function update_line_params( $current_data, $append_data )
179
+ {
180
+ if( empty( $append_data ) or (!is_array( $append_data ) and !is_string( $append_data )) )
181
+ $append_data = array();
182
+ if( empty( $current_data ) or (!is_array( $current_data ) and !is_string( $current_data )) )
183
+ $current_data = array();
184
+
185
+ if( !is_array( $append_data ) )
186
+ $append_arr = self::parse_string( $append_data );
187
+ else
188
+ $append_arr = $append_data;
189
+
190
+ if( !is_array( $current_data ) )
191
+ $current_arr = self::parse_string( $current_data );
192
+ else
193
+ $current_arr = $current_data;
194
+
195
+ if( !empty( $append_arr ) )
196
+ {
197
+ foreach( $append_arr as $key => $val )
198
+ $current_arr[$key] = $val;
199
+ }
200
+
201
+ return $current_arr;
202
+ }
203
+
204
+ static function prepare_data( $data )
205
+ {
206
+ $data = str_replace( '\'', '\\\'', str_replace( '\\\'', '\'', $data ) );
207
+
208
+ return $data;
209
+ }
210
+
211
+ }
212
+
app/code/community/Smart2Pay/Globalpay/Model/Country.php CHANGED
@@ -1,11 +1,11 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Country extends Mage_Core_Model_Abstract
3
- {
4
- protected $_resourceCollectionName = 'globalpay/country_collection';
5
-
6
- protected function _construct()
7
- {
8
- $this->_init('globalpay/country');
9
- }
10
- }
11
- ?>
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Country extends Mage_Core_Model_Abstract
3
+ {
4
+ protected $_resourceCollectionName = 'globalpay/country_collection';
5
+
6
+ protected function _construct()
7
+ {
8
+ $this->_init('globalpay/country');
9
+ }
10
+ }
11
+ ?>
app/code/community/Smart2Pay/Globalpay/Model/Countrymethod.php CHANGED
@@ -1,11 +1,11 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Countrymethod extends Mage_Core_Model_Abstract
3
- {
4
- protected $_resourceCollectionName = 'globalpay/countrymethod_collection';
5
-
6
- protected function _construct()
7
- {
8
- $this->_init('globalpay/countrymethod');
9
- }
10
- }
11
- ?>
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Countrymethod extends Mage_Core_Model_Abstract
3
+ {
4
+ protected $_resourceCollectionName = 'globalpay/countrymethod_collection';
5
+
6
+ protected function _construct()
7
+ {
8
+ $this->_init('globalpay/countrymethod');
9
+ }
10
+ }
11
+ ?>
app/code/community/Smart2Pay/Globalpay/Model/GlobalpayLog.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- class Smart2Pay_GlobalPay_Model_GlobalpayLog extends Mage_Core_Model_Abstract {
4
-
5
- }
6
-
7
  ?>
1
+ <?php
2
+
3
+ class Smart2Pay_GlobalPay_Model_GlobalpayLog extends Mage_Core_Model_Abstract {
4
+
5
+ }
6
+
7
  ?>
app/code/community/Smart2Pay/Globalpay/Model/Logger.php CHANGED
@@ -1,38 +1,50 @@
1
- <?php
2
-
3
- class Smart2Pay_Globalpay_Model_Logger extends Mage_Core_Model_Abstract
4
- {
5
- /**
6
- * Todo:
7
- * - set loggin true/false
8
- * - set log_type logged
9
- */
10
-
11
- protected $_resourceCollectionName = 'globalpay/logger_collection';
12
-
13
- protected function _construct()
14
- {
15
- $this->_init('globalpay/logger');
16
- }
17
-
18
- public function write($message = '', $type = 'info', $file = '', $line = '') {
19
- try {
20
- $conn = Mage::getSingleton('core/resource')->getConnection('core_write');
21
-
22
- $backtrace = debug_backtrace();
23
- $file = $backtrace[0]['file'];
24
- $line = $backtrace[0]['line'];
25
-
26
- $query = 'INSERT INTO s2p_gp_logs
27
- (log_message, log_type, log_source_file, log_source_file_line)
28
- VALUES
29
- (\'' . $message . '\', \'' . $type . '\', \'' . $file . '\', \'' . $line . '\')
30
- ';
31
- $conn->query($query);
32
- } catch (Exception $e) {
33
- Zend_Debug::dump($e->getMessage());
34
- die;
35
- }
36
- }
37
-
38
- }
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Logger extends Mage_Core_Model_Abstract
4
+ {
5
+ /**
6
+ * Todo:
7
+ * - set loggin true/false
8
+ * - set log_type logged
9
+ */
10
+
11
+ protected $_resourceCollectionName = 'globalpay/logger_collection';
12
+
13
+ protected function _construct()
14
+ {
15
+ $this->_init('globalpay/logger');
16
+ }
17
+
18
+ public function write( $message = '', $type = 'info', $file = '', $line = '' )
19
+ {
20
+ try
21
+ {
22
+ /** @var Magento_Db_Adapter_Pdo_Mysql $conn */
23
+ if( !($conn = Mage::getSingleton('core/resource')->getConnection('core_write')) )
24
+ return false;
25
+
26
+ if( empty( $file ) or empty( $line ) )
27
+ {
28
+ $backtrace = debug_backtrace();
29
+ $file = $backtrace[0]['file'];
30
+ $line = $backtrace[0]['line'];
31
+ }
32
+
33
+ $insert_arr = array();
34
+ $insert_arr['log_message'] = $message;
35
+ $insert_arr['log_type'] = $type;
36
+ $insert_arr['log_source_file'] = $file;
37
+ $insert_arr['log_source_file_line'] = $line;
38
+
39
+ $conn->insert( 's2p_gp_logs', $insert_arr );
40
+
41
+ } catch( Exception $e )
42
+ {
43
+ Zend_Debug::dump($e->getMessage());
44
+ die;
45
+ }
46
+
47
+ return true;
48
+ }
49
+
50
+ }
app/code/community/Smart2Pay/Globalpay/Model/Method.php CHANGED
@@ -1,12 +1,11 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Method extends Mage_Core_Model_Abstract
3
- {
4
- protected $_resourceCollectionName = 'globalpay/method_collection';
5
-
6
- protected function _construct()
7
- {
8
- $this->_init('globalpay/method');
9
- }
10
-
11
- }
12
- ?>
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Method extends Mage_Core_Model_Abstract
3
+ {
4
+ protected $_resourceCollectionName = 'globalpay/method_collection';
5
+
6
+ protected function _construct()
7
+ {
8
+ $this->_init('globalpay/method');
9
+ }
10
+
11
+ }
 
app/code/community/Smart2Pay/Globalpay/Model/Pay.php CHANGED
@@ -1,72 +1,92 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Pay extends Mage_Payment_Model_Method_Abstract
3
- {
4
- protected $_code = 'globalpay';
5
-
6
- protected $_formBlockType = 'globalpay/paymethod_form';
7
-
8
- // method config
9
- public $method_config = array();
10
-
11
- public function __construct() {
12
- parent::__construct();
13
- // get environment type
14
- $environment = $this->getConfigData('environment'); // [test | live]
15
- // get config
16
- $this->method_config = array(
17
- 'post_url' => $this->getConfigData('post_url_'.$environment),
18
- 'signature' => $this->getConfigData('signature_'.$environment),
19
- 'mid' => $this->getConfigData('mid_'.$environment),
20
- 'return_url' => $this->getConfigData('return_url'),
21
- 'methods' => $this->getConfigData('methods'),
22
- 'methods_display_mode' => $this->getConfigData('methods_display_mode'),
23
- 'show_text_img' => $this->getConfigData('show_text_img'),
24
- 'show_methods_in_grid' => $this->getConfigData('show_methods_in_grid'),
25
- 'grid_column_number' => $this->getConfigData('grid_column_number'),
26
- 'adjust_for_one_page_checkout' => $this->getConfigData('adjust_for_one_page_checkout'),
27
- 'autoselect_s2p' => $this->getConfigData('autoselect_s2p'),
28
- 'send_customer_email' => $this->getConfigData('send_customer_email'),
29
- 'send_customer_name' => $this->getConfigData('send_customer_name'),
30
- 'send_country' => $this->getConfigData('send_country'),
31
- 'send_payment_method' => $this->getConfigData('send_payment_method'),
32
- 'notify_payment_instructions' => $this->getConfigData('notify_payment_instructions'),
33
- 'send_product_description' => $this->getConfigData('send_product_description'),
34
- 'product_description_ref' => $this->getConfigData('product_description_ref'),
35
- 'product_description_custom' => $this->getConfigData('product_description_custom'),
36
- 'skip_payment_page' => $this->getConfigData('skip_payment_page'),
37
- 'debug_form' => $this->getConfigData('debug_form'),
38
- 'redirect_in_iframe' => $this->getConfigData('redirect_in_iframe'),
39
- 'skin_id' => $this->getConfigData('skin_id'),
40
- 'site_id' => $this->getConfigData('site_id'),
41
- 'message_data_2' => $this->getConfigData('message_data_2'),
42
- 'message_data_3' => $this->getConfigData('message_data_3'),
43
- 'message_data_4' => $this->getConfigData('message_data_4'),
44
- 'message_data_7' => $this->getConfigData('message_data_7'),
45
- 'order_status' => $this->getConfigData('order_status'),
46
- 'order_status_on_2' => $this->getConfigData('order_status_on_2'),
47
- 'order_status_on_3' => $this->getConfigData('order_status_on_3'),
48
- 'order_status_on_4' => $this->getConfigData('order_status_on_4'),
49
- 'order_status_on_5' => $this->getConfigData('order_status_on_5'),
50
- 'auto_invoice' => $this->getConfigData('auto_invoice'),
51
- 'auto_ship' => $this->getConfigData('auto_ship'),
52
- 'notify_customer' => $this->getConfigData('notify_customer'),
53
- );
54
- }
55
-
56
- public function assignData($data)
57
- {
58
- if (!($data instanceof Varien_Object)) {
59
- $data = new Varien_Object($data);
60
- }
61
- $_SESSION['globalpay_method'] = $data->getMethodId();
62
- }
63
-
64
- public function getOrderPlaceRedirectUrl()
65
- {
66
- $_SESSION['s2p_handle_payment'] = true;
67
- //return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB)."index.php/globalpay/";
68
- Mage::getModel('globalpay/logger')->write(Mage::getUrl('globalpay', array('_secure' => true)), 'info');
69
- return Mage::getUrl('globalpay', array('_secure' => true));
70
- }
71
- }
72
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Pay extends Mage_Payment_Model_Method_Abstract
4
+ {
5
+ const S2P_STATUS_OPEN = 1, S2P_STATUS_SUCCESS = 2, S2P_STATUS_CANCELLED = 3, S2P_STATUS_FAILED = 4, S2P_STATUS_EXPIRED = 5, S2P_STATUS_PROCESSING = 7;
6
+
7
+ const PAYMENT_METHOD_BT = 1, PAYMENT_METHOD_SIBS = 20;
8
+
9
+ protected $_code = 'globalpay';
10
+
11
+ protected $_formBlockType = 'globalpay/paymethod_form';
12
+ protected $_infoBlockType = 'globalpay/info_globalpay';
13
+
14
+ // method config
15
+ public $method_config = array();
16
+
17
+ public function __construct()
18
+ {
19
+ parent::__construct();
20
+
21
+ // get environment type
22
+ $environment = $this->getConfigData('environment'); // [test | live]
23
+
24
+ // get config
25
+ $this->method_config = array(
26
+ 'post_url' => $this->getConfigData('post_url_'.$environment),
27
+ 'signature' => $this->getConfigData('signature_'.$environment),
28
+ 'mid' => $this->getConfigData('mid_'.$environment),
29
+ 'return_url' => $this->getConfigData('return_url'),
30
+ 'methods' => $this->getConfigData('methods'),
31
+ 'methods_display_mode' => $this->getConfigData('methods_display_mode'),
32
+ 'show_text_img' => $this->getConfigData('show_text_img'),
33
+ 'show_methods_in_grid' => $this->getConfigData('show_methods_in_grid'),
34
+ 'grid_column_number' => $this->getConfigData('grid_column_number'),
35
+ 'adjust_for_one_page_checkout' => $this->getConfigData('adjust_for_one_page_checkout'),
36
+ 'autoselect_s2p' => $this->getConfigData('autoselect_s2p'),
37
+ 'send_customer_email' => $this->getConfigData('send_customer_email'),
38
+ 'send_customer_name' => $this->getConfigData('send_customer_name'),
39
+ 'send_country' => $this->getConfigData('send_country'),
40
+ 'send_payment_method' => $this->getConfigData('send_payment_method'),
41
+ 'notify_payment_instructions' => $this->getConfigData('notify_payment_instructions'),
42
+ 'send_product_description' => $this->getConfigData('send_product_description'),
43
+ 'product_description_ref' => $this->getConfigData('product_description_ref'),
44
+ 'product_description_custom' => $this->getConfigData('product_description_custom'),
45
+ 'skip_payment_page' => $this->getConfigData('skip_payment_page'),
46
+ 'debug_form' => $this->getConfigData('debug_form'),
47
+ 'redirect_in_iframe' => $this->getConfigData('redirect_in_iframe'),
48
+ 'skin_id' => $this->getConfigData('skin_id'),
49
+ 'site_id' => $this->getConfigData('site_id'),
50
+ 'message_data_2' => $this->getConfigData('message_data_2'),
51
+ 'message_data_3' => $this->getConfigData('message_data_3'),
52
+ 'message_data_4' => $this->getConfigData('message_data_4'),
53
+ 'message_data_7' => $this->getConfigData('message_data_7'),
54
+ 'order_status' => $this->getConfigData('order_status'),
55
+ 'order_status_on_2' => $this->getConfigData('order_status_on_2'),
56
+ 'order_status_on_3' => $this->getConfigData('order_status_on_3'),
57
+ 'order_status_on_4' => $this->getConfigData('order_status_on_4'),
58
+ 'order_status_on_5' => $this->getConfigData('order_status_on_5'),
59
+ 'auto_invoice' => $this->getConfigData('auto_invoice'),
60
+ 'auto_ship' => $this->getConfigData('auto_ship'),
61
+ 'notify_customer' => $this->getConfigData('notify_customer'),
62
+ );
63
+ }
64
+
65
+ /**
66
+ * Assign data to info model instance
67
+ *
68
+ * @param mixed $data
69
+ * @return Mage_Payment_Model_Info
70
+ */
71
+ public function assignData( $data )
72
+ {
73
+ if( !($data instanceof Varien_Object) )
74
+ $data = new Varien_Object($data);
75
+
76
+ $_SESSION['globalpay_method'] = $data->getMethodId();
77
+
78
+ return $this;
79
+ }
80
+
81
+ public function getOrderPlaceRedirectUrl()
82
+ {
83
+ $redirect_url = Mage::getUrl( 'globalpay', array( '_secure' => true ) );
84
+
85
+ $_SESSION['s2p_handle_payment'] = true;
86
+
87
+ Mage::getModel('globalpay/logger')->write( $redirect_url, 'info');
88
+
89
+ return $redirect_url;
90
+ }
91
+ }
92
+
app/code/community/Smart2Pay/Globalpay/Model/Resource/Country.php CHANGED
@@ -1,9 +1,9 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Country extends Mage_Core_Model_Resource_Db_Abstract {
3
-
4
- protected function _construct() {
5
- $this->_init('globalpay/country', 'country_id');
6
- }
7
-
8
- }
9
- ?>
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Resource_Country extends Mage_Core_Model_Resource_Db_Abstract {
3
+
4
+ protected function _construct() {
5
+ $this->_init('globalpay/country', 'country_id');
6
+ }
7
+
8
+ }
9
+ ?>
app/code/community/Smart2Pay/Globalpay/Model/Resource/Country/Collection.php CHANGED
@@ -1,8 +1,8 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Country_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract {
3
-
4
- protected function _construct() {
5
- $this->_init('globalpay/country');
6
- }
7
-
8
- }
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Resource_Country_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract {
3
+
4
+ protected function _construct() {
5
+ $this->_init('globalpay/country');
6
+ }
7
+
8
+ }
app/code/community/Smart2Pay/Globalpay/Model/Resource/Countrymethod.php CHANGED
@@ -1,9 +1,9 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Countrymethod extends Mage_Core_Model_Resource_Db_Abstract {
3
-
4
- protected function _construct() {
5
- $this->_init('globalpay/countrymethod', 'countrymethod_id');
6
- }
7
-
8
- }
9
- ?>
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Resource_Countrymethod extends Mage_Core_Model_Resource_Db_Abstract
4
+ {
5
+ protected function _construct()
6
+ {
7
+ $this->_init('globalpay/countrymethod', 'countrymethod_id');
8
+ }
9
+ }
app/code/community/Smart2Pay/Globalpay/Model/Resource/Countrymethod/Collection.php CHANGED
@@ -1,9 +1,9 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Countrymethod_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract {
3
-
4
- protected function _construct() {
5
- $this->_init('globalpay/countrymethod');
6
- }
7
-
8
- }
9
- ?>
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Resource_Countrymethod_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract {
3
+
4
+ protected function _construct() {
5
+ $this->_init('globalpay/countrymethod');
6
+ }
7
+
8
+ }
9
+ ?>
app/code/community/Smart2Pay/Globalpay/Model/Resource/Logger.php CHANGED
@@ -1,9 +1,12 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Logger extends Mage_Core_Model_Resource_Db_Abstract {
3
-
4
- protected function _construct() {
5
- $this->_init('globalpay/logger', 'logger_id');
6
- }
7
-
8
- }
9
- ?>
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Resource_Logger extends Mage_Core_Model_Resource_Db_Abstract
4
+ {
5
+
6
+ protected function _construct()
7
+ {
8
+ $this->_init( 'globalpay/logger', 'logger_id' );
9
+ }
10
+
11
+ }
12
+
app/code/community/Smart2Pay/Globalpay/Model/Resource/Logger/Collection.php CHANGED
@@ -1,9 +1,9 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Logger_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract {
3
-
4
- protected function _construct() {
5
- $this->_init('globalpay/logger');
6
- }
7
-
8
- }
9
- ?>
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Resource_Logger_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
4
+ {
5
+ protected function _construct()
6
+ {
7
+ $this->_init('globalpay/logger');
8
+ }
9
+ }
app/code/community/Smart2Pay/Globalpay/Model/Resource/Method.php CHANGED
@@ -1,9 +1,11 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Method extends Mage_Core_Model_Resource_Db_Abstract {
3
-
4
- protected function _construct() {
5
- $this->_init('globalpay/method', 'method_id');
6
- }
7
-
8
- }
9
- ?>
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Resource_Method extends Mage_Core_Model_Resource_Db_Abstract
4
+ {
5
+ protected function _construct()
6
+ {
7
+ $this->_init('globalpay/method', 'method_id');
8
+ }
9
+
10
+ }
11
+
app/code/community/Smart2Pay/Globalpay/Model/Resource/Method/Collection.php CHANGED
@@ -1,8 +1,8 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Method_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract {
3
-
4
- protected function _construct() {
5
- $this->_init('globalpay/method');
6
- }
7
-
8
  }
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Resource_Method_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract {
3
+
4
+ protected function _construct() {
5
+ $this->_init('globalpay/method');
6
+ }
7
+
8
  }
app/code/community/Smart2Pay/Globalpay/Model/Resource/Setup.php CHANGED
@@ -1,5 +1,4 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup {
3
-
4
- }
5
- ?>
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup {
3
+
4
+ }
 
app/code/community/Smart2Pay/Globalpay/Model/Resource/Transactionlogger.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Resource_Transactionlogger extends Mage_Core_Model_Resource_Db_Abstract
4
+ {
5
+ protected function _construct()
6
+ {
7
+ $this->_init( 'globalpay/transactionlogger', 'transactionlogger_id' );
8
+ }
9
+
10
+ }
11
+
app/code/community/Smart2Pay/Globalpay/Model/Resource/Transactionlogger/Collection.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Resource_Transactionlogger_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
4
+ {
5
+ protected function _construct()
6
+ {
7
+ $this->_init('globalpay/transactionlogger');
8
+ }
9
+ }
app/code/community/Smart2Pay/Globalpay/Model/Source/Displaymodes.php CHANGED
@@ -1,34 +1,34 @@
1
- <?php
2
-
3
- class Smart2Pay_Globalpay_Model_Source_Displaymodes
4
- {
5
-
6
- /**
7
- * Options getter
8
- *
9
- * @return array
10
- */
11
- public function toOptionArray()
12
- {
13
- return array(
14
- array('value' => 'logo', 'label' => 'Logo'),
15
- array('value' => 'text', 'label' => 'Text'),
16
- array('value' => 'both', 'label' => 'Logo and Text'),
17
- );
18
- }
19
-
20
- /**
21
- * Get options in "key-value" format
22
- *
23
- * @return array
24
- */
25
- public function toArray()
26
- {
27
- return array(
28
- 'logo' => 'Logo',
29
- 'text' => 'Text',
30
- 'both' => 'Loto and Text'
31
- );
32
- }
33
-
34
  }
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Source_Displaymodes
4
+ {
5
+
6
+ /**
7
+ * Options getter
8
+ *
9
+ * @return array
10
+ */
11
+ public function toOptionArray()
12
+ {
13
+ return array(
14
+ array('value' => 'logo', 'label' => 'Logo'),
15
+ array('value' => 'text', 'label' => 'Text'),
16
+ array('value' => 'both', 'label' => 'Logo and Text'),
17
+ );
18
+ }
19
+
20
+ /**
21
+ * Get options in "key-value" format
22
+ *
23
+ * @return array
24
+ */
25
+ public function toArray()
26
+ {
27
+ return array(
28
+ 'logo' => 'Logo',
29
+ 'text' => 'Text',
30
+ 'both' => 'Loto and Text'
31
+ );
32
+ }
33
+
34
  }
app/code/community/Smart2Pay/Globalpay/Model/Source/Methods.php CHANGED
@@ -1,46 +1,46 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Source_Methods{
3
-
4
- public $methods = array();
5
-
6
-
7
- public function __construct() {
8
- $methods = Mage::getModel('globalpay/method')->getCollection()->toArray();
9
- foreach($methods['items'] as $item){
10
- $this->methods[$item['method_id']] = $item['display_name'];
11
- }
12
- }
13
-
14
-
15
- /**
16
- * Options getter
17
- *
18
- * @return array
19
- */
20
- public function toOptionArray()
21
- {
22
- /*
23
- return array(
24
- array('value' => 'test', 'label' => 'Test'),
25
- array('value' => 'live', 'label' => 'Live'),
26
- );
27
- *
28
- */
29
- $to_return = array();
30
- foreach($this->methods as $value => $label){
31
- array_push($to_return, array('value' => $value, 'label' => $label));
32
- }
33
- return $to_return;
34
- }
35
-
36
- /**
37
- * Get options in "key-value" format
38
- *
39
- * @return array
40
- */
41
- public function toArray()
42
- {
43
- return $this->methods;
44
- }
45
- }
46
- ?>
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Source_Methods
3
+ {
4
+ public $methods = array();
5
+
6
+ public function __construct()
7
+ {
8
+ $methods = Mage::getModel('globalpay/method')->getCollection()->toArray();
9
+ foreach( $methods['items'] as $item )
10
+ {
11
+ $this->methods[$item['method_id']] = $item['display_name'];
12
+ }
13
+ }
14
+
15
+ /**
16
+ * Options getter
17
+ *
18
+ * @return array
19
+ */
20
+ public function toOptionArray()
21
+ {
22
+ /*
23
+ return array(
24
+ array('value' => 'test', 'label' => 'Test'),
25
+ array('value' => 'live', 'label' => 'Live'),
26
+ );
27
+ *
28
+ */
29
+ $to_return = array();
30
+ foreach( $this->methods as $value => $label )
31
+ $to_return[] = array( 'value' => $value, 'label' => $label );
32
+
33
+ return $to_return;
34
+ }
35
+
36
+ /**
37
+ * Get options in "key-value" format
38
+ *
39
+ * @return array
40
+ */
41
+ public function toArray()
42
+ {
43
+ return $this->methods;
44
+ }
45
+ }
46
+
app/code/community/Smart2Pay/Globalpay/Model/Source/Testlive.php CHANGED
@@ -1,31 +1,31 @@
1
- <?php
2
- class Smart2Pay_Globalpay_Model_Source_Testlive
3
- {
4
-
5
- /**
6
- * Options getter
7
- *
8
- * @return array
9
- */
10
- public function toOptionArray()
11
- {
12
- return array(
13
- array('value' => 'test', 'label' => 'Test'),
14
- array('value' => 'live', 'label' => 'Live'),
15
- );
16
- }
17
-
18
- /**
19
- * Get options in "key-value" format
20
- *
21
- * @return array
22
- */
23
- public function toArray()
24
- {
25
- return array(
26
- 'test' => 'Test',
27
- 'live' => 'Live',
28
- );
29
- }
30
-
31
  }
1
+ <?php
2
+ class Smart2Pay_Globalpay_Model_Source_Testlive
3
+ {
4
+
5
+ /**
6
+ * Options getter
7
+ *
8
+ * @return array
9
+ */
10
+ public function toOptionArray()
11
+ {
12
+ return array(
13
+ array('value' => 'test', 'label' => 'Test'),
14
+ array('value' => 'live', 'label' => 'Live'),
15
+ );
16
+ }
17
+
18
+ /**
19
+ * Get options in "key-value" format
20
+ *
21
+ * @return array
22
+ */
23
+ public function toArray()
24
+ {
25
+ return array(
26
+ 'test' => 'Test',
27
+ 'live' => 'Live',
28
+ );
29
+ }
30
+
31
  }
app/code/community/Smart2Pay/Globalpay/Model/Transactionlogger.php ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2Pay_Globalpay_Model_Transactionlogger extends Mage_Core_Model_Abstract
4
+ {
5
+ protected $_resourceCollectionName = 'globalpay/transactionlogger_collection';
6
+
7
+ protected function _construct()
8
+ {
9
+ $this->_init( 'globalpay/transactionlogger' );
10
+ }
11
+
12
+ static function defaultTransactionLoggerExtraParams()
13
+ {
14
+ return array(
15
+ // Method ID 1 (Bank transfer)
16
+ 'AccountHolder' => '',
17
+ 'BankName' => '',
18
+ 'AccountNumber' => '',
19
+ 'IBAN' => '',
20
+ 'SWIFT_BIC' => '',
21
+ 'AccountCurrency' => '',
22
+
23
+ // Method ID 20 (Multibanco SIBS)
24
+ 'EntityNumber' => '',
25
+
26
+ // Common to method id 20 and 1
27
+ 'ReferenceNumber' => '',
28
+ 'AmountToPay' => '',
29
+ );
30
+ }
31
+
32
+ static function validateTransactionLoggerExtraParams( $params_arr )
33
+ {
34
+ if( empty( $params_arr ) or !is_array( $params_arr ) )
35
+ return array();
36
+
37
+ $default_values = self::defaultTransactionLoggerExtraParams();
38
+ $new_params_arr = array();
39
+ foreach( $default_values as $key => $val )
40
+ {
41
+ if( !array_key_exists( $key, $params_arr ) )
42
+ continue;
43
+
44
+ if( is_int( $val ) )
45
+ $new_val = intval( $params_arr[$key] );
46
+ elseif( is_string( $val ) )
47
+ $new_val = trim( $params_arr[$key] );
48
+ else
49
+ $new_val = $params_arr[$key];
50
+
51
+ if( $new_val === $val )
52
+ continue;
53
+
54
+ $new_params_arr[$key] = $new_val;
55
+ }
56
+
57
+ return $new_params_arr;
58
+ }
59
+
60
+ static function defaultTransactionLoggerParams()
61
+ {
62
+ return array(
63
+ 'method_id' => 0,
64
+ 'payment_id' => 0,
65
+ 'merchant_transaction_id' => '',
66
+ 'site_id' => 0,
67
+ 'extra_data' => '',
68
+ );
69
+ }
70
+
71
+ static function validateTransactionLoggerParams( $params_arr )
72
+ {
73
+ if( empty( $params_arr ) or !is_array( $params_arr ) )
74
+ $params_arr = array();
75
+
76
+ $default_values = self::defaultTransactionLoggerParams();
77
+ $new_params_arr = array();
78
+ foreach( $default_values as $key => $val )
79
+ {
80
+ if( !array_key_exists( $key, $params_arr ) )
81
+ {
82
+ $new_params_arr[$key] = $val;
83
+ continue;
84
+ }
85
+
86
+ if( is_int( $val ) )
87
+ $new_val = intval( $params_arr[$key] );
88
+ elseif( is_string( $val ) )
89
+ $new_val = trim( $params_arr[$key] );
90
+ else
91
+ $new_val = $params_arr[$key];
92
+
93
+ $new_params_arr[$key] = $new_val;
94
+ }
95
+
96
+ return $new_params_arr;
97
+ }
98
+
99
+ /**
100
+ *
101
+ * @var string $merchant_transaction_id
102
+ * @return bool|array
103
+ */
104
+ public function getTransactionDetailsAsArray( $merchant_transaction_id )
105
+ {
106
+ if( empty( $merchant_transaction_id ) )
107
+ return false;
108
+
109
+ /** @var Smart2Pay_Globalpay_Model_Logger $s2pLogger */
110
+ $s2pLogger = Mage::getModel( 'globalpay/logger' );
111
+ /** @var Smart2Pay_Globalpay_Helper_Helper $s2pHelper */
112
+ $s2pHelper = Mage::helper( 'globalpay/helper' );
113
+
114
+ $s2p_transaction_arr = false;
115
+ try
116
+ {
117
+ /** @var Magento_Db_Adapter_Pdo_Mysql $conn_read */
118
+ if( !($conn_read = Mage::getSingleton( 'core/resource' )->getConnection( 'core_read' ))
119
+ or !($s2p_transaction_list_arr = $conn_read->fetchAssoc( $conn_read->select()
120
+ ->from( 's2p_gp_transactions' )
121
+ ->where( 'merchant_transaction_id = \''.$s2pHelper->prepare_data( $merchant_transaction_id ).'\'' )
122
+ ->limit( 1, 0 ) ))
123
+ or !is_array( $s2p_transaction_list_arr )
124
+ or !($s2p_transaction_arr = array_pop( $s2p_transaction_list_arr )) )
125
+ $s2p_transaction_arr = false;
126
+ } catch( Exception $e )
127
+ {
128
+ $s2pLogger->write( 'Exception ('.$e->getMessage().')', 'trans_logger' );
129
+ }
130
+
131
+ return $s2p_transaction_arr;
132
+ }
133
+
134
+ public function write( $transaction_arr, array $extra_params = array() )
135
+ {
136
+ /** @var Smart2Pay_Globalpay_Helper_Helper $s2pHelper */
137
+ $s2pHelper = Mage::helper( 'globalpay/helper' );
138
+ /** @var Smart2Pay_Globalpay_Model_Logger $s2pLogger */
139
+ $s2pLogger = Mage::getModel( 'globalpay/logger' );
140
+
141
+ if( !($transaction_extra_arr = self::validateTransactionLoggerExtraParams( $extra_params ))
142
+ or !is_array( $transaction_extra_arr ) )
143
+ $transaction_extra_str = '';
144
+ else
145
+ $transaction_extra_str = $s2pHelper->to_string( $transaction_extra_arr );
146
+
147
+ $transaction_arr['extra_data'] = $transaction_extra_str;
148
+
149
+ if( !($insert_arr = self::validateTransactionLoggerParams( $transaction_arr )) )
150
+ return false;
151
+
152
+ $insert_arr['updated'] = new Zend_Db_Expr('NOW()');
153
+
154
+ try
155
+ {
156
+ /** @var Magento_Db_Adapter_Pdo_Mysql $conn_write */
157
+ /** @var Magento_Db_Adapter_Pdo_Mysql $conn_read */
158
+ if( !($conn_write = Mage::getSingleton('core/resource')->getConnection( 'core_write' ))
159
+ or !($conn_read = Mage::getSingleton('core/resource')->getConnection( 'core_read' )) )
160
+ return false;
161
+
162
+ if( !empty( $transaction_arr['merchant_transaction_id'] )
163
+ and ($existing_id = $conn_read->fetchOne( 'SELECT id FROM s2p_gp_transactions WHERE merchant_transaction_id = \''.$s2pHelper->prepare_data( $transaction_arr['merchant_transaction_id'] ).'\' LIMIT 0, 1' )) )
164
+ {
165
+ // we should update record
166
+ $conn_write->update( 's2p_gp_transactions', $insert_arr, 'id = \''.$existing_id.'\'' );
167
+
168
+ $s2pLogger->write( 'Update transaction ['.$existing_id.']', 'trans_logger' );
169
+ } else
170
+ {
171
+ // we should insert record
172
+ //$conn_write->query( $sql );
173
+ $conn_write->insert( 's2p_gp_transactions', $insert_arr );
174
+
175
+ $s2pLogger->write( 'Insert transaction', 'trans_logger' );
176
+ }
177
+ } catch ( Exception $e )
178
+ {
179
+ $s2pLogger->write( 'Exception ('.$e->getMessage().')', 'trans_logger' );
180
+ return false;
181
+ }
182
+
183
+ return $insert_arr;
184
+ }
185
+
186
+ }
app/code/community/Smart2Pay/Globalpay/controllers/IndexController.php CHANGED
@@ -1,343 +1,547 @@
1
- <?php
2
- class Smart2pay_Globalpay_IndexController extends Mage_Core_Controller_Front_Action{
3
-
4
- const XML_PATH_EMAIL_PAYMENT_CONFIRMATION = 'payment/globalpay/payment_confirmation_template';
5
- const XML_PATH_EMAIL_PAYMENT_INSTRUCTIONS = 'payment/globalpay/payment_instructions_template';
6
-
7
- /**
8
- * Loads s2p in iFrame
9
- * If !isset($_SESSION['s2p_handle_payment']) redirect to cart/checkout
10
- */
11
- public function indexAction()
12
- {
13
- // check if there is an submited order and a
14
- if(isset($_SESSION['s2p_handle_payment'])){
15
- unset($_SESSION['s2p_handle_payment']);
16
- $this->loadLayout();
17
- $this->renderLayout();
18
- Mage::getModel('globalpay/logger')->write('>>> Redirect OK :::', 'info');
19
-
20
- }
21
- else{
22
- Mage::getModel('globalpay/logger')->write('>>> Redirect NOT OK, session empty. :::', 'info');
23
-
24
- $this->_redirectUrl(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK) . 'checkout/cart/');
25
-
26
- }
27
- }
28
-
29
- /**
30
- * Process s2p response
31
- * Expected response content: {"NotificationType":"payment","MethodID":"27","PaymentID":"18899","MerchantTransactionID":"926927","StatusID":"2","Amount":"100","Currency":"EUR","Hash":"fb9810cb1ac334092aa1f3033be20127676244b343f1ef2ffb447b9a8ced04ba"}
32
- */
33
- public function handleResponseAction()
34
- {
35
- Mage::getModel('globalpay/logger')->write('>>> START HANDLE RESPONSE :::', 'info');
36
-
37
- // get assets
38
- /* @var Mage_Sales_Model_Order $order
39
- * @var Smart2Pay_Globalpay_Model_Pay $payMethod
40
- */
41
- $s2pHelper = Mage::helper('globalpay/helper');
42
- $payMethod = Mage::getModel('globalpay/pay');
43
- $order = Mage::getModel('sales/order');
44
-
45
- try {
46
- $raw_input = file_get_contents("php://input");
47
- parse_str($raw_input, $response);
48
-
49
- $vars = array();
50
- $recomposedHashString = '';
51
- if(!empty($raw_input)){
52
- $pairs = explode("&", $raw_input);
53
- foreach ($pairs as $pair) {
54
- $nv = explode("=", $pair);
55
- $name = $nv[0];
56
- $vars[$name] = $nv[1];
57
- if(strtolower($name) != 'hash'){
58
- $recomposedHashString .= $name . $vars[$name];
59
- }
60
- }
61
- }
62
-
63
- $recomposedHashString .= $payMethod->method_config['signature'];
64
-
65
- Mage::getModel('globalpay/logger')->write('NotificationRecevied:\"' . $raw_input . '\"', 'info');
66
-
67
- // Message is intact
68
- if($s2pHelper->computeSHA256Hash($recomposedHashString) == $response['Hash']){
69
-
70
- Mage::getModel('globalpay/logger')->write('Hashes match', 'info');
71
-
72
- $order->loadByIncrementId($response['MerchantTransactionID']);
73
- $order->addStatusHistoryComment('Smart2Pay :: notification received:<br>' . $raw_input);
74
- /**
75
- * Check status ID
76
- */
77
- switch($response['StatusID']){
78
- // Status = success
79
- case "2":
80
- // cheking amount and currency
81
- $orderAmount = number_format($order->getGrandTotal(), 2, '.', '') * 100;
82
- $orderCurrency = $order->getOrderCurrency()->getCurrencyCode();
83
-
84
- if( strcmp($orderAmount,$response['Amount']) == 0 && $orderCurrency == $response['Currency']){
85
- $order->addStatusHistoryComment('Smart2Pay :: order has been paid. [MethodID:'. $response['MethodID'] .']', $payMethod->method_config['order_status_on_2'] );
86
- if ($payMethod->method_config['auto_invoice']) {
87
- // Create and pay Order Invoice
88
- if($order->canInvoice()) {
89
- $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice();
90
- $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_OFFLINE);
91
- $invoice->register();
92
- $transactionSave = Mage::getModel('core/resource_transaction')
93
- ->addObject($invoice)
94
- ->addObject($invoice->getOrder());
95
- $transactionSave->save();
96
- $order->addStatusHistoryComment('Smart2Pay :: order has been automatically invoiced.', $payMethod->method_config['order_status_on_2']);
97
- } else {
98
- Mage::getModel('globalpay/logger')->write('Order can not be invoiced', 'warning');
99
- }
100
- }
101
- if ($payMethod->method_config['auto_ship']) {
102
- if ($order->canShip()) {
103
- $itemQty = $order->getItemsCollection()->count();
104
- $shipment = Mage::getModel('sales/service_order', $order)->prepareShipment($itemQty);
105
- $shipment = new Mage_Sales_Model_Order_Shipment_Api();
106
- $shipmentId = $shipment->create($order->getIncrementId());
107
- $order->addStatusHistoryComment('Smart2Pay :: order has been automatically shipped.', $payMethod->method_config['order_status_on_2']);
108
- } else {
109
- Mage::getModel('globalpay/logger')->write('Order can not be shipped', 'warning');
110
- }
111
- }
112
- if ($payMethod->method_config['notify_customer']) {
113
- // Inform customer
114
- $this->informCustomer($order, $response['Amount'], $response['Currency']);
115
- }
116
- }
117
- else{
118
- $order->addStatusHistoryComment('Smart2Pay :: notification has different amount['.$orderAmount.'/'.$response['Amount'] . '] and/or currency['.$orderCurrency.'/' . $response['Currency'] . ']!. Please contact support@smart2pay.com', $payMethod->method_config['order_status_on_4']);
119
- }
120
- break;
121
- // Status = canceled
122
- case 3:
123
- $order->addStatusHistoryComment('Smart2Pay :: payment has been canceled.', $payMethod->method_config['order_status_on_3']);
124
- if ($order->canCancel()) {
125
- $order->cancel();
126
- } else {
127
- Mage::getModel('globalpay/logger')->write('Can not cancel the order', 'warning');
128
- }
129
- break;
130
- // Status = failed
131
- case 4:
132
- $order->addStatusHistoryComment('Smart2Pay :: payment has failed.', $payMethod->method_config['order_status_on_4']);
133
- break;
134
- // Status = expired
135
- case 5:
136
- $order->addStatusHistoryComment('Smart2Pay :: payment has expired.', $payMethod->method_config['order_status_on_5']);
137
- break;
138
-
139
- default:
140
- $order->addStatusHistoryComment('Smart2Pay status "'.$response['StatusID'].'" occurred.', $payMethod->method_config['order_status']);
141
- break;
142
- }
143
-
144
- $order->save();
145
-
146
- // NotificationType IS payment
147
- if(strtolower($response['NotificationType']) == 'payment'){
148
- // prepare string for 'da hash
149
- $responseHashString = "notificationTypePaymentPaymentId".$response['PaymentID'].$payMethod->method_config['signature'];
150
- // prepare response data
151
- $responseData = array(
152
- 'NotificationType' => 'Payment',
153
- 'PaymentID' => $response['PaymentID'],
154
- 'Hash' => $s2pHelper->computeSHA256Hash($responseHashString)
155
- );
156
- // output response
157
- echo "NotificationType=payment&PaymentID=".$responseData['PaymentID']."&Hash=".$responseData['Hash'];
158
- }
159
- }
160
- else{
161
- Mage::getModel('globalpay/logger')->write('Hashes do not match (received:' . $response['Hash'] . ')(recomposed:' . $s2pHelper->computeSHA256Hash($recomposedHashString) . ')', 'warning');
162
- }
163
- } catch (Exception $e) {
164
- Mage::getModel('globalpay/logger')->write($e->getMessage(), 'exception');
165
- }
166
- Mage::getModel('globalpay/logger')->write('::: END HANDLE RESPONSE <<<', 'info');
167
- }
168
-
169
- public function informCustomer(Mage_Sales_Model_Order $order, $amount, $currency)
170
- {
171
- try{
172
- /** @var $order Mage_Sales_Model_Order */
173
- /**
174
- * get data for template
175
- */
176
- $siteUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
177
- $siteName = Mage::app()->getWebsite(1)->getName();
178
-
179
- $subject = $siteName." - Payment confirmation";
180
-
181
- $supportEmail = Mage::getStoreConfig('trans_email/ident_support/email');
182
- $supportName = Mage::getStoreConfig('trans_email/ident_support/name');
183
-
184
- $localeCode = Mage::getStoreConfig('general/locale/code', $order->getStoreId());
185
-
186
- $storeId = Mage::app()->getStore()->getStoreId();
187
-
188
- $templateId = Mage::getStoreConfig(self::XML_PATH_EMAIL_PAYMENT_CONFIRMATION);
189
-
190
-
191
- /** @var $mailTemplate Mage_Core_Model_Email_Template */
192
- $mailTemplate = Mage::getModel('core/email_template');
193
- if (is_numeric($templateId)) { // loads from database @table core_email_template
194
- $mailTemplate->load($templateId);
195
- } else {
196
- $mailTemplate->loadDefault($templateId, $localeCode);
197
- }
198
-
199
- $mailTemplate->setSenderName($supportName);
200
- $mailTemplate->setSenderEmail($supportEmail);
201
- $mailTemplate->setTemplateSubject('Payment Confirmation');
202
- $mailTemplate->setTemplateSubject($subject);
203
-
204
- $mailTemplate->send($order->getCustomerEmail(), $order->getCustomerName(), array(
205
- 'site_url' => $siteUrl,
206
- 'order_increment_id' => $order->getRealOrderId(),
207
- 'site_name' => $siteName,
208
- 'customer_name' => $order->getCustomerName(),
209
- 'order_date' => $order->getCreatedAtDate(),
210
- 'total_paid' => number_format(($amount / 100), 2),
211
- 'currency' => $currency,
212
- 'support_email' => $supportEmail
213
- )
214
- );
215
- } catch (Exception $e) {
216
- Mage::getModel('globalpay/logger')->write($e->getMessage(), 'exception');
217
- }
218
- }
219
-
220
- public function infoAction()
221
- {
222
-
223
- $query = $this->getRequest()->getParams();
224
-
225
- if (!isset($query['data'])) {
226
- $this->_redirectUrl(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK));
227
- }
228
-
229
- $paymethod = Mage::getModel('globalpay/pay');
230
- $query = $this->getRequest()->getQuery();
231
- $data = $query['data'];
232
-
233
- if ($data == 2){
234
- if(isset($query['ReferenceNumber'])) {
235
- $referenceNumber = $query['ReferenceNumber'];
236
-
237
- if (isset($query['AmountToPay'])) {
238
- $amountToPay = $query['AmountToPay'];
239
- }
240
- if (isset($query['AccountHolder'])) {
241
- $accountHolder = $query['AccountHolder'];
242
- }
243
- if (isset($query['BankName'])) {
244
- $bankName = $query['BankName'];
245
- }
246
- if (isset($query['AccountNumber'])) {
247
- $accountNumber = $query['AccountNumber'];
248
- }
249
- if (isset($query['SWIFT_BIC'])) {
250
- $SWIFT_BIC = $query['SWIFT_BIC'];
251
- }
252
- if (isset($query['AccountCurrency'])) {
253
- $accountCurrency = $query['AccountCurrency'];
254
- }
255
-
256
- if (isset($query['MerchantTransactionID'])) {
257
- $order = Mage::getModel('sales/order');
258
- $order->loadByIncrementId($query['MerchantTransactionID']);
259
- //$this->sendPaymentDetails($order, $referenceNumber, $amountToPay, $accountHolder, $bankName, $accountNumber, $SWIFT_BIC, $accountCurrency);
260
- if ($paymethod->method_config['notify_payment_instructions']) {
261
- // Inform customer
262
- $this->sendPaymentDetails($order, $referenceNumber, $amountToPay, $accountHolder, $bankName, $accountNumber, $SWIFT_BIC, $accountCurrency);
263
- }
264
-
265
- }
266
- session_write_close();
267
- $this->_redirect('checkout/onepage/success', $query); //send the payment details further to onepage/success
268
- }
269
- else{
270
- Mage::getSingleton('checkout/session')->addSuccess($paymethod->method_config['message_data_' . $data]);
271
- session_write_close();
272
- $this->_redirect('checkout/onepage/success');
273
- }
274
- }
275
- else if (in_array($data, array(3, 4))) {
276
- Mage::getSingleton('checkout/session')->addError($paymethod->method_config['message_data_' . $data]);
277
- session_write_close();
278
- $this->_redirect('checkout/cart');
279
- }
280
- else {
281
- Mage::getSingleton('checkout/session')->addSuccess($paymethod->method_config['message_data_7']);
282
- session_write_close();
283
- $this->_redirect('checkout/onepage/success');
284
- }
285
- }
286
-
287
- public function sendPaymentDetails(Mage_Sales_Model_Order $order, $referenceNumber, $amountToPay, $accountHolder, $bankName, $accountNumber, $SWIFT_BIC, $accountCurrency)
288
- {
289
- try{
290
- /** @var $order Mage_Sales_Model_Order */
291
- /**
292
- * get data for template
293
- */
294
- $siteUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
295
- $siteName = Mage::app()->getWebsite(1)->getName();
296
-
297
- $subject = $siteName." - ".$this->__('PaymentInstructions');
298
-
299
- $supportEmail = Mage::getStoreConfig('trans_email/ident_support/email');
300
- $supportName = Mage::getStoreConfig('trans_email/ident_support/name');
301
-
302
- $localeCode = Mage::getStoreConfig('general/locale/code', $order->getStoreId());
303
-
304
- $storeId = Mage::app()->getStore()->getStoreId();
305
-
306
- $templateId = Mage::getStoreConfig(self::XML_PATH_EMAIL_PAYMENT_INSTRUCTIONS);
307
-
308
-
309
- /** @var $mailTemplate Mage_Core_Model_Email_Template */
310
- $mailTemplate = Mage::getModel('core/email_template');
311
- if (is_numeric($templateId)) { // loads from database @table core_email_template
312
- $mailTemplate->load($templateId);
313
- } else {
314
- $mailTemplate->loadDefault($templateId, $localeCode);
315
- }
316
-
317
- $mailTemplate->setSenderName($supportName);
318
- $mailTemplate->setSenderEmail($supportEmail);
319
- $mailTemplate->setTemplateSubject($this->__('PaymentInstructions'));
320
- $mailTemplate->setTemplateSubject($subject);
321
-
322
- $mailTemplate->send($order->getCustomerEmail(), $order->getCustomerName(), array(
323
- 'site_url' => $siteUrl,
324
- 'order_increment_id' => $order->getRealOrderId(),
325
- 'site_name' => $siteName,
326
- 'customer_name' => $order->getCustomerName(),
327
- 'order_date' => $order->getCreatedAtDate(),
328
- 'reference_number' => $referenceNumber,
329
- 'amount_to_pay' => $amountToPay,
330
- 'account_holder' => $accountHolder,
331
- 'bank_name' => $bankName,
332
- 'account_number' => $accountNumber,
333
- 'swift_bic' => $SWIFT_BIC,
334
- 'account_currency' => $accountCurrency,
335
- 'support_email' => $supportEmail
336
- )
337
- );
338
- } catch (Exception $e) {
339
- Mage::getModel('globalpay/logger')->write($e->getMessage(), 'exception');
340
- }
341
- }
342
-
343
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Smart2pay_Globalpay_IndexController extends Mage_Core_Controller_Front_Action
4
+ {
5
+ const XML_PATH_EMAIL_PAYMENT_CONFIRMATION = 'payment/globalpay/payment_confirmation_template';
6
+ const XML_PATH_EMAIL_PAYMENT_INSTRUCTIONS = 'payment/globalpay/payment_instructions_template';
7
+ const XML_PATH_EMAIL_PAYMENT_INSTRUCTIONS_SIBS = 'payment/globalpay/payment_instructions_template_sibs';
8
+
9
+ /**
10
+ * Loads s2p in iFrame
11
+ * If !isset($_SESSION['s2p_handle_payment']) redirect to cart/checkout
12
+ */
13
+ public function indexAction()
14
+ {
15
+ // check if there is an submited order and a
16
+ if( isset( $_SESSION['s2p_handle_payment'] ) )
17
+ {
18
+ unset( $_SESSION['s2p_handle_payment'] );
19
+ $this->loadLayout();
20
+ $this->renderLayout();
21
+
22
+ Mage::getModel('globalpay/logger')->write('>>> Redirect OK :::', 'info');
23
+ } else
24
+ {
25
+ Mage::getModel('globalpay/logger')->write('>>> Redirect NOT OK, session empty. :::', 'info');
26
+
27
+ $this->_redirectUrl(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK) . 'checkout/cart/');
28
+ }
29
+ }
30
+
31
+ /**
32
+ * Process s2p response
33
+ * Expected response content: {
34
+ * "NotificationType":"payment",
35
+ * "MethodID":"27",
36
+ * "PaymentID":"18899",
37
+ * "MerchantTransactionID":"926927",
38
+ * "StatusID":"2",
39
+ * "Amount":"100",
40
+ * "Currency":"EUR",
41
+ * "Hash":"fb9810cb1ac334092aa1f3033be20127676244b343f1ef2ffb447b9a8ced04ba"}
42
+ */
43
+ // MethodID: 20:
44
+ // NotificationType=Payment&
45
+ // MethodID=20&
46
+ // PaymentID=1528069&
47
+ // MerchantTransactionID=100000017&
48
+ // StatusID=1&
49
+ // Amount=2500&
50
+ // Currency=USD&
51
+ // SiteID=30112&
52
+ // ReferenceNumber=000 887 453&
53
+ // EntityNumber=11302&
54
+ // AmountToPay=22.03 EUR
55
+
56
+ // MethodID: 1:
57
+ // NotificationType=Payment&
58
+ // MethodID=1&
59
+ // PaymentID=1528073&
60
+ // MerchantTransactionID=100000018&
61
+ // StatusID=1&
62
+ // Amount=2500&
63
+ // Currency=USD&
64
+ // SiteID=30112&
65
+ // ReferenceNumber=HPP1528073&
66
+ // AmountToPay=88.76RON&
67
+ // AccountHolder=SC SMART2PAY SRL&
68
+ // BankName=BRD Groupe Societe Generale&
69
+ // AccountNumber=SV67447622400&
70
+ // IBAN=RO16BRDE240SV67447622400&
71
+ // SWIFT_BIC=BRDEROBUXXX&
72
+ // AccountCurrency=RON&
73
+ // Hash=07d258fcce37e3be92b251cd4fe047ae6e6e6388a6d565e70d0b42d17851bb6f
74
+ public function handleResponseAction()
75
+ {
76
+ /** @var Smart2Pay_Globalpay_Model_Logger $s2pLogger */
77
+ $s2pLogger = Mage::getModel( 'globalpay/logger' );
78
+
79
+ $s2pLogger->write( '>>> START HANDLE RESPONSE :::', 'info' );
80
+
81
+ /** @var Smart2Pay_Globalpay_Helper_Helper $s2pHelper */
82
+ $s2pHelper = Mage::helper( 'globalpay/helper' );
83
+ /** @var Smart2Pay_Globalpay_Model_Transactionlogger $s2pTransactionLogger */
84
+ $s2pTransactionLogger = Mage::getModel( 'globalpay/transactionlogger' );
85
+ /** @var Smart2Pay_Globalpay_Model_Pay $payMethod */
86
+ $payMethod = Mage::getModel( 'globalpay/pay' );
87
+ /** @var Mage_Sales_Model_Order $order */
88
+ $order = Mage::getModel( 'sales/order' );
89
+
90
+ try
91
+ {
92
+ $raw_input = file_get_contents( 'php://input' );
93
+ parse_str( $raw_input, $response );
94
+
95
+ $recomposedHashString = '';
96
+ if( !empty( $raw_input ) )
97
+ {
98
+ $pairs = explode( '&', $raw_input );
99
+ foreach( $pairs as $pair )
100
+ {
101
+ $nv = explode( "=", $pair, 2 );
102
+ if( !isset( $nv[1] ) )
103
+ continue;
104
+
105
+ if( strtolower( $nv[0] ) != 'hash' )
106
+ $recomposedHashString .= $nv[0] . $nv[1];
107
+ }
108
+ }
109
+
110
+ $recomposedHashString .= $payMethod->method_config['signature'];
111
+
112
+ $s2pLogger->write( 'NotificationRecevied:\"' . $raw_input . '\"', 'info' );
113
+
114
+ if( empty( $response['Hash'] ) )
115
+ $response['Hash'] = '';
116
+
117
+ // Message is intact
118
+ if( $s2pHelper->computeSHA256Hash( $recomposedHashString ) != $response['Hash'] )
119
+ $s2pLogger->write( 'Hashes do not match! received: [' . $response['Hash'] . '] recomposed [' . $s2pHelper->computeSHA256Hash( $recomposedHashString ) . ']', 'warning' );
120
+
121
+ elseif( empty( $response['MerchantTransactionID'] ) )
122
+ $s2pLogger->write( 'Unknown merchant transaction ID in request', 'error' );
123
+
124
+ else
125
+ {
126
+ $s2pLogger->write( 'Hashes match', 'info' );
127
+
128
+ $order->loadByIncrementId( $response['MerchantTransactionID'] );
129
+ $order->addStatusHistoryComment( 'Smart2Pay :: notification received:<br>' . $raw_input );
130
+
131
+ /**
132
+ * Check status ID
133
+ */
134
+ switch( $response['StatusID'] )
135
+ {
136
+ // Status = success
137
+ case $payMethod::S2P_STATUS_OPEN:
138
+
139
+ if( !empty( $response['MethodID'] )
140
+ and $payMethod->method_config['notify_payment_instructions']
141
+ and in_array( $response['MethodID'], array( $payMethod::PAYMENT_METHOD_BT, $payMethod::PAYMENT_METHOD_SIBS ) ) )
142
+ {
143
+ $payment_details_arr = self::defaultPaymentDetailsParams();
144
+
145
+ if( isset($response['ReferenceNumber']) )
146
+ $payment_details_arr['reference_number'] = $response['ReferenceNumber'];
147
+ if( isset($response['AmountToPay']) )
148
+ $payment_details_arr['amount_to_pay'] = $response['AmountToPay'];
149
+ if( isset($response['AccountHolder']) )
150
+ $payment_details_arr['account_holder'] = $response['AccountHolder'];
151
+ if( isset($response['BankName']) )
152
+ $payment_details_arr['bank_name'] = $response['BankName'];
153
+ if( isset($response['AccountNumber']) )
154
+ $payment_details_arr['account_number'] = $response['AccountNumber'];
155
+ if( isset($response['AccountCurrency']) )
156
+ $payment_details_arr['account_currency'] = $response['AccountCurrency'];
157
+ if( isset($response['SWIFT_BIC']) )
158
+ $payment_details_arr['swift_bic'] = $response['SWIFT_BIC'];
159
+ if( isset($response['IBAN']) )
160
+ $payment_details_arr['iban'] = $response['IBAN'];
161
+ if( isset($response['EntityNumber']) )
162
+ $payment_details_arr['entity_number'] = $response['EntityNumber'];
163
+
164
+ // Inform customer
165
+ $this->sendPaymentDetails( $order, $payment_details_arr );
166
+ }
167
+ break;
168
+
169
+ // Status = success
170
+ case $payMethod::S2P_STATUS_SUCCESS:
171
+ // cheking amount and currency
172
+ $orderAmount = number_format( $order->getGrandTotal(), 2, '.', '' ) * 100;
173
+ $orderCurrency = $order->getOrderCurrency()->getCurrencyCode();
174
+
175
+ if( strcmp( $orderAmount, $response['Amount'] ) != 0
176
+ and $orderCurrency != $response['Currency'] )
177
+ $order->addStatusHistoryComment( 'Smart2Pay :: notification has different amount ['.$orderAmount.'/'.$response['Amount'] . '] and/or currency ['.$orderCurrency.'/' . $response['Currency'] . ']!. Please contact support@smart2pay.com', $payMethod->method_config['order_status_on_4'] );
178
+
179
+ else
180
+ {
181
+ $order->addStatusHistoryComment( 'Smart2Pay :: order has been paid. [MethodID: '. $response['MethodID'] .']', $payMethod->method_config['order_status_on_2'] );
182
+
183
+ // Generate invoice
184
+ if( $payMethod->method_config['auto_invoice'] )
185
+ {
186
+ // Create and pay Order Invoice
187
+ if( !$order->canInvoice() )
188
+ $s2pLogger->write('Order can not be invoiced', 'warning');
189
+
190
+ else
191
+ {
192
+ /** @var Mage_Sales_Model_Order_Invoice $invoice */
193
+ $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice();
194
+ $invoice->setRequestedCaptureCase( Mage_Sales_Model_Order_Invoice::CAPTURE_OFFLINE );
195
+ $invoice->register();
196
+ $transactionSave = Mage::getModel('core/resource_transaction')
197
+ ->addObject( $invoice )
198
+ ->addObject( $invoice->getOrder() );
199
+ $transactionSave->save();
200
+
201
+ $order->addStatusHistoryComment('Smart2Pay :: order has been automatically invoiced.', $payMethod->method_config['order_status_on_2']);
202
+ }
203
+ }
204
+
205
+ // Check shipment
206
+ if( $payMethod->method_config['auto_ship'] )
207
+ {
208
+ if( !$order->canShip() )
209
+ $s2pLogger->write( 'Order can not be shipped', 'warning' );
210
+
211
+ else
212
+ {
213
+ $itemQty = $order->getItemsCollection()->count();
214
+ $shipment = Mage::getModel( 'sales/service_order', $order )->prepareShipment( $itemQty );
215
+ $shipment = new Mage_Sales_Model_Order_Shipment_Api();
216
+ $shipmentId = $shipment->create( $order->getIncrementId() );
217
+ $order->addStatusHistoryComment( 'Smart2Pay :: order has been automatically shipped.', $payMethod->method_config['order_status_on_2'] );
218
+ }
219
+ }
220
+
221
+ // Inform customer
222
+ if( $payMethod->method_config['notify_customer'] )
223
+ {
224
+ $this->informCustomer( $order, $response['Amount'], $response['Currency'] );
225
+ }
226
+ }
227
+ break;
228
+
229
+ // Status = canceled
230
+ case $payMethod::S2P_STATUS_CANCELLED:
231
+ $order->addStatusHistoryComment( 'Smart2Pay :: payment has been canceled.', $payMethod->method_config['order_status_on_3'] );
232
+
233
+ if( !$order->canCancel() )
234
+ $s2pLogger->write('Can not cancel the order', 'warning');
235
+
236
+ else
237
+ $order->cancel();
238
+ break;
239
+
240
+ // Status = failed
241
+ case $payMethod::S2P_STATUS_FAILED:
242
+ $order->addStatusHistoryComment( 'Smart2Pay :: payment has failed.', $payMethod->method_config['order_status_on_4'] );
243
+ break;
244
+
245
+ // Status = expired
246
+ case $payMethod::S2P_STATUS_EXPIRED:
247
+ $order->addStatusHistoryComment( 'Smart2Pay :: payment has expired.', $payMethod->method_config['order_status_on_5'] );
248
+ break;
249
+
250
+ default:
251
+ $order->addStatusHistoryComment( 'Smart2Pay status "'.$response['StatusID'].'" occurred.', $payMethod->method_config['order_status'] );
252
+ break;
253
+ }
254
+
255
+ $order->save();
256
+
257
+ $s2p_transaction_arr = array();
258
+ if( isset( $response['MethodID'] ) )
259
+ $s2p_transaction_arr['method_id'] = $response['MethodID'];
260
+ if( isset( $response['PaymentID'] ) )
261
+ $s2p_transaction_arr['payment_id'] = $response['PaymentID'];
262
+ if( isset( $response['MerchantTransactionID'] ) )
263
+ $s2p_transaction_arr['merchant_transaction_id'] = $response['MerchantTransactionID'];
264
+ if( isset( $response['SiteID'] ) )
265
+ $s2p_transaction_arr['site_id'] = $response['SiteID'];
266
+
267
+ $s2p_transaction_extra_arr = array();
268
+ $s2p_default_transaction_extra_arr = $s2pTransactionLogger::defaultTransactionLoggerExtraParams();
269
+ foreach( $s2p_default_transaction_extra_arr as $key => $val )
270
+ {
271
+ if( array_key_exists( $key, $response ) )
272
+ $s2p_transaction_extra_arr[$key] = $response[$key];
273
+ }
274
+
275
+ $s2pTransactionLogger->write( $s2p_transaction_arr, $s2p_transaction_extra_arr );
276
+
277
+ // NotificationType IS payment
278
+ if( strtolower( $response['NotificationType'] ) == 'payment' )
279
+ {
280
+ // prepare string for 'da hash
281
+ $responseHashString = "notificationTypePaymentPaymentId".$response['PaymentID'].$payMethod->method_config['signature'];
282
+
283
+ // prepare response data
284
+ $responseData = array(
285
+ 'NotificationType' => 'Payment',
286
+ 'PaymentID' => $response['PaymentID'],
287
+ 'Hash' => $s2pHelper->computeSHA256Hash( $responseHashString )
288
+ );
289
+
290
+ // output response
291
+ echo 'NotificationType=payment&PaymentID='.$responseData['PaymentID'].'&Hash='.$responseData['Hash'];
292
+ }
293
+ }
294
+ } catch ( Exception $e )
295
+ {
296
+ $s2pLogger->write( $e->getMessage(), 'exception' );
297
+ }
298
+
299
+ $s2pLogger->write( '::: END HANDLE RESPONSE <<<', 'info' );
300
+ }
301
+
302
+ public function informCustomer(Mage_Sales_Model_Order $order, $amount, $currency)
303
+ {
304
+ try
305
+ {
306
+ /** @var $order Mage_Sales_Model_Order */
307
+ /**
308
+ * get data for template
309
+ */
310
+ $siteUrl = Mage::getBaseUrl( Mage_Core_Model_Store::URL_TYPE_LINK );
311
+ $siteName = Mage::app()->getWebsite(1)->getName();
312
+
313
+ $subject = $siteName.' - Payment confirmation';
314
+
315
+ $supportEmail = Mage::getStoreConfig('trans_email/ident_support/email');
316
+ $supportName = Mage::getStoreConfig('trans_email/ident_support/name');
317
+
318
+ $localeCode = Mage::getStoreConfig('general/locale/code', $order->getStoreId());
319
+
320
+ $templateId = Mage::getStoreConfig(self::XML_PATH_EMAIL_PAYMENT_CONFIRMATION);
321
+
322
+
323
+ /** @var $mailTemplate Mage_Core_Model_Email_Template */
324
+ $mailTemplate = Mage::getModel('core/email_template');
325
+ if (is_numeric($templateId)) { // loads from database @table core_email_template
326
+ $mailTemplate->load($templateId);
327
+ } else {
328
+ $mailTemplate->loadDefault($templateId, $localeCode);
329
+ }
330
+
331
+ $mailTemplate->setSenderName($supportName);
332
+ $mailTemplate->setSenderEmail($supportEmail);
333
+ $mailTemplate->setTemplateSubject('Payment Confirmation');
334
+ $mailTemplate->setTemplateSubject($subject);
335
+
336
+ $mailTemplate->send($order->getCustomerEmail(), $order->getCustomerName(), array(
337
+ 'site_url' => $siteUrl,
338
+ 'order_increment_id' => $order->getRealOrderId(),
339
+ 'site_name' => $siteName,
340
+ 'customer_name' => $order->getCustomerName(),
341
+ 'order_date' => $order->getCreatedAtDate(),
342
+ 'total_paid' => number_format(($amount / 100), 2),
343
+ 'currency' => $currency,
344
+ 'support_email' => $supportEmail
345
+ )
346
+ );
347
+ } catch (Exception $e) {
348
+ Mage::getModel('globalpay/logger')->write($e->getMessage(), 'exception');
349
+ }
350
+ }
351
+
352
+ // http://demo.smart2pay.com/_redirectURLs/success.html?
353
+ // data=2
354
+ // &MerchantTransactionID=14915837935
355
+ // &ReferenceNumber=HPP1527936
356
+ // &AmountToPay=1RON
357
+ // &AccountHolder=SC+SMART2PAY+SRL
358
+ // &BankName=BRD+Groupe+Societe+Generale
359
+ // &AccountNumber=SV67447622400
360
+ // &IBAN=RO16BRDE240SV67447622400
361
+ // &SWIFT_BIC=BRDEROBUXXX
362
+ // &AccountCurrency=RON
363
+ // &Hash=188f6a5bd3d0ac9b421fbc5453a52e58a46e44120daf306f3c694bda3fc65469
364
+ public function infoAction()
365
+ {
366
+ $query = $this->getRequest()->getParams();
367
+
368
+ if( !isset( $query['data'] ) )
369
+ {
370
+ $this->_redirectUrl( Mage::getBaseUrl( Mage_Core_Model_Store::URL_TYPE_LINK ) );
371
+ $query['data'] = 0;
372
+ }
373
+
374
+ /** @var Smart2Pay_Globalpay_Model_Pay $payMethod */
375
+ $payMethod = Mage::getModel('globalpay/pay');
376
+ $query = $this->getRequest()->getQuery();
377
+
378
+ if( empty( $query['data'] ) )
379
+ $query['data'] = 0;
380
+
381
+ $data = $query['data'];
382
+
383
+ if( $data == $payMethod::S2P_STATUS_SUCCESS )
384
+ {
385
+ if( isset( $query['ReferenceNumber'] ) )
386
+ {
387
+ /**
388
+ * Order details sent in backend notification
389
+ *
390
+ $payment_details_arr = self::defaultPaymentDetailsParams();
391
+
392
+ if( isset( $query['ReferenceNumber'] ) )
393
+ $payment_details_arr['reference_number'] = $query['ReferenceNumber'];
394
+ if( isset( $query['AmountToPay'] ) )
395
+ $payment_details_arr['amount_to_pay'] = $query['AmountToPay'];
396
+ if( isset( $query['AccountHolder'] ) )
397
+ $payment_details_arr['account_holder'] = $query['AccountHolder'];
398
+ if( isset( $query['BankName'] ) )
399
+ $payment_details_arr['bank_name'] = $query['BankName'];
400
+ if( isset( $query['AccountNumber'] ) )
401
+ $payment_details_arr['account_number'] = $query['AccountNumber'];
402
+ if( isset( $query['AccountCurrency'] ) )
403
+ $payment_details_arr['account_currency'] = $query['AccountCurrency'];
404
+ if( isset( $query['SWIFT_BIC'] ) )
405
+ $payment_details_arr['swift_bic'] = $query['SWIFT_BIC'];
406
+ if( isset( $query['IBAN'] ) )
407
+ $payment_details_arr['iban'] = $query['IBAN'];
408
+ if( isset( $query['EntityNumber'] ) )
409
+ $payment_details_arr['entity_number'] = $query['EntityNumber'];
410
+
411
+ if( isset( $query['MerchantTransactionID'] ) )
412
+ {
413
+ $order = Mage::getModel('sales/order');
414
+ $order->loadByIncrementId( $query['MerchantTransactionID'] );
415
+
416
+ // Inform customer
417
+ if( $payMethod->method_config['notify_payment_instructions'] )
418
+ $this->sendPaymentDetails( $order, $payment_details_arr );
419
+ }
420
+ /**/
421
+
422
+ session_write_close();
423
+ $this->_redirect('checkout/onepage/success', $query ); //send the payment details further to onepage/success
424
+ } else
425
+ {
426
+ if( !empty( $payMethod->method_config['message_data_' . $data] ) )
427
+ Mage::getSingleton('checkout/session')->addSuccess( $payMethod->method_config['message_data_' . $data] );
428
+
429
+ session_write_close();
430
+ $this->_redirect('checkout/onepage/success');
431
+ }
432
+ } elseif( in_array( $data, array( $payMethod::S2P_STATUS_CANCELLED, $payMethod::S2P_STATUS_FAILED ) ) )
433
+ {
434
+ if( !empty( $payMethod->method_config['message_data_'.$data] ) )
435
+ Mage::getSingleton( 'checkout/session' )->addError( $payMethod->method_config['message_data_'.$data] );
436
+ session_write_close();
437
+ $this->_redirect( 'checkout/cart' );
438
+ } else
439
+ {
440
+ if( !empty( $payMethod->method_config['message_data_7'] ) )
441
+ Mage::getSingleton('checkout/session')->addNotice( $payMethod->method_config['message_data_7'] );
442
+ session_write_close();
443
+ $this->_redirect('checkout/onepage/success');
444
+ }
445
+ }
446
+
447
+ static function defaultPaymentDetailsParams()
448
+ {
449
+ return array(
450
+ 'reference_number' => 0,
451
+ 'amount_to_pay' => 0,
452
+ 'account_holder' => '',
453
+ 'bank_name' => '',
454
+ 'account_number' => '',
455
+ 'account_currency' => '',
456
+ 'swift_bic' => '',
457
+ 'iban' => '',
458
+ 'entity_number' => '',
459
+ );
460
+ }
461
+
462
+ static function validatePaymentDetailsParams( $query_arr )
463
+ {
464
+ if( empty( $query_arr ) or !is_array( $query_arr ) )
465
+ $query_arr = array();
466
+
467
+ $default_values = self::defaultPaymentDetailsParams();
468
+ foreach( $default_values as $key => $val )
469
+ {
470
+ if( !array_key_exists( $key, $query_arr ) )
471
+ $query_arr[$key] = $val;
472
+ }
473
+
474
+ return $query_arr;
475
+ }
476
+
477
+ public function sendPaymentDetails( Mage_Sales_Model_Order $order, $payment_details_arr )
478
+ {
479
+ $payment_details_arr = self::validatePaymentDetailsParams( $payment_details_arr );
480
+
481
+ /** @var Smart2Pay_Globalpay_Model_Transactionlogger $s2pTransactionLogger */
482
+ $s2pTransactionLogger = Mage::getModel( 'globalpay/transactionlogger' );
483
+ /** @var Smart2Pay_Globalpay_Model_Pay $payMethod */
484
+ $payMethod = Mage::getModel('globalpay/pay');
485
+ /** @var Smart2Pay_Globalpay_Model_Logger $s2pLogger */
486
+ $s2pLogger = Mage::getModel( 'globalpay/logger' );
487
+
488
+ try
489
+ {
490
+ /** @var $order Mage_Sales_Model_Order */
491
+ /**
492
+ * get data for template
493
+ */
494
+ $siteUrl = Mage::getBaseUrl( Mage_Core_Model_Store::URL_TYPE_LINK );
495
+ $siteName = Mage::app()->getWebsite(1)->getName();
496
+
497
+ $order_increment_id = $order->getRealOrderId();
498
+
499
+ $subject = $siteName." - ".$this->__( 'PaymentInstructionsSubject', $order_increment_id );
500
+
501
+ $supportEmail = Mage::getStoreConfig( 'trans_email/ident_support/email' );
502
+ $supportName = Mage::getStoreConfig( 'trans_email/ident_support/name' );
503
+
504
+ $localeCode = Mage::getStoreConfig( 'general/locale/code', $order->getStoreId() );
505
+
506
+ if( ($s2p_transaction_arr = $s2pTransactionLogger->getTransactionDetailsAsArray( $order_increment_id ))
507
+ and $s2p_transaction_arr['method_id'] == $payMethod::PAYMENT_METHOD_SIBS )
508
+ {
509
+ $s2pLogger->write( '['.self::XML_PATH_EMAIL_PAYMENT_INSTRUCTIONS_SIBS.']', 'email_template' );
510
+ $templateId = Mage::getStoreConfig( self::XML_PATH_EMAIL_PAYMENT_INSTRUCTIONS_SIBS );
511
+ } else
512
+ {
513
+ $s2pLogger->write( '['.self::XML_PATH_EMAIL_PAYMENT_INSTRUCTIONS.']', 'email_template' );
514
+ $templateId = Mage::getStoreConfig( self::XML_PATH_EMAIL_PAYMENT_INSTRUCTIONS );
515
+ }
516
+
517
+ /** @var $mailTemplate Mage_Core_Model_Email_Template */
518
+ $mailTemplate = Mage::getModel( 'core/email_template' );
519
+ if( is_numeric( $templateId ) )
520
+ // loads from database @table core_email_template
521
+ $mailTemplate->load( $templateId );
522
+ else
523
+ $mailTemplate->loadDefault( $templateId, $localeCode );
524
+
525
+ $mailTemplate->setSenderName( $supportName );
526
+ $mailTemplate->setSenderEmail( $supportEmail );
527
+ $mailTemplate->setTemplateSubject( $this->__('PaymentInstructions') );
528
+ $mailTemplate->setTemplateSubject( $subject );
529
+
530
+ // Extra details
531
+ $payment_details_arr['site_url'] = $siteUrl;
532
+ $payment_details_arr['order_increment_id'] = $order_increment_id;
533
+ $payment_details_arr['site_name'] = $siteName;
534
+ $payment_details_arr['customer_name'] = $order->getCustomerName();
535
+ $payment_details_arr['order_date'] = $order->getCreatedAtDate();
536
+ $payment_details_arr['support_email'] = $supportEmail;
537
+
538
+ if( !$mailTemplate->send( $order->getCustomerEmail(), $order->getCustomerName(), $payment_details_arr ) )
539
+ $s2pLogger->write( 'Error sending payment instructions email to ['.$order->getCustomerEmail().']', 'email_template' );
540
+
541
+ } catch( Exception $e )
542
+ {
543
+ $s2pLogger->write( $e->getMessage(), 'exception' );
544
+ }
545
+ }
546
+
547
+ }
app/code/community/Smart2Pay/Globalpay/controllers/TestsController.php CHANGED
@@ -1,13 +1,13 @@
1
- <?php
2
- class Smart2Pay_Globalpay_TestsController extends Mage_Core_Controller_Front_Action
3
- {
4
- public function indexAction(){
5
- $method = Mage::getModel('globalpay/method');
6
- $collection = $method->getCollection();
7
- foreach ($collection as $m) {
8
- echo '"' . $m->getDisplayName() . ' description",' . '"' . htmlspecialchars(str_replace('"', '""', $m->getDescription())) . '"' . '<br />';
9
- }
10
- die;
11
- }
12
- }
13
  ?>
1
+ <?php
2
+ class Smart2Pay_Globalpay_TestsController extends Mage_Core_Controller_Front_Action
3
+ {
4
+ public function indexAction(){
5
+ $method = Mage::getModel('globalpay/method');
6
+ $collection = $method->getCollection();
7
+ foreach ($collection as $m) {
8
+ echo '"' . $m->getDisplayName() . ' description",' . '"' . htmlspecialchars(str_replace('"', '""', $m->getDescription())) . '"' . '<br />';
9
+ }
10
+ die;
11
+ }
12
+ }
13
  ?>
app/code/community/Smart2Pay/Globalpay/etc/config.xml CHANGED
@@ -1,124 +1,134 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Smart2Pay_Globalpay>
5
- <version>1.1.4</version>
6
- </Smart2Pay_Globalpay>
7
- </modules>
8
- <frontend>
9
- <routers>
10
- <globalpay>
11
- <use>standard</use>
12
- <args>
13
- <module>Smart2Pay_Globalpay</module>
14
- <frontName>globalpay</frontName>
15
- </args>
16
- </globalpay>
17
- </routers>
18
- <layout>
19
- <updates>
20
- <globalpay>
21
- <file>globalpay.xml</file>
22
- </globalpay>
23
- </updates>
24
- </layout>
25
- <translate>
26
- <modules>
27
- <Smart2Pay_Globalpay>
28
- <files>
29
- <default>Smart2Pay_Globalpay.csv</default>
30
- </files>
31
- </Smart2Pay_Globalpay>
32
- </modules>
33
- </translate>
34
- </frontend>
35
-
36
- <global>
37
-
38
- <template>
39
- <email>
40
- <payment_globalpay_payment_confirmation_template translate="label" module="globalpay">
41
- <label>Globalpay Confirmation Template</label>
42
- <file>smart2pay/globalpay/payment_confirmation.html</file>
43
- <type>html</type>
44
- </payment_globalpay_payment_confirmation_template>
45
- </email>
46
- <email>
47
- <payment_globalpay_payment_instructions_template translate="label" module="globalpay">
48
- <label>Globalpay Instructions Template</label>
49
- <file>smart2pay/globalpay/payment_instructions.html</file>
50
- <type>html</type>
51
- </payment_globalpay_payment_instructions_template>
52
- </email>
53
- </template>
54
-
55
- <resources>
56
- <globalpay_setup>
57
- <setup>
58
- <module>Smart2Pay_Globalpay</module>
59
- <class>Smart2Pay_Globalpay_Model_Resource_Setup</class>
60
- </setup>
61
- </globalpay_setup>
62
- </resources>
63
-
64
- <models>
65
- <globalpay>
66
- <class>Smart2Pay_Globalpay_Model</class>
67
- <resourceModel>globalpay_resource</resourceModel>
68
- </globalpay>
69
- <globalpay_resource>
70
- <class>Smart2Pay_Globalpay_Model_Resource</class>
71
- <entities>
72
- <country>
73
- <table>s2p_gp_countries</table>
74
- </country>
75
- <method>
76
- <table>s2p_gp_methods</table>
77
- </method>
78
- <countrymethod>
79
- <table>s2p_gp_countries_methods</table>
80
- </countrymethod>
81
- <logger>
82
- <table>s2p_gp_logs</table>
83
- </logger>
84
- </entities>
85
- </globalpay_resource>
86
- </models>
87
- <blocks>
88
- <globalpay>
89
- <class>Smart2Pay_Globalpay_Block</class>
90
- </globalpay>
91
- </blocks>
92
- <helpers>
93
- <globalpay>
94
- <class>Smart2Pay_Globalpay_Helper</class>
95
- </globalpay>
96
- </helpers>
97
- </global>
98
- <default>
99
- <payment>
100
- <globalpay>
101
- <active>1</active>
102
- <model>globalpay/pay</model>
103
- <order_status>holded</order_status>
104
- <order_status_on_2>processing</order_status_on_2>
105
- <order_status_on_3>canceled</order_status_on_3>
106
- <order_status_on_4>canceled</order_status_on_4>
107
- <order_status_on_5>canceled</order_status_on_5>
108
- <title>Alternative payment methods</title>
109
- <post_url_live>https://api.smart2pay.com</post_url_live>
110
- <post_url_test>https://apitest.smart2pay.com</post_url_test>
111
- <methods>1,2,3,4,5,8,9,12,13,14,18,19,20,22,23,24,25,27,28,29,32,33,34,35,36,37,40,42,43,44,46,47,48,49,62,63,64,65,66,67,72,73,74,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045</methods>
112
- <product_description_ref>1</product_description_ref>
113
- <skip_payment_page>1</skip_payment_page>
114
- <debug_form>0</debug_form>
115
- <grid_column_number>3</grid_column_number>
116
- <return_url>http://www.example.com/index.php/globalpay/index/info/</return_url>
117
- <message_data_2>Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.</message_data_2>
118
- <message_data_4>There was a problem processing your payment. Please try again.</message_data_4>
119
- <message_data_3>You have canceled the payment.</message_data_3>
120
- <message_data_7>Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.</message_data_7>
121
- </globalpay>
122
- </payment>
123
- </default>
124
- </config>
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Smart2Pay_Globalpay>
5
+ <version>1.1.5</version>
6
+ </Smart2Pay_Globalpay>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <globalpay>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Smart2Pay_Globalpay</module>
14
+ <frontName>globalpay</frontName>
15
+ </args>
16
+ </globalpay>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <globalpay>
21
+ <file>globalpay.xml</file>
22
+ </globalpay>
23
+ </updates>
24
+ </layout>
25
+ <translate>
26
+ <modules>
27
+ <Smart2Pay_Globalpay>
28
+ <files>
29
+ <default>Smart2Pay_Globalpay.csv</default>
30
+ </files>
31
+ </Smart2Pay_Globalpay>
32
+ </modules>
33
+ </translate>
34
+ </frontend>
35
+
36
+ <global>
37
+ <template>
38
+ <email>
39
+ <payment_globalpay_payment_confirmation_template translate="label" module="globalpay">
40
+ <label><![CDATA[Globalpay Confirmation Template]]></label>
41
+ <file>smart2pay/globalpay/payment_confirmation.html</file>
42
+ <type>html</type>
43
+ </payment_globalpay_payment_confirmation_template>
44
+ </email>
45
+ <email>
46
+ <payment_globalpay_payment_instructions_template translate="label" module="globalpay">
47
+ <label><![CDATA[Globalpay Instructions Template (for Bank Transafer)]]></label>
48
+ <file>smart2pay/globalpay/payment_instructions.html</file>
49
+ <type>html</type>
50
+ </payment_globalpay_payment_instructions_template>
51
+ </email>
52
+ <email>
53
+ <payment_globalpay_payment_instructions_template_sibs translate="label" module="globalpay">
54
+ <label><![CDATA[Globalpay Instructions Template (for Multibanco SIBS)]]></label>
55
+ <file>smart2pay/globalpay/payment_instructions_sibs.html</file>
56
+ <type>html</type>
57
+ </payment_globalpay_payment_instructions_template_sibs>
58
+ </email>
59
+ </template>
60
+
61
+ <resources>
62
+ <globalpay_setup>
63
+ <setup>
64
+ <module>Smart2Pay_Globalpay</module>
65
+ <class>Smart2Pay_Globalpay_Model_Resource_Setup</class>
66
+ </setup>
67
+ </globalpay_setup>
68
+ </resources>
69
+
70
+ <models>
71
+ <globalpay>
72
+ <class>Smart2Pay_Globalpay_Model</class>
73
+ <resourceModel>globalpay_resource</resourceModel>
74
+ </globalpay>
75
+ <globalpay_resource>
76
+ <class>Smart2Pay_Globalpay_Model_Resource</class>
77
+ <entities>
78
+ <country>
79
+ <table>s2p_gp_countries</table>
80
+ </country>
81
+ <method>
82
+ <table>s2p_gp_methods</table>
83
+ </method>
84
+ <countrymethod>
85
+ <table>s2p_gp_countries_methods</table>
86
+ </countrymethod>
87
+ <transactionlogger>
88
+ <table>s2p_gp_transactions</table>
89
+ </transactionlogger>
90
+ <logger>
91
+ <table>s2p_gp_logs</table>
92
+ </logger>
93
+ </entities>
94
+ </globalpay_resource>
95
+ </models>
96
+ <blocks>
97
+ <globalpay>
98
+ <class>Smart2Pay_Globalpay_Block</class>
99
+ </globalpay>
100
+ </blocks>
101
+ <helpers>
102
+ <globalpay>
103
+ <class>Smart2Pay_Globalpay_Helper</class>
104
+ </globalpay>
105
+ </helpers>
106
+ </global>
107
+ <default>
108
+ <payment>
109
+ <globalpay>
110
+ <active>1</active>
111
+ <model>globalpay/pay</model>
112
+ <order_status>holded</order_status>
113
+ <order_status_on_2>processing</order_status_on_2>
114
+ <order_status_on_3>canceled</order_status_on_3>
115
+ <order_status_on_4>canceled</order_status_on_4>
116
+ <order_status_on_5>canceled</order_status_on_5>
117
+ <title><![CDATA[Alternative payment methods]]></title>
118
+ <post_url_live>https://api.smart2pay.com</post_url_live>
119
+ <post_url_test>https://apitest.smart2pay.com</post_url_test>
120
+ <methods>1,2,3,4,5,8,9,12,13,14,18,19,20,22,23,24,25,27,28,29,32,33,34,35,36,37,40,42,43,44,46,47,48,49,62,63,64,65,66,67,72,73,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043</methods>
121
+ <product_description_ref>1</product_description_ref>
122
+ <autoselect_s2p>1</autoselect_s2p>
123
+ <skip_payment_page>1</skip_payment_page>
124
+ <debug_form>0</debug_form>
125
+ <grid_column_number>3</grid_column_number>
126
+ <return_url>http://www.example.com/index.php/globalpay/index/info/</return_url>
127
+ <message_data_2><![CDATA[Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.]]></message_data_2>
128
+ <message_data_4><![CDATA[There was a problem processing your payment. Please try again.]]></message_data_4>
129
+ <message_data_3><![CDATA[You have canceled the payment.]]></message_data_3>
130
+ <message_data_7><![CDATA[Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.]]></message_data_7>
131
+ </globalpay>
132
+ </payment>
133
+ </default>
134
+ </config>
app/code/community/Smart2Pay/Globalpay/etc/system.xml CHANGED
@@ -1,345 +1,363 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <sections>
4
- <payment>
5
- <groups>
6
- <globalpay translate="label" module="paygate">
7
- <label>Smart2Pay Payment Module</label>
8
- <sort_order>670</sort_order>
9
- <show_in_default>1</show_in_default>
10
- <show_in_website>1</show_in_website>
11
- <show_in_store>1</show_in_store>
12
- <fields>
13
- <active translate="label">
14
- <label>Enabled</label>
15
- <frontend_type>select</frontend_type>
16
- <source_model>adminhtml/system_config_source_yesno</source_model>
17
- <sort_order>0</sort_order>
18
- <show_in_default>1</show_in_default>
19
- <show_in_website>1</show_in_website>
20
- <show_in_store>1</show_in_store>
21
- </active>
22
- <environment translate="label">
23
- <label><![CDATA[<b>&raquo; Environment</b>]]> </label>
24
- <frontend_type>select</frontend_type>
25
- <source_model>globalpay/source_testlive</source_model>
26
- <sort_order>1</sort_order>
27
- <show_in_default>1</show_in_default>
28
- <show_in_website>1</show_in_website>
29
- <show_in_store>1</show_in_store>
30
- </environment>
31
- <post_url_live translate="label">
32
- <label><![CDATA[<b>&raquo; Post URL Live</b>]]></label>
33
- <comment></comment>
34
- <frontend_type>text</frontend_type>
35
- <sort_order>2</sort_order>
36
- <show_in_default>1</show_in_default>
37
- <show_in_website>1</show_in_website>
38
- <show_in_store>0</show_in_store>
39
- </post_url_live>
40
- <post_url_test translate="label">
41
- <label><![CDATA[<b>&raquo; Post URL Test</b>]]></label>
42
- <comment></comment>
43
- <frontend_type>text</frontend_type>
44
- <sort_order>3</sort_order>
45
- <show_in_default>1</show_in_default>
46
- <show_in_website>1</show_in_website>
47
- <show_in_store>0</show_in_store>
48
- </post_url_test>
49
- <mid_live translate="label">
50
- <label><![CDATA[<b>&raquo; MID Live</b>]]></label>
51
- <comment></comment>
52
- <frontend_type>text</frontend_type>
53
- <sort_order>6</sort_order>
54
- <show_in_default>1</show_in_default>
55
- <show_in_website>1</show_in_website>
56
- <show_in_store>0</show_in_store>
57
- </mid_live>
58
- <mid_test translate="label">
59
- <label><![CDATA[<b>&raquo; MID Test</b>]]></label>
60
- <comment></comment>
61
- <frontend_type>text</frontend_type>
62
- <sort_order>7</sort_order>
63
- <show_in_default>1</show_in_default>
64
- <show_in_website>1</show_in_website>
65
- <show_in_store>0</show_in_store>
66
- </mid_test>
67
- <site_id translate="label">
68
- <label>Site ID</label>
69
- <frontend_type>text</frontend_type>
70
- <sort_order>8</sort_order>
71
- <show_in_default>1</show_in_default>
72
- <show_in_website>1</show_in_website>
73
- <show_in_store>1</show_in_store>
74
- </site_id>
75
- <signature_live translate="label">
76
- <label><![CDATA[<b>&raquo; Signature Live</b>]]></label>
77
- <comment></comment>
78
- <frontend_type>text</frontend_type>
79
- <sort_order>9</sort_order>
80
- <show_in_default>1</show_in_default>
81
- <show_in_website>1</show_in_website>
82
- <show_in_store>1</show_in_store>
83
- </signature_live>
84
- <signature_test translate="label">
85
- <label><![CDATA[<b>&raquo; Signature Test</b>]]></label>
86
- <comment></comment>
87
- <frontend_type>text</frontend_type>
88
- <sort_order>10</sort_order>
89
- <show_in_default>1</show_in_default>
90
- <show_in_website>1</show_in_website>
91
- <show_in_store>1</show_in_store>
92
- </signature_test>
93
- <return_url translate="label">
94
- <label><![CDATA[<b>&raquo; Return URL</b>]]></label>
95
- <comment></comment>
96
- <frontend_type>text</frontend_type>
97
- <sort_order>11</sort_order>
98
- <show_in_default>1</show_in_default>
99
- <show_in_website>1</show_in_website>
100
- <show_in_store>1</show_in_store>
101
- </return_url>
102
- <title translate="label">
103
- <label>Title</label>
104
- <comment>Insert a custom title for this payment module</comment>
105
- <frontend_type>text</frontend_type>
106
- <sort_order>12</sort_order>
107
- <show_in_default>1</show_in_default>
108
- <show_in_website>1</show_in_website>
109
- <show_in_store>1</show_in_store>
110
- </title>
111
- <methods translate="label">
112
- <label>Active methods</label>
113
- <frontend_type>multiselect</frontend_type>
114
- <sort_order>13</sort_order>
115
- <source_model>globalpay/source_methods</source_model>
116
- <show_in_default>1</show_in_default>
117
- <show_in_website>1</show_in_website>
118
- <show_in_store>1</show_in_store>
119
- </methods>
120
- <methods_display_mode translate="label">
121
- <label>Methods display mode</label>
122
- <frontend_type>select</frontend_type>
123
- <source_model>globalpay/source_displaymodes</source_model>
124
- <sort_order>14</sort_order>
125
- <show_in_default>1</show_in_default>
126
- <show_in_website>1</show_in_website>
127
- <show_in_store>1</show_in_store>
128
- </methods_display_mode>
129
- <show_methods_in_grid translate="label">
130
- <label>Show methods in grid</label>
131
- <comment>By default, methods will be displayed as a two columns table, having paymentm method's logo or name and description. When set to yes, description is omitted, and columns number can be specified bellow.</comment>
132
- <frontend_type>select</frontend_type>
133
- <source_model>adminhtml/system_config_source_yesno</source_model>
134
- <sort_order>15</sort_order>
135
- <show_in_default>1</show_in_default>
136
- <show_in_website>1</show_in_website>
137
- <show_in_store>1</show_in_store>
138
- </show_methods_in_grid>
139
- <grid_column_number translate="label">
140
- <label>Grid column number</label>
141
- <comment>Please provide a number, if left blank, the default value is 3 (This value is used only if above option is set to yes)</comment>
142
- <frontend_type>text</frontend_type>
143
- <sort_order>16</sort_order>
144
- <show_in_default>1</show_in_default>
145
- <show_in_website>1</show_in_website>
146
- <show_in_store>1</show_in_store>
147
- </grid_column_number>
148
- <product_description_ref translate="label">
149
- <label>Send order number as product description</label>
150
- <comment>If "No" is selected, the below custom description will be send</comment>
151
- <frontend_type>select</frontend_type>
152
- <source_model>adminhtml/system_config_source_yesno</source_model>
153
- <sort_order>20</sort_order>
154
- <show_in_default>1</show_in_default>
155
- <show_in_website>1</show_in_website>
156
- <show_in_store>1</show_in_store>
157
- </product_description_ref>
158
- <product_description_custom translate="label">
159
- <label>Custom product description</label>
160
- <frontend_type>textarea</frontend_type>
161
- <source_model>adminhtml/system_config_source_yesno</source_model>
162
- <sort_order>21</sort_order>
163
- <show_in_default>1</show_in_default>
164
- <show_in_website>1</show_in_website>
165
- <show_in_store>1</show_in_store>
166
- </product_description_custom>
167
- <notify_customer translate="label">
168
- <label>Notify customer by email</label>
169
- <comment>Send a confirmation email to the customer on success payment notification</comment>
170
- <frontend_type>select</frontend_type>
171
- <source_model>adminhtml/system_config_source_yesno</source_model>
172
- <sort_order>22</sort_order>
173
- <show_in_default>1</show_in_default>
174
- <show_in_website>1</show_in_website>
175
- <show_in_store>1</show_in_store>
176
- </notify_customer>
177
- <payment_confirmation_template translate="label">
178
- <label>Payment Confirmation Template</label>
179
- <frontend_type>select</frontend_type>
180
- <source_model>adminhtml/system_config_source_email_template</source_model>
181
- <sort_order>23</sort_order>
182
- <show_in_default>1</show_in_default>
183
- <show_in_website>1</show_in_website>
184
- <show_in_store>1</show_in_store>
185
- </payment_confirmation_template>
186
- <notify_payment_instructions translate="label">
187
- <label>Send payment instructions on order creation</label>
188
- <comment>Send a confirmation email to the customer on order creation with payment details</comment>
189
- <frontend_type>select</frontend_type>
190
- <source_model>adminhtml/system_config_source_yesno</source_model>
191
- <sort_order>24</sort_order>
192
- <show_in_default>1</show_in_default>
193
- <show_in_website>1</show_in_website>
194
- <show_in_store>1</show_in_store>
195
- </notify_payment_instructions>
196
- <payment_instructions_template translate="label">
197
- <label>Payment Instructions Template</label>
198
- <frontend_type>select</frontend_type>
199
- <source_model>adminhtml/system_config_source_email_template</source_model>
200
- <sort_order>25</sort_order>
201
- <show_in_default>1</show_in_default>
202
- <show_in_website>1</show_in_website>
203
- <show_in_store>1</show_in_store>
204
- </payment_instructions_template>
205
-
206
- <auto_invoice translate="label">
207
- <label>Create invoice on success</label>
208
- <comment>Create an invoice if payment is successfully done. Invoice is automatically set to paid</comment>
209
- <frontend_type>select</frontend_type>
210
- <source_model>adminhtml/system_config_source_yesno</source_model>
211
- <sort_order>26</sort_order>
212
- <show_in_default>1</show_in_default>
213
- <show_in_website>1</show_in_website>
214
- <show_in_store>1</show_in_store>
215
- </auto_invoice>
216
-
217
- <auto_ship translate="label">
218
- <label>Automate shipping</label>
219
- <frontend_type>select</frontend_type>
220
- <source_model>adminhtml/system_config_source_yesno</source_model>
221
- <sort_order>27</sort_order>
222
- <show_in_default>1</show_in_default>
223
- <show_in_website>1</show_in_website>
224
- <show_in_store>1</show_in_store>
225
- </auto_ship>
226
-
227
- <order_status translate="label">
228
- <label>New Order status</label>
229
- <frontend_type>select</frontend_type>
230
- <source_model>adminhtml/system_config_source_order_status</source_model>
231
- <sort_order>28</sort_order>
232
- <show_in_default>1</show_in_default>
233
- <show_in_website>1</show_in_website>
234
- <show_in_store>0</show_in_store>
235
- </order_status>
236
- <order_status_on_2 translate="label">
237
- <label>Order status on SUCCESS</label>
238
- <frontend_type>select</frontend_type>
239
- <source_model>adminhtml/system_config_source_order_status</source_model>
240
- <sort_order>29</sort_order>
241
- <show_in_default>1</show_in_default>
242
- <show_in_website>1</show_in_website>
243
- <show_in_store>0</show_in_store>
244
- </order_status_on_2>
245
- <order_status_on_3 translate="label">
246
- <label>Order status on CANCEL</label>
247
- <frontend_type>select</frontend_type>
248
- <source_model>adminhtml/system_config_source_order_status</source_model>
249
- <sort_order>30</sort_order>
250
- <show_in_default>1</show_in_default>
251
- <show_in_website>1</show_in_website>
252
- <show_in_store>0</show_in_store>
253
- </order_status_on_3>
254
- <order_status_on_4 translate="label">
255
- <label>Order status on FAIL</label>
256
- <frontend_type>select</frontend_type>
257
- <source_model>adminhtml/system_config_source_order_status</source_model>
258
- <sort_order>31</sort_order>
259
- <show_in_default>1</show_in_default>
260
- <show_in_website>1</show_in_website>
261
- <show_in_store>0</show_in_store>
262
- </order_status_on_4>
263
- <order_status_on_5 translate="label">
264
- <label>Order status on EXPIRED</label>
265
- <frontend_type>select</frontend_type>
266
- <source_model>adminhtml/system_config_source_order_status</source_model>
267
- <sort_order>32</sort_order>
268
- <show_in_default>1</show_in_default>
269
- <show_in_website>1</show_in_website>
270
- <show_in_store>0</show_in_store>
271
- </order_status_on_5>
272
- <skip_payment_page translate="label">
273
- <label>Skip payment page</label>
274
- <frontend_type>select</frontend_type>
275
- <source_model>adminhtml/system_config_source_yesno</source_model>
276
- <sort_order>33</sort_order>
277
- <show_in_default>1</show_in_default>
278
- <show_in_website>1</show_in_website>
279
- <show_in_store>1</show_in_store>
280
- </skip_payment_page>
281
- <redirect_in_iframe translate="label">
282
- <label>Redirect in iframe</label>
283
- <frontend_type>select</frontend_type>
284
- <source_model>adminhtml/system_config_source_yesno</source_model>
285
- <sort_order>34</sort_order>
286
- <show_in_default>1</show_in_default>
287
- <show_in_website>1</show_in_website>
288
- <show_in_store>1</show_in_store>
289
- </redirect_in_iframe>
290
- <skin_id translate="label">
291
- <label>Skin ID</label>
292
- <frontend_type>text</frontend_type>
293
- <sort_order>36</sort_order>
294
- <show_in_default>1</show_in_default>
295
- <show_in_website>1</show_in_website>
296
- <show_in_store>1</show_in_store>
297
- </skin_id>
298
- <message_data_2 translate="label">
299
- <label>Message Success</label>
300
- <frontend_type>textarea</frontend_type>
301
- <sort_order>37</sort_order>
302
- <show_in_default>1</show_in_default>
303
- <show_in_website>1</show_in_website>
304
- <show_in_store>1</show_in_store>
305
- </message_data_2>
306
- <message_data_4 translate="label">
307
- <label>Message Failed</label>
308
- <frontend_type>textarea</frontend_type>
309
- <sort_order>38</sort_order>
310
- <show_in_default>1</show_in_default>
311
- <show_in_website>1</show_in_website>
312
- <show_in_store>1</show_in_store>
313
- </message_data_4>
314
- <message_data_3 translate="label">
315
- <label>Message Canceled</label>
316
- <frontend_type>textarea</frontend_type>
317
- <sort_order>39</sort_order>
318
- <show_in_default>1</show_in_default>
319
- <show_in_website>1</show_in_website>
320
- <show_in_store>1</show_in_store>
321
- </message_data_3>
322
- <message_data_7 translate="label">
323
- <label>Message Pending</label>
324
- <frontend_type>textarea</frontend_type>
325
- <sort_order>40</sort_order>
326
- <show_in_default>1</show_in_default>
327
- <show_in_website>1</show_in_website>
328
- <show_in_store>1</show_in_store>
329
- </message_data_7>
330
- <debug_form translate="label">
331
- <label>[ Debug Form ]</label>
332
- <comment>Show form data before submiting it to Smart2Pay</comment>
333
- <frontend_type>select</frontend_type>
334
- <source_model>adminhtml/system_config_source_yesno</source_model>
335
- <sort_order>41</sort_order>
336
- <show_in_default>1</show_in_default>
337
- <show_in_website>1</show_in_website>
338
- <show_in_store>1</show_in_store>
339
- </debug_form>
340
- </fields>
341
- </globalpay>
342
- </groups>
343
- </payment>
344
- </sections>
345
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <sections>
4
+ <payment>
5
+ <groups>
6
+ <globalpay translate="label" module="paygate">
7
+ <label>Smart2Pay Payment Module</label>
8
+ <sort_order>670</sort_order>
9
+ <show_in_default>1</show_in_default>
10
+ <show_in_website>1</show_in_website>
11
+ <show_in_store>1</show_in_store>
12
+ <fields>
13
+ <active translate="label">
14
+ <label>Enabled</label>
15
+ <frontend_type>select</frontend_type>
16
+ <source_model>adminhtml/system_config_source_yesno</source_model>
17
+ <sort_order>0</sort_order>
18
+ <show_in_default>1</show_in_default>
19
+ <show_in_website>1</show_in_website>
20
+ <show_in_store>1</show_in_store>
21
+ </active>
22
+ <environment translate="label">
23
+ <label><![CDATA[<b>&raquo; Environment</b>]]> </label>
24
+ <frontend_type>select</frontend_type>
25
+ <source_model>globalpay/source_testlive</source_model>
26
+ <sort_order>1</sort_order>
27
+ <show_in_default>1</show_in_default>
28
+ <show_in_website>1</show_in_website>
29
+ <show_in_store>1</show_in_store>
30
+ </environment>
31
+ <post_url_live translate="label">
32
+ <label><![CDATA[<b>&raquo; Post URL Live</b>]]></label>
33
+ <comment></comment>
34
+ <frontend_type>text</frontend_type>
35
+ <sort_order>2</sort_order>
36
+ <show_in_default>1</show_in_default>
37
+ <show_in_website>1</show_in_website>
38
+ <show_in_store>0</show_in_store>
39
+ </post_url_live>
40
+ <post_url_test translate="label">
41
+ <label><![CDATA[<b>&raquo; Post URL Test</b>]]></label>
42
+ <comment></comment>
43
+ <frontend_type>text</frontend_type>
44
+ <sort_order>3</sort_order>
45
+ <show_in_default>1</show_in_default>
46
+ <show_in_website>1</show_in_website>
47
+ <show_in_store>0</show_in_store>
48
+ </post_url_test>
49
+ <mid_live translate="label">
50
+ <label><![CDATA[<b>&raquo; MID Live</b>]]></label>
51
+ <comment></comment>
52
+ <frontend_type>text</frontend_type>
53
+ <sort_order>6</sort_order>
54
+ <show_in_default>1</show_in_default>
55
+ <show_in_website>1</show_in_website>
56
+ <show_in_store>0</show_in_store>
57
+ </mid_live>
58
+ <mid_test translate="label">
59
+ <label><![CDATA[<b>&raquo; MID Test</b>]]></label>
60
+ <comment></comment>
61
+ <frontend_type>text</frontend_type>
62
+ <sort_order>7</sort_order>
63
+ <show_in_default>1</show_in_default>
64
+ <show_in_website>1</show_in_website>
65
+ <show_in_store>0</show_in_store>
66
+ </mid_test>
67
+ <site_id translate="label">
68
+ <label><![CDATA[Site ID]]></label>
69
+ <frontend_type>text</frontend_type>
70
+ <sort_order>8</sort_order>
71
+ <show_in_default>1</show_in_default>
72
+ <show_in_website>1</show_in_website>
73
+ <show_in_store>1</show_in_store>
74
+ </site_id>
75
+ <signature_live translate="label">
76
+ <label><![CDATA[<b>&raquo; Signature Live</b>]]></label>
77
+ <comment></comment>
78
+ <frontend_type>text</frontend_type>
79
+ <sort_order>9</sort_order>
80
+ <show_in_default>1</show_in_default>
81
+ <show_in_website>1</show_in_website>
82
+ <show_in_store>1</show_in_store>
83
+ </signature_live>
84
+ <signature_test translate="label">
85
+ <label><![CDATA[<b>&raquo; Signature Test</b>]]></label>
86
+ <comment></comment>
87
+ <frontend_type>text</frontend_type>
88
+ <sort_order>10</sort_order>
89
+ <show_in_default>1</show_in_default>
90
+ <show_in_website>1</show_in_website>
91
+ <show_in_store>1</show_in_store>
92
+ </signature_test>
93
+ <return_url translate="label">
94
+ <label><![CDATA[<b>&raquo; Return URL</b>]]></label>
95
+ <comment></comment>
96
+ <frontend_type>text</frontend_type>
97
+ <sort_order>11</sort_order>
98
+ <show_in_default>1</show_in_default>
99
+ <show_in_website>1</show_in_website>
100
+ <show_in_store>1</show_in_store>
101
+ </return_url>
102
+ <title translate="label">
103
+ <label><![CDATA[Title]]></label>
104
+ <comment>Insert a custom title for this payment module</comment>
105
+ <frontend_type>text</frontend_type>
106
+ <sort_order>12</sort_order>
107
+ <show_in_default>1</show_in_default>
108
+ <show_in_website>1</show_in_website>
109
+ <show_in_store>1</show_in_store>
110
+ </title>
111
+ <methods translate="label">
112
+ <label><![CDATA[Active methods]]></label>
113
+ <frontend_type>multiselect</frontend_type>
114
+ <sort_order>13</sort_order>
115
+ <source_model>globalpay/source_methods</source_model>
116
+ <show_in_default>1</show_in_default>
117
+ <show_in_website>1</show_in_website>
118
+ <show_in_store>1</show_in_store>
119
+ </methods>
120
+ <methods_display_mode translate="label">
121
+ <label><![CDATA[Methods display mode]]></label>
122
+ <frontend_type>select</frontend_type>
123
+ <source_model>globalpay/source_displaymodes</source_model>
124
+ <sort_order>14</sort_order>
125
+ <show_in_default>1</show_in_default>
126
+ <show_in_website>1</show_in_website>
127
+ <show_in_store>1</show_in_store>
128
+ </methods_display_mode>
129
+ <show_methods_in_grid translate="label">
130
+ <label><![CDATA[Show methods in grid]]></label>
131
+ <comment>By default, methods will be displayed as a two columns table, having paymentm method's logo or name and description. When set to yes, description is omitted, and columns number can be specified bellow.</comment>
132
+ <frontend_type>select</frontend_type>
133
+ <source_model>adminhtml/system_config_source_yesno</source_model>
134
+ <sort_order>15</sort_order>
135
+ <show_in_default>1</show_in_default>
136
+ <show_in_website>1</show_in_website>
137
+ <show_in_store>1</show_in_store>
138
+ </show_methods_in_grid>
139
+ <grid_column_number translate="label">
140
+ <label>Grid column number</label>
141
+ <comment>Please provide a number, if left blank, the default value is 3 (This value is used only if above option is set to yes)</comment>
142
+ <frontend_type>text</frontend_type>
143
+ <sort_order>16</sort_order>
144
+ <show_in_default>1</show_in_default>
145
+ <show_in_website>1</show_in_website>
146
+ <show_in_store>1</show_in_store>
147
+ </grid_column_number>
148
+ <product_description_ref translate="label">
149
+ <label>Send order number as product description</label>
150
+ <comment>If "No" is selected, the below custom description will be send</comment>
151
+ <frontend_type>select</frontend_type>
152
+ <source_model>adminhtml/system_config_source_yesno</source_model>
153
+ <sort_order>20</sort_order>
154
+ <show_in_default>1</show_in_default>
155
+ <show_in_website>1</show_in_website>
156
+ <show_in_store>1</show_in_store>
157
+ </product_description_ref>
158
+ <product_description_custom translate="label">
159
+ <label>Custom product description</label>
160
+ <frontend_type>textarea</frontend_type>
161
+ <source_model>adminhtml/system_config_source_yesno</source_model>
162
+ <sort_order>21</sort_order>
163
+ <show_in_default>1</show_in_default>
164
+ <show_in_website>1</show_in_website>
165
+ <show_in_store>1</show_in_store>
166
+ </product_description_custom>
167
+ <notify_customer translate="label">
168
+ <label>Notify customer by email</label>
169
+ <comment>Send a confirmation email to the customer on success payment notification</comment>
170
+ <frontend_type>select</frontend_type>
171
+ <source_model>adminhtml/system_config_source_yesno</source_model>
172
+ <sort_order>22</sort_order>
173
+ <show_in_default>1</show_in_default>
174
+ <show_in_website>1</show_in_website>
175
+ <show_in_store>1</show_in_store>
176
+ </notify_customer>
177
+ <payment_confirmation_template translate="label">
178
+ <label>Payment Confirmation Template</label>
179
+ <frontend_type>select</frontend_type>
180
+ <source_model>adminhtml/system_config_source_email_template</source_model>
181
+ <sort_order>23</sort_order>
182
+ <show_in_default>1</show_in_default>
183
+ <show_in_website>1</show_in_website>
184
+ <show_in_store>1</show_in_store>
185
+ </payment_confirmation_template>
186
+ <notify_payment_instructions translate="label">
187
+ <label>Send payment instructions on order creation</label>
188
+ <comment>Send a confirmation email to the customer on order creation with payment details</comment>
189
+ <frontend_type>select</frontend_type>
190
+ <source_model>adminhtml/system_config_source_yesno</source_model>
191
+ <sort_order>24</sort_order>
192
+ <show_in_default>1</show_in_default>
193
+ <show_in_website>1</show_in_website>
194
+ <show_in_store>1</show_in_store>
195
+ </notify_payment_instructions>
196
+ <payment_instructions_template translate="label">
197
+ <label><![CDATA[Payment Instructions Template (for Bank Transafer)]]></label>
198
+ <frontend_type>select</frontend_type>
199
+ <source_model>adminhtml/system_config_source_email_template</source_model>
200
+ <sort_order>25</sort_order>
201
+ <show_in_default>1</show_in_default>
202
+ <show_in_website>1</show_in_website>
203
+ <show_in_store>1</show_in_store>
204
+ </payment_instructions_template>
205
+ <payment_instructions_template_sibs translate="label">
206
+ <label><![CDATA[Payment Instructions Template (for Multibanco SIBS)]]></label>
207
+ <frontend_type>select</frontend_type>
208
+ <source_model>adminhtml/system_config_source_email_template</source_model>
209
+ <sort_order>25</sort_order>
210
+ <show_in_default>1</show_in_default>
211
+ <show_in_website>1</show_in_website>
212
+ <show_in_store>1</show_in_store>
213
+ </payment_instructions_template_sibs>
214
+
215
+ <auto_invoice translate="label">
216
+ <label>Create invoice on success</label>
217
+ <comment>Create an invoice if payment is successfully done. Invoice is automatically set to paid</comment>
218
+ <frontend_type>select</frontend_type>
219
+ <source_model>adminhtml/system_config_source_yesno</source_model>
220
+ <sort_order>26</sort_order>
221
+ <show_in_default>1</show_in_default>
222
+ <show_in_website>1</show_in_website>
223
+ <show_in_store>1</show_in_store>
224
+ </auto_invoice>
225
+
226
+ <auto_ship translate="label">
227
+ <label>Automate shipping</label>
228
+ <frontend_type>select</frontend_type>
229
+ <source_model>adminhtml/system_config_source_yesno</source_model>
230
+ <sort_order>27</sort_order>
231
+ <show_in_default>1</show_in_default>
232
+ <show_in_website>1</show_in_website>
233
+ <show_in_store>1</show_in_store>
234
+ </auto_ship>
235
+
236
+ <order_status translate="label">
237
+ <label>New Order status</label>
238
+ <frontend_type>select</frontend_type>
239
+ <source_model>adminhtml/system_config_source_order_status</source_model>
240
+ <sort_order>28</sort_order>
241
+ <show_in_default>1</show_in_default>
242
+ <show_in_website>1</show_in_website>
243
+ <show_in_store>0</show_in_store>
244
+ </order_status>
245
+ <order_status_on_2 translate="label">
246
+ <label>Order status on SUCCESS</label>
247
+ <frontend_type>select</frontend_type>
248
+ <source_model>adminhtml/system_config_source_order_status</source_model>
249
+ <sort_order>29</sort_order>
250
+ <show_in_default>1</show_in_default>
251
+ <show_in_website>1</show_in_website>
252
+ <show_in_store>0</show_in_store>
253
+ </order_status_on_2>
254
+ <order_status_on_3 translate="label">
255
+ <label>Order status on CANCEL</label>
256
+ <frontend_type>select</frontend_type>
257
+ <source_model>adminhtml/system_config_source_order_status</source_model>
258
+ <sort_order>30</sort_order>
259
+ <show_in_default>1</show_in_default>
260
+ <show_in_website>1</show_in_website>
261
+ <show_in_store>0</show_in_store>
262
+ </order_status_on_3>
263
+ <order_status_on_4 translate="label">
264
+ <label>Order status on FAIL</label>
265
+ <frontend_type>select</frontend_type>
266
+ <source_model>adminhtml/system_config_source_order_status</source_model>
267
+ <sort_order>31</sort_order>
268
+ <show_in_default>1</show_in_default>
269
+ <show_in_website>1</show_in_website>
270
+ <show_in_store>0</show_in_store>
271
+ </order_status_on_4>
272
+ <order_status_on_5 translate="label">
273
+ <label>Order status on EXPIRED</label>
274
+ <frontend_type>select</frontend_type>
275
+ <source_model>adminhtml/system_config_source_order_status</source_model>
276
+ <sort_order>32</sort_order>
277
+ <show_in_default>1</show_in_default>
278
+ <show_in_website>1</show_in_website>
279
+ <show_in_store>0</show_in_store>
280
+ </order_status_on_5>
281
+ <autoselect_s2p translate="label">
282
+ <label>Auto-select GlobalPay payment methods</label>
283
+ <frontend_type>select</frontend_type>
284
+ <source_model>adminhtml/system_config_source_yesno</source_model>
285
+ <sort_order>33</sort_order>
286
+ <show_in_default>1</show_in_default>
287
+ <show_in_website>1</show_in_website>
288
+ <show_in_store>1</show_in_store>
289
+ </autoselect_s2p>
290
+ <skip_payment_page translate="label">
291
+ <label>Skip payment page</label>
292
+ <frontend_type>select</frontend_type>
293
+ <source_model>adminhtml/system_config_source_yesno</source_model>
294
+ <sort_order>34</sort_order>
295
+ <show_in_default>1</show_in_default>
296
+ <show_in_website>1</show_in_website>
297
+ <show_in_store>1</show_in_store>
298
+ </skip_payment_page>
299
+ <redirect_in_iframe translate="label">
300
+ <label>Redirect in iframe</label>
301
+ <frontend_type>select</frontend_type>
302
+ <source_model>adminhtml/system_config_source_yesno</source_model>
303
+ <sort_order>35</sort_order>
304
+ <show_in_default>1</show_in_default>
305
+ <show_in_website>1</show_in_website>
306
+ <show_in_store>1</show_in_store>
307
+ </redirect_in_iframe>
308
+ <skin_id translate="label">
309
+ <label>Skin ID</label>
310
+ <frontend_type>text</frontend_type>
311
+ <sort_order>36</sort_order>
312
+ <show_in_default>1</show_in_default>
313
+ <show_in_website>1</show_in_website>
314
+ <show_in_store>1</show_in_store>
315
+ </skin_id>
316
+ <message_data_2 translate="label">
317
+ <label>Message Success</label>
318
+ <frontend_type>textarea</frontend_type>
319
+ <sort_order>37</sort_order>
320
+ <show_in_default>1</show_in_default>
321
+ <show_in_website>1</show_in_website>
322
+ <show_in_store>1</show_in_store>
323
+ </message_data_2>
324
+ <message_data_4 translate="label">
325
+ <label>Message Failed</label>
326
+ <frontend_type>textarea</frontend_type>
327
+ <sort_order>38</sort_order>
328
+ <show_in_default>1</show_in_default>
329
+ <show_in_website>1</show_in_website>
330
+ <show_in_store>1</show_in_store>
331
+ </message_data_4>
332
+ <message_data_3 translate="label">
333
+ <label>Message Canceled</label>
334
+ <frontend_type>textarea</frontend_type>
335
+ <sort_order>39</sort_order>
336
+ <show_in_default>1</show_in_default>
337
+ <show_in_website>1</show_in_website>
338
+ <show_in_store>1</show_in_store>
339
+ </message_data_3>
340
+ <message_data_7 translate="label">
341
+ <label>Message Pending</label>
342
+ <frontend_type>textarea</frontend_type>
343
+ <sort_order>40</sort_order>
344
+ <show_in_default>1</show_in_default>
345
+ <show_in_website>1</show_in_website>
346
+ <show_in_store>1</show_in_store>
347
+ </message_data_7>
348
+ <debug_form translate="label">
349
+ <label>[ Debug Form ]</label>
350
+ <comment>Show form data before submiting it to Smart2Pay</comment>
351
+ <frontend_type>select</frontend_type>
352
+ <source_model>adminhtml/system_config_source_yesno</source_model>
353
+ <sort_order>41</sort_order>
354
+ <show_in_default>1</show_in_default>
355
+ <show_in_website>1</show_in_website>
356
+ <show_in_store>1</show_in_store>
357
+ </debug_form>
358
+ </fields>
359
+ </globalpay>
360
+ </groups>
361
+ </payment>
362
+ </sections>
363
+ </config>
app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-install-0.1.0.php CHANGED
@@ -1,545 +1,545 @@
1
- <?php
2
- //die('Trying to setup Smart2Pay_Globalpay database');
3
-
4
- $installer = $this;
5
- $installer->startSetup();
6
- $installer->run("
7
-
8
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
- `log_id` int(11) NOT NULL auto_increment,
11
- `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
- `log_message` text collate utf8_unicode_ci default NULL,
13
- `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
- `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
- `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
- PRIMARY KEY (`log_id`)
17
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
-
19
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
- `method_id` int(11) NOT NULL auto_increment,
22
- `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
- `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
- `description` text collate utf8_unicode_ci,
25
- `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
- `guaranteed` int(1) default NULL,
27
- `active` int(1) default NULL,
28
- PRIMARY KEY (`method_id`)
29
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
- INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
31
- (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v5.gif', 1, 1),
32
- (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.jpg', 1, 1),
33
- (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.gif', 1, 1),
34
- (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.gif', 1, 1),
35
- (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.gif', 1, 1),
36
- (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.gif', 1, 1),
37
- (9, 'DirectEbanking', 'dp24', 'DirectEbanking description', 'dp24_sofort.gif', 0, 1),
38
- (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.gif', 1, 1),
39
- (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.gif', 1, 1),
40
- (14, 'CashU', 'cashu', 'CashU description', 'cashu.gif', 1, 1),
41
- (18, 'POLi', 'poli', 'POLi description', 'poli.gif', 0, 1),
42
- (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail_v2.gif', 0, 1),
43
- (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.gif', 1, 1),
44
- (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta_v2.gif', 1, 1),
45
- (23, 'WebToPay', 'webtopay', 'WebToPay description', 'webtopay_v3.gif', 1, 1),
46
- (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.jpg', 1, 1),
47
- (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.gif', 1, 1),
48
- (27, 'eBanka', 'ebanka', 'eBanka description', 'ebanka.jpg', 1, 1),
49
- (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.gif', 1, 1),
50
- (29, 'GluePay', 'gluepay', 'GluePay description', 'gluepay.jpg', 1, 1),
51
- (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.jpg', 1, 1),
52
- (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.gif', 1, 1),
53
- (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
54
- (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.gif', 0, 1),
55
- (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.gif', 0, 1),
56
- (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.gif', 1, 1),
57
- (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.gif', 1, 1),
58
- (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.jpg', 1, 0),
59
- (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.jpg', 0, 1),
60
- (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.gif', 1, 1),
61
- (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.jpg', 0, 1),
62
- (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.jpg', 0, 1),
63
- (48, 'Gash', 'gash', 'Gash description', 'gash.gif', 1, 1),
64
- (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.gif', 1, 1),
65
- (52, 'SecureVaultPayments', 'svp', 'SecureVaultPayments description', 'secure_vault.gif', 1, 1),
66
- (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto.jpg', 1, 1),
67
- (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.jpg', 1, 1),
68
- (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.jpg', 1, 1),
69
- (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet_v2.gif', 1, 1),
70
- (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.gif', 1, 1),
71
- (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon_v1.gif', 1, 1),
72
- (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
73
- (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney_v1.gif', 1, 1),
74
- (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex_money.gif', 1, 1),
75
- (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
76
- (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambankgroup.gif', 1, 1),
77
- (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.gif', 1, 1),
78
- (1012, 'FPX', 'asiapay', 'FPX description', 'FPX.gif', 1, 1),
79
- (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.gif', 1, 1),
80
- (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.gif', 1, 1),
81
- (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.gif', 1, 1),
82
- (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.gif', 1, 1),
83
- (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.gif', 1, 1),
84
- (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
85
- (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.jpg', 1, 1),
86
- (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.gif', 1, 1),
87
- (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ACH.gif', 1, 1),
88
- (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_in_cash.gif', 1, 1),
89
- (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.gif', 1, 1),
90
- (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.gif', 1, 1);
91
-
92
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
93
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
94
- `country_id` int(11) NOT NULL auto_increment,
95
- `code` varchar(3) collate utf8_unicode_ci default NULL,
96
- `name` varchar(100) collate utf8_unicode_ci default NULL,
97
- PRIMARY KEY (`country_id`)
98
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
99
- INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
100
- (1, 'AD', 'Andorra'),
101
- (2, 'AE', 'United Arab Emirates'),
102
- (3, 'AF', 'Afghanistan'),
103
- (4, 'AG', 'Antigua and Barbuda'),
104
- (5, 'AI', 'Anguilla'),
105
- (6, 'AL', 'Albania'),
106
- (7, 'AM', 'Armenia'),
107
- (8, 'AN', 'Netherlands Antilles'),
108
- (9, 'AO', 'Angola'),
109
- (10, 'AQ', 'Antarctica'),
110
- (11, 'AR', 'Argentina'),
111
- (12, 'AS', 'American Samoa'),
112
- (13, 'AT', 'Austria'),
113
- (14, 'AU', 'Australia'),
114
- (15, 'AW', 'Aruba'),
115
- (16, 'AZ', 'Azerbaijan'),
116
- (17, 'BA', 'Bosnia & Herzegowina'),
117
- (18, 'BB', 'Barbados'),
118
- (19, 'BD', 'Bangladesh'),
119
- (20, 'BE', 'Belgium'),
120
- (21, 'BF', 'Burkina Faso'),
121
- (22, 'BG', 'Bulgaria'),
122
- (23, 'BH', 'Bahrain'),
123
- (24, 'BI', 'Burundi'),
124
- (25, 'BJ', 'Benin'),
125
- (26, 'BM', 'Bermuda'),
126
- (27, 'BN', 'Brunei Darussalam'),
127
- (28, 'BO', 'Bolivia'),
128
- (29, 'BR', 'Brazil'),
129
- (30, 'BS', 'Bahamas'),
130
- (31, 'BT', 'Bhutan'),
131
- (32, 'BV', 'Bouvet Island'),
132
- (33, 'BW', 'Botswana'),
133
- (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
134
- (35, 'BZ', 'Belize'),
135
- (36, 'CA', 'Canada'),
136
- (37, 'CC', 'Cocos (Keeling) Islands'),
137
- (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
138
- (39, 'CF', 'Central African Republic'),
139
- (40, 'CG', 'Congo'),
140
- (41, 'CH', 'Switzerland'),
141
- (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
142
- (43, 'CK', 'Cook Islands'),
143
- (44, 'CL', 'Chile'),
144
- (45, 'CM', 'Cameroon'),
145
- (46, 'CN', 'China'),
146
- (47, 'CO', 'Colombia'),
147
- (48, 'CR', 'Costa Rica'),
148
- (49, 'CS', 'Serbia and Montenegro (formerly Yugoslavia)'),
149
- (50, 'CU', 'Cuba'),
150
- (51, 'CV', 'Cape Verde'),
151
- (52, 'CX', 'Christmas Island'),
152
- (53, 'CY', 'Cyprus'),
153
- (54, 'CZ', 'Czech Republic'),
154
- (55, 'DE', 'Germany'),
155
- (56, 'DJ', 'Djibouti'),
156
- (57, 'DK', 'Denmark'),
157
- (58, 'DM', 'Dominica'),
158
- (59, 'DO', 'Dominican Republic'),
159
- (60, 'DZ', 'Algeria'),
160
- (61, 'EC', 'Ecuador'),
161
- (62, 'EE', 'Estonia'),
162
- (63, 'EG', 'Egypt'),
163
- (64, 'EH', 'Western Sahara'),
164
- (65, 'ER', 'Eritrea'),
165
- (66, 'ES', 'Spain'),
166
- (67, 'ET', 'Ethiopia'),
167
- (68, 'FI', 'Finland'),
168
- (69, 'FJ', 'Fiji Islands'),
169
- (70, 'FK', 'Falkland Islands (Malvinas)'),
170
- (71, 'FM', 'Micronesia, Federated States of'),
171
- (72, 'FO', 'Faroe Islands'),
172
- (73, 'FR', 'France'),
173
- (74, 'FX', 'France, Metropolitan'),
174
- (75, 'GA', 'Gabon'),
175
- (76, 'GB', 'United Kingdom'),
176
- (77, 'GD', 'Grenada'),
177
- (78, 'GE', 'Georgia'),
178
- (79, 'GF', 'French Guiana'),
179
- (80, 'GH', 'Ghana'),
180
- (81, 'GI', 'Gibraltar'),
181
- (82, 'GL', 'Greenland'),
182
- (83, 'GM', 'Gambia'),
183
- (84, 'GN', 'Guinea'),
184
- (85, 'GP', 'Guadeloupe'),
185
- (86, 'GQ', 'Equatorial Guinea'),
186
- (87, 'GR', 'Greece'),
187
- (88, 'GS', 'South Georgia and the South Sandwich Islands'),
188
- (89, 'GT', 'Guatemala'),
189
- (90, 'GU', 'Guam'),
190
- (91, 'GW', 'Guinea-Bissau'),
191
- (92, 'GY', 'Guyana'),
192
- (93, 'HK', 'Hong Kong'),
193
- (94, 'HM', 'Heard and McDonald Islands'),
194
- (95, 'HN', 'Honduras'),
195
- (96, 'HR', 'Croatia (local name: Hrvatska)'),
196
- (97, 'HT', 'Haiti'),
197
- (98, 'HU', 'Hungary'),
198
- (99, 'ID', 'Indonesia'),
199
- (100, 'IE', 'Ireland'),
200
- (101, 'IL', 'Israel'),
201
- (102, 'IN', 'India'),
202
- (103, 'IO', 'British Indian Ocean Territory'),
203
- (104, 'IQ', 'Iraq'),
204
- (105, 'IR', 'Iran, Islamic Republic of'),
205
- (106, 'IS', 'Iceland'),
206
- (107, 'IT', 'Italy'),
207
- (108, 'JM', 'Jamaica'),
208
- (109, 'JO', 'Jordan'),
209
- (110, 'JP', 'Japan'),
210
- (111, 'KE', 'Kenya'),
211
- (112, 'KG', 'Kyrgyzstan'),
212
- (113, 'KH', 'Cambodia (formerly Kampuchea)'),
213
- (114, 'KI', 'Kiribati'),
214
- (115, 'KM', 'Comoros'),
215
- (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
216
- (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
217
- (118, 'KR', 'Korea, Republic of (South Korea)'),
218
- (119, 'KW', 'Kuwait'),
219
- (120, 'KY', 'Cayman Islands'),
220
- (121, 'KZ', 'Kazakhstan'),
221
- (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
222
- (123, 'LB', 'Lebanon'),
223
- (124, 'LC', 'Saint Lucia'),
224
- (125, 'LI', 'Liechtenstein'),
225
- (126, 'LK', 'Sri Lanka'),
226
- (127, 'LR', 'Liberia'),
227
- (128, 'LS', 'Lesotho'),
228
- (129, 'LT', 'Lithuania'),
229
- (130, 'LU', 'Luxembourg'),
230
- (131, 'LV', 'Latvia'),
231
- (132, 'LY', 'Libyan Arab Jamahiriya'),
232
- (133, 'MA', 'Morocco'),
233
- (134, 'MC', 'Monaco'),
234
- (135, 'MD', 'Moldova, Republic of'),
235
- (136, 'MG', 'Madagascar'),
236
- (137, 'MH', 'Marshall Islands'),
237
- (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
238
- (139, 'ML', 'Mali'),
239
- (140, 'MM', 'Myanmar (formerly Burma)'),
240
- (141, 'MN', 'Mongolia'),
241
- (142, 'MO', 'Macao (also spelled Macau)'),
242
- (143, 'MP', 'Northern Mariana Islands'),
243
- (144, 'MQ', 'Martinique'),
244
- (145, 'MR', 'Mauritania'),
245
- (146, 'MS', 'Montserrat'),
246
- (147, 'MT', 'Malta'),
247
- (148, 'MU', 'Mauritius'),
248
- (149, 'MV', 'Maldives'),
249
- (150, 'MW', 'Malawi'),
250
- (151, 'MX', 'Mexico'),
251
- (152, 'MY', 'Malaysia'),
252
- (153, 'MZ', 'Mozambique'),
253
- (154, 'NA', 'Namibia'),
254
- (155, 'NC', 'New Caledonia'),
255
- (156, 'NE', 'Niger'),
256
- (157, 'NF', 'Norfolk Island'),
257
- (158, 'NG', 'Nigeria'),
258
- (159, 'NI', 'Nicaragua'),
259
- (160, 'NL', 'Netherlands'),
260
- (161, 'NO', 'Norway'),
261
- (162, 'NP', 'Nepal'),
262
- (163, 'NR', 'Nauru'),
263
- (164, 'NU', 'Niue'),
264
- (165, 'NZ', 'New Zealand'),
265
- (166, 'OM', 'Oman'),
266
- (167, 'PA', 'Panama'),
267
- (168, 'PE', 'Peru'),
268
- (169, 'PF', 'French Polynesia'),
269
- (170, 'PG', 'Papua New Guinea'),
270
- (171, 'PH', 'Philippines'),
271
- (172, 'PK', 'Pakistan'),
272
- (173, 'PL', 'Poland'),
273
- (174, 'PM', 'St Pierre and Miquelon'),
274
- (175, 'PN', 'Pitcairn Island'),
275
- (176, 'PR', 'Puerto Rico'),
276
- (177, 'PT', 'Portugal'),
277
- (178, 'PW', 'Palau'),
278
- (179, 'PY', 'Paraguay'),
279
- (180, 'QA', 'Qatar'),
280
- (181, 'RE', 'R'),
281
- (182, 'RO', 'Romania'),
282
- (183, 'RU', 'Russian Federation'),
283
- (184, 'RW', 'Rwanda'),
284
- (185, 'SA', 'Saudi Arabia'),
285
- (186, 'SB', 'Solomon Islands'),
286
- (187, 'SC', 'Seychelles'),
287
- (188, 'SD', 'Sudan'),
288
- (189, 'SE', 'Sweden'),
289
- (190, 'SG', 'Singapore'),
290
- (191, 'SH', 'St Helena'),
291
- (192, 'SI', 'Slovenia'),
292
- (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
293
- (194, 'SK', 'Slovakia'),
294
- (195, 'SL', 'Sierra Leone'),
295
- (196, 'SM', 'San Marino'),
296
- (197, 'SN', 'Senegal'),
297
- (198, 'SO', 'Somalia'),
298
- (199, 'SR', 'Suriname'),
299
- (200, 'ST', 'Sco Tom'),
300
- (201, 'SU', 'Union of Soviet Socialist Republics'),
301
- (202, 'SV', 'El Salvador'),
302
- (203, 'SY', 'Syrian Arab Republic'),
303
- (204, 'SZ', 'Swaziland'),
304
- (205, 'TC', 'Turks and Caicos Islands'),
305
- (206, 'TD', 'Chad'),
306
- (207, 'TF', 'French Southern and Antarctic Territories'),
307
- (208, 'TG', 'Togo'),
308
- (209, 'TH', 'Thailand'),
309
- (210, 'TJ', 'Tajikistan'),
310
- (211, 'TK', 'Tokelau'),
311
- (212, 'TM', 'Turkmenistan'),
312
- (213, 'TN', 'Tunisia'),
313
- (214, 'TO', 'Tonga'),
314
- (215, 'TP', 'East Timor'),
315
- (216, 'TR', 'Turkey'),
316
- (217, 'TT', 'Trinidad and Tobago'),
317
- (218, 'TV', 'Tuvalu'),
318
- (219, 'TW', 'Taiwan, Province of China'),
319
- (220, 'TZ', 'Tanzania, United Republic of'),
320
- (221, 'UA', 'Ukraine'),
321
- (222, 'UG', 'Uganda'),
322
- (223, 'UM', 'United States Minor Outlying Islands'),
323
- (224, 'US', 'United States of America'),
324
- (225, 'UY', 'Uruguay'),
325
- (226, 'UZ', 'Uzbekistan'),
326
- (227, 'VA', 'Holy See (Vatican City State)'),
327
- (228, 'VC', 'Saint Vincent and the Grenadines'),
328
- (229, 'VE', 'Venezuela'),
329
- (230, 'VG', 'Virgin Islands (British)'),
330
- (231, 'VI', 'Virgin Islands (US)'),
331
- (232, 'VN', 'Viet Nam'),
332
- (233, 'VU', 'Vanautu'),
333
- (234, 'WF', 'Wallis and Futuna Islands'),
334
- (235, 'WS', 'Samoa'),
335
- (236, 'XO', 'West Africa'),
336
- (237, 'YE', 'Yemen'),
337
- (238, 'YT', 'Mayotte'),
338
- (239, 'ZA', 'South Africa'),
339
- (240, 'ZM', 'Zambia'),
340
- (241, 'ZW', 'Zimbabwe'),
341
- (242, 'PS', 'Palestinian Territory');
342
-
343
-
344
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
345
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
346
- `id` int(11) NOT NULL auto_increment,
347
- `country_id` int(11) default NULL,
348
- `method_id` int(11) default NULL,
349
- `priority` int(2) default NULL,
350
- PRIMARY KEY (`id`)
351
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
352
- INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
353
- (1, 2, 13, 1),
354
- (2, 2, 14, 2),
355
- (3, 11, 19, 1),
356
- (4, 11, 33, 3),
357
- (5, 11, 47, 2),
358
- (6, 13, 1, 5),
359
- (7, 13, 5, 1),
360
- (8, 13, 9, 3),
361
- (9, 13, 28, 4),
362
- (10, 13, 40, 2),
363
- (11, 14, 18, 1),
364
- (12, 14, 28, 2),
365
- (13, 20, 1, 3),
366
- (14, 20, 3, 1),
367
- (15, 20, 28, 4),
368
- (16, 20, 40, 2),
369
- (17, 22, 1, 1),
370
- (18, 23, 13, 1),
371
- (19, 23, 14, 2),
372
- (20, 29, 32, 2),
373
- (21, 29, 34, 3),
374
- (22, 29, 43, 7),
375
- (23, 29, 46, 1),
376
- (24, 29, 47, 8),
377
- (25, 29, 1000, 4),
378
- (26, 29, 1001, 5),
379
- (27, 29, 1002, 6),
380
- (28, 36, 8, 1),
381
- (29, 36, 28, 2),
382
- (30, 41, 1, 1),
383
- (31, 41, 9, 2),
384
- (32, 44, 19, 2),
385
- (33, 44, 47, 3),
386
- (34, 46, 24, 1),
387
- (35, 46, 28, 2),
388
- (36, 47, 19, 7),
389
- (37, 47, 47, 8),
390
- (38, 47, 1019, 1),
391
- (39, 47, 1020, 2),
392
- (40, 47, 1021, 3),
393
- (41, 47, 1022, 4),
394
- (42, 47, 1023, 5),
395
- (43, 53, 13, 2),
396
- (44, 53, 14, 3),
397
- (45, 53, 28, 1),
398
- (46, 54, 1, 3),
399
- (47, 54, 27, 1),
400
- (48, 54, 28, 2),
401
- (49, 55, 1, 6),
402
- (50, 55, 4, 1),
403
- (51, 55, 9, 2),
404
- (52, 55, 14, 5),
405
- (53, 55, 28, 4),
406
- (54, 55, 40, 3),
407
- (55, 57, 1, 2),
408
- (56, 57, 28, 3),
409
- (57, 57, 29, 1),
410
- (58, 60, 14, 1),
411
- (59, 62, 1, 4),
412
- (60, 62, 23, 1),
413
- (61, 62, 28, 3),
414
- (62, 62, 29, 2),
415
- (63, 63, 13, 1),
416
- (64, 63, 14, 2),
417
- (65, 66, 1, 2),
418
- (66, 66, 14, 4),
419
- (67, 66, 28, 3),
420
- (68, 66, 29, 1),
421
- (69, 68, 1, 1),
422
- (70, 68, 28, 3),
423
- (71, 68, 29, 2),
424
- (72, 73, 1, 1),
425
- (73, 73, 14, 2),
426
- (74, 76, 1, 1),
427
- (75, 76, 8, 4),
428
- (76, 76, 9, 3),
429
- (77, 76, 14, 5),
430
- (78, 76, 28, 2),
431
- (79, 87, 28, 1),
432
- (80, 93, 48, 1),
433
- (81, 98, 1, 3),
434
- (82, 98, 25, 1),
435
- (83, 98, 28, 2),
436
- (84, 98, 40, 4),
437
- (85, 99, 1024, 1),
438
- (86, 100, 1, 2),
439
- (87, 100, 14, 3),
440
- (88, 100, 28, 1),
441
- (89, 101, 13, 1),
442
- (90, 101, 14, 2),
443
- (91, 104, 13, 1),
444
- (92, 104, 14, 2),
445
- (93, 107, 1, 2),
446
- (94, 107, 14, 3),
447
- (95, 107, 28, 1),
448
- (96, 109, 13, 1),
449
- (97, 109, 14, 2),
450
- (98, 119, 13, 1),
451
- (99, 121, 1003, 1),
452
- (100, 121, 1004, 2),
453
- (101, 121, 1005, 3),
454
- (102, 121, 1006, 4),
455
- (103, 123, 13, 1),
456
- (104, 123, 14, 2),
457
- (105, 129, 1, 3),
458
- (106, 129, 23, 1),
459
- (107, 129, 29, 2),
460
- (108, 130, 1, 1),
461
- (109, 131, 23, 1),
462
- (110, 131, 28, 3),
463
- (111, 131, 29, 2),
464
- (112, 151, 19, 2),
465
- (113, 151, 28, 4),
466
- (114, 151, 49, 1),
467
- (115, 152, 1009, 1),
468
- (116, 152, 1010, 2),
469
- (117, 152, 1011, 3),
470
- (118, 152, 1012, 4),
471
- (119, 152, 1013, 5),
472
- (120, 152, 1014, 6),
473
- (121, 152, 1015, 7),
474
- (122, 152, 1016, 8),
475
- (123, 152, 1017, 9),
476
- (124, 152, 1018, 10),
477
- (125, 158, 14, 1),
478
- (126, 160, 1, 5),
479
- (127, 160, 2, 1),
480
- (128, 160, 9, 2),
481
- (129, 160, 28, 4),
482
- (130, 160, 40, 3),
483
- (131, 161, 1, 1),
484
- (132, 161, 28, 3),
485
- (133, 161, 29, 2),
486
- (134, 165, 18, 2),
487
- (135, 165, 28, 2),
488
- (136, 166, 13, 1),
489
- (137, 166, 14, 2),
490
- (138, 171, 44, 1),
491
- (139, 173, 1, 2),
492
- (140, 173, 12, 1),
493
- (141, 173, 14, 4),
494
- (142, 173, 28, 3),
495
- (143, 173, 40, 5),
496
- (144, 177, 1, 3),
497
- (145, 177, 14, 4),
498
- (146, 177, 20, 1),
499
- (147, 177, 28, 2),
500
- (148, 180, 13, 1),
501
- (149, 180, 14, 2),
502
- (150, 182, 1, 2),
503
- (151, 182, 40, 1),
504
- (152, 183, 22, 1),
505
- (153, 183, 28, 8),
506
- (154, 183, 1003, 4),
507
- (155, 183, 1004, 5),
508
- (156, 183, 1005, 6),
509
- (157, 183, 1006, 7),
510
- (158, 183, 1007, 2),
511
- (159, 183, 1008, 3),
512
- (160, 185, 13, 1),
513
- (161, 185, 14, 2),
514
- (162, 188, 14, 1),
515
- (163, 189, 1, 2),
516
- (164, 189, 28, 3),
517
- (165, 189, 29, 1),
518
- (166, 190, 37, 1),
519
- (167, 192, 14, 2),
520
- (168, 192, 28, 1),
521
- (169, 194, 1, 1),
522
- (170, 209, 35, 1),
523
- (171, 213, 13, 1),
524
- (172, 213, 14, 2),
525
- (173, 216, 1, 1),
526
- (174, 216, 13, 3),
527
- (175, 216, 14, 4),
528
- (176, 216, 28, 5),
529
- (177, 216, 40, 2),
530
- (178, 219, 48, 1),
531
- (179, 221, 22, 1),
532
- (180, 221, 28, 4),
533
- (181, 221, 1007, 2),
534
- (182, 221, 1008, 3),
535
- (183, 224, 8, 3),
536
- (184, 224, 36, 1),
537
- (185, 224, 52, 2),
538
- (186, 239, 1, 2),
539
- (187, 239, 28, 1),
540
- (188, 242, 13, 1),
541
- (189, 242, 14, 2);
542
-
543
- ");
544
- $installer->endSetup();
545
  ?>
1
+ <?php
2
+ //die('Trying to setup Smart2Pay_Globalpay database');
3
+
4
+ $installer = $this;
5
+ $installer->startSetup();
6
+ $installer->run("
7
+
8
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
+ `log_id` int(11) NOT NULL auto_increment,
11
+ `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
+ `log_message` text collate utf8_unicode_ci default NULL,
13
+ `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
+ `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
+ `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
+ PRIMARY KEY (`log_id`)
17
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
+
19
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
+ `method_id` int(11) NOT NULL auto_increment,
22
+ `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
+ `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
+ `description` text collate utf8_unicode_ci,
25
+ `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
+ `guaranteed` int(1) default NULL,
27
+ `active` int(1) default NULL,
28
+ PRIMARY KEY (`method_id`)
29
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
+ INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
31
+ (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v5.gif', 1, 1),
32
+ (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.jpg', 1, 1),
33
+ (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.gif', 1, 1),
34
+ (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.gif', 1, 1),
35
+ (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.gif', 1, 1),
36
+ (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.gif', 1, 1),
37
+ (9, 'DirectEbanking', 'dp24', 'DirectEbanking description', 'dp24_sofort.gif', 0, 1),
38
+ (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.gif', 1, 1),
39
+ (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.gif', 1, 1),
40
+ (14, 'CashU', 'cashu', 'CashU description', 'cashu.gif', 1, 1),
41
+ (18, 'POLi', 'poli', 'POLi description', 'poli.gif', 0, 1),
42
+ (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail_v2.gif', 0, 1),
43
+ (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.gif', 1, 1),
44
+ (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta_v2.gif', 1, 1),
45
+ (23, 'WebToPay', 'webtopay', 'WebToPay description', 'webtopay_v3.gif', 1, 1),
46
+ (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.jpg', 1, 1),
47
+ (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.gif', 1, 1),
48
+ (27, 'eBanka', 'ebanka', 'eBanka description', 'ebanka.jpg', 1, 1),
49
+ (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.gif', 1, 1),
50
+ (29, 'GluePay', 'gluepay', 'GluePay description', 'gluepay.jpg', 1, 1),
51
+ (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.jpg', 1, 1),
52
+ (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.gif', 1, 1),
53
+ (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
54
+ (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.gif', 0, 1),
55
+ (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.gif', 0, 1),
56
+ (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.gif', 1, 1),
57
+ (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.gif', 1, 1),
58
+ (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.jpg', 1, 0),
59
+ (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.jpg', 0, 1),
60
+ (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.gif', 1, 1),
61
+ (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.jpg', 0, 1),
62
+ (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.jpg', 0, 1),
63
+ (48, 'Gash', 'gash', 'Gash description', 'gash.gif', 1, 1),
64
+ (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.gif', 1, 1),
65
+ (52, 'SecureVaultPayments', 'svp', 'SecureVaultPayments description', 'secure_vault.gif', 1, 1),
66
+ (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto.jpg', 1, 1),
67
+ (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.jpg', 1, 1),
68
+ (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.jpg', 1, 1),
69
+ (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet_v2.gif', 1, 1),
70
+ (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.gif', 1, 1),
71
+ (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon_v1.gif', 1, 1),
72
+ (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
73
+ (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney_v1.gif', 1, 1),
74
+ (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex_money.gif', 1, 1),
75
+ (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
76
+ (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambankgroup.gif', 1, 1),
77
+ (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.gif', 1, 1),
78
+ (1012, 'FPX', 'asiapay', 'FPX description', 'FPX.gif', 1, 1),
79
+ (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.gif', 1, 1),
80
+ (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.gif', 1, 1),
81
+ (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.gif', 1, 1),
82
+ (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.gif', 1, 1),
83
+ (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.gif', 1, 1),
84
+ (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
85
+ (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.jpg', 1, 1),
86
+ (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.gif', 1, 1),
87
+ (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ACH.gif', 1, 1),
88
+ (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_in_cash.gif', 1, 1),
89
+ (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.gif', 1, 1),
90
+ (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.gif', 1, 1);
91
+
92
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
93
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
94
+ `country_id` int(11) NOT NULL auto_increment,
95
+ `code` varchar(3) collate utf8_unicode_ci default NULL,
96
+ `name` varchar(100) collate utf8_unicode_ci default NULL,
97
+ PRIMARY KEY (`country_id`)
98
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
99
+ INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
100
+ (1, 'AD', 'Andorra'),
101
+ (2, 'AE', 'United Arab Emirates'),
102
+ (3, 'AF', 'Afghanistan'),
103
+ (4, 'AG', 'Antigua and Barbuda'),
104
+ (5, 'AI', 'Anguilla'),
105
+ (6, 'AL', 'Albania'),
106
+ (7, 'AM', 'Armenia'),
107
+ (8, 'AN', 'Netherlands Antilles'),
108
+ (9, 'AO', 'Angola'),
109
+ (10, 'AQ', 'Antarctica'),
110
+ (11, 'AR', 'Argentina'),
111
+ (12, 'AS', 'American Samoa'),
112
+ (13, 'AT', 'Austria'),
113
+ (14, 'AU', 'Australia'),
114
+ (15, 'AW', 'Aruba'),
115
+ (16, 'AZ', 'Azerbaijan'),
116
+ (17, 'BA', 'Bosnia & Herzegowina'),
117
+ (18, 'BB', 'Barbados'),
118
+ (19, 'BD', 'Bangladesh'),
119
+ (20, 'BE', 'Belgium'),
120
+ (21, 'BF', 'Burkina Faso'),
121
+ (22, 'BG', 'Bulgaria'),
122
+ (23, 'BH', 'Bahrain'),
123
+ (24, 'BI', 'Burundi'),
124
+ (25, 'BJ', 'Benin'),
125
+ (26, 'BM', 'Bermuda'),
126
+ (27, 'BN', 'Brunei Darussalam'),
127
+ (28, 'BO', 'Bolivia'),
128
+ (29, 'BR', 'Brazil'),
129
+ (30, 'BS', 'Bahamas'),
130
+ (31, 'BT', 'Bhutan'),
131
+ (32, 'BV', 'Bouvet Island'),
132
+ (33, 'BW', 'Botswana'),
133
+ (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
134
+ (35, 'BZ', 'Belize'),
135
+ (36, 'CA', 'Canada'),
136
+ (37, 'CC', 'Cocos (Keeling) Islands'),
137
+ (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
138
+ (39, 'CF', 'Central African Republic'),
139
+ (40, 'CG', 'Congo'),
140
+ (41, 'CH', 'Switzerland'),
141
+ (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
142
+ (43, 'CK', 'Cook Islands'),
143
+ (44, 'CL', 'Chile'),
144
+ (45, 'CM', 'Cameroon'),
145
+ (46, 'CN', 'China'),
146
+ (47, 'CO', 'Colombia'),
147
+ (48, 'CR', 'Costa Rica'),
148
+ (49, 'CS', 'Serbia and Montenegro (formerly Yugoslavia)'),
149
+ (50, 'CU', 'Cuba'),
150
+ (51, 'CV', 'Cape Verde'),
151
+ (52, 'CX', 'Christmas Island'),
152
+ (53, 'CY', 'Cyprus'),
153
+ (54, 'CZ', 'Czech Republic'),
154
+ (55, 'DE', 'Germany'),
155
+ (56, 'DJ', 'Djibouti'),
156
+ (57, 'DK', 'Denmark'),
157
+ (58, 'DM', 'Dominica'),
158
+ (59, 'DO', 'Dominican Republic'),
159
+ (60, 'DZ', 'Algeria'),
160
+ (61, 'EC', 'Ecuador'),
161
+ (62, 'EE', 'Estonia'),
162
+ (63, 'EG', 'Egypt'),
163
+ (64, 'EH', 'Western Sahara'),
164
+ (65, 'ER', 'Eritrea'),
165
+ (66, 'ES', 'Spain'),
166
+ (67, 'ET', 'Ethiopia'),
167
+ (68, 'FI', 'Finland'),
168
+ (69, 'FJ', 'Fiji Islands'),
169
+ (70, 'FK', 'Falkland Islands (Malvinas)'),
170
+ (71, 'FM', 'Micronesia, Federated States of'),
171
+ (72, 'FO', 'Faroe Islands'),
172
+ (73, 'FR', 'France'),
173
+ (74, 'FX', 'France, Metropolitan'),
174
+ (75, 'GA', 'Gabon'),
175
+ (76, 'GB', 'United Kingdom'),
176
+ (77, 'GD', 'Grenada'),
177
+ (78, 'GE', 'Georgia'),
178
+ (79, 'GF', 'French Guiana'),
179
+ (80, 'GH', 'Ghana'),
180
+ (81, 'GI', 'Gibraltar'),
181
+ (82, 'GL', 'Greenland'),
182
+ (83, 'GM', 'Gambia'),
183
+ (84, 'GN', 'Guinea'),
184
+ (85, 'GP', 'Guadeloupe'),
185
+ (86, 'GQ', 'Equatorial Guinea'),
186
+ (87, 'GR', 'Greece'),
187
+ (88, 'GS', 'South Georgia and the South Sandwich Islands'),
188
+ (89, 'GT', 'Guatemala'),
189
+ (90, 'GU', 'Guam'),
190
+ (91, 'GW', 'Guinea-Bissau'),
191
+ (92, 'GY', 'Guyana'),
192
+ (93, 'HK', 'Hong Kong'),
193
+ (94, 'HM', 'Heard and McDonald Islands'),
194
+ (95, 'HN', 'Honduras'),
195
+ (96, 'HR', 'Croatia (local name: Hrvatska)'),
196
+ (97, 'HT', 'Haiti'),
197
+ (98, 'HU', 'Hungary'),
198
+ (99, 'ID', 'Indonesia'),
199
+ (100, 'IE', 'Ireland'),
200
+ (101, 'IL', 'Israel'),
201
+ (102, 'IN', 'India'),
202
+ (103, 'IO', 'British Indian Ocean Territory'),
203
+ (104, 'IQ', 'Iraq'),
204
+ (105, 'IR', 'Iran, Islamic Republic of'),
205
+ (106, 'IS', 'Iceland'),
206
+ (107, 'IT', 'Italy'),
207
+ (108, 'JM', 'Jamaica'),
208
+ (109, 'JO', 'Jordan'),
209
+ (110, 'JP', 'Japan'),
210
+ (111, 'KE', 'Kenya'),
211
+ (112, 'KG', 'Kyrgyzstan'),
212
+ (113, 'KH', 'Cambodia (formerly Kampuchea)'),
213
+ (114, 'KI', 'Kiribati'),
214
+ (115, 'KM', 'Comoros'),
215
+ (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
216
+ (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
217
+ (118, 'KR', 'Korea, Republic of (South Korea)'),
218
+ (119, 'KW', 'Kuwait'),
219
+ (120, 'KY', 'Cayman Islands'),
220
+ (121, 'KZ', 'Kazakhstan'),
221
+ (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
222
+ (123, 'LB', 'Lebanon'),
223
+ (124, 'LC', 'Saint Lucia'),
224
+ (125, 'LI', 'Liechtenstein'),
225
+ (126, 'LK', 'Sri Lanka'),
226
+ (127, 'LR', 'Liberia'),
227
+ (128, 'LS', 'Lesotho'),
228
+ (129, 'LT', 'Lithuania'),
229
+ (130, 'LU', 'Luxembourg'),
230
+ (131, 'LV', 'Latvia'),
231
+ (132, 'LY', 'Libyan Arab Jamahiriya'),
232
+ (133, 'MA', 'Morocco'),
233
+ (134, 'MC', 'Monaco'),
234
+ (135, 'MD', 'Moldova, Republic of'),
235
+ (136, 'MG', 'Madagascar'),
236
+ (137, 'MH', 'Marshall Islands'),
237
+ (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
238
+ (139, 'ML', 'Mali'),
239
+ (140, 'MM', 'Myanmar (formerly Burma)'),
240
+ (141, 'MN', 'Mongolia'),
241
+ (142, 'MO', 'Macao (also spelled Macau)'),
242
+ (143, 'MP', 'Northern Mariana Islands'),
243
+ (144, 'MQ', 'Martinique'),
244
+ (145, 'MR', 'Mauritania'),
245
+ (146, 'MS', 'Montserrat'),
246
+ (147, 'MT', 'Malta'),
247
+ (148, 'MU', 'Mauritius'),
248
+ (149, 'MV', 'Maldives'),
249
+ (150, 'MW', 'Malawi'),
250
+ (151, 'MX', 'Mexico'),
251
+ (152, 'MY', 'Malaysia'),
252
+ (153, 'MZ', 'Mozambique'),
253
+ (154, 'NA', 'Namibia'),
254
+ (155, 'NC', 'New Caledonia'),
255
+ (156, 'NE', 'Niger'),
256
+ (157, 'NF', 'Norfolk Island'),
257
+ (158, 'NG', 'Nigeria'),
258
+ (159, 'NI', 'Nicaragua'),
259
+ (160, 'NL', 'Netherlands'),
260
+ (161, 'NO', 'Norway'),
261
+ (162, 'NP', 'Nepal'),
262
+ (163, 'NR', 'Nauru'),
263
+ (164, 'NU', 'Niue'),
264
+ (165, 'NZ', 'New Zealand'),
265
+ (166, 'OM', 'Oman'),
266
+ (167, 'PA', 'Panama'),
267
+ (168, 'PE', 'Peru'),
268
+ (169, 'PF', 'French Polynesia'),
269
+ (170, 'PG', 'Papua New Guinea'),
270
+ (171, 'PH', 'Philippines'),
271
+ (172, 'PK', 'Pakistan'),
272
+ (173, 'PL', 'Poland'),
273
+ (174, 'PM', 'St Pierre and Miquelon'),
274
+ (175, 'PN', 'Pitcairn Island'),
275
+ (176, 'PR', 'Puerto Rico'),
276
+ (177, 'PT', 'Portugal'),
277
+ (178, 'PW', 'Palau'),
278
+ (179, 'PY', 'Paraguay'),
279
+ (180, 'QA', 'Qatar'),
280
+ (181, 'RE', 'R'),
281
+ (182, 'RO', 'Romania'),
282
+ (183, 'RU', 'Russian Federation'),
283
+ (184, 'RW', 'Rwanda'),
284
+ (185, 'SA', 'Saudi Arabia'),
285
+ (186, 'SB', 'Solomon Islands'),
286
+ (187, 'SC', 'Seychelles'),
287
+ (188, 'SD', 'Sudan'),
288
+ (189, 'SE', 'Sweden'),
289
+ (190, 'SG', 'Singapore'),
290
+ (191, 'SH', 'St Helena'),
291
+ (192, 'SI', 'Slovenia'),
292
+ (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
293
+ (194, 'SK', 'Slovakia'),
294
+ (195, 'SL', 'Sierra Leone'),
295
+ (196, 'SM', 'San Marino'),
296
+ (197, 'SN', 'Senegal'),
297
+ (198, 'SO', 'Somalia'),
298
+ (199, 'SR', 'Suriname'),
299
+ (200, 'ST', 'Sco Tom'),
300
+ (201, 'SU', 'Union of Soviet Socialist Republics'),
301
+ (202, 'SV', 'El Salvador'),
302
+ (203, 'SY', 'Syrian Arab Republic'),
303
+ (204, 'SZ', 'Swaziland'),
304
+ (205, 'TC', 'Turks and Caicos Islands'),
305
+ (206, 'TD', 'Chad'),
306
+ (207, 'TF', 'French Southern and Antarctic Territories'),
307
+ (208, 'TG', 'Togo'),
308
+ (209, 'TH', 'Thailand'),
309
+ (210, 'TJ', 'Tajikistan'),
310
+ (211, 'TK', 'Tokelau'),
311
+ (212, 'TM', 'Turkmenistan'),
312
+ (213, 'TN', 'Tunisia'),
313
+ (214, 'TO', 'Tonga'),
314
+ (215, 'TP', 'East Timor'),
315
+ (216, 'TR', 'Turkey'),
316
+ (217, 'TT', 'Trinidad and Tobago'),
317
+ (218, 'TV', 'Tuvalu'),
318
+ (219, 'TW', 'Taiwan, Province of China'),
319
+ (220, 'TZ', 'Tanzania, United Republic of'),
320
+ (221, 'UA', 'Ukraine'),
321
+ (222, 'UG', 'Uganda'),
322
+ (223, 'UM', 'United States Minor Outlying Islands'),
323
+ (224, 'US', 'United States of America'),
324
+ (225, 'UY', 'Uruguay'),
325
+ (226, 'UZ', 'Uzbekistan'),
326
+ (227, 'VA', 'Holy See (Vatican City State)'),
327
+ (228, 'VC', 'Saint Vincent and the Grenadines'),
328
+ (229, 'VE', 'Venezuela'),
329
+ (230, 'VG', 'Virgin Islands (British)'),
330
+ (231, 'VI', 'Virgin Islands (US)'),
331
+ (232, 'VN', 'Viet Nam'),
332
+ (233, 'VU', 'Vanautu'),
333
+ (234, 'WF', 'Wallis and Futuna Islands'),
334
+ (235, 'WS', 'Samoa'),
335
+ (236, 'XO', 'West Africa'),
336
+ (237, 'YE', 'Yemen'),
337
+ (238, 'YT', 'Mayotte'),
338
+ (239, 'ZA', 'South Africa'),
339
+ (240, 'ZM', 'Zambia'),
340
+ (241, 'ZW', 'Zimbabwe'),
341
+ (242, 'PS', 'Palestinian Territory');
342
+
343
+
344
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
345
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
346
+ `id` int(11) NOT NULL auto_increment,
347
+ `country_id` int(11) default NULL,
348
+ `method_id` int(11) default NULL,
349
+ `priority` int(2) default NULL,
350
+ PRIMARY KEY (`id`)
351
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
352
+ INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
353
+ (1, 2, 13, 1),
354
+ (2, 2, 14, 2),
355
+ (3, 11, 19, 1),
356
+ (4, 11, 33, 3),
357
+ (5, 11, 47, 2),
358
+ (6, 13, 1, 5),
359
+ (7, 13, 5, 1),
360
+ (8, 13, 9, 3),
361
+ (9, 13, 28, 4),
362
+ (10, 13, 40, 2),
363
+ (11, 14, 18, 1),
364
+ (12, 14, 28, 2),
365
+ (13, 20, 1, 3),
366
+ (14, 20, 3, 1),
367
+ (15, 20, 28, 4),
368
+ (16, 20, 40, 2),
369
+ (17, 22, 1, 1),
370
+ (18, 23, 13, 1),
371
+ (19, 23, 14, 2),
372
+ (20, 29, 32, 2),
373
+ (21, 29, 34, 3),
374
+ (22, 29, 43, 7),
375
+ (23, 29, 46, 1),
376
+ (24, 29, 47, 8),
377
+ (25, 29, 1000, 4),
378
+ (26, 29, 1001, 5),
379
+ (27, 29, 1002, 6),
380
+ (28, 36, 8, 1),
381
+ (29, 36, 28, 2),
382
+ (30, 41, 1, 1),
383
+ (31, 41, 9, 2),
384
+ (32, 44, 19, 2),
385
+ (33, 44, 47, 3),
386
+ (34, 46, 24, 1),
387
+ (35, 46, 28, 2),
388
+ (36, 47, 19, 7),
389
+ (37, 47, 47, 8),
390
+ (38, 47, 1019, 1),
391
+ (39, 47, 1020, 2),
392
+ (40, 47, 1021, 3),
393
+ (41, 47, 1022, 4),
394
+ (42, 47, 1023, 5),
395
+ (43, 53, 13, 2),
396
+ (44, 53, 14, 3),
397
+ (45, 53, 28, 1),
398
+ (46, 54, 1, 3),
399
+ (47, 54, 27, 1),
400
+ (48, 54, 28, 2),
401
+ (49, 55, 1, 6),
402
+ (50, 55, 4, 1),
403
+ (51, 55, 9, 2),
404
+ (52, 55, 14, 5),
405
+ (53, 55, 28, 4),
406
+ (54, 55, 40, 3),
407
+ (55, 57, 1, 2),
408
+ (56, 57, 28, 3),
409
+ (57, 57, 29, 1),
410
+ (58, 60, 14, 1),
411
+ (59, 62, 1, 4),
412
+ (60, 62, 23, 1),
413
+ (61, 62, 28, 3),
414
+ (62, 62, 29, 2),
415
+ (63, 63, 13, 1),
416
+ (64, 63, 14, 2),
417
+ (65, 66, 1, 2),
418
+ (66, 66, 14, 4),
419
+ (67, 66, 28, 3),
420
+ (68, 66, 29, 1),
421
+ (69, 68, 1, 1),
422
+ (70, 68, 28, 3),
423
+ (71, 68, 29, 2),
424
+ (72, 73, 1, 1),
425
+ (73, 73, 14, 2),
426
+ (74, 76, 1, 1),
427
+ (75, 76, 8, 4),
428
+ (76, 76, 9, 3),
429
+ (77, 76, 14, 5),
430
+ (78, 76, 28, 2),
431
+ (79, 87, 28, 1),
432
+ (80, 93, 48, 1),
433
+ (81, 98, 1, 3),
434
+ (82, 98, 25, 1),
435
+ (83, 98, 28, 2),
436
+ (84, 98, 40, 4),
437
+ (85, 99, 1024, 1),
438
+ (86, 100, 1, 2),
439
+ (87, 100, 14, 3),
440
+ (88, 100, 28, 1),
441
+ (89, 101, 13, 1),
442
+ (90, 101, 14, 2),
443
+ (91, 104, 13, 1),
444
+ (92, 104, 14, 2),
445
+ (93, 107, 1, 2),
446
+ (94, 107, 14, 3),
447
+ (95, 107, 28, 1),
448
+ (96, 109, 13, 1),
449
+ (97, 109, 14, 2),
450
+ (98, 119, 13, 1),
451
+ (99, 121, 1003, 1),
452
+ (100, 121, 1004, 2),
453
+ (101, 121, 1005, 3),
454
+ (102, 121, 1006, 4),
455
+ (103, 123, 13, 1),
456
+ (104, 123, 14, 2),
457
+ (105, 129, 1, 3),
458
+ (106, 129, 23, 1),
459
+ (107, 129, 29, 2),
460
+ (108, 130, 1, 1),
461
+ (109, 131, 23, 1),
462
+ (110, 131, 28, 3),
463
+ (111, 131, 29, 2),
464
+ (112, 151, 19, 2),
465
+ (113, 151, 28, 4),
466
+ (114, 151, 49, 1),
467
+ (115, 152, 1009, 1),
468
+ (116, 152, 1010, 2),
469
+ (117, 152, 1011, 3),
470
+ (118, 152, 1012, 4),
471
+ (119, 152, 1013, 5),
472
+ (120, 152, 1014, 6),
473
+ (121, 152, 1015, 7),
474
+ (122, 152, 1016, 8),
475
+ (123, 152, 1017, 9),
476
+ (124, 152, 1018, 10),
477
+ (125, 158, 14, 1),
478
+ (126, 160, 1, 5),
479
+ (127, 160, 2, 1),
480
+ (128, 160, 9, 2),
481
+ (129, 160, 28, 4),
482
+ (130, 160, 40, 3),
483
+ (131, 161, 1, 1),
484
+ (132, 161, 28, 3),
485
+ (133, 161, 29, 2),
486
+ (134, 165, 18, 2),
487
+ (135, 165, 28, 2),
488
+ (136, 166, 13, 1),
489
+ (137, 166, 14, 2),
490
+ (138, 171, 44, 1),
491
+ (139, 173, 1, 2),
492
+ (140, 173, 12, 1),
493
+ (141, 173, 14, 4),
494
+ (142, 173, 28, 3),
495
+ (143, 173, 40, 5),
496
+ (144, 177, 1, 3),
497
+ (145, 177, 14, 4),
498
+ (146, 177, 20, 1),
499
+ (147, 177, 28, 2),
500
+ (148, 180, 13, 1),
501
+ (149, 180, 14, 2),
502
+ (150, 182, 1, 2),
503
+ (151, 182, 40, 1),
504
+ (152, 183, 22, 1),
505
+ (153, 183, 28, 8),
506
+ (154, 183, 1003, 4),
507
+ (155, 183, 1004, 5),
508
+ (156, 183, 1005, 6),
509
+ (157, 183, 1006, 7),
510
+ (158, 183, 1007, 2),
511
+ (159, 183, 1008, 3),
512
+ (160, 185, 13, 1),
513
+ (161, 185, 14, 2),
514
+ (162, 188, 14, 1),
515
+ (163, 189, 1, 2),
516
+ (164, 189, 28, 3),
517
+ (165, 189, 29, 1),
518
+ (166, 190, 37, 1),
519
+ (167, 192, 14, 2),
520
+ (168, 192, 28, 1),
521
+ (169, 194, 1, 1),
522
+ (170, 209, 35, 1),
523
+ (171, 213, 13, 1),
524
+ (172, 213, 14, 2),
525
+ (173, 216, 1, 1),
526
+ (174, 216, 13, 3),
527
+ (175, 216, 14, 4),
528
+ (176, 216, 28, 5),
529
+ (177, 216, 40, 2),
530
+ (178, 219, 48, 1),
531
+ (179, 221, 22, 1),
532
+ (180, 221, 28, 4),
533
+ (181, 221, 1007, 2),
534
+ (182, 221, 1008, 3),
535
+ (183, 224, 8, 3),
536
+ (184, 224, 36, 1),
537
+ (185, 224, 52, 2),
538
+ (186, 239, 1, 2),
539
+ (187, 239, 28, 1),
540
+ (188, 242, 13, 1),
541
+ (189, 242, 14, 2);
542
+
543
+ ");
544
+ $installer->endSetup();
545
  ?>
app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.0.3-1.1.1.php CHANGED
@@ -1,585 +1,585 @@
1
- <?php
2
- //die('Trying to setup Smart2Pay_Globalpay database');
3
-
4
- $installer = $this;
5
- $installer->startSetup();
6
- $installer->run("
7
-
8
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
- `log_id` int(11) NOT NULL auto_increment,
11
- `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
- `log_message` text collate utf8_unicode_ci default NULL,
13
- `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
- `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
- `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
- PRIMARY KEY (`log_id`)
17
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
-
19
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
- `method_id` int(11) NOT NULL auto_increment,
22
- `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
- `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
- `description` text collate utf8_unicode_ci,
25
- `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
- `guaranteed` int(1) default NULL,
27
- `active` int(1) default NULL,
28
- PRIMARY KEY (`method_id`)
29
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
- INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
31
- (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v5.gif', 1, 1),
32
- (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.jpg', 1, 1),
33
- (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.gif', 1, 1),
34
- (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.gif', 1, 1),
35
- (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.gif', 1, 1),
36
- (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.gif', 1, 1),
37
- (9, 'DirectEbanking', 'dp24', 'DirectEbanking description', 'dp24_sofort.gif', 0, 1),
38
- (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.gif', 1, 1),
39
- (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.gif', 1, 1),
40
- (14, 'CashU', 'cashu', 'CashU description', 'cashu.gif', 1, 1),
41
- (18, 'POLi', 'poli', 'POLi description', 'poli.gif', 0, 1),
42
- (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail_v2.gif', 0, 1),
43
- (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.gif', 1, 1),
44
- (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta_v2.gif', 1, 1),
45
- (23, 'WebToPay', 'webtopay', 'WebToPay description', 'webtopay_v3.gif', 1, 1),
46
- (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.jpg', 1, 1),
47
- (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.gif', 1, 1),
48
- (27, 'eBanka', 'ebanka', 'eBanka description', 'ebanka.jpg', 1, 1),
49
- (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.gif', 1, 1),
50
- (29, 'GluePay', 'gluepay', 'GluePay description', 'gluepay.jpg', 1, 1),
51
- (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.jpg', 1, 1),
52
- (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.gif', 1, 1),
53
- (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
54
- (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.gif', 0, 1),
55
- (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.gif', 0, 1),
56
- (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.gif', 1, 1),
57
- (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.gif', 1, 1),
58
- (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.jpg', 1, 0),
59
- (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.jpg', 0, 1),
60
- (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.gif', 1, 1),
61
- (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.jpg', 0, 1),
62
- (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.jpg', 0, 1),
63
- (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.gif', 1, 1),
64
- (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
65
- (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
66
- (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangirkart.jpg', 1, 1),
67
- (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
68
- (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragonpay.jpg', 1 , 1),
69
- (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto.jpg', 1, 1),
70
- (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.jpg', 1, 1),
71
- (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.jpg', 1, 1),
72
- (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet_v2.gif', 1, 1),
73
- (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.gif', 1, 1),
74
- (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon_v1.gif', 1, 1),
75
- (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
76
- (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney_v1.gif', 1, 1),
77
- (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex_money.gif', 1, 1),
78
- (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
79
- (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambankgroup.gif', 1, 1),
80
- (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.gif', 1, 1),
81
- (1012, 'FPX', 'asiapay', 'FPX description', 'FPX.gif', 1, 1),
82
- (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.gif', 1, 1),
83
- (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.gif', 1, 1),
84
- (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.gif', 1, 1),
85
- (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.gif', 1, 1),
86
- (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.gif', 1, 1),
87
- (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
88
- (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.jpg', 1, 1),
89
- (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.gif', 1, 1),
90
- (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ACH.gif', 1, 1),
91
- (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_in_cash.gif', 1, 1),
92
- (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.gif', 1, 1),
93
- (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.gif', 1, 1),
94
- (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'XLTunai.gif', 1, 1),
95
- (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.gif', 1, 1),
96
- (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
97
- (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
98
- (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7eleven.gif', 1, 1),
99
- (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
100
- (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
101
- (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
102
- (1034, 'PayPalThailand', 'paysbuy', 'PayPalThailand description', 'paypal.jpg', 1, 1),
103
- (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.jpg', 1, 1),
104
- (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'cash_paysbuy.jpg', 1, 1),
105
- (1037, 'OnlineBankingThailand', 'paysbuy', 'OnlineBankingThailand description', 'onlinebankingthailand.gif', 1, 1),
106
- (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.gif', 1, 1);
107
-
108
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
109
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
110
- `country_id` int(11) NOT NULL auto_increment,
111
- `code` varchar(3) collate utf8_unicode_ci default NULL,
112
- `name` varchar(100) collate utf8_unicode_ci default NULL,
113
- PRIMARY KEY (`country_id`)
114
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
115
- INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
116
- (1, 'AD', 'Andorra'),
117
- (2, 'AE', 'United Arab Emirates'),
118
- (3, 'AF', 'Afghanistan'),
119
- (4, 'AG', 'Antigua and Barbuda'),
120
- (5, 'AI', 'Anguilla'),
121
- (6, 'AL', 'Albania'),
122
- (7, 'AM', 'Armenia'),
123
- (8, 'AN', 'Netherlands Antilles'),
124
- (9, 'AO', 'Angola'),
125
- (10, 'AQ', 'Antarctica'),
126
- (11, 'AR', 'Argentina'),
127
- (12, 'AS', 'American Samoa'),
128
- (13, 'AT', 'Austria'),
129
- (14, 'AU', 'Australia'),
130
- (15, 'AW', 'Aruba'),
131
- (16, 'AZ', 'Azerbaijan'),
132
- (17, 'BA', 'Bosnia & Herzegowina'),
133
- (18, 'BB', 'Barbados'),
134
- (19, 'BD', 'Bangladesh'),
135
- (20, 'BE', 'Belgium'),
136
- (21, 'BF', 'Burkina Faso'),
137
- (22, 'BG', 'Bulgaria'),
138
- (23, 'BH', 'Bahrain'),
139
- (24, 'BI', 'Burundi'),
140
- (25, 'BJ', 'Benin'),
141
- (26, 'BM', 'Bermuda'),
142
- (27, 'BN', 'Brunei Darussalam'),
143
- (28, 'BO', 'Bolivia'),
144
- (29, 'BR', 'Brazil'),
145
- (30, 'BS', 'Bahamas'),
146
- (31, 'BT', 'Bhutan'),
147
- (32, 'BV', 'Bouvet Island'),
148
- (33, 'BW', 'Botswana'),
149
- (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
150
- (35, 'BZ', 'Belize'),
151
- (36, 'CA', 'Canada'),
152
- (37, 'CC', 'Cocos (Keeling) Islands'),
153
- (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
154
- (39, 'CF', 'Central African Republic'),
155
- (40, 'CG', 'Congo'),
156
- (41, 'CH', 'Switzerland'),
157
- (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
158
- (43, 'CK', 'Cook Islands'),
159
- (44, 'CL', 'Chile'),
160
- (45, 'CM', 'Cameroon'),
161
- (46, 'CN', 'China'),
162
- (47, 'CO', 'Colombia'),
163
- (48, 'CR', 'Costa Rica'),
164
- (49, 'CS', 'Serbia and Montenegro (formerly Yugoslavia)'),
165
- (50, 'CU', 'Cuba'),
166
- (51, 'CV', 'Cape Verde'),
167
- (52, 'CX', 'Christmas Island'),
168
- (53, 'CY', 'Cyprus'),
169
- (54, 'CZ', 'Czech Republic'),
170
- (55, 'DE', 'Germany'),
171
- (56, 'DJ', 'Djibouti'),
172
- (57, 'DK', 'Denmark'),
173
- (58, 'DM', 'Dominica'),
174
- (59, 'DO', 'Dominican Republic'),
175
- (60, 'DZ', 'Algeria'),
176
- (61, 'EC', 'Ecuador'),
177
- (62, 'EE', 'Estonia'),
178
- (63, 'EG', 'Egypt'),
179
- (64, 'EH', 'Western Sahara'),
180
- (65, 'ER', 'Eritrea'),
181
- (66, 'ES', 'Spain'),
182
- (67, 'ET', 'Ethiopia'),
183
- (68, 'FI', 'Finland'),
184
- (69, 'FJ', 'Fiji Islands'),
185
- (70, 'FK', 'Falkland Islands (Malvinas)'),
186
- (71, 'FM', 'Micronesia, Federated States of'),
187
- (72, 'FO', 'Faroe Islands'),
188
- (73, 'FR', 'France'),
189
- (74, 'FX', 'France, Metropolitan'),
190
- (75, 'GA', 'Gabon'),
191
- (76, 'GB', 'United Kingdom'),
192
- (77, 'GD', 'Grenada'),
193
- (78, 'GE', 'Georgia'),
194
- (79, 'GF', 'French Guiana'),
195
- (80, 'GH', 'Ghana'),
196
- (81, 'GI', 'Gibraltar'),
197
- (82, 'GL', 'Greenland'),
198
- (83, 'GM', 'Gambia'),
199
- (84, 'GN', 'Guinea'),
200
- (85, 'GP', 'Guadeloupe'),
201
- (86, 'GQ', 'Equatorial Guinea'),
202
- (87, 'GR', 'Greece'),
203
- (88, 'GS', 'South Georgia and the South Sandwich Islands'),
204
- (89, 'GT', 'Guatemala'),
205
- (90, 'GU', 'Guam'),
206
- (91, 'GW', 'Guinea-Bissau'),
207
- (92, 'GY', 'Guyana'),
208
- (93, 'HK', 'Hong Kong'),
209
- (94, 'HM', 'Heard and McDonald Islands'),
210
- (95, 'HN', 'Honduras'),
211
- (96, 'HR', 'Croatia (local name: Hrvatska)'),
212
- (97, 'HT', 'Haiti'),
213
- (98, 'HU', 'Hungary'),
214
- (99, 'ID', 'Indonesia'),
215
- (100, 'IE', 'Ireland'),
216
- (101, 'IL', 'Israel'),
217
- (102, 'IN', 'India'),
218
- (103, 'IO', 'British Indian Ocean Territory'),
219
- (104, 'IQ', 'Iraq'),
220
- (105, 'IR', 'Iran, Islamic Republic of'),
221
- (106, 'IS', 'Iceland'),
222
- (107, 'IT', 'Italy'),
223
- (108, 'JM', 'Jamaica'),
224
- (109, 'JO', 'Jordan'),
225
- (110, 'JP', 'Japan'),
226
- (111, 'KE', 'Kenya'),
227
- (112, 'KG', 'Kyrgyzstan'),
228
- (113, 'KH', 'Cambodia (formerly Kampuchea)'),
229
- (114, 'KI', 'Kiribati'),
230
- (115, 'KM', 'Comoros'),
231
- (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
232
- (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
233
- (118, 'KR', 'Korea, Republic of (South Korea)'),
234
- (119, 'KW', 'Kuwait'),
235
- (120, 'KY', 'Cayman Islands'),
236
- (121, 'KZ', 'Kazakhstan'),
237
- (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
238
- (123, 'LB', 'Lebanon'),
239
- (124, 'LC', 'Saint Lucia'),
240
- (125, 'LI', 'Liechtenstein'),
241
- (126, 'LK', 'Sri Lanka'),
242
- (127, 'LR', 'Liberia'),
243
- (128, 'LS', 'Lesotho'),
244
- (129, 'LT', 'Lithuania'),
245
- (130, 'LU', 'Luxembourg'),
246
- (131, 'LV', 'Latvia'),
247
- (132, 'LY', 'Libyan Arab Jamahiriya'),
248
- (133, 'MA', 'Morocco'),
249
- (134, 'MC', 'Monaco'),
250
- (135, 'MD', 'Moldova, Republic of'),
251
- (136, 'MG', 'Madagascar'),
252
- (137, 'MH', 'Marshall Islands'),
253
- (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
254
- (139, 'ML', 'Mali'),
255
- (140, 'MM', 'Myanmar (formerly Burma)'),
256
- (141, 'MN', 'Mongolia'),
257
- (142, 'MO', 'Macao (also spelled Macau)'),
258
- (143, 'MP', 'Northern Mariana Islands'),
259
- (144, 'MQ', 'Martinique'),
260
- (145, 'MR', 'Mauritania'),
261
- (146, 'MS', 'Montserrat'),
262
- (147, 'MT', 'Malta'),
263
- (148, 'MU', 'Mauritius'),
264
- (149, 'MV', 'Maldives'),
265
- (150, 'MW', 'Malawi'),
266
- (151, 'MX', 'Mexico'),
267
- (152, 'MY', 'Malaysia'),
268
- (153, 'MZ', 'Mozambique'),
269
- (154, 'NA', 'Namibia'),
270
- (155, 'NC', 'New Caledonia'),
271
- (156, 'NE', 'Niger'),
272
- (157, 'NF', 'Norfolk Island'),
273
- (158, 'NG', 'Nigeria'),
274
- (159, 'NI', 'Nicaragua'),
275
- (160, 'NL', 'Netherlands'),
276
- (161, 'NO', 'Norway'),
277
- (162, 'NP', 'Nepal'),
278
- (163, 'NR', 'Nauru'),
279
- (164, 'NU', 'Niue'),
280
- (165, 'NZ', 'New Zealand'),
281
- (166, 'OM', 'Oman'),
282
- (167, 'PA', 'Panama'),
283
- (168, 'PE', 'Peru'),
284
- (169, 'PF', 'French Polynesia'),
285
- (170, 'PG', 'Papua New Guinea'),
286
- (171, 'PH', 'Philippines'),
287
- (172, 'PK', 'Pakistan'),
288
- (173, 'PL', 'Poland'),
289
- (174, 'PM', 'St Pierre and Miquelon'),
290
- (175, 'PN', 'Pitcairn Island'),
291
- (176, 'PR', 'Puerto Rico'),
292
- (177, 'PT', 'Portugal'),
293
- (178, 'PW', 'Palau'),
294
- (179, 'PY', 'Paraguay'),
295
- (180, 'QA', 'Qatar'),
296
- (181, 'RE', 'R'),
297
- (182, 'RO', 'Romania'),
298
- (183, 'RU', 'Russian Federation'),
299
- (184, 'RW', 'Rwanda'),
300
- (185, 'SA', 'Saudi Arabia'),
301
- (186, 'SB', 'Solomon Islands'),
302
- (187, 'SC', 'Seychelles'),
303
- (188, 'SD', 'Sudan'),
304
- (189, 'SE', 'Sweden'),
305
- (190, 'SG', 'Singapore'),
306
- (191, 'SH', 'St Helena'),
307
- (192, 'SI', 'Slovenia'),
308
- (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
309
- (194, 'SK', 'Slovakia'),
310
- (195, 'SL', 'Sierra Leone'),
311
- (196, 'SM', 'San Marino'),
312
- (197, 'SN', 'Senegal'),
313
- (198, 'SO', 'Somalia'),
314
- (199, 'SR', 'Suriname'),
315
- (200, 'ST', 'Sco Tom'),
316
- (201, 'SU', 'Union of Soviet Socialist Republics'),
317
- (202, 'SV', 'El Salvador'),
318
- (203, 'SY', 'Syrian Arab Republic'),
319
- (204, 'SZ', 'Swaziland'),
320
- (205, 'TC', 'Turks and Caicos Islands'),
321
- (206, 'TD', 'Chad'),
322
- (207, 'TF', 'French Southern and Antarctic Territories'),
323
- (208, 'TG', 'Togo'),
324
- (209, 'TH', 'Thailand'),
325
- (210, 'TJ', 'Tajikistan'),
326
- (211, 'TK', 'Tokelau'),
327
- (212, 'TM', 'Turkmenistan'),
328
- (213, 'TN', 'Tunisia'),
329
- (214, 'TO', 'Tonga'),
330
- (215, 'TP', 'East Timor'),
331
- (216, 'TR', 'Turkey'),
332
- (217, 'TT', 'Trinidad and Tobago'),
333
- (218, 'TV', 'Tuvalu'),
334
- (219, 'TW', 'Taiwan, Province of China'),
335
- (220, 'TZ', 'Tanzania, United Republic of'),
336
- (221, 'UA', 'Ukraine'),
337
- (222, 'UG', 'Uganda'),
338
- (223, 'UM', 'United States Minor Outlying Islands'),
339
- (224, 'US', 'United States of America'),
340
- (225, 'UY', 'Uruguay'),
341
- (226, 'UZ', 'Uzbekistan'),
342
- (227, 'VA', 'Holy See (Vatican City State)'),
343
- (228, 'VC', 'Saint Vincent and the Grenadines'),
344
- (229, 'VE', 'Venezuela'),
345
- (230, 'VG', 'Virgin Islands (British)'),
346
- (231, 'VI', 'Virgin Islands (US)'),
347
- (232, 'VN', 'Viet Nam'),
348
- (233, 'VU', 'Vanautu'),
349
- (234, 'WF', 'Wallis and Futuna Islands'),
350
- (235, 'WS', 'Samoa'),
351
- (236, 'XO', 'West Africa'),
352
- (237, 'YE', 'Yemen'),
353
- (238, 'YT', 'Mayotte'),
354
- (239, 'ZA', 'South Africa'),
355
- (240, 'ZM', 'Zambia'),
356
- (241, 'ZW', 'Zimbabwe'),
357
- (242, 'PS', 'Palestinian Territory');
358
-
359
-
360
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
361
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
362
- `id` int(11) NOT NULL auto_increment,
363
- `country_id` int(11) default NULL,
364
- `method_id` int(11) default NULL,
365
- `priority` int(2) default NULL,
366
- PRIMARY KEY (`id`)
367
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
368
- INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
369
- (1, 2, 13, 1),
370
- (2, 2, 14, 2),
371
- (3, 11, 19, 1),
372
- (4, 11, 33, 3),
373
- (5, 11, 47, 2),
374
- (6, 13, 1, 5),
375
- (7, 13, 5, 1),
376
- (8, 13, 9, 3),
377
- (9, 13, 28, 4),
378
- (10, 13, 40, 2),
379
- (11, 14, 18, 1),
380
- (12, 14, 28, 2),
381
- (13, 20, 1, 3),
382
- (14, 20, 3, 1),
383
- (15, 20, 28, 4),
384
- (16, 20, 40, 2),
385
- (17, 22, 1, 1),
386
- (18, 23, 13, 1),
387
- (19, 23, 14, 2),
388
- (20, 29, 32, 2),
389
- (21, 29, 34, 3),
390
- (22, 29, 43, 7),
391
- (23, 29, 46, 1),
392
- (24, 29, 47, 8),
393
- (25, 29, 1000, 4),
394
- (26, 29, 1001, 5),
395
- (27, 29, 1002, 6),
396
- (28, 36, 8, 1),
397
- (29, 36, 28, 2),
398
- (30, 41, 1, 1),
399
- (31, 41, 9, 2),
400
- (32, 44, 19, 2),
401
- (33, 44, 47, 3),
402
- (34, 46, 24, 1),
403
- (35, 46, 28, 2),
404
- (37, 47, 47, 8),
405
- (38, 47, 1019, 1),
406
- (39, 47, 1020, 2),
407
- (40, 47, 1021, 3),
408
- (41, 47, 1022, 4),
409
- (42, 47, 1023, 5),
410
- (43, 53, 13, 2),
411
- (44, 53, 14, 3),
412
- (45, 53, 28, 1),
413
- (46, 54, 1, 3),
414
- (47, 54, 27, 1),
415
- (48, 54, 28, 2),
416
- (49, 55, 1, 6),
417
- (50, 55, 4, 1),
418
- (51, 55, 9, 2),
419
- (52, 55, 14, 5),
420
- (53, 55, 28, 4),
421
- (54, 55, 40, 3),
422
- (55, 57, 1, 2),
423
- (56, 57, 28, 3),
424
- (57, 57, 29, 1),
425
- (58, 60, 14, 1),
426
- (59, 62, 1, 4),
427
- (60, 62, 23, 1),
428
- (61, 62, 28, 3),
429
- (62, 62, 29, 2),
430
- (63, 63, 13, 1),
431
- (64, 63, 14, 2),
432
- (65, 66, 1, 2),
433
- (66, 66, 14, 4),
434
- (67, 66, 28, 3),
435
- (68, 66, 29, 1),
436
- (69, 68, 1, 1),
437
- (70, 68, 28, 3),
438
- (71, 68, 29, 2),
439
- (72, 73, 1, 1),
440
- (73, 73, 14, 2),
441
- (74, 76, 1, 1),
442
- (75, 76, 40, 4),
443
- (76, 76, 9, 3),
444
- (77, 76, 14, 5),
445
- (78, 76, 28, 2),
446
- (79, 87, 28, 1),
447
- (81, 98, 1, 3),
448
- (82, 98, 25, 1),
449
- (83, 98, 28, 2),
450
- (84, 98, 40, 4),
451
- (85, 99, 1024, 1),
452
- (86, 100, 1, 2),
453
- (87, 100, 14, 3),
454
- (88, 100, 28, 1),
455
- (89, 101, 13, 1),
456
- (90, 101, 14, 2),
457
- (91, 104, 13, 1),
458
- (92, 104, 14, 2),
459
- (93, 107, 1, 2),
460
- (94, 107, 14, 3),
461
- (95, 107, 28, 1),
462
- (96, 109, 13, 1),
463
- (97, 109, 14, 2),
464
- (98, 119, 13, 1),
465
- (99, 121, 1003, 1),
466
- (100, 121, 1004, 2),
467
- (101, 121, 1005, 3),
468
- (102, 121, 1006, 4),
469
- (103, 123, 13, 1),
470
- (104, 123, 14, 2),
471
- (105, 129, 1, 3),
472
- (106, 129, 23, 1),
473
- (107, 129, 29, 2),
474
- (108, 130, 1, 1),
475
- (109, 131, 23, 1),
476
- (110, 131, 28, 3),
477
- (111, 131, 29, 2),
478
- (112, 151, 19, 2),
479
- (113, 151, 28, 4),
480
- (114, 151, 49, 1),
481
- (115, 152, 1009, 1),
482
- (116, 152, 1010, 2),
483
- (117, 152, 1011, 3),
484
- (118, 152, 1012, 4),
485
- (119, 152, 1013, 5),
486
- (120, 152, 1014, 6),
487
- (121, 152, 1015, 7),
488
- (122, 152, 1016, 8),
489
- (123, 152, 1017, 9),
490
- (124, 152, 1018, 10),
491
- (125, 158, 14, 1),
492
- (126, 160, 1, 5),
493
- (127, 160, 2, 1),
494
- (128, 160, 9, 2),
495
- (129, 160, 28, 4),
496
- (130, 160, 40, 3),
497
- (131, 161, 1, 1),
498
- (132, 161, 28, 3),
499
- (133, 161, 29, 2),
500
- (134, 165, 18, 2),
501
- (135, 165, 28, 2),
502
- (136, 166, 13, 1),
503
- (137, 166, 14, 2),
504
- (138, 171, 44, 1),
505
- (139, 173, 1, 2),
506
- (140, 173, 12, 1),
507
- (141, 173, 14, 4),
508
- (142, 173, 28, 3),
509
- (143, 173, 40, 5),
510
- (144, 177, 1, 3),
511
- (145, 177, 14, 4),
512
- (146, 177, 20, 1),
513
- (147, 177, 28, 2),
514
- (148, 180, 13, 1),
515
- (149, 180, 14, 2),
516
- (150, 182, 1, 2),
517
- (151, 182, 40, 1),
518
- (152, 183, 22, 1),
519
- (153, 183, 28, 8),
520
- (154, 183, 1003, 4),
521
- (155, 183, 1004, 5),
522
- (156, 183, 1005, 6),
523
- (157, 183, 1006, 7),
524
- (158, 183, 1007, 2),
525
- (159, 183, 1008, 3),
526
- (160, 185, 13, 1),
527
- (161, 185, 14, 2),
528
- (162, 188, 14, 1),
529
- (163, 189, 1, 2),
530
- (164, 189, 28, 3),
531
- (165, 189, 29, 1),
532
- (166, 190, 37, 1),
533
- (167, 192, 14, 2),
534
- (168, 192, 28, 1),
535
- (169, 194, 1, 1),
536
- (170, 209, 35, 1),
537
- (171, 213, 13, 1),
538
- (172, 213, 14, 2),
539
- (173, 216, 1, 1),
540
- (174, 216, 13, 3),
541
- (175, 216, 14, 4),
542
- (176, 216, 28, 5),
543
- (177, 216, 40, 2),
544
- (178, 219, 48, 1),
545
- (179, 221, 22, 1),
546
- (180, 221, 28, 4),
547
- (181, 221, 1007, 2),
548
- (182, 221, 1008, 3),
549
- (183, 224, 8, 3),
550
- (184, 224, 36, 1),
551
- (186, 239, 1, 2),
552
- (187, 239, 28, 1),
553
- (188, 242, 13, 1),
554
- (189, 242, 14, 2),
555
- (190, 99, 1025, 2),
556
- (191, 151, 1026, 5),
557
- (192, 151, 1027, 6),
558
- (193, 151, 1028, 7),
559
- (194, 151, 1029, 8),
560
- (195, 151, 1030, 9),
561
- (196, 151, 1031, 10),
562
- (198, 209, 1033, 7),
563
- (199, 209, 1034, 6),
564
- (200, 209, 1035, 5),
565
- (201, 209, 1036, 3),
566
- (202, 209, 1037, 4),
567
- (203, 209, 1038, 2),
568
- (204, 29, 19, 10),
569
- (205, 107, 40, 4),
570
- (206, 73, 40, 3),
571
- (207, 73, 28, 4),
572
- (208, 224, 58, 2),
573
- (209, 194, 63, 2),
574
- (210, 62, 63, 5),
575
- (211, 192, 63, 3),
576
- (212, 54, 63, 3),
577
- (213, 182, 63, 3),
578
- (214, 22, 63, 2),
579
- (215, 98, 63, 5),
580
- (216, 171, 67, 2),
581
- (217, 216, 64, 6),
582
- (218, 216, 66, 7);
583
- ");
584
- $installer->endSetup();
585
- ?>
1
+ <?php
2
+ //die('Trying to setup Smart2Pay_Globalpay database');
3
+
4
+ $installer = $this;
5
+ $installer->startSetup();
6
+ $installer->run("
7
+
8
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
+ `log_id` int(11) NOT NULL auto_increment,
11
+ `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
+ `log_message` text collate utf8_unicode_ci default NULL,
13
+ `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
+ `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
+ `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
+ PRIMARY KEY (`log_id`)
17
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
+
19
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
+ `method_id` int(11) NOT NULL auto_increment,
22
+ `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
+ `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
+ `description` text collate utf8_unicode_ci,
25
+ `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
+ `guaranteed` int(1) default NULL,
27
+ `active` int(1) default NULL,
28
+ PRIMARY KEY (`method_id`)
29
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
+ INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
31
+ (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v5.gif', 1, 1),
32
+ (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.jpg', 1, 1),
33
+ (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.gif', 1, 1),
34
+ (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.gif', 1, 1),
35
+ (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.gif', 1, 1),
36
+ (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.gif', 1, 1),
37
+ (9, 'DirectEbanking', 'dp24', 'DirectEbanking description', 'dp24_sofort.gif', 0, 1),
38
+ (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.gif', 1, 1),
39
+ (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.gif', 1, 1),
40
+ (14, 'CashU', 'cashu', 'CashU description', 'cashu.gif', 1, 1),
41
+ (18, 'POLi', 'poli', 'POLi description', 'poli.gif', 0, 1),
42
+ (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail_v2.gif', 0, 1),
43
+ (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.gif', 1, 1),
44
+ (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta_v2.gif', 1, 1),
45
+ (23, 'WebToPay', 'webtopay', 'WebToPay description', 'webtopay_v3.gif', 1, 1),
46
+ (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.jpg', 1, 1),
47
+ (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.gif', 1, 1),
48
+ (27, 'eBanka', 'ebanka', 'eBanka description', 'ebanka.jpg', 1, 1),
49
+ (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.gif', 1, 1),
50
+ (29, 'GluePay', 'gluepay', 'GluePay description', 'gluepay.jpg', 1, 1),
51
+ (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.jpg', 1, 1),
52
+ (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.gif', 1, 1),
53
+ (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
54
+ (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.gif', 0, 1),
55
+ (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.gif', 0, 1),
56
+ (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.gif', 1, 1),
57
+ (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.gif', 1, 1),
58
+ (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.jpg', 1, 0),
59
+ (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.jpg', 0, 1),
60
+ (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.gif', 1, 1),
61
+ (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.jpg', 0, 1),
62
+ (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.jpg', 0, 1),
63
+ (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.gif', 1, 1),
64
+ (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
65
+ (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
66
+ (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangirkart.jpg', 1, 1),
67
+ (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
68
+ (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragonpay.jpg', 1 , 1),
69
+ (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto.jpg', 1, 1),
70
+ (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.jpg', 1, 1),
71
+ (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.jpg', 1, 1),
72
+ (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet_v2.gif', 1, 1),
73
+ (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.gif', 1, 1),
74
+ (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon_v1.gif', 1, 1),
75
+ (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
76
+ (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney_v1.gif', 1, 1),
77
+ (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex_money.gif', 1, 1),
78
+ (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
79
+ (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambankgroup.gif', 1, 1),
80
+ (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.gif', 1, 1),
81
+ (1012, 'FPX', 'asiapay', 'FPX description', 'FPX.gif', 1, 1),
82
+ (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.gif', 1, 1),
83
+ (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.gif', 1, 1),
84
+ (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.gif', 1, 1),
85
+ (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.gif', 1, 1),
86
+ (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.gif', 1, 1),
87
+ (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
88
+ (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.jpg', 1, 1),
89
+ (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.gif', 1, 1),
90
+ (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ACH.gif', 1, 1),
91
+ (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_in_cash.gif', 1, 1),
92
+ (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.gif', 1, 1),
93
+ (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.gif', 1, 1),
94
+ (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'XLTunai.gif', 1, 1),
95
+ (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.gif', 1, 1),
96
+ (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
97
+ (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
98
+ (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7eleven.gif', 1, 1),
99
+ (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
100
+ (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
101
+ (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
102
+ (1034, 'PayPalThailand', 'paysbuy', 'PayPalThailand description', 'paypal.jpg', 1, 1),
103
+ (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.jpg', 1, 1),
104
+ (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'cash_paysbuy.jpg', 1, 1),
105
+ (1037, 'OnlineBankingThailand', 'paysbuy', 'OnlineBankingThailand description', 'onlinebankingthailand.gif', 1, 1),
106
+ (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.gif', 1, 1);
107
+
108
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
109
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
110
+ `country_id` int(11) NOT NULL auto_increment,
111
+ `code` varchar(3) collate utf8_unicode_ci default NULL,
112
+ `name` varchar(100) collate utf8_unicode_ci default NULL,
113
+ PRIMARY KEY (`country_id`)
114
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
115
+ INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
116
+ (1, 'AD', 'Andorra'),
117
+ (2, 'AE', 'United Arab Emirates'),
118
+ (3, 'AF', 'Afghanistan'),
119
+ (4, 'AG', 'Antigua and Barbuda'),
120
+ (5, 'AI', 'Anguilla'),
121
+ (6, 'AL', 'Albania'),
122
+ (7, 'AM', 'Armenia'),
123
+ (8, 'AN', 'Netherlands Antilles'),
124
+ (9, 'AO', 'Angola'),
125
+ (10, 'AQ', 'Antarctica'),
126
+ (11, 'AR', 'Argentina'),
127
+ (12, 'AS', 'American Samoa'),
128
+ (13, 'AT', 'Austria'),
129
+ (14, 'AU', 'Australia'),
130
+ (15, 'AW', 'Aruba'),
131
+ (16, 'AZ', 'Azerbaijan'),
132
+ (17, 'BA', 'Bosnia & Herzegowina'),
133
+ (18, 'BB', 'Barbados'),
134
+ (19, 'BD', 'Bangladesh'),
135
+ (20, 'BE', 'Belgium'),
136
+ (21, 'BF', 'Burkina Faso'),
137
+ (22, 'BG', 'Bulgaria'),
138
+ (23, 'BH', 'Bahrain'),
139
+ (24, 'BI', 'Burundi'),
140
+ (25, 'BJ', 'Benin'),
141
+ (26, 'BM', 'Bermuda'),
142
+ (27, 'BN', 'Brunei Darussalam'),
143
+ (28, 'BO', 'Bolivia'),
144
+ (29, 'BR', 'Brazil'),
145
+ (30, 'BS', 'Bahamas'),
146
+ (31, 'BT', 'Bhutan'),
147
+ (32, 'BV', 'Bouvet Island'),
148
+ (33, 'BW', 'Botswana'),
149
+ (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
150
+ (35, 'BZ', 'Belize'),
151
+ (36, 'CA', 'Canada'),
152
+ (37, 'CC', 'Cocos (Keeling) Islands'),
153
+ (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
154
+ (39, 'CF', 'Central African Republic'),
155
+ (40, 'CG', 'Congo'),
156
+ (41, 'CH', 'Switzerland'),
157
+ (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
158
+ (43, 'CK', 'Cook Islands'),
159
+ (44, 'CL', 'Chile'),
160
+ (45, 'CM', 'Cameroon'),
161
+ (46, 'CN', 'China'),
162
+ (47, 'CO', 'Colombia'),
163
+ (48, 'CR', 'Costa Rica'),
164
+ (49, 'CS', 'Serbia and Montenegro (formerly Yugoslavia)'),
165
+ (50, 'CU', 'Cuba'),
166
+ (51, 'CV', 'Cape Verde'),
167
+ (52, 'CX', 'Christmas Island'),
168
+ (53, 'CY', 'Cyprus'),
169
+ (54, 'CZ', 'Czech Republic'),
170
+ (55, 'DE', 'Germany'),
171
+ (56, 'DJ', 'Djibouti'),
172
+ (57, 'DK', 'Denmark'),
173
+ (58, 'DM', 'Dominica'),
174
+ (59, 'DO', 'Dominican Republic'),
175
+ (60, 'DZ', 'Algeria'),
176
+ (61, 'EC', 'Ecuador'),
177
+ (62, 'EE', 'Estonia'),
178
+ (63, 'EG', 'Egypt'),
179
+ (64, 'EH', 'Western Sahara'),
180
+ (65, 'ER', 'Eritrea'),
181
+ (66, 'ES', 'Spain'),
182
+ (67, 'ET', 'Ethiopia'),
183
+ (68, 'FI', 'Finland'),
184
+ (69, 'FJ', 'Fiji Islands'),
185
+ (70, 'FK', 'Falkland Islands (Malvinas)'),
186
+ (71, 'FM', 'Micronesia, Federated States of'),
187
+ (72, 'FO', 'Faroe Islands'),
188
+ (73, 'FR', 'France'),
189
+ (74, 'FX', 'France, Metropolitan'),
190
+ (75, 'GA', 'Gabon'),
191
+ (76, 'GB', 'United Kingdom'),
192
+ (77, 'GD', 'Grenada'),
193
+ (78, 'GE', 'Georgia'),
194
+ (79, 'GF', 'French Guiana'),
195
+ (80, 'GH', 'Ghana'),
196
+ (81, 'GI', 'Gibraltar'),
197
+ (82, 'GL', 'Greenland'),
198
+ (83, 'GM', 'Gambia'),
199
+ (84, 'GN', 'Guinea'),
200
+ (85, 'GP', 'Guadeloupe'),
201
+ (86, 'GQ', 'Equatorial Guinea'),
202
+ (87, 'GR', 'Greece'),
203
+ (88, 'GS', 'South Georgia and the South Sandwich Islands'),
204
+ (89, 'GT', 'Guatemala'),
205
+ (90, 'GU', 'Guam'),
206
+ (91, 'GW', 'Guinea-Bissau'),
207
+ (92, 'GY', 'Guyana'),
208
+ (93, 'HK', 'Hong Kong'),
209
+ (94, 'HM', 'Heard and McDonald Islands'),
210
+ (95, 'HN', 'Honduras'),
211
+ (96, 'HR', 'Croatia (local name: Hrvatska)'),
212
+ (97, 'HT', 'Haiti'),
213
+ (98, 'HU', 'Hungary'),
214
+ (99, 'ID', 'Indonesia'),
215
+ (100, 'IE', 'Ireland'),
216
+ (101, 'IL', 'Israel'),
217
+ (102, 'IN', 'India'),
218
+ (103, 'IO', 'British Indian Ocean Territory'),
219
+ (104, 'IQ', 'Iraq'),
220
+ (105, 'IR', 'Iran, Islamic Republic of'),
221
+ (106, 'IS', 'Iceland'),
222
+ (107, 'IT', 'Italy'),
223
+ (108, 'JM', 'Jamaica'),
224
+ (109, 'JO', 'Jordan'),
225
+ (110, 'JP', 'Japan'),
226
+ (111, 'KE', 'Kenya'),
227
+ (112, 'KG', 'Kyrgyzstan'),
228
+ (113, 'KH', 'Cambodia (formerly Kampuchea)'),
229
+ (114, 'KI', 'Kiribati'),
230
+ (115, 'KM', 'Comoros'),
231
+ (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
232
+ (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
233
+ (118, 'KR', 'Korea, Republic of (South Korea)'),
234
+ (119, 'KW', 'Kuwait'),
235
+ (120, 'KY', 'Cayman Islands'),
236
+ (121, 'KZ', 'Kazakhstan'),
237
+ (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
238
+ (123, 'LB', 'Lebanon'),
239
+ (124, 'LC', 'Saint Lucia'),
240
+ (125, 'LI', 'Liechtenstein'),
241
+ (126, 'LK', 'Sri Lanka'),
242
+ (127, 'LR', 'Liberia'),
243
+ (128, 'LS', 'Lesotho'),
244
+ (129, 'LT', 'Lithuania'),
245
+ (130, 'LU', 'Luxembourg'),
246
+ (131, 'LV', 'Latvia'),
247
+ (132, 'LY', 'Libyan Arab Jamahiriya'),
248
+ (133, 'MA', 'Morocco'),
249
+ (134, 'MC', 'Monaco'),
250
+ (135, 'MD', 'Moldova, Republic of'),
251
+ (136, 'MG', 'Madagascar'),
252
+ (137, 'MH', 'Marshall Islands'),
253
+ (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
254
+ (139, 'ML', 'Mali'),
255
+ (140, 'MM', 'Myanmar (formerly Burma)'),
256
+ (141, 'MN', 'Mongolia'),
257
+ (142, 'MO', 'Macao (also spelled Macau)'),
258
+ (143, 'MP', 'Northern Mariana Islands'),
259
+ (144, 'MQ', 'Martinique'),
260
+ (145, 'MR', 'Mauritania'),
261
+ (146, 'MS', 'Montserrat'),
262
+ (147, 'MT', 'Malta'),
263
+ (148, 'MU', 'Mauritius'),
264
+ (149, 'MV', 'Maldives'),
265
+ (150, 'MW', 'Malawi'),
266
+ (151, 'MX', 'Mexico'),
267
+ (152, 'MY', 'Malaysia'),
268
+ (153, 'MZ', 'Mozambique'),
269
+ (154, 'NA', 'Namibia'),
270
+ (155, 'NC', 'New Caledonia'),
271
+ (156, 'NE', 'Niger'),
272
+ (157, 'NF', 'Norfolk Island'),
273
+ (158, 'NG', 'Nigeria'),
274
+ (159, 'NI', 'Nicaragua'),
275
+ (160, 'NL', 'Netherlands'),
276
+ (161, 'NO', 'Norway'),
277
+ (162, 'NP', 'Nepal'),
278
+ (163, 'NR', 'Nauru'),
279
+ (164, 'NU', 'Niue'),
280
+ (165, 'NZ', 'New Zealand'),
281
+ (166, 'OM', 'Oman'),
282
+ (167, 'PA', 'Panama'),
283
+ (168, 'PE', 'Peru'),
284
+ (169, 'PF', 'French Polynesia'),
285
+ (170, 'PG', 'Papua New Guinea'),
286
+ (171, 'PH', 'Philippines'),
287
+ (172, 'PK', 'Pakistan'),
288
+ (173, 'PL', 'Poland'),
289
+ (174, 'PM', 'St Pierre and Miquelon'),
290
+ (175, 'PN', 'Pitcairn Island'),
291
+ (176, 'PR', 'Puerto Rico'),
292
+ (177, 'PT', 'Portugal'),
293
+ (178, 'PW', 'Palau'),
294
+ (179, 'PY', 'Paraguay'),
295
+ (180, 'QA', 'Qatar'),
296
+ (181, 'RE', 'R'),
297
+ (182, 'RO', 'Romania'),
298
+ (183, 'RU', 'Russian Federation'),
299
+ (184, 'RW', 'Rwanda'),
300
+ (185, 'SA', 'Saudi Arabia'),
301
+ (186, 'SB', 'Solomon Islands'),
302
+ (187, 'SC', 'Seychelles'),
303
+ (188, 'SD', 'Sudan'),
304
+ (189, 'SE', 'Sweden'),
305
+ (190, 'SG', 'Singapore'),
306
+ (191, 'SH', 'St Helena'),
307
+ (192, 'SI', 'Slovenia'),
308
+ (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
309
+ (194, 'SK', 'Slovakia'),
310
+ (195, 'SL', 'Sierra Leone'),
311
+ (196, 'SM', 'San Marino'),
312
+ (197, 'SN', 'Senegal'),
313
+ (198, 'SO', 'Somalia'),
314
+ (199, 'SR', 'Suriname'),
315
+ (200, 'ST', 'Sco Tom'),
316
+ (201, 'SU', 'Union of Soviet Socialist Republics'),
317
+ (202, 'SV', 'El Salvador'),
318
+ (203, 'SY', 'Syrian Arab Republic'),
319
+ (204, 'SZ', 'Swaziland'),
320
+ (205, 'TC', 'Turks and Caicos Islands'),
321
+ (206, 'TD', 'Chad'),
322
+ (207, 'TF', 'French Southern and Antarctic Territories'),
323
+ (208, 'TG', 'Togo'),
324
+ (209, 'TH', 'Thailand'),
325
+ (210, 'TJ', 'Tajikistan'),
326
+ (211, 'TK', 'Tokelau'),
327
+ (212, 'TM', 'Turkmenistan'),
328
+ (213, 'TN', 'Tunisia'),
329
+ (214, 'TO', 'Tonga'),
330
+ (215, 'TP', 'East Timor'),
331
+ (216, 'TR', 'Turkey'),
332
+ (217, 'TT', 'Trinidad and Tobago'),
333
+ (218, 'TV', 'Tuvalu'),
334
+ (219, 'TW', 'Taiwan, Province of China'),
335
+ (220, 'TZ', 'Tanzania, United Republic of'),
336
+ (221, 'UA', 'Ukraine'),
337
+ (222, 'UG', 'Uganda'),
338
+ (223, 'UM', 'United States Minor Outlying Islands'),
339
+ (224, 'US', 'United States of America'),
340
+ (225, 'UY', 'Uruguay'),
341
+ (226, 'UZ', 'Uzbekistan'),
342
+ (227, 'VA', 'Holy See (Vatican City State)'),
343
+ (228, 'VC', 'Saint Vincent and the Grenadines'),
344
+ (229, 'VE', 'Venezuela'),
345
+ (230, 'VG', 'Virgin Islands (British)'),
346
+ (231, 'VI', 'Virgin Islands (US)'),
347
+ (232, 'VN', 'Viet Nam'),
348
+ (233, 'VU', 'Vanautu'),
349
+ (234, 'WF', 'Wallis and Futuna Islands'),
350
+ (235, 'WS', 'Samoa'),
351
+ (236, 'XO', 'West Africa'),
352
+ (237, 'YE', 'Yemen'),
353
+ (238, 'YT', 'Mayotte'),
354
+ (239, 'ZA', 'South Africa'),
355
+ (240, 'ZM', 'Zambia'),
356
+ (241, 'ZW', 'Zimbabwe'),
357
+ (242, 'PS', 'Palestinian Territory');
358
+
359
+
360
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
361
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
362
+ `id` int(11) NOT NULL auto_increment,
363
+ `country_id` int(11) default NULL,
364
+ `method_id` int(11) default NULL,
365
+ `priority` int(2) default NULL,
366
+ PRIMARY KEY (`id`)
367
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
368
+ INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
369
+ (1, 2, 13, 1),
370
+ (2, 2, 14, 2),
371
+ (3, 11, 19, 1),
372
+ (4, 11, 33, 3),
373
+ (5, 11, 47, 2),
374
+ (6, 13, 1, 5),
375
+ (7, 13, 5, 1),
376
+ (8, 13, 9, 3),
377
+ (9, 13, 28, 4),
378
+ (10, 13, 40, 2),
379
+ (11, 14, 18, 1),
380
+ (12, 14, 28, 2),
381
+ (13, 20, 1, 3),
382
+ (14, 20, 3, 1),
383
+ (15, 20, 28, 4),
384
+ (16, 20, 40, 2),
385
+ (17, 22, 1, 1),
386
+ (18, 23, 13, 1),
387
+ (19, 23, 14, 2),
388
+ (20, 29, 32, 2),
389
+ (21, 29, 34, 3),
390
+ (22, 29, 43, 7),
391
+ (23, 29, 46, 1),
392
+ (24, 29, 47, 8),
393
+ (25, 29, 1000, 4),
394
+ (26, 29, 1001, 5),
395
+ (27, 29, 1002, 6),
396
+ (28, 36, 8, 1),
397
+ (29, 36, 28, 2),
398
+ (30, 41, 1, 1),
399
+ (31, 41, 9, 2),
400
+ (32, 44, 19, 2),
401
+ (33, 44, 47, 3),
402
+ (34, 46, 24, 1),
403
+ (35, 46, 28, 2),
404
+ (37, 47, 47, 8),
405
+ (38, 47, 1019, 1),
406
+ (39, 47, 1020, 2),
407
+ (40, 47, 1021, 3),
408
+ (41, 47, 1022, 4),
409
+ (42, 47, 1023, 5),
410
+ (43, 53, 13, 2),
411
+ (44, 53, 14, 3),
412
+ (45, 53, 28, 1),
413
+ (46, 54, 1, 3),
414
+ (47, 54, 27, 1),
415
+ (48, 54, 28, 2),
416
+ (49, 55, 1, 6),
417
+ (50, 55, 4, 1),
418
+ (51, 55, 9, 2),
419
+ (52, 55, 14, 5),
420
+ (53, 55, 28, 4),
421
+ (54, 55, 40, 3),
422
+ (55, 57, 1, 2),
423
+ (56, 57, 28, 3),
424
+ (57, 57, 29, 1),
425
+ (58, 60, 14, 1),
426
+ (59, 62, 1, 4),
427
+ (60, 62, 23, 1),
428
+ (61, 62, 28, 3),
429
+ (62, 62, 29, 2),
430
+ (63, 63, 13, 1),
431
+ (64, 63, 14, 2),
432
+ (65, 66, 1, 2),
433
+ (66, 66, 14, 4),
434
+ (67, 66, 28, 3),
435
+ (68, 66, 29, 1),
436
+ (69, 68, 1, 1),
437
+ (70, 68, 28, 3),
438
+ (71, 68, 29, 2),
439
+ (72, 73, 1, 1),
440
+ (73, 73, 14, 2),
441
+ (74, 76, 1, 1),
442
+ (75, 76, 40, 4),
443
+ (76, 76, 9, 3),
444
+ (77, 76, 14, 5),
445
+ (78, 76, 28, 2),
446
+ (79, 87, 28, 1),
447
+ (81, 98, 1, 3),
448
+ (82, 98, 25, 1),
449
+ (83, 98, 28, 2),
450
+ (84, 98, 40, 4),
451
+ (85, 99, 1024, 1),
452
+ (86, 100, 1, 2),
453
+ (87, 100, 14, 3),
454
+ (88, 100, 28, 1),
455
+ (89, 101, 13, 1),
456
+ (90, 101, 14, 2),
457
+ (91, 104, 13, 1),
458
+ (92, 104, 14, 2),
459
+ (93, 107, 1, 2),
460
+ (94, 107, 14, 3),
461
+ (95, 107, 28, 1),
462
+ (96, 109, 13, 1),
463
+ (97, 109, 14, 2),
464
+ (98, 119, 13, 1),
465
+ (99, 121, 1003, 1),
466
+ (100, 121, 1004, 2),
467
+ (101, 121, 1005, 3),
468
+ (102, 121, 1006, 4),
469
+ (103, 123, 13, 1),
470
+ (104, 123, 14, 2),
471
+ (105, 129, 1, 3),
472
+ (106, 129, 23, 1),
473
+ (107, 129, 29, 2),
474
+ (108, 130, 1, 1),
475
+ (109, 131, 23, 1),
476
+ (110, 131, 28, 3),
477
+ (111, 131, 29, 2),
478
+ (112, 151, 19, 2),
479
+ (113, 151, 28, 4),
480
+ (114, 151, 49, 1),
481
+ (115, 152, 1009, 1),
482
+ (116, 152, 1010, 2),
483
+ (117, 152, 1011, 3),
484
+ (118, 152, 1012, 4),
485
+ (119, 152, 1013, 5),
486
+ (120, 152, 1014, 6),
487
+ (121, 152, 1015, 7),
488
+ (122, 152, 1016, 8),
489
+ (123, 152, 1017, 9),
490
+ (124, 152, 1018, 10),
491
+ (125, 158, 14, 1),
492
+ (126, 160, 1, 5),
493
+ (127, 160, 2, 1),
494
+ (128, 160, 9, 2),
495
+ (129, 160, 28, 4),
496
+ (130, 160, 40, 3),
497
+ (131, 161, 1, 1),
498
+ (132, 161, 28, 3),
499
+ (133, 161, 29, 2),
500
+ (134, 165, 18, 2),
501
+ (135, 165, 28, 2),
502
+ (136, 166, 13, 1),
503
+ (137, 166, 14, 2),
504
+ (138, 171, 44, 1),
505
+ (139, 173, 1, 2),
506
+ (140, 173, 12, 1),
507
+ (141, 173, 14, 4),
508
+ (142, 173, 28, 3),
509
+ (143, 173, 40, 5),
510
+ (144, 177, 1, 3),
511
+ (145, 177, 14, 4),
512
+ (146, 177, 20, 1),
513
+ (147, 177, 28, 2),
514
+ (148, 180, 13, 1),
515
+ (149, 180, 14, 2),
516
+ (150, 182, 1, 2),
517
+ (151, 182, 40, 1),
518
+ (152, 183, 22, 1),
519
+ (153, 183, 28, 8),
520
+ (154, 183, 1003, 4),
521
+ (155, 183, 1004, 5),
522
+ (156, 183, 1005, 6),
523
+ (157, 183, 1006, 7),
524
+ (158, 183, 1007, 2),
525
+ (159, 183, 1008, 3),
526
+ (160, 185, 13, 1),
527
+ (161, 185, 14, 2),
528
+ (162, 188, 14, 1),
529
+ (163, 189, 1, 2),
530
+ (164, 189, 28, 3),
531
+ (165, 189, 29, 1),
532
+ (166, 190, 37, 1),
533
+ (167, 192, 14, 2),
534
+ (168, 192, 28, 1),
535
+ (169, 194, 1, 1),
536
+ (170, 209, 35, 1),
537
+ (171, 213, 13, 1),
538
+ (172, 213, 14, 2),
539
+ (173, 216, 1, 1),
540
+ (174, 216, 13, 3),
541
+ (175, 216, 14, 4),
542
+ (176, 216, 28, 5),
543
+ (177, 216, 40, 2),
544
+ (178, 219, 48, 1),
545
+ (179, 221, 22, 1),
546
+ (180, 221, 28, 4),
547
+ (181, 221, 1007, 2),
548
+ (182, 221, 1008, 3),
549
+ (183, 224, 8, 3),
550
+ (184, 224, 36, 1),
551
+ (186, 239, 1, 2),
552
+ (187, 239, 28, 1),
553
+ (188, 242, 13, 1),
554
+ (189, 242, 14, 2),
555
+ (190, 99, 1025, 2),
556
+ (191, 151, 1026, 5),
557
+ (192, 151, 1027, 6),
558
+ (193, 151, 1028, 7),
559
+ (194, 151, 1029, 8),
560
+ (195, 151, 1030, 9),
561
+ (196, 151, 1031, 10),
562
+ (198, 209, 1033, 7),
563
+ (199, 209, 1034, 6),
564
+ (200, 209, 1035, 5),
565
+ (201, 209, 1036, 3),
566
+ (202, 209, 1037, 4),
567
+ (203, 209, 1038, 2),
568
+ (204, 29, 19, 10),
569
+ (205, 107, 40, 4),
570
+ (206, 73, 40, 3),
571
+ (207, 73, 28, 4),
572
+ (208, 224, 58, 2),
573
+ (209, 194, 63, 2),
574
+ (210, 62, 63, 5),
575
+ (211, 192, 63, 3),
576
+ (212, 54, 63, 3),
577
+ (213, 182, 63, 3),
578
+ (214, 22, 63, 2),
579
+ (215, 98, 63, 5),
580
+ (216, 171, 67, 2),
581
+ (217, 216, 64, 6),
582
+ (218, 216, 66, 7);
583
+ ");
584
+ $installer->endSetup();
585
+ ?>
app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.1.1-1.1.2.php CHANGED
@@ -1,574 +1,574 @@
1
- <?php
2
- //die('Trying to setup Smart2Pay_Globalpay database');
3
-
4
- $installer = $this;
5
- $installer->startSetup();
6
- $installer->run("
7
-
8
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
- `log_id` int(11) NOT NULL auto_increment,
11
- `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
- `log_message` text collate utf8_unicode_ci default NULL,
13
- `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
- `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
- `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
- PRIMARY KEY (`log_id`)
17
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
-
19
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
- `method_id` int(11) NOT NULL auto_increment,
22
- `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
- `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
- `description` text collate utf8_unicode_ci,
25
- `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
- `guaranteed` int(1) default NULL,
27
- `active` int(1) default NULL,
28
- PRIMARY KEY (`method_id`)
29
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
- INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
31
- (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v5.gif', 1, 1),
32
- (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.jpg', 1, 1),
33
- (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.gif', 1, 1),
34
- (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.gif', 1, 1),
35
- (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.gif', 1, 1),
36
- (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.gif', 1, 1),
37
- (9, 'Sofort Banking', 'dp24', 'Sofort Banking description', 'dp24_sofort.gif', 0, 1),
38
- (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.gif', 1, 1),
39
- (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.gif', 1, 1),
40
- (14, 'CashU', 'cashu', 'CashU description', 'cashu.gif', 1, 1),
41
- (18, 'POLi', 'poli', 'POLi description', 'poli.gif', 0, 1),
42
- (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail_v2.gif', 0, 1),
43
- (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.gif', 1, 1),
44
- (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta_v2.gif', 1, 1),
45
- (23, 'Paysera', 'paysera', 'Paysera description', 'paysera.gif', 1, 1),
46
- (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.jpg', 1, 1),
47
- (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.gif', 1, 1),
48
- (27, 'ePlatby for eKonto', 'ebanka', 'eBanka description', 'eKonto.gif', 1, 1),
49
- (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.gif', 1, 1),
50
- (29, 'Trustly', 'trustly', 'Trustly description', 'trustly.png', 1, 1),
51
- (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.jpg', 1, 1),
52
- (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.gif', 1, 1),
53
- (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
54
- (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.gif', 0, 1),
55
- (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.gif', 0, 1),
56
- (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.gif', 1, 1),
57
- (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.gif', 1, 1),
58
- (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.jpg', 1, 0),
59
- (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.jpg', 0, 1),
60
- (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.gif', 1, 1),
61
- (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.jpg', 0, 1),
62
- (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.jpg', 0, 1),
63
- (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.gif', 1, 1),
64
- (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
65
- (62, 'Tenpay','tenpay','Tenpay description','tenpay.gif',1,1),
66
- (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
67
- (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangirkart.jpg', 1, 1),
68
- (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
69
- (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragonpay.jpg', 1 , 1),
70
- (69, 'Credit Card', 's2pcards', 'S2PCards Description', 's2pcards.jpg', 0,1),
71
- (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto.jpg', 1, 1),
72
- (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.jpg', 1, 1),
73
- (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.jpg', 1, 1),
74
- (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet_v2.gif', 1, 1),
75
- (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.gif', 1, 1),
76
- (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon_v1.gif', 1, 1),
77
- (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
78
- (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney_v1.gif', 1, 1),
79
- (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex_money.gif', 1, 1),
80
- (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
81
- (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambankgroup.gif', 1, 1),
82
- (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.gif', 1, 1),
83
- (1012, 'FPX', 'asiapay', 'FPX description', 'FPX.gif', 1, 1),
84
- (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.gif', 1, 1),
85
- (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.gif', 1, 1),
86
- (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.gif', 1, 1),
87
- (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.gif', 1, 1),
88
- (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.gif', 1, 1),
89
- (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
90
- (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.jpg', 1, 1),
91
- (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.gif', 1, 1),
92
- (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ach.gif', 1, 1),
93
- (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_in_cash.gif', 1, 1),
94
- (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.gif', 1, 1),
95
- (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.gif', 1, 1),
96
- (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'XLTunai.gif', 1, 1),
97
- (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.gif', 1, 1),
98
- (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
99
- (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
100
- (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7eleven.gif', 1, 1),
101
- (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
102
- (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
103
- (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
104
- (1034, 'PayPalThailand', 'paysbuy', 'PayPalThailand description', 'paypal.jpg', 1, 1),
105
- (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.jpg', 1, 1),
106
- (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'cash_paysbuy.jpg', 1, 1),
107
- (1037, 'OnlineBankingThailand', 'paysbuy', 'OnlineBankingThailand description', 'onlinebankingthailand.gif', 1, 1),
108
- (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.gif', 1, 1);
109
-
110
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
111
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
112
- `country_id` int(11) NOT NULL auto_increment,
113
- `code` varchar(3) collate utf8_unicode_ci default NULL,
114
- `name` varchar(100) collate utf8_unicode_ci default NULL,
115
- PRIMARY KEY (`country_id`)
116
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
117
- INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
118
- (1, 'AD', 'Andorra'),
119
- (2, 'AE', 'United Arab Emirates'),
120
- (3, 'AF', 'Afghanistan'),
121
- (4, 'AG', 'Antigua and Barbuda'),
122
- (5, 'AI', 'Anguilla'),
123
- (6, 'AL', 'Albania'),
124
- (7, 'AM', 'Armenia'),
125
- (8, 'AN', 'Netherlands Antilles'),
126
- (9, 'AO', 'Angola'),
127
- (10, 'AQ', 'Antarctica'),
128
- (11, 'AR', 'Argentina'),
129
- (12, 'AS', 'American Samoa'),
130
- (13, 'AT', 'Austria'),
131
- (14, 'AU', 'Australia'),
132
- (15, 'AW', 'Aruba'),
133
- (16, 'AZ', 'Azerbaijan'),
134
- (17, 'BA', 'Bosnia & Herzegowina'),
135
- (18, 'BB', 'Barbados'),
136
- (19, 'BD', 'Bangladesh'),
137
- (20, 'BE', 'Belgium'),
138
- (21, 'BF', 'Burkina Faso'),
139
- (22, 'BG', 'Bulgaria'),
140
- (23, 'BH', 'Bahrain'),
141
- (24, 'BI', 'Burundi'),
142
- (25, 'BJ', 'Benin'),
143
- (26, 'BM', 'Bermuda'),
144
- (27, 'BN', 'Brunei Darussalam'),
145
- (28, 'BO', 'Bolivia'),
146
- (29, 'BR', 'Brazil'),
147
- (30, 'BS', 'Bahamas'),
148
- (31, 'BT', 'Bhutan'),
149
- (32, 'BV', 'Bouvet Island'),
150
- (33, 'BW', 'Botswana'),
151
- (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
152
- (35, 'BZ', 'Belize'),
153
- (36, 'CA', 'Canada'),
154
- (37, 'CC', 'Cocos (Keeling) Islands'),
155
- (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
156
- (39, 'CF', 'Central African Republic'),
157
- (40, 'CG', 'Congo'),
158
- (41, 'CH', 'Switzerland'),
159
- (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
160
- (43, 'CK', 'Cook Islands'),
161
- (44, 'CL', 'Chile'),
162
- (45, 'CM', 'Cameroon'),
163
- (46, 'CN', 'China'),
164
- (47, 'CO', 'Colombia'),
165
- (48, 'CR', 'Costa Rica'),
166
- (49, 'CS', 'Serbia and Montenegro (formerly Yugoslavia)'),
167
- (50, 'CU', 'Cuba'),
168
- (51, 'CV', 'Cape Verde'),
169
- (52, 'CX', 'Christmas Island'),
170
- (53, 'CY', 'Cyprus'),
171
- (54, 'CZ', 'Czech Republic'),
172
- (55, 'DE', 'Germany'),
173
- (56, 'DJ', 'Djibouti'),
174
- (57, 'DK', 'Denmark'),
175
- (58, 'DM', 'Dominica'),
176
- (59, 'DO', 'Dominican Republic'),
177
- (60, 'DZ', 'Algeria'),
178
- (61, 'EC', 'Ecuador'),
179
- (62, 'EE', 'Estonia'),
180
- (63, 'EG', 'Egypt'),
181
- (64, 'EH', 'Western Sahara'),
182
- (65, 'ER', 'Eritrea'),
183
- (66, 'ES', 'Spain'),
184
- (67, 'ET', 'Ethiopia'),
185
- (68, 'FI', 'Finland'),
186
- (69, 'FJ', 'Fiji Islands'),
187
- (70, 'FK', 'Falkland Islands (Malvinas)'),
188
- (71, 'FM', 'Micronesia, Federated States of'),
189
- (72, 'FO', 'Faroe Islands'),
190
- (73, 'FR', 'France'),
191
- (74, 'FX', 'France, Metropolitan'),
192
- (75, 'GA', 'Gabon'),
193
- (76, 'GB', 'United Kingdom'),
194
- (77, 'GD', 'Grenada'),
195
- (78, 'GE', 'Georgia'),
196
- (79, 'GF', 'French Guiana'),
197
- (80, 'GH', 'Ghana'),
198
- (81, 'GI', 'Gibraltar'),
199
- (82, 'GL', 'Greenland'),
200
- (83, 'GM', 'Gambia'),
201
- (84, 'GN', 'Guinea'),
202
- (85, 'GP', 'Guadeloupe'),
203
- (86, 'GQ', 'Equatorial Guinea'),
204
- (87, 'GR', 'Greece'),
205
- (88, 'GS', 'South Georgia and the South Sandwich Islands'),
206
- (89, 'GT', 'Guatemala'),
207
- (90, 'GU', 'Guam'),
208
- (91, 'GW', 'Guinea-Bissau'),
209
- (92, 'GY', 'Guyana'),
210
- (93, 'HK', 'Hong Kong'),
211
- (94, 'HM', 'Heard and McDonald Islands'),
212
- (95, 'HN', 'Honduras'),
213
- (96, 'HR', 'Croatia (local name: Hrvatska)'),
214
- (97, 'HT', 'Haiti'),
215
- (98, 'HU', 'Hungary'),
216
- (99, 'ID', 'Indonesia'),
217
- (100, 'IE', 'Ireland'),
218
- (101, 'IL', 'Israel'),
219
- (102, 'IN', 'India'),
220
- (103, 'IO', 'British Indian Ocean Territory'),
221
- (104, 'IQ', 'Iraq'),
222
- (105, 'IR', 'Iran, Islamic Republic of'),
223
- (106, 'IS', 'Iceland'),
224
- (107, 'IT', 'Italy'),
225
- (108, 'JM', 'Jamaica'),
226
- (109, 'JO', 'Jordan'),
227
- (110, 'JP', 'Japan'),
228
- (111, 'KE', 'Kenya'),
229
- (112, 'KG', 'Kyrgyzstan'),
230
- (113, 'KH', 'Cambodia (formerly Kampuchea)'),
231
- (114, 'KI', 'Kiribati'),
232
- (115, 'KM', 'Comoros'),
233
- (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
234
- (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
235
- (118, 'KR', 'Korea, Republic of (South Korea)'),
236
- (119, 'KW', 'Kuwait'),
237
- (120, 'KY', 'Cayman Islands'),
238
- (121, 'KZ', 'Kazakhstan'),
239
- (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
240
- (123, 'LB', 'Lebanon'),
241
- (124, 'LC', 'Saint Lucia'),
242
- (125, 'LI', 'Liechtenstein'),
243
- (126, 'LK', 'Sri Lanka'),
244
- (127, 'LR', 'Liberia'),
245
- (128, 'LS', 'Lesotho'),
246
- (129, 'LT', 'Lithuania'),
247
- (130, 'LU', 'Luxembourg'),
248
- (131, 'LV', 'Latvia'),
249
- (132, 'LY', 'Libyan Arab Jamahiriya'),
250
- (133, 'MA', 'Morocco'),
251
- (134, 'MC', 'Monaco'),
252
- (135, 'MD', 'Moldova, Republic of'),
253
- (136, 'MG', 'Madagascar'),
254
- (137, 'MH', 'Marshall Islands'),
255
- (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
256
- (139, 'ML', 'Mali'),
257
- (140, 'MM', 'Myanmar (formerly Burma)'),
258
- (141, 'MN', 'Mongolia'),
259
- (142, 'MO', 'Macao (also spelled Macau)'),
260
- (143, 'MP', 'Northern Mariana Islands'),
261
- (144, 'MQ', 'Martinique'),
262
- (145, 'MR', 'Mauritania'),
263
- (146, 'MS', 'Montserrat'),
264
- (147, 'MT', 'Malta'),
265
- (148, 'MU', 'Mauritius'),
266
- (149, 'MV', 'Maldives'),
267
- (150, 'MW', 'Malawi'),
268
- (151, 'MX', 'Mexico'),
269
- (152, 'MY', 'Malaysia'),
270
- (153, 'MZ', 'Mozambique'),
271
- (154, 'NA', 'Namibia'),
272
- (155, 'NC', 'New Caledonia'),
273
- (156, 'NE', 'Niger'),
274
- (157, 'NF', 'Norfolk Island'),
275
- (158, 'NG', 'Nigeria'),
276
- (159, 'NI', 'Nicaragua'),
277
- (160, 'NL', 'Netherlands'),
278
- (161, 'NO', 'Norway'),
279
- (162, 'NP', 'Nepal'),
280
- (163, 'NR', 'Nauru'),
281
- (164, 'NU', 'Niue'),
282
- (165, 'NZ', 'New Zealand'),
283
- (166, 'OM', 'Oman'),
284
- (167, 'PA', 'Panama'),
285
- (168, 'PE', 'Peru'),
286
- (169, 'PF', 'French Polynesia'),
287
- (170, 'PG', 'Papua New Guinea'),
288
- (171, 'PH', 'Philippines'),
289
- (172, 'PK', 'Pakistan'),
290
- (173, 'PL', 'Poland'),
291
- (174, 'PM', 'St Pierre and Miquelon'),
292
- (175, 'PN', 'Pitcairn Island'),
293
- (176, 'PR', 'Puerto Rico'),
294
- (177, 'PT', 'Portugal'),
295
- (178, 'PW', 'Palau'),
296
- (179, 'PY', 'Paraguay'),
297
- (180, 'QA', 'Qatar'),
298
- (181, 'RE', 'R'),
299
- (182, 'RO', 'Romania'),
300
- (183, 'RU', 'Russian Federation'),
301
- (184, 'RW', 'Rwanda'),
302
- (185, 'SA', 'Saudi Arabia'),
303
- (186, 'SB', 'Solomon Islands'),
304
- (187, 'SC', 'Seychelles'),
305
- (188, 'SD', 'Sudan'),
306
- (189, 'SE', 'Sweden'),
307
- (190, 'SG', 'Singapore'),
308
- (191, 'SH', 'St Helena'),
309
- (192, 'SI', 'Slovenia'),
310
- (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
311
- (194, 'SK', 'Slovakia'),
312
- (195, 'SL', 'Sierra Leone'),
313
- (196, 'SM', 'San Marino'),
314
- (197, 'SN', 'Senegal'),
315
- (198, 'SO', 'Somalia'),
316
- (199, 'SR', 'Suriname'),
317
- (200, 'ST', 'Sco Tom'),
318
- (201, 'SU', 'Union of Soviet Socialist Republics'),
319
- (202, 'SV', 'El Salvador'),
320
- (203, 'SY', 'Syrian Arab Republic'),
321
- (204, 'SZ', 'Swaziland'),
322
- (205, 'TC', 'Turks and Caicos Islands'),
323
- (206, 'TD', 'Chad'),
324
- (207, 'TF', 'French Southern and Antarctic Territories'),
325
- (208, 'TG', 'Togo'),
326
- (209, 'TH', 'Thailand'),
327
- (210, 'TJ', 'Tajikistan'),
328
- (211, 'TK', 'Tokelau'),
329
- (212, 'TM', 'Turkmenistan'),
330
- (213, 'TN', 'Tunisia'),
331
- (214, 'TO', 'Tonga'),
332
- (215, 'TP', 'East Timor'),
333
- (216, 'TR', 'Turkey'),
334
- (217, 'TT', 'Trinidad and Tobago'),
335
- (218, 'TV', 'Tuvalu'),
336
- (219, 'TW', 'Taiwan, Province of China'),
337
- (220, 'TZ', 'Tanzania, United Republic of'),
338
- (221, 'UA', 'Ukraine'),
339
- (222, 'UG', 'Uganda'),
340
- (223, 'UM', 'United States Minor Outlying Islands'),
341
- (224, 'US', 'United States of America'),
342
- (225, 'UY', 'Uruguay'),
343
- (226, 'UZ', 'Uzbekistan'),
344
- (227, 'VA', 'Holy See (Vatican City State)'),
345
- (228, 'VC', 'Saint Vincent and the Grenadines'),
346
- (229, 'VE', 'Venezuela'),
347
- (230, 'VG', 'Virgin Islands (British)'),
348
- (231, 'VI', 'Virgin Islands (US)'),
349
- (232, 'VN', 'Viet Nam'),
350
- (233, 'VU', 'Vanautu'),
351
- (234, 'WF', 'Wallis and Futuna Islands'),
352
- (235, 'WS', 'Samoa'),
353
- (236, 'XO', 'West Africa'),
354
- (237, 'YE', 'Yemen'),
355
- (238, 'YT', 'Mayotte'),
356
- (239, 'ZA', 'South Africa'),
357
- (240, 'ZM', 'Zambia'),
358
- (241, 'ZW', 'Zimbabwe'),
359
- (242, 'PS', 'Palestinian Territory');
360
-
361
-
362
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
363
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
364
- `id` int(11) NOT NULL auto_increment,
365
- `country_id` int(11) default NULL,
366
- `method_id` int(11) default NULL,
367
- `priority` int(2) default NULL,
368
- PRIMARY KEY (`id`)
369
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
370
- INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
371
- (1, 2, 13, 1),
372
- (2, 2, 14, 2),
373
- (3, 13, 1, 5),
374
- (4, 13, 5, 1),
375
- (5, 13, 9, 3),
376
- (6, 13, 28, 4),
377
- (7, 13, 40, 2),
378
- (8, 14, 18, 1),
379
- (9, 14, 28, 2),
380
- (10, 20, 1, 3),
381
- (11, 20, 3, 1),
382
- (12, 20, 28, 4),
383
- (13, 20, 40, 2),
384
- (14, 22, 63, 2),
385
- (15, 22, 1, 1),
386
- (16, 23, 13, 1),
387
- (17, 23, 14, 2),
388
- (18, 29, 32, 2),
389
- (19, 29, 34, 3),
390
- (20, 29, 43, 7),
391
- (21, 29, 46, 1),
392
- (23, 29, 1000, 4),
393
- (24, 29, 1001, 5),
394
- (25, 29, 1002, 6),
395
- (925,29, 19, 8),
396
- (26, 36, 8, 1),
397
- (27, 36, 28, 2),
398
- (28, 41, 1, 1),
399
- (29, 41, 9, 2),
400
- (30, 44, 19, 1),
401
- (31, 46, 24, 1),
402
- (32, 46, 28, 3),
403
- (33, 46, 62, 2),
404
- (34, 47, 1019, 1),
405
- (35, 47, 1020, 2),
406
- (36, 47, 1021, 3),
407
- (37, 47, 1022, 4),
408
- (38, 47, 1023, 5),
409
- (39, 53, 13, 2),
410
- (40, 53, 14, 3),
411
- (41, 53, 28, 1),
412
- (42, 54, 63, 2),
413
- (43, 54, 1, 3),
414
- (44, 54, 27, 1),
415
- (45, 54, 28, 4),
416
- (46, 55, 1, 6),
417
- (47, 55, 4, 1),
418
- (48, 55, 9, 2),
419
- (49, 55, 14, 5),
420
- (50, 55, 28, 4),
421
- (51, 55, 40, 3),
422
- (52, 57, 1, 2),
423
- (53, 57, 28, 3),
424
- (54, 57, 29, 1),
425
- (55, 60, 14, 1),
426
- (555, 62, 1, 5),
427
- (57, 62, 23, 1),
428
- (58, 62, 28, 4),
429
- (59, 62, 29, 2),
430
- (60, 62, 63, 3),
431
- (61, 63, 13, 1),
432
- (62, 63, 14, 2),
433
- (63, 66, 1, 2),
434
- (64, 66, 14, 4),
435
- (65, 66, 28, 3),
436
- (66, 66, 29, 1),
437
- (68, 68, 1, 2),
438
- (69, 68, 28, 3),
439
- (70, 68, 29, 1),
440
- (71, 73, 1, 1),
441
- (72, 73, 14, 3),
442
- (73, 73, 28, 4),
443
- (74, 73, 40, 2),
444
- (75, 76, 1, 2),
445
- (76, 76, 40, 4),
446
- (78, 76, 9, 1),
447
- (79, 76, 14, 5),
448
- (80, 76, 28, 3),
449
- (81, 87, 28, 1),
450
- (82, 98, 1, 4),
451
- (83, 98, 25, 1),
452
- (84, 98, 28, 2),
453
- (85, 98, 63, 3),
454
- (86, 99, 1024, 1),
455
- (87, 99, 1025, 2),
456
- (887, 100, 1, 2),
457
- (888, 100, 14, 3),
458
- (88, 100, 28, 1),
459
- (89, 101, 13, 1),
460
- (90, 101, 14, 2),
461
- (91, 104, 13, 1),
462
- (92, 104, 14, 2),
463
- (93, 107, 1, 2),
464
- (94, 107, 14, 5),
465
- (994,107, 40, 1),
466
- (995,107, 9,4),
467
- (95, 107, 28, 3),
468
- (96, 109, 13, 1),
469
- (97, 109, 14, 2),
470
- (98, 119, 13, 1),
471
- (99, 121, 1003, 1),
472
- (100, 123, 13, 1),
473
- (101, 123, 14, 2),
474
- (102, 129, 1, 3),
475
- (103, 129, 23, 1),
476
- (104, 129, 29, 2),
477
- (108, 130, 1, 1),
478
- (109, 131, 23, 1),
479
- (110, 131, 28, 3),
480
- (111, 131, 29, 2),
481
- (112, 131, 14, 1),
482
- (113, 151, 19, 2),
483
- (114, 151, 28, 9),
484
- (115, 151, 49, 1),
485
- (116, 151, 1026, 3),
486
- (117, 151, 1027, 4),
487
- (118, 151, 1028, 5),
488
- (119, 151, 1029, 6),
489
- (120, 151, 1030, 7),
490
- (121, 151, 1031, 8),
491
- (122, 152, 1009, 1),
492
- (123, 152, 1010, 2),
493
- (124, 152, 1011, 3),
494
- (125, 152, 1012, 4),
495
- (126, 152, 1013, 5),
496
- (127, 152, 1014, 6),
497
- (128, 152, 1015, 7),
498
- (129, 152, 1016, 8),
499
- (130, 152, 1017, 9),
500
- (131, 152, 1018, 10),
501
- (132, 158, 14, 1),
502
- (133, 160, 1, 5),
503
- (134, 160, 2, 1),
504
- (135, 160, 9, 2),
505
- (136, 160, 28, 4),
506
- (137, 160, 40, 3),
507
- (138, 161, 1, 1),
508
- (139, 161, 28, 3),
509
- (140, 161, 29, 2),
510
- (141, 165, 18, 2),
511
- (142, 165, 28, 2),
512
- (143, 166, 13, 1),
513
- (144, 166, 14, 2),
514
- (145, 171, 44, 1),
515
- (146, 171, 67, 2),
516
- (147, 173, 1, 2),
517
- (148, 173, 12, 1),
518
- (149, 173, 14, 4),
519
- (150, 173, 28, 3),
520
- (151, 177, 1, 3),
521
- (152, 177, 14, 4),
522
- (153, 177, 20, 1),
523
- (154, 177, 28, 2),
524
- (155, 242, 13, 1),
525
- (156, 242, 14, 1),
526
- (157, 180, 13, 1),
527
- (158, 180, 14, 2),
528
- (159, 182, 1, 2),
529
- (160, 182, 40, 1),
530
- (161, 182, 63, 3),
531
- (162, 183, 22, 1),
532
- (163, 183, 28, 8),
533
- (164, 183, 1003, 2),
534
- (165, 183, 1004, 4),
535
- (166, 183, 1005, 5),
536
- (167, 183, 1006, 6),
537
- (168, 183, 1008, 3),
538
- (169, 185, 13, 1),
539
- (170, 185, 14, 2),
540
- (171, 188, 14, 1),
541
- (172, 189, 1, 2),
542
- (173, 189, 28, 3),
543
- (174, 189, 29, 1),
544
- (175, 190, 37, 1),
545
- (176, 192, 14, 3),
546
- (177, 192, 28, 2),
547
- (178, 192, 63, 1),
548
- (179, 194, 1, 1),
549
- (180, 194, 63, 2),
550
- (181, 209, 35, 1),
551
- (182, 209, 1033, 7),
552
- (183, 209, 1034, 6),
553
- (184, 209, 1035, 5),
554
- (185, 209, 1036, 3),
555
- (186, 209, 1037, 4),
556
- (187, 209, 1038, 2),
557
- (188, 213, 13, 1),
558
- (189, 213, 14, 2),
559
- (190, 216, 1, 1),
560
- (191, 216, 13, 4),
561
- (192, 216, 14, 5),
562
- (193, 216, 28, 6),
563
- (194, 216, 66, 2),
564
- (195, 216, 64, 3),
565
- (196, 221, 22, 1),
566
- (197, 221, 28, 4),
567
- (198, 221, 1007, 3),
568
- (199, 221, 1008, 4),
569
- (200, 221, 1003, 2),
570
- (201, 224, 36, 1),
571
- (202, 239, 28, 1);
572
- ");
573
- $installer->endSetup();
574
- ?>
1
+ <?php
2
+ //die('Trying to setup Smart2Pay_Globalpay database');
3
+
4
+ $installer = $this;
5
+ $installer->startSetup();
6
+ $installer->run("
7
+
8
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
+ `log_id` int(11) NOT NULL auto_increment,
11
+ `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
+ `log_message` text collate utf8_unicode_ci default NULL,
13
+ `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
+ `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
+ `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
+ PRIMARY KEY (`log_id`)
17
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
+
19
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
+ `method_id` int(11) NOT NULL auto_increment,
22
+ `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
+ `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
+ `description` text collate utf8_unicode_ci,
25
+ `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
+ `guaranteed` int(1) default NULL,
27
+ `active` int(1) default NULL,
28
+ PRIMARY KEY (`method_id`)
29
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
+ INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
31
+ (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v5.gif', 1, 1),
32
+ (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.jpg', 1, 1),
33
+ (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.gif', 1, 1),
34
+ (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.gif', 1, 1),
35
+ (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.gif', 1, 1),
36
+ (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.gif', 1, 1),
37
+ (9, 'Sofort Banking', 'dp24', 'Sofort Banking description', 'dp24_sofort.gif', 0, 1),
38
+ (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.gif', 1, 1),
39
+ (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.gif', 1, 1),
40
+ (14, 'CashU', 'cashu', 'CashU description', 'cashu.gif', 1, 1),
41
+ (18, 'POLi', 'poli', 'POLi description', 'poli.gif', 0, 1),
42
+ (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail_v2.gif', 0, 1),
43
+ (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.gif', 1, 1),
44
+ (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta_v2.gif', 1, 1),
45
+ (23, 'Paysera', 'paysera', 'Paysera description', 'paysera.gif', 1, 1),
46
+ (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.jpg', 1, 1),
47
+ (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.gif', 1, 1),
48
+ (27, 'ePlatby for eKonto', 'ebanka', 'eBanka description', 'eKonto.gif', 1, 1),
49
+ (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.gif', 1, 1),
50
+ (29, 'Trustly', 'trustly', 'Trustly description', 'trustly.png', 1, 1),
51
+ (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.jpg', 1, 1),
52
+ (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.gif', 1, 1),
53
+ (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
54
+ (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.gif', 0, 1),
55
+ (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.gif', 0, 1),
56
+ (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.gif', 1, 1),
57
+ (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.gif', 1, 1),
58
+ (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.jpg', 1, 0),
59
+ (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.jpg', 0, 1),
60
+ (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.gif', 1, 1),
61
+ (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.jpg', 0, 1),
62
+ (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.jpg', 0, 1),
63
+ (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.gif', 1, 1),
64
+ (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
65
+ (62, 'Tenpay','tenpay','Tenpay description','tenpay.gif',1,1),
66
+ (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
67
+ (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangirkart.jpg', 1, 1),
68
+ (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
69
+ (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragonpay.jpg', 1 , 1),
70
+ (69, 'Credit Card', 's2pcards', 'S2PCards Description', 's2pcards.jpg', 0,1),
71
+ (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto.jpg', 1, 1),
72
+ (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.jpg', 1, 1),
73
+ (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.jpg', 1, 1),
74
+ (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet_v2.gif', 1, 1),
75
+ (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.gif', 1, 1),
76
+ (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon_v1.gif', 1, 1),
77
+ (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
78
+ (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney_v1.gif', 1, 1),
79
+ (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex_money.gif', 1, 1),
80
+ (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
81
+ (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambankgroup.gif', 1, 1),
82
+ (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.gif', 1, 1),
83
+ (1012, 'FPX', 'asiapay', 'FPX description', 'FPX.gif', 1, 1),
84
+ (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.gif', 1, 1),
85
+ (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.gif', 1, 1),
86
+ (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.gif', 1, 1),
87
+ (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.gif', 1, 1),
88
+ (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.gif', 1, 1),
89
+ (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
90
+ (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.jpg', 1, 1),
91
+ (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.gif', 1, 1),
92
+ (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ach.gif', 1, 1),
93
+ (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_in_cash.gif', 1, 1),
94
+ (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.gif', 1, 1),
95
+ (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.gif', 1, 1),
96
+ (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'XLTunai.gif', 1, 1),
97
+ (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.gif', 1, 1),
98
+ (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
99
+ (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
100
+ (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7eleven.gif', 1, 1),
101
+ (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
102
+ (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
103
+ (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
104
+ (1034, 'PayPalThailand', 'paysbuy', 'PayPalThailand description', 'paypal.jpg', 1, 1),
105
+ (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.jpg', 1, 1),
106
+ (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'cash_paysbuy.jpg', 1, 1),
107
+ (1037, 'OnlineBankingThailand', 'paysbuy', 'OnlineBankingThailand description', 'onlinebankingthailand.gif', 1, 1),
108
+ (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.gif', 1, 1);
109
+
110
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
111
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
112
+ `country_id` int(11) NOT NULL auto_increment,
113
+ `code` varchar(3) collate utf8_unicode_ci default NULL,
114
+ `name` varchar(100) collate utf8_unicode_ci default NULL,
115
+ PRIMARY KEY (`country_id`)
116
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
117
+ INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
118
+ (1, 'AD', 'Andorra'),
119
+ (2, 'AE', 'United Arab Emirates'),
120
+ (3, 'AF', 'Afghanistan'),
121
+ (4, 'AG', 'Antigua and Barbuda'),
122
+ (5, 'AI', 'Anguilla'),
123
+ (6, 'AL', 'Albania'),
124
+ (7, 'AM', 'Armenia'),
125
+ (8, 'AN', 'Netherlands Antilles'),
126
+ (9, 'AO', 'Angola'),
127
+ (10, 'AQ', 'Antarctica'),
128
+ (11, 'AR', 'Argentina'),
129
+ (12, 'AS', 'American Samoa'),
130
+ (13, 'AT', 'Austria'),
131
+ (14, 'AU', 'Australia'),
132
+ (15, 'AW', 'Aruba'),
133
+ (16, 'AZ', 'Azerbaijan'),
134
+ (17, 'BA', 'Bosnia & Herzegowina'),
135
+ (18, 'BB', 'Barbados'),
136
+ (19, 'BD', 'Bangladesh'),
137
+ (20, 'BE', 'Belgium'),
138
+ (21, 'BF', 'Burkina Faso'),
139
+ (22, 'BG', 'Bulgaria'),
140
+ (23, 'BH', 'Bahrain'),
141
+ (24, 'BI', 'Burundi'),
142
+ (25, 'BJ', 'Benin'),
143
+ (26, 'BM', 'Bermuda'),
144
+ (27, 'BN', 'Brunei Darussalam'),
145
+ (28, 'BO', 'Bolivia'),
146
+ (29, 'BR', 'Brazil'),
147
+ (30, 'BS', 'Bahamas'),
148
+ (31, 'BT', 'Bhutan'),
149
+ (32, 'BV', 'Bouvet Island'),
150
+ (33, 'BW', 'Botswana'),
151
+ (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
152
+ (35, 'BZ', 'Belize'),
153
+ (36, 'CA', 'Canada'),
154
+ (37, 'CC', 'Cocos (Keeling) Islands'),
155
+ (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
156
+ (39, 'CF', 'Central African Republic'),
157
+ (40, 'CG', 'Congo'),
158
+ (41, 'CH', 'Switzerland'),
159
+ (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
160
+ (43, 'CK', 'Cook Islands'),
161
+ (44, 'CL', 'Chile'),
162
+ (45, 'CM', 'Cameroon'),
163
+ (46, 'CN', 'China'),
164
+ (47, 'CO', 'Colombia'),
165
+ (48, 'CR', 'Costa Rica'),
166
+ (49, 'CS', 'Serbia and Montenegro (formerly Yugoslavia)'),
167
+ (50, 'CU', 'Cuba'),
168
+ (51, 'CV', 'Cape Verde'),
169
+ (52, 'CX', 'Christmas Island'),
170
+ (53, 'CY', 'Cyprus'),
171
+ (54, 'CZ', 'Czech Republic'),
172
+ (55, 'DE', 'Germany'),
173
+ (56, 'DJ', 'Djibouti'),
174
+ (57, 'DK', 'Denmark'),
175
+ (58, 'DM', 'Dominica'),
176
+ (59, 'DO', 'Dominican Republic'),
177
+ (60, 'DZ', 'Algeria'),
178
+ (61, 'EC', 'Ecuador'),
179
+ (62, 'EE', 'Estonia'),
180
+ (63, 'EG', 'Egypt'),
181
+ (64, 'EH', 'Western Sahara'),
182
+ (65, 'ER', 'Eritrea'),
183
+ (66, 'ES', 'Spain'),
184
+ (67, 'ET', 'Ethiopia'),
185
+ (68, 'FI', 'Finland'),
186
+ (69, 'FJ', 'Fiji Islands'),
187
+ (70, 'FK', 'Falkland Islands (Malvinas)'),
188
+ (71, 'FM', 'Micronesia, Federated States of'),
189
+ (72, 'FO', 'Faroe Islands'),
190
+ (73, 'FR', 'France'),
191
+ (74, 'FX', 'France, Metropolitan'),
192
+ (75, 'GA', 'Gabon'),
193
+ (76, 'GB', 'United Kingdom'),
194
+ (77, 'GD', 'Grenada'),
195
+ (78, 'GE', 'Georgia'),
196
+ (79, 'GF', 'French Guiana'),
197
+ (80, 'GH', 'Ghana'),
198
+ (81, 'GI', 'Gibraltar'),
199
+ (82, 'GL', 'Greenland'),
200
+ (83, 'GM', 'Gambia'),
201
+ (84, 'GN', 'Guinea'),
202
+ (85, 'GP', 'Guadeloupe'),
203
+ (86, 'GQ', 'Equatorial Guinea'),
204
+ (87, 'GR', 'Greece'),
205
+ (88, 'GS', 'South Georgia and the South Sandwich Islands'),
206
+ (89, 'GT', 'Guatemala'),
207
+ (90, 'GU', 'Guam'),
208
+ (91, 'GW', 'Guinea-Bissau'),
209
+ (92, 'GY', 'Guyana'),
210
+ (93, 'HK', 'Hong Kong'),
211
+ (94, 'HM', 'Heard and McDonald Islands'),
212
+ (95, 'HN', 'Honduras'),
213
+ (96, 'HR', 'Croatia (local name: Hrvatska)'),
214
+ (97, 'HT', 'Haiti'),
215
+ (98, 'HU', 'Hungary'),
216
+ (99, 'ID', 'Indonesia'),
217
+ (100, 'IE', 'Ireland'),
218
+ (101, 'IL', 'Israel'),
219
+ (102, 'IN', 'India'),
220
+ (103, 'IO', 'British Indian Ocean Territory'),
221
+ (104, 'IQ', 'Iraq'),
222
+ (105, 'IR', 'Iran, Islamic Republic of'),
223
+ (106, 'IS', 'Iceland'),
224
+ (107, 'IT', 'Italy'),
225
+ (108, 'JM', 'Jamaica'),
226
+ (109, 'JO', 'Jordan'),
227
+ (110, 'JP', 'Japan'),
228
+ (111, 'KE', 'Kenya'),
229
+ (112, 'KG', 'Kyrgyzstan'),
230
+ (113, 'KH', 'Cambodia (formerly Kampuchea)'),
231
+ (114, 'KI', 'Kiribati'),
232
+ (115, 'KM', 'Comoros'),
233
+ (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
234
+ (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
235
+ (118, 'KR', 'Korea, Republic of (South Korea)'),
236
+ (119, 'KW', 'Kuwait'),
237
+ (120, 'KY', 'Cayman Islands'),
238
+ (121, 'KZ', 'Kazakhstan'),
239
+ (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
240
+ (123, 'LB', 'Lebanon'),
241
+ (124, 'LC', 'Saint Lucia'),
242
+ (125, 'LI', 'Liechtenstein'),
243
+ (126, 'LK', 'Sri Lanka'),
244
+ (127, 'LR', 'Liberia'),
245
+ (128, 'LS', 'Lesotho'),
246
+ (129, 'LT', 'Lithuania'),
247
+ (130, 'LU', 'Luxembourg'),
248
+ (131, 'LV', 'Latvia'),
249
+ (132, 'LY', 'Libyan Arab Jamahiriya'),
250
+ (133, 'MA', 'Morocco'),
251
+ (134, 'MC', 'Monaco'),
252
+ (135, 'MD', 'Moldova, Republic of'),
253
+ (136, 'MG', 'Madagascar'),
254
+ (137, 'MH', 'Marshall Islands'),
255
+ (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
256
+ (139, 'ML', 'Mali'),
257
+ (140, 'MM', 'Myanmar (formerly Burma)'),
258
+ (141, 'MN', 'Mongolia'),
259
+ (142, 'MO', 'Macao (also spelled Macau)'),
260
+ (143, 'MP', 'Northern Mariana Islands'),
261
+ (144, 'MQ', 'Martinique'),
262
+ (145, 'MR', 'Mauritania'),
263
+ (146, 'MS', 'Montserrat'),
264
+ (147, 'MT', 'Malta'),
265
+ (148, 'MU', 'Mauritius'),
266
+ (149, 'MV', 'Maldives'),
267
+ (150, 'MW', 'Malawi'),
268
+ (151, 'MX', 'Mexico'),
269
+ (152, 'MY', 'Malaysia'),
270
+ (153, 'MZ', 'Mozambique'),
271
+ (154, 'NA', 'Namibia'),
272
+ (155, 'NC', 'New Caledonia'),
273
+ (156, 'NE', 'Niger'),
274
+ (157, 'NF', 'Norfolk Island'),
275
+ (158, 'NG', 'Nigeria'),
276
+ (159, 'NI', 'Nicaragua'),
277
+ (160, 'NL', 'Netherlands'),
278
+ (161, 'NO', 'Norway'),
279
+ (162, 'NP', 'Nepal'),
280
+ (163, 'NR', 'Nauru'),
281
+ (164, 'NU', 'Niue'),
282
+ (165, 'NZ', 'New Zealand'),
283
+ (166, 'OM', 'Oman'),
284
+ (167, 'PA', 'Panama'),
285
+ (168, 'PE', 'Peru'),
286
+ (169, 'PF', 'French Polynesia'),
287
+ (170, 'PG', 'Papua New Guinea'),
288
+ (171, 'PH', 'Philippines'),
289
+ (172, 'PK', 'Pakistan'),
290
+ (173, 'PL', 'Poland'),
291
+ (174, 'PM', 'St Pierre and Miquelon'),
292
+ (175, 'PN', 'Pitcairn Island'),
293
+ (176, 'PR', 'Puerto Rico'),
294
+ (177, 'PT', 'Portugal'),
295
+ (178, 'PW', 'Palau'),
296
+ (179, 'PY', 'Paraguay'),
297
+ (180, 'QA', 'Qatar'),
298
+ (181, 'RE', 'R'),
299
+ (182, 'RO', 'Romania'),
300
+ (183, 'RU', 'Russian Federation'),
301
+ (184, 'RW', 'Rwanda'),
302
+ (185, 'SA', 'Saudi Arabia'),
303
+ (186, 'SB', 'Solomon Islands'),
304
+ (187, 'SC', 'Seychelles'),
305
+ (188, 'SD', 'Sudan'),
306
+ (189, 'SE', 'Sweden'),
307
+ (190, 'SG', 'Singapore'),
308
+ (191, 'SH', 'St Helena'),
309
+ (192, 'SI', 'Slovenia'),
310
+ (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
311
+ (194, 'SK', 'Slovakia'),
312
+ (195, 'SL', 'Sierra Leone'),
313
+ (196, 'SM', 'San Marino'),
314
+ (197, 'SN', 'Senegal'),
315
+ (198, 'SO', 'Somalia'),
316
+ (199, 'SR', 'Suriname'),
317
+ (200, 'ST', 'Sco Tom'),
318
+ (201, 'SU', 'Union of Soviet Socialist Republics'),
319
+ (202, 'SV', 'El Salvador'),
320
+ (203, 'SY', 'Syrian Arab Republic'),
321
+ (204, 'SZ', 'Swaziland'),
322
+ (205, 'TC', 'Turks and Caicos Islands'),
323
+ (206, 'TD', 'Chad'),
324
+ (207, 'TF', 'French Southern and Antarctic Territories'),
325
+ (208, 'TG', 'Togo'),
326
+ (209, 'TH', 'Thailand'),
327
+ (210, 'TJ', 'Tajikistan'),
328
+ (211, 'TK', 'Tokelau'),
329
+ (212, 'TM', 'Turkmenistan'),
330
+ (213, 'TN', 'Tunisia'),
331
+ (214, 'TO', 'Tonga'),
332
+ (215, 'TP', 'East Timor'),
333
+ (216, 'TR', 'Turkey'),
334
+ (217, 'TT', 'Trinidad and Tobago'),
335
+ (218, 'TV', 'Tuvalu'),
336
+ (219, 'TW', 'Taiwan, Province of China'),
337
+ (220, 'TZ', 'Tanzania, United Republic of'),
338
+ (221, 'UA', 'Ukraine'),
339
+ (222, 'UG', 'Uganda'),
340
+ (223, 'UM', 'United States Minor Outlying Islands'),
341
+ (224, 'US', 'United States of America'),
342
+ (225, 'UY', 'Uruguay'),
343
+ (226, 'UZ', 'Uzbekistan'),
344
+ (227, 'VA', 'Holy See (Vatican City State)'),
345
+ (228, 'VC', 'Saint Vincent and the Grenadines'),
346
+ (229, 'VE', 'Venezuela'),
347
+ (230, 'VG', 'Virgin Islands (British)'),
348
+ (231, 'VI', 'Virgin Islands (US)'),
349
+ (232, 'VN', 'Viet Nam'),
350
+ (233, 'VU', 'Vanautu'),
351
+ (234, 'WF', 'Wallis and Futuna Islands'),
352
+ (235, 'WS', 'Samoa'),
353
+ (236, 'XO', 'West Africa'),
354
+ (237, 'YE', 'Yemen'),
355
+ (238, 'YT', 'Mayotte'),
356
+ (239, 'ZA', 'South Africa'),
357
+ (240, 'ZM', 'Zambia'),
358
+ (241, 'ZW', 'Zimbabwe'),
359
+ (242, 'PS', 'Palestinian Territory');
360
+
361
+
362
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
363
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
364
+ `id` int(11) NOT NULL auto_increment,
365
+ `country_id` int(11) default NULL,
366
+ `method_id` int(11) default NULL,
367
+ `priority` int(2) default NULL,
368
+ PRIMARY KEY (`id`)
369
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
370
+ INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
371
+ (1, 2, 13, 1),
372
+ (2, 2, 14, 2),
373
+ (3, 13, 1, 5),
374
+ (4, 13, 5, 1),
375
+ (5, 13, 9, 3),
376
+ (6, 13, 28, 4),
377
+ (7, 13, 40, 2),
378
+ (8, 14, 18, 1),
379
+ (9, 14, 28, 2),
380
+ (10, 20, 1, 3),
381
+ (11, 20, 3, 1),
382
+ (12, 20, 28, 4),
383
+ (13, 20, 40, 2),
384
+ (14, 22, 63, 2),
385
+ (15, 22, 1, 1),
386
+ (16, 23, 13, 1),
387
+ (17, 23, 14, 2),
388
+ (18, 29, 32, 2),
389
+ (19, 29, 34, 3),
390
+ (20, 29, 43, 7),
391
+ (21, 29, 46, 1),
392
+ (23, 29, 1000, 4),
393
+ (24, 29, 1001, 5),
394
+ (25, 29, 1002, 6),
395
+ (925,29, 19, 8),
396
+ (26, 36, 8, 1),
397
+ (27, 36, 28, 2),
398
+ (28, 41, 1, 1),
399
+ (29, 41, 9, 2),
400
+ (30, 44, 19, 1),
401
+ (31, 46, 24, 1),
402
+ (32, 46, 28, 3),
403
+ (33, 46, 62, 2),
404
+ (34, 47, 1019, 1),
405
+ (35, 47, 1020, 2),
406
+ (36, 47, 1021, 3),
407
+ (37, 47, 1022, 4),
408
+ (38, 47, 1023, 5),
409
+ (39, 53, 13, 2),
410
+ (40, 53, 14, 3),
411
+ (41, 53, 28, 1),
412
+ (42, 54, 63, 2),
413
+ (43, 54, 1, 3),
414
+ (44, 54, 27, 1),
415
+ (45, 54, 28, 4),
416
+ (46, 55, 1, 6),
417
+ (47, 55, 4, 1),
418
+ (48, 55, 9, 2),
419
+ (49, 55, 14, 5),
420
+ (50, 55, 28, 4),
421
+ (51, 55, 40, 3),
422
+ (52, 57, 1, 2),
423
+ (53, 57, 28, 3),
424
+ (54, 57, 29, 1),
425
+ (55, 60, 14, 1),
426
+ (555, 62, 1, 5),
427
+ (57, 62, 23, 1),
428
+ (58, 62, 28, 4),
429
+ (59, 62, 29, 2),
430
+ (60, 62, 63, 3),
431
+ (61, 63, 13, 1),
432
+ (62, 63, 14, 2),
433
+ (63, 66, 1, 2),
434
+ (64, 66, 14, 4),
435
+ (65, 66, 28, 3),
436
+ (66, 66, 29, 1),
437
+ (68, 68, 1, 2),
438
+ (69, 68, 28, 3),
439
+ (70, 68, 29, 1),
440
+ (71, 73, 1, 1),
441
+ (72, 73, 14, 3),
442
+ (73, 73, 28, 4),
443
+ (74, 73, 40, 2),
444
+ (75, 76, 1, 2),
445
+ (76, 76, 40, 4),
446
+ (78, 76, 9, 1),
447
+ (79, 76, 14, 5),
448
+ (80, 76, 28, 3),
449
+ (81, 87, 28, 1),
450
+ (82, 98, 1, 4),
451
+ (83, 98, 25, 1),
452
+ (84, 98, 28, 2),
453
+ (85, 98, 63, 3),
454
+ (86, 99, 1024, 1),
455
+ (87, 99, 1025, 2),
456
+ (887, 100, 1, 2),
457
+ (888, 100, 14, 3),
458
+ (88, 100, 28, 1),
459
+ (89, 101, 13, 1),
460
+ (90, 101, 14, 2),
461
+ (91, 104, 13, 1),
462
+ (92, 104, 14, 2),
463
+ (93, 107, 1, 2),
464
+ (94, 107, 14, 5),
465
+ (994,107, 40, 1),
466
+ (995,107, 9,4),
467
+ (95, 107, 28, 3),
468
+ (96, 109, 13, 1),
469
+ (97, 109, 14, 2),
470
+ (98, 119, 13, 1),
471
+ (99, 121, 1003, 1),
472
+ (100, 123, 13, 1),
473
+ (101, 123, 14, 2),
474
+ (102, 129, 1, 3),
475
+ (103, 129, 23, 1),
476
+ (104, 129, 29, 2),
477
+ (108, 130, 1, 1),
478
+ (109, 131, 23, 1),
479
+ (110, 131, 28, 3),
480
+ (111, 131, 29, 2),
481
+ (112, 131, 14, 1),
482
+ (113, 151, 19, 2),
483
+ (114, 151, 28, 9),
484
+ (115, 151, 49, 1),
485
+ (116, 151, 1026, 3),
486
+ (117, 151, 1027, 4),
487
+ (118, 151, 1028, 5),
488
+ (119, 151, 1029, 6),
489
+ (120, 151, 1030, 7),
490
+ (121, 151, 1031, 8),
491
+ (122, 152, 1009, 1),
492
+ (123, 152, 1010, 2),
493
+ (124, 152, 1011, 3),
494
+ (125, 152, 1012, 4),
495
+ (126, 152, 1013, 5),
496
+ (127, 152, 1014, 6),
497
+ (128, 152, 1015, 7),
498
+ (129, 152, 1016, 8),
499
+ (130, 152, 1017, 9),
500
+ (131, 152, 1018, 10),
501
+ (132, 158, 14, 1),
502
+ (133, 160, 1, 5),
503
+ (134, 160, 2, 1),
504
+ (135, 160, 9, 2),
505
+ (136, 160, 28, 4),
506
+ (137, 160, 40, 3),
507
+ (138, 161, 1, 1),
508
+ (139, 161, 28, 3),
509
+ (140, 161, 29, 2),
510
+ (141, 165, 18, 2),
511
+ (142, 165, 28, 2),
512
+ (143, 166, 13, 1),
513
+ (144, 166, 14, 2),
514
+ (145, 171, 44, 1),
515
+ (146, 171, 67, 2),
516
+ (147, 173, 1, 2),
517
+ (148, 173, 12, 1),
518
+ (149, 173, 14, 4),
519
+ (150, 173, 28, 3),
520
+ (151, 177, 1, 3),
521
+ (152, 177, 14, 4),
522
+ (153, 177, 20, 1),
523
+ (154, 177, 28, 2),
524
+ (155, 242, 13, 1),
525
+ (156, 242, 14, 1),
526
+ (157, 180, 13, 1),
527
+ (158, 180, 14, 2),
528
+ (159, 182, 1, 2),
529
+ (160, 182, 40, 1),
530
+ (161, 182, 63, 3),
531
+ (162, 183, 22, 1),
532
+ (163, 183, 28, 8),
533
+ (164, 183, 1003, 2),
534
+ (165, 183, 1004, 4),
535
+ (166, 183, 1005, 5),
536
+ (167, 183, 1006, 6),
537
+ (168, 183, 1008, 3),
538
+ (169, 185, 13, 1),
539
+ (170, 185, 14, 2),
540
+ (171, 188, 14, 1),
541
+ (172, 189, 1, 2),
542
+ (173, 189, 28, 3),
543
+ (174, 189, 29, 1),
544
+ (175, 190, 37, 1),
545
+ (176, 192, 14, 3),
546
+ (177, 192, 28, 2),
547
+ (178, 192, 63, 1),
548
+ (179, 194, 1, 1),
549
+ (180, 194, 63, 2),
550
+ (181, 209, 35, 1),
551
+ (182, 209, 1033, 7),
552
+ (183, 209, 1034, 6),
553
+ (184, 209, 1035, 5),
554
+ (185, 209, 1036, 3),
555
+ (186, 209, 1037, 4),
556
+ (187, 209, 1038, 2),
557
+ (188, 213, 13, 1),
558
+ (189, 213, 14, 2),
559
+ (190, 216, 1, 1),
560
+ (191, 216, 13, 4),
561
+ (192, 216, 14, 5),
562
+ (193, 216, 28, 6),
563
+ (194, 216, 66, 2),
564
+ (195, 216, 64, 3),
565
+ (196, 221, 22, 1),
566
+ (197, 221, 28, 4),
567
+ (198, 221, 1007, 3),
568
+ (199, 221, 1008, 4),
569
+ (200, 221, 1003, 2),
570
+ (201, 224, 36, 1),
571
+ (202, 239, 28, 1);
572
+ ");
573
+ $installer->endSetup();
574
+ ?>
app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.1.2-1.1.3.php CHANGED
@@ -1,848 +1,848 @@
1
- <?php
2
- //die('Trying to setup Smart2Pay_Globalpay database');
3
-
4
- $installer = $this;
5
- $installer->startSetup();
6
- $installer->run("
7
-
8
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
- `log_id` int(11) NOT NULL auto_increment,
11
- `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
- `log_message` text collate utf8_unicode_ci default NULL,
13
- `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
- `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
- `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
- PRIMARY KEY (`log_id`)
17
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
-
19
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
- `method_id` int(11) NOT NULL auto_increment,
22
- `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
- `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
- `description` text collate utf8_unicode_ci,
25
- `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
- `guaranteed` int(1) default NULL,
27
- `active` int(1) default NULL,
28
- PRIMARY KEY (`method_id`)
29
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
-
31
- INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
32
- (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v6.png', 1, 1),
33
- (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.png', 1, 1),
34
- (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.png', 1, 1),
35
- (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.png', 1, 1),
36
- (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.png', 1, 1),
37
- (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.png', 1, 1),
38
- (9, 'Sofort Banking', 'dp24', 'Sofort Banking description', 'dp24_sofort.png', 0, 1),
39
- (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.png', 1, 1),
40
- (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.png', 1, 1),
41
- (14, 'CashU', 'cashu', 'CashU description', 'cashu.png', 1, 1),
42
- (18, 'POLi', 'poli', 'POLi description', 'poli.png', 0, 1),
43
- (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail.png', 0, 1),
44
- (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.png', 1, 1),
45
- (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta.png', 1, 1),
46
- (23, 'Paysera', 'paysera', 'Paysera description', 'paysera.gif', 1, 1),
47
- (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.png', 1, 1),
48
- (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.png', 1, 1),
49
- (27, 'ePlatby for eKonto', 'ebanka', 'eBanka description', 'eKonto.png', 1, 1),
50
- (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.png', 1, 1),
51
- (29, 'Trustly', 'trustly', 'Trustly description', 'trustly.png', 1, 1),
52
- (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.gif', 1, 1),
53
- (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.png', 1, 1),
54
- (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
55
- (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.png', 0, 1),
56
- (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.png', 0, 1),
57
- (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.png', 1, 1),
58
- (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.png', 1, 1),
59
- (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.png', 1, 0),
60
- (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.png', 0, 1),
61
- (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.png', 1, 1),
62
- (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.png', 0, 1),
63
- (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.png', 0, 1),
64
- (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.png', 1, 1),
65
- (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
66
- (62, 'Tenpay','tenpay','Tenpay description','tenpay.png',1,1),
67
- (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
68
- (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangir_cart.gif', 1, 1),
69
- (65, 'Paytrail', 'paytrail', 'Paytrail description', 'paytrail.gif', 1,1),
70
- (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
71
- (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragon_pay.png', 1 , 1),
72
- (69, 'Credit Card', 's2pcards', 'S2PCards Description', 's2p_cards.gif', 0,1),
73
- (72, 'PagoEfectivo', 'pagoefectivo', 'PagoEfectivo Description', 'pago_efectivo.gif', 1,1),
74
- (73, 'MyBank', 'mybank', 'MyBank Description', 'mybank.png',1,1),
75
- (74, 'Yandex.Money', 'yandexmoney', 'YandexMoney description', 'yandex_money.png', 1,1),
76
- (76, 'Bitcoin', 'bitcoin', 'Bitcoin description', 'bitcoin.png', 1,1),
77
- (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto_bancario.png', 1, 1),
78
- (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.png', 1, 1),
79
- (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.png', 1, 1),
80
- (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet.png', 1, 1),
81
- (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.png', 1, 1),
82
- (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon.png', 1, 1),
83
- (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
84
- (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney.png', 1, 1),
85
- (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex.png', 1, 1),
86
- (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
87
- (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambank_group.png', 1, 1),
88
- (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.png', 1, 1),
89
- (1012, 'FPX', 'asiapay', 'FPX description', 'fpx.png', 1, 1),
90
- (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.png', 1, 1),
91
- (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.png', 1, 1),
92
- (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.png', 1, 1),
93
- (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.png', 1, 1),
94
- (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.png', 1, 1),
95
- (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
96
- (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.gif', 1, 1),
97
- (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.png', 1, 1),
98
- (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ach.png', 1, 1),
99
- (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_via_baloto.png', 1, 1),
100
- (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.png', 1, 1),
101
- (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.png', 1, 1),
102
- (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'xltunai.png', 1, 1),
103
- (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.png', 1, 1),
104
- (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
105
- (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
106
- (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7-Eleven.gif', 1, 1),
107
- (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
108
- (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
109
- (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
110
- (1034, 'PayPal Thailand', 'paysbuy', 'PayPalThailand description', 'paypal.png', 1, 1),
111
- (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.png', 1, 1),
112
- (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'counter-service-thailand_paysbuy-cash.png', 1, 1),
113
- (1037, 'Online Banking Thailand', 'paysbuy', 'OnlineBankingThailand description', 'online_banking_thailanda.png', 1, 1),
114
- (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.png', 1, 1),
115
- (1039, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Chile description', 'pagos_en_efectivo_servipag_bci_chile.png', 1, 1),
116
- (1040, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Argentina description', 'argentina_banks.png', 1,1),
117
- (1041, 'OP-Pohjola', 'paytrail', 'OP-Pohjola description', 'op-pohjola.png', 1, 1),
118
- (1042, 'Nordea', 'paytrail','Nordea description', 'nordea.png', 1,1),
119
- (1043, 'Danske bank', 'paytrail','Danske description', 'danske_bank.png', 1,1);
120
-
121
-
122
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
123
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
124
- `country_id` int(11) NOT NULL auto_increment,
125
- `code` varchar(3) collate utf8_unicode_ci default NULL,
126
- `name` varchar(100) collate utf8_unicode_ci default NULL,
127
- PRIMARY KEY (`country_id`)
128
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
129
-
130
- INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
131
- (1, 'AD', 'Andorra'),
132
- (2, 'AE', 'United Arab Emirates'),
133
- (3, 'AF', 'Afghanistan'),
134
- (4, 'AG', 'Antigua and Barbuda'),
135
- (5, 'AI', 'Anguilla'),
136
- (6, 'AL', 'Albania'),
137
- (7, 'AM', 'Armenia'),
138
- (8, 'AN', 'Netherlands Antilles'),
139
- (9, 'AO', 'Angola'),
140
- (10, 'AQ', 'Antarctica'),
141
- (11, 'AR', 'Argentina'),
142
- (12, 'AS', 'American Samoa'),
143
- (13, 'AT', 'Austria'),
144
- (14, 'AU', 'Australia'),
145
- (15, 'AW', 'Aruba'),
146
- (16, 'AZ', 'Azerbaijan'),
147
- (17, 'BA', 'Bosnia & Herzegowina'),
148
- (18, 'BB', 'Barbados'),
149
- (19, 'BD', 'Bangladesh'),
150
- (20, 'BE', 'Belgium'),
151
- (21, 'BF', 'Burkina Faso'),
152
- (22, 'BG', 'Bulgaria'),
153
- (23, 'BH', 'Bahrain'),
154
- (24, 'BI', 'Burundi'),
155
- (25, 'BJ', 'Benin'),
156
- (26, 'BM', 'Bermuda'),
157
- (27, 'BN', 'Brunei Darussalam'),
158
- (28, 'BO', 'Bolivia'),
159
- (29, 'BR', 'Brazil'),
160
- (30, 'BS', 'Bahamas'),
161
- (31, 'BT', 'Bhutan'),
162
- (32, 'BV', 'Bouvet Island'),
163
- (33, 'BW', 'Botswana'),
164
- (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
165
- (35, 'BZ', 'Belize'),
166
- (36, 'CA', 'Canada'),
167
- (37, 'CC', 'Cocos (Keeling) Islands'),
168
- (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
169
- (39, 'CF', 'Central African Republic'),
170
- (40, 'CG', 'Congo'),
171
- (41, 'CH', 'Switzerland'),
172
- (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
173
- (43, 'CK', 'Cook Islands'),
174
- (44, 'CL', 'Chile'),
175
- (45, 'CM', 'Cameroon'),
176
- (46, 'CN', 'China'),
177
- (47, 'CO', 'Colombia'),
178
- (48, 'CR', 'Costa Rica'),
179
- (50, 'CU', 'Cuba'),
180
- (51, 'CV', 'Cape Verde'),
181
- (52, 'CX', 'Christmas Island'),
182
- (53, 'CY', 'Cyprus'),
183
- (54, 'CZ', 'Czech Republic'),
184
- (55, 'DE', 'Germany'),
185
- (56, 'DJ', 'Djibouti'),
186
- (57, 'DK', 'Denmark'),
187
- (58, 'DM', 'Dominica'),
188
- (59, 'DO', 'Dominican Republic'),
189
- (60, 'DZ', 'Algeria'),
190
- (61, 'EC', 'Ecuador'),
191
- (62, 'EE', 'Estonia'),
192
- (63, 'EG', 'Egypt'),
193
- (64, 'EH', 'Western Sahara'),
194
- (65, 'ER', 'Eritrea'),
195
- (66, 'ES', 'Spain'),
196
- (67, 'ET', 'Ethiopia'),
197
- (68, 'FI', 'Finland'),
198
- (69, 'FJ', 'Fiji Islands'),
199
- (70, 'FK', 'Falkland Islands (Malvinas)'),
200
- (71, 'FM', 'Micronesia, Federated States of'),
201
- (72, 'FO', 'Faroe Islands'),
202
- (73, 'FR', 'France'),
203
- (74, 'FX', 'France, Metropolitan'),
204
- (75, 'GA', 'Gabon'),
205
- (76, 'GB', 'United Kingdom'),
206
- (77, 'GD', 'Grenada'),
207
- (78, 'GE', 'Georgia'),
208
- (79, 'GF', 'French Guiana'),
209
- (80, 'GH', 'Ghana'),
210
- (81, 'GI', 'Gibraltar'),
211
- (82, 'GL', 'Greenland'),
212
- (83, 'GM', 'Gambia'),
213
- (84, 'GN', 'Guinea'),
214
- (85, 'GP', 'Guadeloupe'),
215
- (86, 'GQ', 'Equatorial Guinea'),
216
- (87, 'GR', 'Greece'),
217
- (88, 'GS', 'South Georgia and the South Sandwich Islands'),
218
- (89, 'GT', 'Guatemala'),
219
- (90, 'GU', 'Guam'),
220
- (91, 'GW', 'Guinea-Bissau'),
221
- (92, 'GY', 'Guyana'),
222
- (93, 'HK', 'Hong Kong'),
223
- (94, 'HM', 'Heard and McDonald Islands'),
224
- (95, 'HN', 'Honduras'),
225
- (96, 'HR', 'Croatia (local name: Hrvatska)'),
226
- (97, 'HT', 'Haiti'),
227
- (98, 'HU', 'Hungary'),
228
- (99, 'ID', 'Indonesia'),
229
- (100, 'IE', 'Ireland'),
230
- (101, 'IL', 'Israel'),
231
- (102, 'IN', 'India'),
232
- (103, 'IO', 'British Indian Ocean Territory'),
233
- (104, 'IQ', 'Iraq'),
234
- (105, 'IR', 'Iran, Islamic Republic of'),
235
- (106, 'IS', 'Iceland'),
236
- (107, 'IT', 'Italy'),
237
- (108, 'JM', 'Jamaica'),
238
- (109, 'JO', 'Jordan'),
239
- (110, 'JP', 'Japan'),
240
- (111, 'KE', 'Kenya'),
241
- (112, 'KG', 'Kyrgyzstan'),
242
- (113, 'KH', 'Cambodia (formerly Kampuchea)'),
243
- (114, 'KI', 'Kiribati'),
244
- (115, 'KM', 'Comoros'),
245
- (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
246
- (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
247
- (118, 'KR', 'Korea, Republic of (South Korea)'),
248
- (119, 'KW', 'Kuwait'),
249
- (120, 'KY', 'Cayman Islands'),
250
- (121, 'KZ', 'Kazakhstan'),
251
- (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
252
- (123, 'LB', 'Lebanon'),
253
- (124, 'LC', 'Saint Lucia'),
254
- (125, 'LI', 'Liechtenstein'),
255
- (126, 'LK', 'Sri Lanka'),
256
- (127, 'LR', 'Liberia'),
257
- (128, 'LS', 'Lesotho'),
258
- (129, 'LT', 'Lithuania'),
259
- (130, 'LU', 'Luxembourg'),
260
- (131, 'LV', 'Latvia'),
261
- (132, 'LY', 'Libyan Arab Jamahiriya'),
262
- (133, 'MA', 'Morocco'),
263
- (134, 'MC', 'Monaco'),
264
- (135, 'MD', 'Moldova, Republic of'),
265
- (136, 'MG', 'Madagascar'),
266
- (137, 'MH', 'Marshall Islands'),
267
- (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
268
- (139, 'ML', 'Mali'),
269
- (140, 'MM', 'Myanmar (formerly Burma)'),
270
- (141, 'MN', 'Mongolia'),
271
- (142, 'MO', 'Macao (also spelled Macau)'),
272
- (143, 'MP', 'Northern Mariana Islands'),
273
- (144, 'MQ', 'Martinique'),
274
- (145, 'MR', 'Mauritania'),
275
- (146, 'MS', 'Montserrat'),
276
- (147, 'MT', 'Malta'),
277
- (148, 'MU', 'Mauritius'),
278
- (149, 'MV', 'Maldives'),
279
- (150, 'MW', 'Malawi'),
280
- (151, 'MX', 'Mexico'),
281
- (152, 'MY', 'Malaysia'),
282
- (153, 'MZ', 'Mozambique'),
283
- (154, 'NA', 'Namibia'),
284
- (155, 'NC', 'New Caledonia'),
285
- (156, 'NE', 'Niger'),
286
- (157, 'NF', 'Norfolk Island'),
287
- (158, 'NG', 'Nigeria'),
288
- (159, 'NI', 'Nicaragua'),
289
- (160, 'NL', 'Netherlands'),
290
- (161, 'NO', 'Norway'),
291
- (162, 'NP', 'Nepal'),
292
- (163, 'NR', 'Nauru'),
293
- (164, 'NU', 'Niue'),
294
- (165, 'NZ', 'New Zealand'),
295
- (166, 'OM', 'Oman'),
296
- (167, 'PA', 'Panama'),
297
- (168, 'PE', 'Peru'),
298
- (169, 'PF', 'French Polynesia'),
299
- (170, 'PG', 'Papua New Guinea'),
300
- (171, 'PH', 'Philippines'),
301
- (172, 'PK', 'Pakistan'),
302
- (173, 'PL', 'Poland'),
303
- (174, 'PM', 'St Pierre and Miquelon'),
304
- (175, 'PN', 'Pitcairn Island'),
305
- (176, 'PR', 'Puerto Rico'),
306
- (177, 'PT', 'Portugal'),
307
- (178, 'PW', 'Palau'),
308
- (179, 'PY', 'Paraguay'),
309
- (180, 'QA', 'Qatar'),
310
- (181, 'RE', 'R'),
311
- (182, 'RO', 'Romania'),
312
- (183, 'RU', 'Russian Federation'),
313
- (184, 'RW', 'Rwanda'),
314
- (185, 'SA', 'Saudi Arabia'),
315
- (186, 'SB', 'Solomon Islands'),
316
- (187, 'SC', 'Seychelles'),
317
- (188, 'SD', 'Sudan'),
318
- (189, 'SE', 'Sweden'),
319
- (190, 'SG', 'Singapore'),
320
- (191, 'SH', 'St Helena'),
321
- (192, 'SI', 'Slovenia'),
322
- (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
323
- (194, 'SK', 'Slovakia'),
324
- (195, 'SL', 'Sierra Leone'),
325
- (196, 'SM', 'San Marino'),
326
- (197, 'SN', 'Senegal'),
327
- (198, 'SO', 'Somalia'),
328
- (199, 'SR', 'Suriname'),
329
- (200, 'ST', 'Sco Tom'),
330
- (201, 'SU', 'Union of Soviet Socialist Republics'),
331
- (202, 'SV', 'El Salvador'),
332
- (203, 'SY', 'Syrian Arab Republic'),
333
- (204, 'SZ', 'Swaziland'),
334
- (205, 'TC', 'Turks and Caicos Islands'),
335
- (206, 'TD', 'Chad'),
336
- (207, 'TF', 'French Southern and Antarctic Territories'),
337
- (208, 'TG', 'Togo'),
338
- (209, 'TH', 'Thailand'),
339
- (210, 'TJ', 'Tajikistan'),
340
- (211, 'TK', 'Tokelau'),
341
- (212, 'TM', 'Turkmenistan'),
342
- (213, 'TN', 'Tunisia'),
343
- (214, 'TO', 'Tonga'),
344
- (215, 'TP', 'East Timor'),
345
- (216, 'TR', 'Turkey'),
346
- (217, 'TT', 'Trinidad and Tobago'),
347
- (218, 'TV', 'Tuvalu'),
348
- (219, 'TW', 'Taiwan, Province of China'),
349
- (220, 'TZ', 'Tanzania, United Republic of'),
350
- (221, 'UA', 'Ukraine'),
351
- (222, 'UG', 'Uganda'),
352
- (223, 'UM', 'United States Minor Outlying Islands'),
353
- (224, 'US', 'United States of America'),
354
- (225, 'UY', 'Uruguay'),
355
- (226, 'UZ', 'Uzbekistan'),
356
- (227, 'VA', 'Holy See (Vatican City State)'),
357
- (228, 'VC', 'Saint Vincent and the Grenadines'),
358
- (229, 'VE', 'Venezuela'),
359
- (230, 'VG', 'Virgin Islands (British)'),
360
- (231, 'VI', 'Virgin Islands (US)'),
361
- (232, 'VN', 'Viet Nam'),
362
- (233, 'VU', 'Vanautu'),
363
- (234, 'WF', 'Wallis and Futuna Islands'),
364
- (235, 'WS', 'Samoa'),
365
- (236, 'XO', 'West Africa'),
366
- (237, 'YE', 'Yemen'),
367
- (238, 'YT', 'Mayotte'),
368
- (239, 'ZA', 'South Africa'),
369
- (240, 'ZM', 'Zambia'),
370
- (241, 'ZW', 'Zimbabwe'),
371
- (242, 'PS', 'Palestinian Territory'),
372
- (243, 'RS', 'Serbia'),
373
- (244, 'ME', 'Montenegro');
374
-
375
-
376
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
377
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
378
- `id` int(11) NOT NULL auto_increment,
379
- `country_id` int(11) default NULL,
380
- `method_id` int(11) default NULL,
381
- `priority` int(2) default NULL,
382
- PRIMARY KEY (`id`)
383
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
384
- INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
385
- (1,2,13,1),
386
- (2,2,14,2),
387
- (3,11,19,1),
388
- (4,11,1040,2),
389
- (5,13,1,5),
390
- (6,13,5,1),
391
- (7,13,9,3),
392
- (8,13,28,4),
393
- (9,13,40,2),
394
- (10,14,18,1),
395
- (11,14,28,2),
396
- (12,20,1,4),
397
- (13,20,3,1),
398
- (14,20,28,5),
399
- (15,20,40,2),
400
- (1500,20,9,3),
401
- (16,22,63,2),
402
- (17,22,1,1),
403
- (18,23,13,1),
404
- (19,23,14,2),
405
- (20,29,32,2),
406
- (21,29,34,3),
407
- (22,29,43,7),
408
- (23,29,46,1),
409
- (24,29,1000,4),
410
- (25,29,1001,5),
411
- (26,29,1002,6),
412
- (27,29,19,8),
413
- (28,36,8,1),
414
- (29,36,28,2),
415
- (30,41,1,1),
416
- (31,41,9,2),
417
- (32,44,19,1),
418
- (33,44,1039,2),
419
- (34,46,24,1),
420
- (35,46,28,3),
421
- (36,46,62,2),
422
- (37,47,1019,1),
423
- (38,47,1020,2),
424
- (39,47,1021,3),
425
- (40,47,1022,4),
426
- (41,47,1023,5),
427
- (42,53,13,2),
428
- (43,53,14,3),
429
- (44,53,28,1),
430
- (45,54,63,2),
431
- (46,54,1,3),
432
- (47,54,27,1),
433
- (48,54,28,4),
434
- (49,55,1,6),
435
- (50,55,4,1),
436
- (51,55,9,2),
437
- (53,55,28,4),
438
- (54,55,40,3),
439
- (55,57,1,3),
440
- (56,57,28,4),
441
- (57,57,29,1),
442
- (5700,57,40,2),
443
- (58,60,14,1),
444
- (59,62,1,5),
445
- (60,62,23,1),
446
- (61,62,28,4),
447
- (62,62,29,2),
448
- (63,62,63,3),
449
- (64,63,13,1),
450
- (65,63,14,2),
451
- (66,66,1,3),
452
- (67,66,14,6),
453
- (68,66,28,5),
454
- (69,66,29,1),
455
- (691,66,40,4),
456
- (692,66,9,2),
457
- (70,68,1,5),
458
- (71,68,28,6),
459
- (72,68,29,7),
460
- (73,68,65,4),
461
- (74,68,1041,1),
462
- (75,68,1042,2),
463
- (76,68,1043,3),
464
- (77,73,1,1),
465
- (79,73,28,5),
466
- (80,73,40,2),
467
- (8000,73,9,3),
468
- (81,76,1,2),
469
- (82,76,40,4),
470
- (83,76,9,1),
471
- (84,76,14,5),
472
- (85,76,28,3),
473
- (86,87,28,2),
474
- (860,87,40,1),
475
- (865,96,63,1),
476
- (87,98,1,4),
477
- (88,98,25,1),
478
- (89,98,28,2),
479
- (90,98,63,3),
480
- (91,99,1024,1),
481
- (92,99,1025,2),
482
- (93,100,1,2),
483
- (94,100,14,3),
484
- (95,100,28,1),
485
- (96,101,13,1),
486
- (97,101,14,2),
487
- (98,104,13,1),
488
- (99,104,14,2),
489
- (100,107,1,3),
490
- (102,107,40,2),
491
- (103,107,9,4),
492
- (104,107,73,1),
493
- (105,107,28,6),
494
- (106,109,13,1),
495
- (107,109,14,2),
496
- (108,119,13,1),
497
- (109,121,1003,1),
498
- (110,123,13,1),
499
- (111,123,14,2),
500
- (112,129,1,3),
501
- (113,129,23,1),
502
- (114,129,63,2),
503
- (115,130,1,1),
504
- (116,131,23,1),
505
- (117,131,28,3),
506
- (118,131,63,2),
507
- (119,131,14,1),
508
- (120,151,19,2),
509
- (121,151,28,9),
510
- (122,151,49,1),
511
- (123,151,1026,3),
512
- (124,151,1027,4),
513
- (125,151,1028,5),
514
- (126,151,1029,6),
515
- (127,151,1030,7),
516
- (128,151,1031,8),
517
- (129,152,1009,1),
518
- (130,152,1010,2),
519
- (131,152,1011,3),
520
- (132,152,1012,4),
521
- (133,152,1013,5),
522
- (134,152,1014,6),
523
- (135,152,1015,7),
524
- (136,152,1016,8),
525
- (137,152,1017,9),
526
- (138,152,1018,10),
527
- (139,158,14,1),
528
- (140,160,1,5),
529
- (141,160,2,1),
530
- (142,160,9,2),
531
- (143,160,28,4),
532
- (144,160,40,3),
533
- (145,161,1,1),
534
- (146,161,28,3),
535
- (147,161,29,2),
536
- (148,165,18,2),
537
- (149,165,28,2),
538
- (150,166,13,1),
539
- (151,166,14,2),
540
- (1510,168,72,1),
541
- (153,171,67,2),
542
- (154,173,1,2),
543
- (155,173,12,1),
544
- (156,173,14,4),
545
- (157,173,28,3),
546
- (158,177,1,4),
547
- (160,177,20,1),
548
- (161,177,28,2),
549
- (1610,177,40,3),
550
- (162,242,13,1),
551
- (163,242,14,1),
552
- (164,180,13,1),
553
- (165,180,14,2),
554
- (166,182,1,2),
555
- (167,182,40,1),
556
- (168,182,63,3),
557
- (169,183,22,3),
558
- (170,183,28,8),
559
- (171,183,1003,1),
560
- (172,183,1004,5),
561
- (173,183,1005,6),
562
- (174,183,1006,7),
563
- (175,183,1008,4),
564
- (176,183,74,2),
565
- (1760,183,1007,8),
566
- (177,185,13,1),
567
- (178,185,14,2),
568
- (179,188,14,1),
569
- (180,189,1,2),
570
- (181,189,28,3),
571
- (182,189,29,1),
572
- (183,190,37,1),
573
- (184,192,14,3),
574
- (185,192,28,2),
575
- (186,192,63,1),
576
- (187,194,1,1),
577
- (188,194,63,2),
578
- (189,209,35,1),
579
- (190,209,1033,7),
580
- (191,209,1034,6),
581
- (192,209,1035,5),
582
- (193,209,1036,3),
583
- (194,209,1037,4),
584
- (195,209,1038,2),
585
- (196,213,13,1),
586
- (197,213,14,2),
587
- (198,216,1,1),
588
- (199,216,13,4),
589
- (200,216,14,5),
590
- (201,216,28,6),
591
- (202,216,66,2),
592
- (203,216,64,3),
593
- (204,221,22,1),
594
- (205,221,28,4),
595
- (206,221,1007,3),
596
- (207,221,1008,4),
597
- (208,221,1003,2),
598
- (209,224,36,1),
599
- (2090,224,58,2),
600
- (210,239,28,1),
601
- (211,1,76,99),
602
- (212,2,76,99),
603
- (213,3,76,99),
604
- (214,4,76,99),
605
- (215,5,76,99),
606
- (216,6,76,99),
607
- (217,7,76,99),
608
- (218,8,76,99),
609
- (219,9,76,99),
610
- (220,10,76,99),
611
- (221,11,76,99),
612
- (222,12,76,99),
613
- (223,13,76,99),
614
- (224,14,76,99),
615
- (225,15,76,99),
616
- (226,16,76,99),
617
- (227,17,76,99),
618
- (228,18,76,99),
619
- (229,19,76,99),
620
- (230,20,76,99),
621
- (231,21,76,99),
622
- (232,22,76,99),
623
- (233,23,76,99),
624
- (234,24,76,99),
625
- (235,25,76,99),
626
- (236,26,76,99),
627
- (237,27,76,99),
628
- (238,28,76,99),
629
- (239,29,76,99),
630
- (240,30,76,99),
631
- (241,31,76,99),
632
- (242,32,76,99),
633
- (243,33,76,99),
634
- (244,34,76,99),
635
- (245,35,76,99),
636
- (246,36,76,99),
637
- (247,37,76,99),
638
- (248,38,76,99),
639
- (249,39,76,99),
640
- (250,40,76,99),
641
- (251,41,76,99),
642
- (252,42,76,99),
643
- (253,43,76,99),
644
- (254,44,76,99),
645
- (255,45,76,99),
646
- (256,46,76,99),
647
- (257,47,76,99),
648
- (258,48,76,99),
649
- (260,50,76,99),
650
- (261,51,76,99),
651
- (262,52,76,99),
652
- (263,53,76,99),
653
- (264,54,76,99),
654
- (265,55,76,99),
655
- (266,56,76,99),
656
- (267,57,76,99),
657
- (268,58,76,99),
658
- (269,59,76,99),
659
- (270,60,76,99),
660
- (271,61,76,99),
661
- (272,62,76,99),
662
- (273,63,76,99),
663
- (274,64,76,99),
664
- (275,65,76,99),
665
- (276,66,76,99),
666
- (277,67,76,99),
667
- (278,68,76,99),
668
- (279,69,76,99),
669
- (280,70,76,99),
670
- (281,71,76,99),
671
- (282,72,76,99),
672
- (283,73,76,99),
673
- (284,74,76,99),
674
- (285,75,76,99),
675
- (286,76,76,99),
676
- (287,77,76,99),
677
- (288,78,76,99),
678
- (289,79,76,99),
679
- (290,80,76,99),
680
- (291,81,76,99),
681
- (292,82,76,99),
682
- (293,83,76,99),
683
- (294,84,76,99),
684
- (295,85,76,99),
685
- (296,86,76,99),
686
- (297,87,76,99),
687
- (298,88,76,99),
688
- (299,89,76,99),
689
- (300,90,76,99),
690
- (301,91,76,99),
691
- (302,92,76,99),
692
- (303,93,76,99),
693
- (304,94,76,99),
694
- (305,95,76,99),
695
- (306,96,76,99),
696
- (307,97,76,99),
697
- (308,98,76,99),
698
- (309,99,76,99),
699
- (310,100,76,99),
700
- (311,101,76,99),
701
- (312,102,76,99),
702
- (313,103,76,99),
703
- (314,104,76,99),
704
- (315,105,76,99),
705
- (316,106,76,99),
706
- (317,107,76,99),
707
- (318,108,76,99),
708
- (319,109,76,99),
709
- (320,110,76,99),
710
- (321,111,76,99),
711
- (322,112,76,99),
712
- (323,113,76,99),
713
- (324,114,76,99),
714
- (325,115,76,99),
715
- (326,116,76,99),
716
- (327,117,76,99),
717
- (328,118,76,99),
718
- (329,119,76,99),
719
- (330,120,76,99),
720
- (331,121,76,99),
721
- (332,122,76,99),
722
- (333,123,76,99),
723
- (334,124,76,99),
724
- (335,125,76,99),
725
- (336,126,76,99),
726
- (337,127,76,99),
727
- (338,128,76,99),
728
- (339,129,76,99),
729
- (340,130,76,99),
730
- (341,131,76,99),
731
- (342,132,76,99),
732
- (343,133,76,99),
733
- (344,134,76,99),
734
- (345,135,76,99),
735
- (346,136,76,99),
736
- (347,137,76,99),
737
- (348,138,76,99),
738
- (349,139,76,99),
739
- (350,140,76,99),
740
- (351,141,76,99),
741
- (352,142,76,99),
742
- (353,143,76,99),
743
- (354,144,76,99),
744
- (355,145,76,99),
745
- (356,146,76,99),
746
- (357,147,76,99),
747
- (358,148,76,99),
748
- (359,149,76,99),
749
- (360,150,76,99),
750
- (361,151,76,99),
751
- (362,152,76,99),
752
- (363,153,76,99),
753
- (364,154,76,99),
754
- (365,155,76,99),
755
- (366,156,76,99),
756
- (367,157,76,99),
757
- (368,158,76,99),
758
- (369,159,76,99),
759
- (370,160,76,99),
760
- (371,161,76,99),
761
- (372,162,76,99),
762
- (373,163,76,99),
763
- (374,164,76,99),
764
- (375,165,76,99),
765
- (376,166,76,99),
766
- (377,167,76,99),
767
- (378,168,76,99),
768
- (379,169,76,99),
769
- (380,170,76,99),
770
- (381,171,76,99),
771
- (382,172,76,99),
772
- (383,173,76,99),
773
- (384,174,76,99),
774
- (385,175,76,99),
775
- (386,176,76,99),
776
- (387,177,76,99),
777
- (388,178,76,99),
778
- (389,179,76,99),
779
- (390,180,76,99),
780
- (391,181,76,99),
781
- (392,182,76,99),
782
- (393,183,76,99),
783
- (394,184,76,99),
784
- (395,185,76,99),
785
- (396,186,76,99),
786
- (397,187,76,99),
787
- (398,188,76,99),
788
- (399,189,76,99),
789
- (400,190,76,99),
790
- (401,191,76,99),
791
- (402,192,76,99),
792
- (403,193,76,99),
793
- (404,194,76,99),
794
- (405,195,76,99),
795
- (406,196,76,99),
796
- (407,197,76,99),
797
- (408,198,76,99),
798
- (409,199,76,99),
799
- (410,200,76,99),
800
- (411,201,76,99),
801
- (412,202,76,99),
802
- (413,203,76,99),
803
- (414,204,76,99),
804
- (415,205,76,99),
805
- (416,206,76,99),
806
- (417,207,76,99),
807
- (418,208,76,99),
808
- (419,209,76,99),
809
- (420,210,76,99),
810
- (421,211,76,99),
811
- (422,212,76,99),
812
- (423,213,76,99),
813
- (424,214,76,99),
814
- (425,215,76,99),
815
- (426,216,76,99),
816
- (427,217,76,99),
817
- (428,218,76,99),
818
- (429,219,76,99),
819
- (430,220,76,99),
820
- (431,221,76,99),
821
- (432,222,76,99),
822
- (433,223,76,99),
823
- (434,224,76,99),
824
- (435,225,76,99),
825
- (436,226,76,99),
826
- (437,227,76,99),
827
- (438,228,76,99),
828
- (439,229,76,99),
829
- (440,230,76,99),
830
- (441,231,76,99),
831
- (442,232,76,99),
832
- (443,233,76,99),
833
- (444,234,76,99),
834
- (445,235,76,99),
835
- (446,236,76,99),
836
- (447,237,76,99),
837
- (448,238,76,99),
838
- (449,239,76,99),
839
- (450,240,76,99),
840
- (451,241,76,99),
841
- (452,242,76,99),
842
- (453,243,76,99),
843
- (454,244,76,99),
844
- (690,1,69,1);
845
-
846
- ");
847
- $installer->endSetup();
848
- ?>
1
+ <?php
2
+ //die('Trying to setup Smart2Pay_Globalpay database');
3
+
4
+ $installer = $this;
5
+ $installer->startSetup();
6
+ $installer->run("
7
+
8
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
+ `log_id` int(11) NOT NULL auto_increment,
11
+ `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
+ `log_message` text collate utf8_unicode_ci default NULL,
13
+ `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
+ `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
+ `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
+ PRIMARY KEY (`log_id`)
17
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
+
19
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
+ `method_id` int(11) NOT NULL auto_increment,
22
+ `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
+ `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
+ `description` text collate utf8_unicode_ci,
25
+ `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
+ `guaranteed` int(1) default NULL,
27
+ `active` int(1) default NULL,
28
+ PRIMARY KEY (`method_id`)
29
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
+
31
+ INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
32
+ (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v6.png', 1, 1),
33
+ (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.png', 1, 1),
34
+ (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.png', 1, 1),
35
+ (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.png', 1, 1),
36
+ (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.png', 1, 1),
37
+ (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.png', 1, 1),
38
+ (9, 'Sofort Banking', 'dp24', 'Sofort Banking description', 'dp24_sofort.png', 0, 1),
39
+ (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.png', 1, 1),
40
+ (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.png', 1, 1),
41
+ (14, 'CashU', 'cashu', 'CashU description', 'cashu.png', 1, 1),
42
+ (18, 'POLi', 'poli', 'POLi description', 'poli.png', 0, 1),
43
+ (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail.png', 0, 1),
44
+ (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.png', 1, 1),
45
+ (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta.png', 1, 1),
46
+ (23, 'Paysera', 'paysera', 'Paysera description', 'paysera.gif', 1, 1),
47
+ (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.png', 1, 1),
48
+ (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.png', 1, 1),
49
+ (27, 'ePlatby for eKonto', 'ebanka', 'eBanka description', 'eKonto.png', 1, 1),
50
+ (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.png', 1, 1),
51
+ (29, 'Trustly', 'trustly', 'Trustly description', 'trustly.png', 1, 1),
52
+ (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.gif', 1, 1),
53
+ (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.png', 1, 1),
54
+ (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
55
+ (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.png', 0, 1),
56
+ (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.png', 0, 1),
57
+ (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.png', 1, 1),
58
+ (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.png', 1, 1),
59
+ (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.png', 1, 0),
60
+ (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.png', 0, 1),
61
+ (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.png', 1, 1),
62
+ (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.png', 0, 1),
63
+ (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.png', 0, 1),
64
+ (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.png', 1, 1),
65
+ (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
66
+ (62, 'Tenpay','tenpay','Tenpay description','tenpay.png',1,1),
67
+ (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
68
+ (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangir_cart.gif', 1, 1),
69
+ (65, 'Paytrail', 'paytrail', 'Paytrail description', 'paytrail.gif', 1,1),
70
+ (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
71
+ (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragon_pay.png', 1 , 1),
72
+ (69, 'Credit Card', 's2pcards', 'S2PCards Description', 's2p_cards.gif', 0,1),
73
+ (72, 'PagoEfectivo', 'pagoefectivo', 'PagoEfectivo Description', 'pago_efectivo.gif', 1,1),
74
+ (73, 'MyBank', 'mybank', 'MyBank Description', 'mybank.png',1,1),
75
+ (74, 'Yandex.Money', 'yandexmoney', 'YandexMoney description', 'yandex_money.png', 1,1),
76
+ (76, 'Bitcoin', 'bitcoin', 'Bitcoin description', 'bitcoin.png', 1,1),
77
+ (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto_bancario.png', 1, 1),
78
+ (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.png', 1, 1),
79
+ (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.png', 1, 1),
80
+ (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet.png', 1, 1),
81
+ (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.png', 1, 1),
82
+ (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon.png', 1, 1),
83
+ (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
84
+ (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney.png', 1, 1),
85
+ (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex.png', 1, 1),
86
+ (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
87
+ (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambank_group.png', 1, 1),
88
+ (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.png', 1, 1),
89
+ (1012, 'FPX', 'asiapay', 'FPX description', 'fpx.png', 1, 1),
90
+ (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.png', 1, 1),
91
+ (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.png', 1, 1),
92
+ (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.png', 1, 1),
93
+ (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.png', 1, 1),
94
+ (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.png', 1, 1),
95
+ (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
96
+ (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.gif', 1, 1),
97
+ (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.png', 1, 1),
98
+ (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ach.png', 1, 1),
99
+ (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_via_baloto.png', 1, 1),
100
+ (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.png', 1, 1),
101
+ (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.png', 1, 1),
102
+ (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'xltunai.png', 1, 1),
103
+ (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.png', 1, 1),
104
+ (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
105
+ (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
106
+ (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7-Eleven.gif', 1, 1),
107
+ (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
108
+ (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
109
+ (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
110
+ (1034, 'PayPal Thailand', 'paysbuy', 'PayPalThailand description', 'paypal.png', 1, 1),
111
+ (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.png', 1, 1),
112
+ (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'counter-service-thailand_paysbuy-cash.png', 1, 1),
113
+ (1037, 'Online Banking Thailand', 'paysbuy', 'OnlineBankingThailand description', 'online_banking_thailanda.png', 1, 1),
114
+ (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.png', 1, 1),
115
+ (1039, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Chile description', 'pagos_en_efectivo_servipag_bci_chile.png', 1, 1),
116
+ (1040, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Argentina description', 'argentina_banks.png', 1,1),
117
+ (1041, 'OP-Pohjola', 'paytrail', 'OP-Pohjola description', 'op-pohjola.png', 1, 1),
118
+ (1042, 'Nordea', 'paytrail','Nordea description', 'nordea.png', 1,1),
119
+ (1043, 'Danske bank', 'paytrail','Danske description', 'danske_bank.png', 1,1);
120
+
121
+
122
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
123
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
124
+ `country_id` int(11) NOT NULL auto_increment,
125
+ `code` varchar(3) collate utf8_unicode_ci default NULL,
126
+ `name` varchar(100) collate utf8_unicode_ci default NULL,
127
+ PRIMARY KEY (`country_id`)
128
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
129
+
130
+ INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
131
+ (1, 'AD', 'Andorra'),
132
+ (2, 'AE', 'United Arab Emirates'),
133
+ (3, 'AF', 'Afghanistan'),
134
+ (4, 'AG', 'Antigua and Barbuda'),
135
+ (5, 'AI', 'Anguilla'),
136
+ (6, 'AL', 'Albania'),
137
+ (7, 'AM', 'Armenia'),
138
+ (8, 'AN', 'Netherlands Antilles'),
139
+ (9, 'AO', 'Angola'),
140
+ (10, 'AQ', 'Antarctica'),
141
+ (11, 'AR', 'Argentina'),
142
+ (12, 'AS', 'American Samoa'),
143
+ (13, 'AT', 'Austria'),
144
+ (14, 'AU', 'Australia'),
145
+ (15, 'AW', 'Aruba'),
146
+ (16, 'AZ', 'Azerbaijan'),
147
+ (17, 'BA', 'Bosnia & Herzegowina'),
148
+ (18, 'BB', 'Barbados'),
149
+ (19, 'BD', 'Bangladesh'),
150
+ (20, 'BE', 'Belgium'),
151
+ (21, 'BF', 'Burkina Faso'),
152
+ (22, 'BG', 'Bulgaria'),
153
+ (23, 'BH', 'Bahrain'),
154
+ (24, 'BI', 'Burundi'),
155
+ (25, 'BJ', 'Benin'),
156
+ (26, 'BM', 'Bermuda'),
157
+ (27, 'BN', 'Brunei Darussalam'),
158
+ (28, 'BO', 'Bolivia'),
159
+ (29, 'BR', 'Brazil'),
160
+ (30, 'BS', 'Bahamas'),
161
+ (31, 'BT', 'Bhutan'),
162
+ (32, 'BV', 'Bouvet Island'),
163
+ (33, 'BW', 'Botswana'),
164
+ (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
165
+ (35, 'BZ', 'Belize'),
166
+ (36, 'CA', 'Canada'),
167
+ (37, 'CC', 'Cocos (Keeling) Islands'),
168
+ (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
169
+ (39, 'CF', 'Central African Republic'),
170
+ (40, 'CG', 'Congo'),
171
+ (41, 'CH', 'Switzerland'),
172
+ (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
173
+ (43, 'CK', 'Cook Islands'),
174
+ (44, 'CL', 'Chile'),
175
+ (45, 'CM', 'Cameroon'),
176
+ (46, 'CN', 'China'),
177
+ (47, 'CO', 'Colombia'),
178
+ (48, 'CR', 'Costa Rica'),
179
+ (50, 'CU', 'Cuba'),
180
+ (51, 'CV', 'Cape Verde'),
181
+ (52, 'CX', 'Christmas Island'),
182
+ (53, 'CY', 'Cyprus'),
183
+ (54, 'CZ', 'Czech Republic'),
184
+ (55, 'DE', 'Germany'),
185
+ (56, 'DJ', 'Djibouti'),
186
+ (57, 'DK', 'Denmark'),
187
+ (58, 'DM', 'Dominica'),
188
+ (59, 'DO', 'Dominican Republic'),
189
+ (60, 'DZ', 'Algeria'),
190
+ (61, 'EC', 'Ecuador'),
191
+ (62, 'EE', 'Estonia'),
192
+ (63, 'EG', 'Egypt'),
193
+ (64, 'EH', 'Western Sahara'),
194
+ (65, 'ER', 'Eritrea'),
195
+ (66, 'ES', 'Spain'),
196
+ (67, 'ET', 'Ethiopia'),
197
+ (68, 'FI', 'Finland'),
198
+ (69, 'FJ', 'Fiji Islands'),
199
+ (70, 'FK', 'Falkland Islands (Malvinas)'),
200
+ (71, 'FM', 'Micronesia, Federated States of'),
201
+ (72, 'FO', 'Faroe Islands'),
202
+ (73, 'FR', 'France'),
203
+ (74, 'FX', 'France, Metropolitan'),
204
+ (75, 'GA', 'Gabon'),
205
+ (76, 'GB', 'United Kingdom'),
206
+ (77, 'GD', 'Grenada'),
207
+ (78, 'GE', 'Georgia'),
208
+ (79, 'GF', 'French Guiana'),
209
+ (80, 'GH', 'Ghana'),
210
+ (81, 'GI', 'Gibraltar'),
211
+ (82, 'GL', 'Greenland'),
212
+ (83, 'GM', 'Gambia'),
213
+ (84, 'GN', 'Guinea'),
214
+ (85, 'GP', 'Guadeloupe'),
215
+ (86, 'GQ', 'Equatorial Guinea'),
216
+ (87, 'GR', 'Greece'),
217
+ (88, 'GS', 'South Georgia and the South Sandwich Islands'),
218
+ (89, 'GT', 'Guatemala'),
219
+ (90, 'GU', 'Guam'),
220
+ (91, 'GW', 'Guinea-Bissau'),
221
+ (92, 'GY', 'Guyana'),
222
+ (93, 'HK', 'Hong Kong'),
223
+ (94, 'HM', 'Heard and McDonald Islands'),
224
+ (95, 'HN', 'Honduras'),
225
+ (96, 'HR', 'Croatia (local name: Hrvatska)'),
226
+ (97, 'HT', 'Haiti'),
227
+ (98, 'HU', 'Hungary'),
228
+ (99, 'ID', 'Indonesia'),
229
+ (100, 'IE', 'Ireland'),
230
+ (101, 'IL', 'Israel'),
231
+ (102, 'IN', 'India'),
232
+ (103, 'IO', 'British Indian Ocean Territory'),
233
+ (104, 'IQ', 'Iraq'),
234
+ (105, 'IR', 'Iran, Islamic Republic of'),
235
+ (106, 'IS', 'Iceland'),
236
+ (107, 'IT', 'Italy'),
237
+ (108, 'JM', 'Jamaica'),
238
+ (109, 'JO', 'Jordan'),
239
+ (110, 'JP', 'Japan'),
240
+ (111, 'KE', 'Kenya'),
241
+ (112, 'KG', 'Kyrgyzstan'),
242
+ (113, 'KH', 'Cambodia (formerly Kampuchea)'),
243
+ (114, 'KI', 'Kiribati'),
244
+ (115, 'KM', 'Comoros'),
245
+ (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
246
+ (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
247
+ (118, 'KR', 'Korea, Republic of (South Korea)'),
248
+ (119, 'KW', 'Kuwait'),
249
+ (120, 'KY', 'Cayman Islands'),
250
+ (121, 'KZ', 'Kazakhstan'),
251
+ (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
252
+ (123, 'LB', 'Lebanon'),
253
+ (124, 'LC', 'Saint Lucia'),
254
+ (125, 'LI', 'Liechtenstein'),
255
+ (126, 'LK', 'Sri Lanka'),
256
+ (127, 'LR', 'Liberia'),
257
+ (128, 'LS', 'Lesotho'),
258
+ (129, 'LT', 'Lithuania'),
259
+ (130, 'LU', 'Luxembourg'),
260
+ (131, 'LV', 'Latvia'),
261
+ (132, 'LY', 'Libyan Arab Jamahiriya'),
262
+ (133, 'MA', 'Morocco'),
263
+ (134, 'MC', 'Monaco'),
264
+ (135, 'MD', 'Moldova, Republic of'),
265
+ (136, 'MG', 'Madagascar'),
266
+ (137, 'MH', 'Marshall Islands'),
267
+ (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
268
+ (139, 'ML', 'Mali'),
269
+ (140, 'MM', 'Myanmar (formerly Burma)'),
270
+ (141, 'MN', 'Mongolia'),
271
+ (142, 'MO', 'Macao (also spelled Macau)'),
272
+ (143, 'MP', 'Northern Mariana Islands'),
273
+ (144, 'MQ', 'Martinique'),
274
+ (145, 'MR', 'Mauritania'),
275
+ (146, 'MS', 'Montserrat'),
276
+ (147, 'MT', 'Malta'),
277
+ (148, 'MU', 'Mauritius'),
278
+ (149, 'MV', 'Maldives'),
279
+ (150, 'MW', 'Malawi'),
280
+ (151, 'MX', 'Mexico'),
281
+ (152, 'MY', 'Malaysia'),
282
+ (153, 'MZ', 'Mozambique'),
283
+ (154, 'NA', 'Namibia'),
284
+ (155, 'NC', 'New Caledonia'),
285
+ (156, 'NE', 'Niger'),
286
+ (157, 'NF', 'Norfolk Island'),
287
+ (158, 'NG', 'Nigeria'),
288
+ (159, 'NI', 'Nicaragua'),
289
+ (160, 'NL', 'Netherlands'),
290
+ (161, 'NO', 'Norway'),
291
+ (162, 'NP', 'Nepal'),
292
+ (163, 'NR', 'Nauru'),
293
+ (164, 'NU', 'Niue'),
294
+ (165, 'NZ', 'New Zealand'),
295
+ (166, 'OM', 'Oman'),
296
+ (167, 'PA', 'Panama'),
297
+ (168, 'PE', 'Peru'),
298
+ (169, 'PF', 'French Polynesia'),
299
+ (170, 'PG', 'Papua New Guinea'),
300
+ (171, 'PH', 'Philippines'),
301
+ (172, 'PK', 'Pakistan'),
302
+ (173, 'PL', 'Poland'),
303
+ (174, 'PM', 'St Pierre and Miquelon'),
304
+ (175, 'PN', 'Pitcairn Island'),
305
+ (176, 'PR', 'Puerto Rico'),
306
+ (177, 'PT', 'Portugal'),
307
+ (178, 'PW', 'Palau'),
308
+ (179, 'PY', 'Paraguay'),
309
+ (180, 'QA', 'Qatar'),
310
+ (181, 'RE', 'R'),
311
+ (182, 'RO', 'Romania'),
312
+ (183, 'RU', 'Russian Federation'),
313
+ (184, 'RW', 'Rwanda'),
314
+ (185, 'SA', 'Saudi Arabia'),
315
+ (186, 'SB', 'Solomon Islands'),
316
+ (187, 'SC', 'Seychelles'),
317
+ (188, 'SD', 'Sudan'),
318
+ (189, 'SE', 'Sweden'),
319
+ (190, 'SG', 'Singapore'),
320
+ (191, 'SH', 'St Helena'),
321
+ (192, 'SI', 'Slovenia'),
322
+ (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
323
+ (194, 'SK', 'Slovakia'),
324
+ (195, 'SL', 'Sierra Leone'),
325
+ (196, 'SM', 'San Marino'),
326
+ (197, 'SN', 'Senegal'),
327
+ (198, 'SO', 'Somalia'),
328
+ (199, 'SR', 'Suriname'),
329
+ (200, 'ST', 'Sco Tom'),
330
+ (201, 'SU', 'Union of Soviet Socialist Republics'),
331
+ (202, 'SV', 'El Salvador'),
332
+ (203, 'SY', 'Syrian Arab Republic'),
333
+ (204, 'SZ', 'Swaziland'),
334
+ (205, 'TC', 'Turks and Caicos Islands'),
335
+ (206, 'TD', 'Chad'),
336
+ (207, 'TF', 'French Southern and Antarctic Territories'),
337
+ (208, 'TG', 'Togo'),
338
+ (209, 'TH', 'Thailand'),
339
+ (210, 'TJ', 'Tajikistan'),
340
+ (211, 'TK', 'Tokelau'),
341
+ (212, 'TM', 'Turkmenistan'),
342
+ (213, 'TN', 'Tunisia'),
343
+ (214, 'TO', 'Tonga'),
344
+ (215, 'TP', 'East Timor'),
345
+ (216, 'TR', 'Turkey'),
346
+ (217, 'TT', 'Trinidad and Tobago'),
347
+ (218, 'TV', 'Tuvalu'),
348
+ (219, 'TW', 'Taiwan, Province of China'),
349
+ (220, 'TZ', 'Tanzania, United Republic of'),
350
+ (221, 'UA', 'Ukraine'),
351
+ (222, 'UG', 'Uganda'),
352
+ (223, 'UM', 'United States Minor Outlying Islands'),
353
+ (224, 'US', 'United States of America'),
354
+ (225, 'UY', 'Uruguay'),
355
+ (226, 'UZ', 'Uzbekistan'),
356
+ (227, 'VA', 'Holy See (Vatican City State)'),
357
+ (228, 'VC', 'Saint Vincent and the Grenadines'),
358
+ (229, 'VE', 'Venezuela'),
359
+ (230, 'VG', 'Virgin Islands (British)'),
360
+ (231, 'VI', 'Virgin Islands (US)'),
361
+ (232, 'VN', 'Viet Nam'),
362
+ (233, 'VU', 'Vanautu'),
363
+ (234, 'WF', 'Wallis and Futuna Islands'),
364
+ (235, 'WS', 'Samoa'),
365
+ (236, 'XO', 'West Africa'),
366
+ (237, 'YE', 'Yemen'),
367
+ (238, 'YT', 'Mayotte'),
368
+ (239, 'ZA', 'South Africa'),
369
+ (240, 'ZM', 'Zambia'),
370
+ (241, 'ZW', 'Zimbabwe'),
371
+ (242, 'PS', 'Palestinian Territory'),
372
+ (243, 'RS', 'Serbia'),
373
+ (244, 'ME', 'Montenegro');
374
+
375
+
376
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
377
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
378
+ `id` int(11) NOT NULL auto_increment,
379
+ `country_id` int(11) default NULL,
380
+ `method_id` int(11) default NULL,
381
+ `priority` int(2) default NULL,
382
+ PRIMARY KEY (`id`)
383
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
384
+ INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
385
+ (1,2,13,1),
386
+ (2,2,14,2),
387
+ (3,11,19,1),
388
+ (4,11,1040,2),
389
+ (5,13,1,5),
390
+ (6,13,5,1),
391
+ (7,13,9,3),
392
+ (8,13,28,4),
393
+ (9,13,40,2),
394
+ (10,14,18,1),
395
+ (11,14,28,2),
396
+ (12,20,1,4),
397
+ (13,20,3,1),
398
+ (14,20,28,5),
399
+ (15,20,40,2),
400
+ (1500,20,9,3),
401
+ (16,22,63,2),
402
+ (17,22,1,1),
403
+ (18,23,13,1),
404
+ (19,23,14,2),
405
+ (20,29,32,2),
406
+ (21,29,34,3),
407
+ (22,29,43,7),
408
+ (23,29,46,1),
409
+ (24,29,1000,4),
410
+ (25,29,1001,5),
411
+ (26,29,1002,6),
412
+ (27,29,19,8),
413
+ (28,36,8,1),
414
+ (29,36,28,2),
415
+ (30,41,1,1),
416
+ (31,41,9,2),
417
+ (32,44,19,1),
418
+ (33,44,1039,2),
419
+ (34,46,24,1),
420
+ (35,46,28,3),
421
+ (36,46,62,2),
422
+ (37,47,1019,1),
423
+ (38,47,1020,2),
424
+ (39,47,1021,3),
425
+ (40,47,1022,4),
426
+ (41,47,1023,5),
427
+ (42,53,13,2),
428
+ (43,53,14,3),
429
+ (44,53,28,1),
430
+ (45,54,63,2),
431
+ (46,54,1,3),
432
+ (47,54,27,1),
433
+ (48,54,28,4),
434
+ (49,55,1,6),
435
+ (50,55,4,1),
436
+ (51,55,9,2),
437
+ (53,55,28,4),
438
+ (54,55,40,3),
439
+ (55,57,1,3),
440
+ (56,57,28,4),
441
+ (57,57,29,1),
442
+ (5700,57,40,2),
443
+ (58,60,14,1),
444
+ (59,62,1,5),
445
+ (60,62,23,1),
446
+ (61,62,28,4),
447
+ (62,62,29,2),
448
+ (63,62,63,3),
449
+ (64,63,13,1),
450
+ (65,63,14,2),
451
+ (66,66,1,3),
452
+ (67,66,14,6),
453
+ (68,66,28,5),
454
+ (69,66,29,1),
455
+ (691,66,40,4),
456
+ (692,66,9,2),
457
+ (70,68,1,5),
458
+ (71,68,28,6),
459
+ (72,68,29,7),
460
+ (73,68,65,4),
461
+ (74,68,1041,1),
462
+ (75,68,1042,2),
463
+ (76,68,1043,3),
464
+ (77,73,1,1),
465
+ (79,73,28,5),
466
+ (80,73,40,2),
467
+ (8000,73,9,3),
468
+ (81,76,1,2),
469
+ (82,76,40,4),
470
+ (83,76,9,1),
471
+ (84,76,14,5),
472
+ (85,76,28,3),
473
+ (86,87,28,2),
474
+ (860,87,40,1),
475
+ (865,96,63,1),
476
+ (87,98,1,4),
477
+ (88,98,25,1),
478
+ (89,98,28,2),
479
+ (90,98,63,3),
480
+ (91,99,1024,1),
481
+ (92,99,1025,2),
482
+ (93,100,1,2),
483
+ (94,100,14,3),
484
+ (95,100,28,1),
485
+ (96,101,13,1),
486
+ (97,101,14,2),
487
+ (98,104,13,1),
488
+ (99,104,14,2),
489
+ (100,107,1,3),
490
+ (102,107,40,2),
491
+ (103,107,9,4),
492
+ (104,107,73,1),
493
+ (105,107,28,6),
494
+ (106,109,13,1),
495
+ (107,109,14,2),
496
+ (108,119,13,1),
497
+ (109,121,1003,1),
498
+ (110,123,13,1),
499
+ (111,123,14,2),
500
+ (112,129,1,3),
501
+ (113,129,23,1),
502
+ (114,129,63,2),
503
+ (115,130,1,1),
504
+ (116,131,23,1),
505
+ (117,131,28,3),
506
+ (118,131,63,2),
507
+ (119,131,14,1),
508
+ (120,151,19,2),
509
+ (121,151,28,9),
510
+ (122,151,49,1),
511
+ (123,151,1026,3),
512
+ (124,151,1027,4),
513
+ (125,151,1028,5),
514
+ (126,151,1029,6),
515
+ (127,151,1030,7),
516
+ (128,151,1031,8),
517
+ (129,152,1009,1),
518
+ (130,152,1010,2),
519
+ (131,152,1011,3),
520
+ (132,152,1012,4),
521
+ (133,152,1013,5),
522
+ (134,152,1014,6),
523
+ (135,152,1015,7),
524
+ (136,152,1016,8),
525
+ (137,152,1017,9),
526
+ (138,152,1018,10),
527
+ (139,158,14,1),
528
+ (140,160,1,5),
529
+ (141,160,2,1),
530
+ (142,160,9,2),
531
+ (143,160,28,4),
532
+ (144,160,40,3),
533
+ (145,161,1,1),
534
+ (146,161,28,3),
535
+ (147,161,29,2),
536
+ (148,165,18,2),
537
+ (149,165,28,2),
538
+ (150,166,13,1),
539
+ (151,166,14,2),
540
+ (1510,168,72,1),
541
+ (153,171,67,2),
542
+ (154,173,1,2),
543
+ (155,173,12,1),
544
+ (156,173,14,4),
545
+ (157,173,28,3),
546
+ (158,177,1,4),
547
+ (160,177,20,1),
548
+ (161,177,28,2),
549
+ (1610,177,40,3),
550
+ (162,242,13,1),
551
+ (163,242,14,1),
552
+ (164,180,13,1),
553
+ (165,180,14,2),
554
+ (166,182,1,2),
555
+ (167,182,40,1),
556
+ (168,182,63,3),
557
+ (169,183,22,3),
558
+ (170,183,28,8),
559
+ (171,183,1003,1),
560
+ (172,183,1004,5),
561
+ (173,183,1005,6),
562
+ (174,183,1006,7),
563
+ (175,183,1008,4),
564
+ (176,183,74,2),
565
+ (1760,183,1007,8),
566
+ (177,185,13,1),
567
+ (178,185,14,2),
568
+ (179,188,14,1),
569
+ (180,189,1,2),
570
+ (181,189,28,3),
571
+ (182,189,29,1),
572
+ (183,190,37,1),
573
+ (184,192,14,3),
574
+ (185,192,28,2),
575
+ (186,192,63,1),
576
+ (187,194,1,1),
577
+ (188,194,63,2),
578
+ (189,209,35,1),
579
+ (190,209,1033,7),
580
+ (191,209,1034,6),
581
+ (192,209,1035,5),
582
+ (193,209,1036,3),
583
+ (194,209,1037,4),
584
+ (195,209,1038,2),
585
+ (196,213,13,1),
586
+ (197,213,14,2),
587
+ (198,216,1,1),
588
+ (199,216,13,4),
589
+ (200,216,14,5),
590
+ (201,216,28,6),
591
+ (202,216,66,2),
592
+ (203,216,64,3),
593
+ (204,221,22,1),
594
+ (205,221,28,4),
595
+ (206,221,1007,3),
596
+ (207,221,1008,4),
597
+ (208,221,1003,2),
598
+ (209,224,36,1),
599
+ (2090,224,58,2),
600
+ (210,239,28,1),
601
+ (211,1,76,99),
602
+ (212,2,76,99),
603
+ (213,3,76,99),
604
+ (214,4,76,99),
605
+ (215,5,76,99),
606
+ (216,6,76,99),
607
+ (217,7,76,99),
608
+ (218,8,76,99),
609
+ (219,9,76,99),
610
+ (220,10,76,99),
611
+ (221,11,76,99),
612
+ (222,12,76,99),
613
+ (223,13,76,99),
614
+ (224,14,76,99),
615
+ (225,15,76,99),
616
+ (226,16,76,99),
617
+ (227,17,76,99),
618
+ (228,18,76,99),
619
+ (229,19,76,99),
620
+ (230,20,76,99),
621
+ (231,21,76,99),
622
+ (232,22,76,99),
623
+ (233,23,76,99),
624
+ (234,24,76,99),
625
+ (235,25,76,99),
626
+ (236,26,76,99),
627
+ (237,27,76,99),
628
+ (238,28,76,99),
629
+ (239,29,76,99),
630
+ (240,30,76,99),
631
+ (241,31,76,99),
632
+ (242,32,76,99),
633
+ (243,33,76,99),
634
+ (244,34,76,99),
635
+ (245,35,76,99),
636
+ (246,36,76,99),
637
+ (247,37,76,99),
638
+ (248,38,76,99),
639
+ (249,39,76,99),
640
+ (250,40,76,99),
641
+ (251,41,76,99),
642
+ (252,42,76,99),
643
+ (253,43,76,99),
644
+ (254,44,76,99),
645
+ (255,45,76,99),
646
+ (256,46,76,99),
647
+ (257,47,76,99),
648
+ (258,48,76,99),
649
+ (260,50,76,99),
650
+ (261,51,76,99),
651
+ (262,52,76,99),
652
+ (263,53,76,99),
653
+ (264,54,76,99),
654
+ (265,55,76,99),
655
+ (266,56,76,99),
656
+ (267,57,76,99),
657
+ (268,58,76,99),
658
+ (269,59,76,99),
659
+ (270,60,76,99),
660
+ (271,61,76,99),
661
+ (272,62,76,99),
662
+ (273,63,76,99),
663
+ (274,64,76,99),
664
+ (275,65,76,99),
665
+ (276,66,76,99),
666
+ (277,67,76,99),
667
+ (278,68,76,99),
668
+ (279,69,76,99),
669
+ (280,70,76,99),
670
+ (281,71,76,99),
671
+ (282,72,76,99),
672
+ (283,73,76,99),
673
+ (284,74,76,99),
674
+ (285,75,76,99),
675
+ (286,76,76,99),
676
+ (287,77,76,99),
677
+ (288,78,76,99),
678
+ (289,79,76,99),
679
+ (290,80,76,99),
680
+ (291,81,76,99),
681
+ (292,82,76,99),
682
+ (293,83,76,99),
683
+ (294,84,76,99),
684
+ (295,85,76,99),
685
+ (296,86,76,99),
686
+ (297,87,76,99),
687
+ (298,88,76,99),
688
+ (299,89,76,99),
689
+ (300,90,76,99),
690
+ (301,91,76,99),
691
+ (302,92,76,99),
692
+ (303,93,76,99),
693
+ (304,94,76,99),
694
+ (305,95,76,99),
695
+ (306,96,76,99),
696
+ (307,97,76,99),
697
+ (308,98,76,99),
698
+ (309,99,76,99),
699
+ (310,100,76,99),
700
+ (311,101,76,99),
701
+ (312,102,76,99),
702
+ (313,103,76,99),
703
+ (314,104,76,99),
704
+ (315,105,76,99),
705
+ (316,106,76,99),
706
+ (317,107,76,99),
707
+ (318,108,76,99),
708
+ (319,109,76,99),
709
+ (320,110,76,99),
710
+ (321,111,76,99),
711
+ (322,112,76,99),
712
+ (323,113,76,99),
713
+ (324,114,76,99),
714
+ (325,115,76,99),
715
+ (326,116,76,99),
716
+ (327,117,76,99),
717
+ (328,118,76,99),
718
+ (329,119,76,99),
719
+ (330,120,76,99),
720
+ (331,121,76,99),
721
+ (332,122,76,99),
722
+ (333,123,76,99),
723
+ (334,124,76,99),
724
+ (335,125,76,99),
725
+ (336,126,76,99),
726
+ (337,127,76,99),
727
+ (338,128,76,99),
728
+ (339,129,76,99),
729
+ (340,130,76,99),
730
+ (341,131,76,99),
731
+ (342,132,76,99),
732
+ (343,133,76,99),
733
+ (344,134,76,99),
734
+ (345,135,76,99),
735
+ (346,136,76,99),
736
+ (347,137,76,99),
737
+ (348,138,76,99),
738
+ (349,139,76,99),
739
+ (350,140,76,99),
740
+ (351,141,76,99),
741
+ (352,142,76,99),
742
+ (353,143,76,99),
743
+ (354,144,76,99),
744
+ (355,145,76,99),
745
+ (356,146,76,99),
746
+ (357,147,76,99),
747
+ (358,148,76,99),
748
+ (359,149,76,99),
749
+ (360,150,76,99),
750
+ (361,151,76,99),
751
+ (362,152,76,99),
752
+ (363,153,76,99),
753
+ (364,154,76,99),
754
+ (365,155,76,99),
755
+ (366,156,76,99),
756
+ (367,157,76,99),
757
+ (368,158,76,99),
758
+ (369,159,76,99),
759
+ (370,160,76,99),
760
+ (371,161,76,99),
761
+ (372,162,76,99),
762
+ (373,163,76,99),
763
+ (374,164,76,99),
764
+ (375,165,76,99),
765
+ (376,166,76,99),
766
+ (377,167,76,99),
767
+ (378,168,76,99),
768
+ (379,169,76,99),
769
+ (380,170,76,99),
770
+ (381,171,76,99),
771
+ (382,172,76,99),
772
+ (383,173,76,99),
773
+ (384,174,76,99),
774
+ (385,175,76,99),
775
+ (386,176,76,99),
776
+ (387,177,76,99),
777
+ (388,178,76,99),
778
+ (389,179,76,99),
779
+ (390,180,76,99),
780
+ (391,181,76,99),
781
+ (392,182,76,99),
782
+ (393,183,76,99),
783
+ (394,184,76,99),
784
+ (395,185,76,99),
785
+ (396,186,76,99),
786
+ (397,187,76,99),
787
+ (398,188,76,99),
788
+ (399,189,76,99),
789
+ (400,190,76,99),
790
+ (401,191,76,99),
791
+ (402,192,76,99),
792
+ (403,193,76,99),
793
+ (404,194,76,99),
794
+ (405,195,76,99),
795
+ (406,196,76,99),
796
+ (407,197,76,99),
797
+ (408,198,76,99),
798
+ (409,199,76,99),
799
+ (410,200,76,99),
800
+ (411,201,76,99),
801
+ (412,202,76,99),
802
+ (413,203,76,99),
803
+ (414,204,76,99),
804
+ (415,205,76,99),
805
+ (416,206,76,99),
806
+ (417,207,76,99),
807
+ (418,208,76,99),
808
+ (419,209,76,99),
809
+ (420,210,76,99),
810
+ (421,211,76,99),
811
+ (422,212,76,99),
812
+ (423,213,76,99),
813
+ (424,214,76,99),
814
+ (425,215,76,99),
815
+ (426,216,76,99),
816
+ (427,217,76,99),
817
+ (428,218,76,99),
818
+ (429,219,76,99),
819
+ (430,220,76,99),
820
+ (431,221,76,99),
821
+ (432,222,76,99),
822
+ (433,223,76,99),
823
+ (434,224,76,99),
824
+ (435,225,76,99),
825
+ (436,226,76,99),
826
+ (437,227,76,99),
827
+ (438,228,76,99),
828
+ (439,229,76,99),
829
+ (440,230,76,99),
830
+ (441,231,76,99),
831
+ (442,232,76,99),
832
+ (443,233,76,99),
833
+ (444,234,76,99),
834
+ (445,235,76,99),
835
+ (446,236,76,99),
836
+ (447,237,76,99),
837
+ (448,238,76,99),
838
+ (449,239,76,99),
839
+ (450,240,76,99),
840
+ (451,241,76,99),
841
+ (452,242,76,99),
842
+ (453,243,76,99),
843
+ (454,244,76,99),
844
+ (690,1,69,1);
845
+
846
+ ");
847
+ $installer->endSetup();
848
+ ?>
app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.1.3-1.1.4.php CHANGED
@@ -1,853 +1,853 @@
1
- <?php
2
- //die('Trying to setup Smart2Pay_Globalpay database');
3
-
4
- $installer = $this;
5
- $installer->startSetup();
6
- $installer->run("
7
-
8
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
- `log_id` int(11) NOT NULL auto_increment,
11
- `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
- `log_message` text collate utf8_unicode_ci default NULL,
13
- `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
- `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
- `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
- PRIMARY KEY (`log_id`)
17
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
-
19
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
- `method_id` int(11) NOT NULL auto_increment,
22
- `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
- `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
- `description` text collate utf8_unicode_ci,
25
- `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
- `guaranteed` int(1) default NULL,
27
- `active` int(1) default NULL,
28
- PRIMARY KEY (`method_id`)
29
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
-
31
- INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
32
- (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v6.png', 1, 1),
33
- (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.png', 1, 1),
34
- (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.png', 1, 1),
35
- (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.png', 1, 1),
36
- (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.png', 1, 1),
37
- (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.png', 1, 1),
38
- (9, 'Sofort Banking', 'dp24', 'Sofort Banking description', 'dp24_sofort.png', 0, 1),
39
- (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.png', 1, 1),
40
- (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.png', 1, 1),
41
- (14, 'CashU', 'cashu', 'CashU description', 'cashu.png', 1, 1),
42
- (18, 'POLi', 'poli', 'POLi description', 'poli.png', 0, 1),
43
- (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail.png', 0, 1),
44
- (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.png', 1, 1),
45
- (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta.png', 1, 1),
46
- (23, 'Paysera', 'paysera', 'Paysera description', 'paysera.gif', 1, 1),
47
- (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.png', 1, 1),
48
- (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.png', 1, 1),
49
- (27, 'ePlatby for eKonto', 'ebanka', 'eBanka description', 'eKonto.png', 1, 1),
50
- (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.png', 1, 1),
51
- (29, 'Trustly', 'trustly', 'Trustly description', 'trustly.png', 1, 1),
52
- (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.gif', 1, 1),
53
- (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.png', 1, 1),
54
- (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
55
- (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.png', 0, 1),
56
- (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.png', 0, 1),
57
- (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.png', 1, 1),
58
- (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.png', 1, 1),
59
- (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.png', 1, 0),
60
- (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.png', 0, 1),
61
- (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.png', 1, 1),
62
- (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.png', 0, 1),
63
- (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.png', 0, 1),
64
- (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.png', 1, 1),
65
- (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
66
- (62, 'Tenpay','tenpay','Tenpay description','tenpay.png',1,1),
67
- (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
68
- (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangir_cart.gif', 1, 1),
69
- (65, 'Paytrail', 'paytrail', 'Paytrail description', 'paytrail.gif', 1,1),
70
- (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
71
- (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragon_pay.png', 1 , 1),
72
- (69, 'Credit Card', 's2pcards', 'S2PCards Description', 's2p_cards.gif', 0,1),
73
- (72, 'PagoEfectivo', 'pagoefectivo', 'PagoEfectivo Description', 'pago_efectivo.gif', 1,1),
74
- (73, 'MyBank', 'mybank', 'MyBank Description', 'mybank.png',1,1),
75
- (74, 'Yandex.Money', 'yandexmoney', 'YandexMoney description', 'yandex_money.png', 1,1),
76
- (76, 'Bitcoin', 'bitcoin', 'Bitcoin description', 'bitcoin.png', 1,1),
77
- (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto_bancario.png', 1, 1),
78
- (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.png', 1, 1),
79
- (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.png', 1, 1),
80
- (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet.png', 1, 1),
81
- (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.png', 1, 1),
82
- (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon.png', 1, 1),
83
- (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
84
- (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney.png', 1, 1),
85
- (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex.png', 1, 1),
86
- (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
87
- (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambank_group.png', 1, 1),
88
- (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.png', 1, 1),
89
- (1012, 'FPX', 'asiapay', 'FPX description', 'fpx.png', 1, 1),
90
- (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.png', 1, 1),
91
- (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.png', 1, 1),
92
- (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.png', 1, 1),
93
- (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.png', 1, 1),
94
- (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.png', 1, 1),
95
- (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
96
- (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.gif', 1, 1),
97
- (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.png', 1, 1),
98
- (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ach.png', 1, 1),
99
- (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_via_baloto.png', 1, 1),
100
- (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.png', 1, 1),
101
- (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.png', 1, 1),
102
- (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'xltunai.png', 1, 1),
103
- (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.png', 1, 1),
104
- (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
105
- (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
106
- (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7-Eleven.gif', 1, 1),
107
- (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
108
- (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
109
- (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
110
- (1034, 'PayPal Thailand', 'paysbuy', 'PayPalThailand description', 'paypal.png', 1, 1),
111
- (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.png', 1, 1),
112
- (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'counter-service-thailand_paysbuy-cash.png', 1, 1),
113
- (1037, 'Online Banking Thailand', 'paysbuy', 'OnlineBankingThailand description', 'online_banking_thailanda.png', 1, 1),
114
- (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.png', 1, 1),
115
- (1039, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Chile description', 'pagos_en_efectivo_servipag_bci_chile.png', 1, 1),
116
- (1040, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Argentina description', 'argentina_banks.png', 1,1),
117
- (1041, 'OP-Pohjola', 'paytrail', 'OP-Pohjola description', 'op-pohjola.png', 1, 1),
118
- (1042, 'Nordea', 'paytrail','Nordea description', 'nordea.png', 1,1),
119
- (1043, 'Danske bank', 'paytrail','Danske description', 'danske_bank.png', 1,1),
120
- (1044, 'Cash-in', 'yandexmoney','Cash-in description', 'cashinyandex.gif', 1,1),
121
- (1045, 'Cards Russia', 'yandexmoney','Cards Russia description', 's2p_cards.gif', 1,1);
122
-
123
-
124
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
125
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
126
- `country_id` int(11) NOT NULL auto_increment,
127
- `code` varchar(3) collate utf8_unicode_ci default NULL,
128
- `name` varchar(100) collate utf8_unicode_ci default NULL,
129
- PRIMARY KEY (`country_id`)
130
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
131
-
132
- INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
133
- (1, 'AD', 'Andorra'),
134
- (2, 'AE', 'United Arab Emirates'),
135
- (3, 'AF', 'Afghanistan'),
136
- (4, 'AG', 'Antigua and Barbuda'),
137
- (5, 'AI', 'Anguilla'),
138
- (6, 'AL', 'Albania'),
139
- (7, 'AM', 'Armenia'),
140
- (8, 'AN', 'Netherlands Antilles'),
141
- (9, 'AO', 'Angola'),
142
- (10, 'AQ', 'Antarctica'),
143
- (11, 'AR', 'Argentina'),
144
- (12, 'AS', 'American Samoa'),
145
- (13, 'AT', 'Austria'),
146
- (14, 'AU', 'Australia'),
147
- (15, 'AW', 'Aruba'),
148
- (16, 'AZ', 'Azerbaijan'),
149
- (17, 'BA', 'Bosnia & Herzegowina'),
150
- (18, 'BB', 'Barbados'),
151
- (19, 'BD', 'Bangladesh'),
152
- (20, 'BE', 'Belgium'),
153
- (21, 'BF', 'Burkina Faso'),
154
- (22, 'BG', 'Bulgaria'),
155
- (23, 'BH', 'Bahrain'),
156
- (24, 'BI', 'Burundi'),
157
- (25, 'BJ', 'Benin'),
158
- (26, 'BM', 'Bermuda'),
159
- (27, 'BN', 'Brunei Darussalam'),
160
- (28, 'BO', 'Bolivia'),
161
- (29, 'BR', 'Brazil'),
162
- (30, 'BS', 'Bahamas'),
163
- (31, 'BT', 'Bhutan'),
164
- (32, 'BV', 'Bouvet Island'),
165
- (33, 'BW', 'Botswana'),
166
- (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
167
- (35, 'BZ', 'Belize'),
168
- (36, 'CA', 'Canada'),
169
- (37, 'CC', 'Cocos (Keeling) Islands'),
170
- (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
171
- (39, 'CF', 'Central African Republic'),
172
- (40, 'CG', 'Congo'),
173
- (41, 'CH', 'Switzerland'),
174
- (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
175
- (43, 'CK', 'Cook Islands'),
176
- (44, 'CL', 'Chile'),
177
- (45, 'CM', 'Cameroon'),
178
- (46, 'CN', 'China'),
179
- (47, 'CO', 'Colombia'),
180
- (48, 'CR', 'Costa Rica'),
181
- (50, 'CU', 'Cuba'),
182
- (51, 'CV', 'Cape Verde'),
183
- (52, 'CX', 'Christmas Island'),
184
- (53, 'CY', 'Cyprus'),
185
- (54, 'CZ', 'Czech Republic'),
186
- (55, 'DE', 'Germany'),
187
- (56, 'DJ', 'Djibouti'),
188
- (57, 'DK', 'Denmark'),
189
- (58, 'DM', 'Dominica'),
190
- (59, 'DO', 'Dominican Republic'),
191
- (60, 'DZ', 'Algeria'),
192
- (61, 'EC', 'Ecuador'),
193
- (62, 'EE', 'Estonia'),
194
- (63, 'EG', 'Egypt'),
195
- (64, 'EH', 'Western Sahara'),
196
- (65, 'ER', 'Eritrea'),
197
- (66, 'ES', 'Spain'),
198
- (67, 'ET', 'Ethiopia'),
199
- (68, 'FI', 'Finland'),
200
- (69, 'FJ', 'Fiji Islands'),
201
- (70, 'FK', 'Falkland Islands (Malvinas)'),
202
- (71, 'FM', 'Micronesia, Federated States of'),
203
- (72, 'FO', 'Faroe Islands'),
204
- (73, 'FR', 'France'),
205
- (74, 'FX', 'France, Metropolitan'),
206
- (75, 'GA', 'Gabon'),
207
- (76, 'GB', 'United Kingdom'),
208
- (77, 'GD', 'Grenada'),
209
- (78, 'GE', 'Georgia'),
210
- (79, 'GF', 'French Guiana'),
211
- (80, 'GH', 'Ghana'),
212
- (81, 'GI', 'Gibraltar'),
213
- (82, 'GL', 'Greenland'),
214
- (83, 'GM', 'Gambia'),
215
- (84, 'GN', 'Guinea'),
216
- (85, 'GP', 'Guadeloupe'),
217
- (86, 'GQ', 'Equatorial Guinea'),
218
- (87, 'GR', 'Greece'),
219
- (88, 'GS', 'South Georgia and the South Sandwich Islands'),
220
- (89, 'GT', 'Guatemala'),
221
- (90, 'GU', 'Guam'),
222
- (91, 'GW', 'Guinea-Bissau'),
223
- (92, 'GY', 'Guyana'),
224
- (93, 'HK', 'Hong Kong'),
225
- (94, 'HM', 'Heard and McDonald Islands'),
226
- (95, 'HN', 'Honduras'),
227
- (96, 'HR', 'Croatia (local name: Hrvatska)'),
228
- (97, 'HT', 'Haiti'),
229
- (98, 'HU', 'Hungary'),
230
- (99, 'ID', 'Indonesia'),
231
- (100, 'IE', 'Ireland'),
232
- (101, 'IL', 'Israel'),
233
- (102, 'IN', 'India'),
234
- (103, 'IO', 'British Indian Ocean Territory'),
235
- (104, 'IQ', 'Iraq'),
236
- (105, 'IR', 'Iran, Islamic Republic of'),
237
- (106, 'IS', 'Iceland'),
238
- (107, 'IT', 'Italy'),
239
- (108, 'JM', 'Jamaica'),
240
- (109, 'JO', 'Jordan'),
241
- (110, 'JP', 'Japan'),
242
- (111, 'KE', 'Kenya'),
243
- (112, 'KG', 'Kyrgyzstan'),
244
- (113, 'KH', 'Cambodia (formerly Kampuchea)'),
245
- (114, 'KI', 'Kiribati'),
246
- (115, 'KM', 'Comoros'),
247
- (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
248
- (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
249
- (118, 'KR', 'Korea, Republic of (South Korea)'),
250
- (119, 'KW', 'Kuwait'),
251
- (120, 'KY', 'Cayman Islands'),
252
- (121, 'KZ', 'Kazakhstan'),
253
- (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
254
- (123, 'LB', 'Lebanon'),
255
- (124, 'LC', 'Saint Lucia'),
256
- (125, 'LI', 'Liechtenstein'),
257
- (126, 'LK', 'Sri Lanka'),
258
- (127, 'LR', 'Liberia'),
259
- (128, 'LS', 'Lesotho'),
260
- (129, 'LT', 'Lithuania'),
261
- (130, 'LU', 'Luxembourg'),
262
- (131, 'LV', 'Latvia'),
263
- (132, 'LY', 'Libyan Arab Jamahiriya'),
264
- (133, 'MA', 'Morocco'),
265
- (134, 'MC', 'Monaco'),
266
- (135, 'MD', 'Moldova, Republic of'),
267
- (136, 'MG', 'Madagascar'),
268
- (137, 'MH', 'Marshall Islands'),
269
- (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
270
- (139, 'ML', 'Mali'),
271
- (140, 'MM', 'Myanmar (formerly Burma)'),
272
- (141, 'MN', 'Mongolia'),
273
- (142, 'MO', 'Macao (also spelled Macau)'),
274
- (143, 'MP', 'Northern Mariana Islands'),
275
- (144, 'MQ', 'Martinique'),
276
- (145, 'MR', 'Mauritania'),
277
- (146, 'MS', 'Montserrat'),
278
- (147, 'MT', 'Malta'),
279
- (148, 'MU', 'Mauritius'),
280
- (149, 'MV', 'Maldives'),
281
- (150, 'MW', 'Malawi'),
282
- (151, 'MX', 'Mexico'),
283
- (152, 'MY', 'Malaysia'),
284
- (153, 'MZ', 'Mozambique'),
285
- (154, 'NA', 'Namibia'),
286
- (155, 'NC', 'New Caledonia'),
287
- (156, 'NE', 'Niger'),
288
- (157, 'NF', 'Norfolk Island'),
289
- (158, 'NG', 'Nigeria'),
290
- (159, 'NI', 'Nicaragua'),
291
- (160, 'NL', 'Netherlands'),
292
- (161, 'NO', 'Norway'),
293
- (162, 'NP', 'Nepal'),
294
- (163, 'NR', 'Nauru'),
295
- (164, 'NU', 'Niue'),
296
- (165, 'NZ', 'New Zealand'),
297
- (166, 'OM', 'Oman'),
298
- (167, 'PA', 'Panama'),
299
- (168, 'PE', 'Peru'),
300
- (169, 'PF', 'French Polynesia'),
301
- (170, 'PG', 'Papua New Guinea'),
302
- (171, 'PH', 'Philippines'),
303
- (172, 'PK', 'Pakistan'),
304
- (173, 'PL', 'Poland'),
305
- (174, 'PM', 'St Pierre and Miquelon'),
306
- (175, 'PN', 'Pitcairn Island'),
307
- (176, 'PR', 'Puerto Rico'),
308
- (177, 'PT', 'Portugal'),
309
- (178, 'PW', 'Palau'),
310
- (179, 'PY', 'Paraguay'),
311
- (180, 'QA', 'Qatar'),
312
- (181, 'RE', 'R'),
313
- (182, 'RO', 'Romania'),
314
- (183, 'RU', 'Russian Federation'),
315
- (184, 'RW', 'Rwanda'),
316
- (185, 'SA', 'Saudi Arabia'),
317
- (186, 'SB', 'Solomon Islands'),
318
- (187, 'SC', 'Seychelles'),
319
- (188, 'SD', 'Sudan'),
320
- (189, 'SE', 'Sweden'),
321
- (190, 'SG', 'Singapore'),
322
- (191, 'SH', 'St Helena'),
323
- (192, 'SI', 'Slovenia'),
324
- (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
325
- (194, 'SK', 'Slovakia'),
326
- (195, 'SL', 'Sierra Leone'),
327
- (196, 'SM', 'San Marino'),
328
- (197, 'SN', 'Senegal'),
329
- (198, 'SO', 'Somalia'),
330
- (199, 'SR', 'Suriname'),
331
- (200, 'ST', 'Sco Tom'),
332
- (201, 'SU', 'Union of Soviet Socialist Republics'),
333
- (202, 'SV', 'El Salvador'),
334
- (203, 'SY', 'Syrian Arab Republic'),
335
- (204, 'SZ', 'Swaziland'),
336
- (205, 'TC', 'Turks and Caicos Islands'),
337
- (206, 'TD', 'Chad'),
338
- (207, 'TF', 'French Southern and Antarctic Territories'),
339
- (208, 'TG', 'Togo'),
340
- (209, 'TH', 'Thailand'),
341
- (210, 'TJ', 'Tajikistan'),
342
- (211, 'TK', 'Tokelau'),
343
- (212, 'TM', 'Turkmenistan'),
344
- (213, 'TN', 'Tunisia'),
345
- (214, 'TO', 'Tonga'),
346
- (215, 'TP', 'East Timor'),
347
- (216, 'TR', 'Turkey'),
348
- (217, 'TT', 'Trinidad and Tobago'),
349
- (218, 'TV', 'Tuvalu'),
350
- (219, 'TW', 'Taiwan, Province of China'),
351
- (220, 'TZ', 'Tanzania, United Republic of'),
352
- (221, 'UA', 'Ukraine'),
353
- (222, 'UG', 'Uganda'),
354
- (223, 'UM', 'United States Minor Outlying Islands'),
355
- (224, 'US', 'United States of America'),
356
- (225, 'UY', 'Uruguay'),
357
- (226, 'UZ', 'Uzbekistan'),
358
- (227, 'VA', 'Holy See (Vatican City State)'),
359
- (228, 'VC', 'Saint Vincent and the Grenadines'),
360
- (229, 'VE', 'Venezuela'),
361
- (230, 'VG', 'Virgin Islands (British)'),
362
- (231, 'VI', 'Virgin Islands (US)'),
363
- (232, 'VN', 'Viet Nam'),
364
- (233, 'VU', 'Vanautu'),
365
- (234, 'WF', 'Wallis and Futuna Islands'),
366
- (235, 'WS', 'Samoa'),
367
- (236, 'XO', 'West Africa'),
368
- (237, 'YE', 'Yemen'),
369
- (238, 'YT', 'Mayotte'),
370
- (239, 'ZA', 'South Africa'),
371
- (240, 'ZM', 'Zambia'),
372
- (241, 'ZW', 'Zimbabwe'),
373
- (242, 'PS', 'Palestinian Territory'),
374
- (243, 'RS', 'Serbia'),
375
- (244, 'ME', 'Montenegro');
376
-
377
-
378
- DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
379
- CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
380
- `id` int(11) NOT NULL auto_increment,
381
- `country_id` int(11) default NULL,
382
- `method_id` int(11) default NULL,
383
- `priority` int(2) default NULL,
384
- PRIMARY KEY (`id`)
385
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
386
- INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
387
- (1,2,13,1),
388
- (2,2,14,2),
389
- (3,11,19,1),
390
- (4,11,1040,2),
391
- (5,13,1,5),
392
- (6,13,5,1),
393
- (7,13,9,3),
394
- (8,13,28,4),
395
- (9,13,40,2),
396
- (10,14,18,1),
397
- (11,14,28,2),
398
- (12,20,1,4),
399
- (13,20,3,1),
400
- (14,20,28,5),
401
- (15,20,40,2),
402
- (1500,20,9,3),
403
- (16,22,63,2),
404
- (17,22,1,1),
405
- (18,23,13,1),
406
- (19,23,14,2),
407
- (20,29,32,2),
408
- (21,29,34,3),
409
- (22,29,43,7),
410
- (23,29,46,1),
411
- (24,29,1000,4),
412
- (25,29,1001,5),
413
- (26,29,1002,6),
414
- (27,29,19,8),
415
- (28,36,8,1),
416
- (29,36,28,2),
417
- (30,41,1,1),
418
- (31,41,9,2),
419
- (32,44,19,1),
420
- (33,44,1039,2),
421
- (34,46,24,1),
422
- (35,46,28,3),
423
- (36,46,62,2),
424
- (37,47,1019,1),
425
- (38,47,1020,2),
426
- (39,47,1021,3),
427
- (40,47,1022,4),
428
- (41,47,1023,5),
429
- (42,53,13,2),
430
- (43,53,14,3),
431
- (44,53,28,1),
432
- (45,54,63,2),
433
- (46,54,1,3),
434
- (47,54,27,1),
435
- (48,54,28,4),
436
- (49,55,1,6),
437
- (50,55,4,1),
438
- (51,55,9,2),
439
- (53,55,28,4),
440
- (54,55,40,3),
441
- (55,57,1,3),
442
- (56,57,28,4),
443
- (57,57,29,1),
444
- (5700,57,40,2),
445
- (58,60,14,1),
446
- (59,62,1,5),
447
- (60,62,23,1),
448
- (61,62,28,4),
449
- (62,62,29,2),
450
- (63,62,63,3),
451
- (64,63,13,1),
452
- (65,63,14,2),
453
- (66,66,1,3),
454
- (67,66,14,6),
455
- (68,66,28,5),
456
- (69,66,29,1),
457
- (691,66,40,4),
458
- (692,66,9,2),
459
- (70,68,1,5),
460
- (71,68,28,6),
461
- (72,68,29,7),
462
- (73,68,65,4),
463
- (74,68,1041,1),
464
- (75,68,1042,2),
465
- (76,68,1043,3),
466
- (77,73,1,1),
467
- (79,73,28,5),
468
- (80,73,40,2),
469
- (8000,73,9,3),
470
- (81,76,1,2),
471
- (82,76,40,4),
472
- (83,76,9,1),
473
- (84,76,14,5),
474
- (85,76,28,3),
475
- (86,87,28,2),
476
- (860,87,40,1),
477
- (865,96,63,1),
478
- (87,98,1,4),
479
- (88,98,25,1),
480
- (89,98,28,2),
481
- (90,98,63,3),
482
- (91,99,1024,1),
483
- (92,99,1025,2),
484
- (93,100,1,2),
485
- (94,100,14,3),
486
- (95,100,28,1),
487
- (96,101,13,1),
488
- (97,101,14,2),
489
- (98,104,13,1),
490
- (99,104,14,2),
491
- (100,107,1,3),
492
- (102,107,40,2),
493
- (103,107,9,4),
494
- (104,107,73,1),
495
- (105,107,28,6),
496
- (106,109,13,1),
497
- (107,109,14,2),
498
- (108,119,13,1),
499
- (109,121,1003,1),
500
- (110,123,13,1),
501
- (111,123,14,2),
502
- (112,129,1,3),
503
- (113,129,23,1),
504
- (114,129,63,2),
505
- (115,130,1,1),
506
- (116,131,23,1),
507
- (117,131,28,3),
508
- (118,131,63,2),
509
- (119,131,14,1),
510
- (120,151,19,2),
511
- (121,151,28,10),
512
- (122,151,49,1),
513
- (123,151,1026,4),
514
- (124,151,1027,5),
515
- (125,151,1028,6),
516
- (126,151,1029,7),
517
- (127,151,1030,9),
518
- (128,151,1031,9),
519
- (693,151,46,3),
520
- (129,152,1009,1),
521
- (130,152,1010,2),
522
- (131,152,1011,3),
523
- (132,152,1012,4),
524
- (133,152,1013,5),
525
- (134,152,1014,6),
526
- (135,152,1015,7),
527
- (136,152,1016,8),
528
- (137,152,1017,9),
529
- (138,152,1018,10),
530
- (139,158,14,1),
531
- (140,160,1,5),
532
- (141,160,2,1),
533
- (142,160,9,2),
534
- (143,160,28,4),
535
- (144,160,40,3),
536
- (145,161,1,1),
537
- (146,161,28,3),
538
- (147,161,29,2),
539
- (148,165,18,2),
540
- (149,165,28,2),
541
- (150,166,13,1),
542
- (151,166,14,2),
543
- (1510,168,72,1),
544
- (153,171,67,2),
545
- (154,173,1,2),
546
- (155,173,12,1),
547
- (156,173,14,4),
548
- (157,173,28,3),
549
- (158,177,1,4),
550
- (160,177,20,1),
551
- (161,177,28,2),
552
- (1610,177,40,3),
553
- (162,242,13,1),
554
- (163,242,14,1),
555
- (164,180,13,1),
556
- (165,180,14,2),
557
- (166,182,1,2),
558
- (167,182,40,1),
559
- (168,182,63,3),
560
- (169,183,22,3),
561
- (170,183,28,8),
562
- (171,183,1003,1),
563
- (172,183,1004,5),
564
- (173,183,1005,6),
565
- (174,183,1006,7),
566
- (175,183,1008,4),
567
- (176,183,74,2),
568
- (1760,183,1007,8),
569
- (694,183,1044,9),
570
- (695,183,1045,10),
571
- (177,185,13,1),
572
- (178,185,14,2),
573
- (179,188,14,1),
574
- (180,189,1,2),
575
- (181,189,28,3),
576
- (182,189,29,1),
577
- (183,190,37,1),
578
- (184,192,14,3),
579
- (185,192,28,2),
580
- (186,192,63,1),
581
- (187,194,1,1),
582
- (188,194,63,2),
583
- (189,209,35,1),
584
- (190,209,1033,7),
585
- (191,209,1034,6),
586
- (192,209,1035,5),
587
- (193,209,1036,3),
588
- (194,209,1037,4),
589
- (195,209,1038,2),
590
- (196,213,13,1),
591
- (197,213,14,2),
592
- (198,216,1,1),
593
- (199,216,13,4),
594
- (200,216,14,5),
595
- (201,216,28,6),
596
- (202,216,66,2),
597
- (203,216,64,3),
598
- (204,221,22,1),
599
- (205,221,28,4),
600
- (206,221,1007,3),
601
- (207,221,1008,4),
602
- (208,221,1003,2),
603
- (209,224,36,1),
604
- (2090,224,58,2),
605
- (210,239,28,1),
606
- (211,1,76,99),
607
- (212,2,76,99),
608
- (213,3,76,99),
609
- (214,4,76,99),
610
- (215,5,76,99),
611
- (216,6,76,99),
612
- (217,7,76,99),
613
- (218,8,76,99),
614
- (219,9,76,99),
615
- (220,10,76,99),
616
- (221,11,76,99),
617
- (222,12,76,99),
618
- (223,13,76,99),
619
- (224,14,76,99),
620
- (225,15,76,99),
621
- (226,16,76,99),
622
- (227,17,76,99),
623
- (228,18,76,99),
624
- (229,19,76,99),
625
- (230,20,76,99),
626
- (231,21,76,99),
627
- (232,22,76,99),
628
- (233,23,76,99),
629
- (234,24,76,99),
630
- (235,25,76,99),
631
- (236,26,76,99),
632
- (237,27,76,99),
633
- (238,28,76,99),
634
- (239,29,76,99),
635
- (240,30,76,99),
636
- (241,31,76,99),
637
- (242,32,76,99),
638
- (243,33,76,99),
639
- (244,34,76,99),
640
- (245,35,76,99),
641
- (246,36,76,99),
642
- (247,37,76,99),
643
- (248,38,76,99),
644
- (249,39,76,99),
645
- (250,40,76,99),
646
- (251,41,76,99),
647
- (252,42,76,99),
648
- (253,43,76,99),
649
- (254,44,76,99),
650
- (255,45,76,99),
651
- (256,46,76,99),
652
- (257,47,76,99),
653
- (258,48,76,99),
654
- (260,50,76,99),
655
- (261,51,76,99),
656
- (262,52,76,99),
657
- (263,53,76,99),
658
- (264,54,76,99),
659
- (265,55,76,99),
660
- (266,56,76,99),
661
- (267,57,76,99),
662
- (268,58,76,99),
663
- (269,59,76,99),
664
- (270,60,76,99),
665
- (271,61,76,99),
666
- (272,62,76,99),
667
- (273,63,76,99),
668
- (274,64,76,99),
669
- (275,65,76,99),
670
- (276,66,76,99),
671
- (277,67,76,99),
672
- (278,68,76,99),
673
- (279,69,76,99),
674
- (280,70,76,99),
675
- (281,71,76,99),
676
- (282,72,76,99),
677
- (283,73,76,99),
678
- (284,74,76,99),
679
- (285,75,76,99),
680
- (286,76,76,99),
681
- (287,77,76,99),
682
- (288,78,76,99),
683
- (289,79,76,99),
684
- (290,80,76,99),
685
- (291,81,76,99),
686
- (292,82,76,99),
687
- (293,83,76,99),
688
- (294,84,76,99),
689
- (295,85,76,99),
690
- (296,86,76,99),
691
- (297,87,76,99),
692
- (298,88,76,99),
693
- (299,89,76,99),
694
- (300,90,76,99),
695
- (301,91,76,99),
696
- (302,92,76,99),
697
- (303,93,76,99),
698
- (304,94,76,99),
699
- (305,95,76,99),
700
- (306,96,76,99),
701
- (307,97,76,99),
702
- (308,98,76,99),
703
- (309,99,76,99),
704
- (310,100,76,99),
705
- (311,101,76,99),
706
- (312,102,76,99),
707
- (313,103,76,99),
708
- (314,104,76,99),
709
- (315,105,76,99),
710
- (316,106,76,99),
711
- (317,107,76,99),
712
- (318,108,76,99),
713
- (319,109,76,99),
714
- (320,110,76,99),
715
- (321,111,76,99),
716
- (322,112,76,99),
717
- (323,113,76,99),
718
- (324,114,76,99),
719
- (325,115,76,99),
720
- (326,116,76,99),
721
- (327,117,76,99),
722
- (328,118,76,99),
723
- (329,119,76,99),
724
- (330,120,76,99),
725
- (331,121,76,99),
726
- (332,122,76,99),
727
- (333,123,76,99),
728
- (334,124,76,99),
729
- (335,125,76,99),
730
- (336,126,76,99),
731
- (337,127,76,99),
732
- (338,128,76,99),
733
- (339,129,76,99),
734
- (340,130,76,99),
735
- (341,131,76,99),
736
- (342,132,76,99),
737
- (343,133,76,99),
738
- (344,134,76,99),
739
- (345,135,76,99),
740
- (346,136,76,99),
741
- (347,137,76,99),
742
- (348,138,76,99),
743
- (349,139,76,99),
744
- (350,140,76,99),
745
- (351,141,76,99),
746
- (352,142,76,99),
747
- (353,143,76,99),
748
- (354,144,76,99),
749
- (355,145,76,99),
750
- (356,146,76,99),
751
- (357,147,76,99),
752
- (358,148,76,99),
753
- (359,149,76,99),
754
- (360,150,76,99),
755
- (361,151,76,99),
756
- (362,152,76,99),
757
- (363,153,76,99),
758
- (364,154,76,99),
759
- (365,155,76,99),
760
- (366,156,76,99),
761
- (367,157,76,99),
762
- (368,158,76,99),
763
- (369,159,76,99),
764
- (370,160,76,99),
765
- (371,161,76,99),
766
- (372,162,76,99),
767
- (373,163,76,99),
768
- (374,164,76,99),
769
- (375,165,76,99),
770
- (376,166,76,99),
771
- (377,167,76,99),
772
- (378,168,76,99),
773
- (379,169,76,99),
774
- (380,170,76,99),
775
- (381,171,76,99),
776
- (382,172,76,99),
777
- (383,173,76,99),
778
- (384,174,76,99),
779
- (385,175,76,99),
780
- (386,176,76,99),
781
- (387,177,76,99),
782
- (388,178,76,99),
783
- (389,179,76,99),
784
- (390,180,76,99),
785
- (391,181,76,99),
786
- (392,182,76,99),
787
- (393,183,76,99),
788
- (394,184,76,99),
789
- (395,185,76,99),
790
- (396,186,76,99),
791
- (397,187,76,99),
792
- (398,188,76,99),
793
- (399,189,76,99),
794
- (400,190,76,99),
795
- (401,191,76,99),
796
- (402,192,76,99),
797
- (403,193,76,99),
798
- (404,194,76,99),
799
- (405,195,76,99),
800
- (406,196,76,99),
801
- (407,197,76,99),
802
- (408,198,76,99),
803
- (409,199,76,99),
804
- (410,200,76,99),
805
- (411,201,76,99),
806
- (412,202,76,99),
807
- (413,203,76,99),
808
- (414,204,76,99),
809
- (415,205,76,99),
810
- (416,206,76,99),
811
- (417,207,76,99),
812
- (418,208,76,99),
813
- (419,209,76,99),
814
- (420,210,76,99),
815
- (421,211,76,99),
816
- (422,212,76,99),
817
- (423,213,76,99),
818
- (424,214,76,99),
819
- (425,215,76,99),
820
- (426,216,76,99),
821
- (427,217,76,99),
822
- (428,218,76,99),
823
- (429,219,76,99),
824
- (430,220,76,99),
825
- (431,221,76,99),
826
- (432,222,76,99),
827
- (433,223,76,99),
828
- (434,224,76,99),
829
- (435,225,76,99),
830
- (436,226,76,99),
831
- (437,227,76,99),
832
- (438,228,76,99),
833
- (439,229,76,99),
834
- (440,230,76,99),
835
- (441,231,76,99),
836
- (442,232,76,99),
837
- (443,233,76,99),
838
- (444,234,76,99),
839
- (445,235,76,99),
840
- (446,236,76,99),
841
- (447,237,76,99),
842
- (448,238,76,99),
843
- (449,239,76,99),
844
- (450,240,76,99),
845
- (451,241,76,99),
846
- (452,242,76,99),
847
- (453,243,76,99),
848
- (454,244,76,99),
849
- (690,1,69,1);
850
-
851
- ");
852
- $installer->endSetup();
853
- ?>
1
+ <?php
2
+ //die('Trying to setup Smart2Pay_Globalpay database');
3
+
4
+ $installer = $this;
5
+ $installer->startSetup();
6
+ $installer->run("
7
+
8
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
9
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
10
+ `log_id` int(11) NOT NULL auto_increment,
11
+ `log_type` varchar(255) collate utf8_unicode_ci default NULL,
12
+ `log_message` text collate utf8_unicode_ci default NULL,
13
+ `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
14
+ `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
15
+ `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
16
+ PRIMARY KEY (`log_id`)
17
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
18
+
19
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
20
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
21
+ `method_id` int(11) NOT NULL auto_increment,
22
+ `display_name` varchar(255) collate utf8_unicode_ci default NULL,
23
+ `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
24
+ `description` text collate utf8_unicode_ci,
25
+ `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
26
+ `guaranteed` int(1) default NULL,
27
+ `active` int(1) default NULL,
28
+ PRIMARY KEY (`method_id`)
29
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
30
+
31
+ INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
32
+ (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v6.png', 1, 1),
33
+ (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.png', 1, 1),
34
+ (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.png', 1, 1),
35
+ (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.png', 1, 1),
36
+ (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.png', 1, 1),
37
+ (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.png', 1, 1),
38
+ (9, 'Sofort Banking', 'dp24', 'Sofort Banking description', 'dp24_sofort.png', 0, 1),
39
+ (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.png', 1, 1),
40
+ (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.png', 1, 1),
41
+ (14, 'CashU', 'cashu', 'CashU description', 'cashu.png', 1, 1),
42
+ (18, 'POLi', 'poli', 'POLi description', 'poli.png', 0, 1),
43
+ (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail.png', 0, 1),
44
+ (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.png', 1, 1),
45
+ (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta.png', 1, 1),
46
+ (23, 'Paysera', 'paysera', 'Paysera description', 'paysera.gif', 1, 1),
47
+ (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.png', 1, 1),
48
+ (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.png', 1, 1),
49
+ (27, 'ePlatby for eKonto', 'ebanka', 'eBanka description', 'eKonto.png', 1, 1),
50
+ (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.png', 1, 1),
51
+ (29, 'Trustly', 'trustly', 'Trustly description', 'trustly.png', 1, 1),
52
+ (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.gif', 1, 1),
53
+ (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.png', 1, 1),
54
+ (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
55
+ (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.png', 0, 1),
56
+ (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.png', 0, 1),
57
+ (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.png', 1, 1),
58
+ (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.png', 1, 1),
59
+ (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.png', 1, 0),
60
+ (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.png', 0, 1),
61
+ (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.png', 1, 1),
62
+ (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.png', 0, 1),
63
+ (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.png', 0, 1),
64
+ (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.png', 1, 1),
65
+ (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
66
+ (62, 'Tenpay','tenpay','Tenpay description','tenpay.png',1,1),
67
+ (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
68
+ (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangir_cart.gif', 1, 1),
69
+ (65, 'Paytrail', 'paytrail', 'Paytrail description', 'paytrail.gif', 1,1),
70
+ (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
71
+ (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragon_pay.png', 1 , 1),
72
+ (69, 'Credit Card', 's2pcards', 'S2PCards Description', 's2p_cards.gif', 0,1),
73
+ (72, 'PagoEfectivo', 'pagoefectivo', 'PagoEfectivo Description', 'pago_efectivo.gif', 1,1),
74
+ (73, 'MyBank', 'mybank', 'MyBank Description', 'mybank.png',1,1),
75
+ (74, 'Yandex.Money', 'yandexmoney', 'YandexMoney description', 'yandex_money.png', 1,1),
76
+ (76, 'Bitcoin', 'bitcoin', 'Bitcoin description', 'bitcoin.png', 1,1),
77
+ (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto_bancario.png', 1, 1),
78
+ (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.png', 1, 1),
79
+ (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.png', 1, 1),
80
+ (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet.png', 1, 1),
81
+ (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.png', 1, 1),
82
+ (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon.png', 1, 1),
83
+ (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
84
+ (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney.png', 1, 1),
85
+ (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex.png', 1, 1),
86
+ (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
87
+ (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambank_group.png', 1, 1),
88
+ (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.png', 1, 1),
89
+ (1012, 'FPX', 'asiapay', 'FPX description', 'fpx.png', 1, 1),
90
+ (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.png', 1, 1),
91
+ (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.png', 1, 1),
92
+ (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.png', 1, 1),
93
+ (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.png', 1, 1),
94
+ (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.png', 1, 1),
95
+ (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
96
+ (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.gif', 1, 1),
97
+ (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.png', 1, 1),
98
+ (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ach.png', 1, 1),
99
+ (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_via_baloto.png', 1, 1),
100
+ (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.png', 1, 1),
101
+ (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.png', 1, 1),
102
+ (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'xltunai.png', 1, 1),
103
+ (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.png', 1, 1),
104
+ (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
105
+ (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
106
+ (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7-Eleven.gif', 1, 1),
107
+ (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
108
+ (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
109
+ (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
110
+ (1034, 'PayPal Thailand', 'paysbuy', 'PayPalThailand description', 'paypal.png', 1, 1),
111
+ (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.png', 1, 1),
112
+ (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'counter-service-thailand_paysbuy-cash.png', 1, 1),
113
+ (1037, 'Online Banking Thailand', 'paysbuy', 'OnlineBankingThailand description', 'online_banking_thailanda.png', 1, 1),
114
+ (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.png', 1, 1),
115
+ (1039, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Chile description', 'pagos_en_efectivo_servipag_bci_chile.png', 1, 1),
116
+ (1040, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Argentina description', 'argentina_banks.png', 1,1),
117
+ (1041, 'OP-Pohjola', 'paytrail', 'OP-Pohjola description', 'op-pohjola.png', 1, 1),
118
+ (1042, 'Nordea', 'paytrail','Nordea description', 'nordea.png', 1,1),
119
+ (1043, 'Danske bank', 'paytrail','Danske description', 'danske_bank.png', 1,1),
120
+ (1044, 'Cash-in', 'yandexmoney','Cash-in description', 'cashinyandex.gif', 1,1),
121
+ (1045, 'Cards Russia', 'yandexmoney','Cards Russia description', 's2p_cards.gif', 1,1);
122
+
123
+
124
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
125
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
126
+ `country_id` int(11) NOT NULL auto_increment,
127
+ `code` varchar(3) collate utf8_unicode_ci default NULL,
128
+ `name` varchar(100) collate utf8_unicode_ci default NULL,
129
+ PRIMARY KEY (`country_id`)
130
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
131
+
132
+ INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
133
+ (1, 'AD', 'Andorra'),
134
+ (2, 'AE', 'United Arab Emirates'),
135
+ (3, 'AF', 'Afghanistan'),
136
+ (4, 'AG', 'Antigua and Barbuda'),
137
+ (5, 'AI', 'Anguilla'),
138
+ (6, 'AL', 'Albania'),
139
+ (7, 'AM', 'Armenia'),
140
+ (8, 'AN', 'Netherlands Antilles'),
141
+ (9, 'AO', 'Angola'),
142
+ (10, 'AQ', 'Antarctica'),
143
+ (11, 'AR', 'Argentina'),
144
+ (12, 'AS', 'American Samoa'),
145
+ (13, 'AT', 'Austria'),
146
+ (14, 'AU', 'Australia'),
147
+ (15, 'AW', 'Aruba'),
148
+ (16, 'AZ', 'Azerbaijan'),
149
+ (17, 'BA', 'Bosnia & Herzegowina'),
150
+ (18, 'BB', 'Barbados'),
151
+ (19, 'BD', 'Bangladesh'),
152
+ (20, 'BE', 'Belgium'),
153
+ (21, 'BF', 'Burkina Faso'),
154
+ (22, 'BG', 'Bulgaria'),
155
+ (23, 'BH', 'Bahrain'),
156
+ (24, 'BI', 'Burundi'),
157
+ (25, 'BJ', 'Benin'),
158
+ (26, 'BM', 'Bermuda'),
159
+ (27, 'BN', 'Brunei Darussalam'),
160
+ (28, 'BO', 'Bolivia'),
161
+ (29, 'BR', 'Brazil'),
162
+ (30, 'BS', 'Bahamas'),
163
+ (31, 'BT', 'Bhutan'),
164
+ (32, 'BV', 'Bouvet Island'),
165
+ (33, 'BW', 'Botswana'),
166
+ (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
167
+ (35, 'BZ', 'Belize'),
168
+ (36, 'CA', 'Canada'),
169
+ (37, 'CC', 'Cocos (Keeling) Islands'),
170
+ (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
171
+ (39, 'CF', 'Central African Republic'),
172
+ (40, 'CG', 'Congo'),
173
+ (41, 'CH', 'Switzerland'),
174
+ (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
175
+ (43, 'CK', 'Cook Islands'),
176
+ (44, 'CL', 'Chile'),
177
+ (45, 'CM', 'Cameroon'),
178
+ (46, 'CN', 'China'),
179
+ (47, 'CO', 'Colombia'),
180
+ (48, 'CR', 'Costa Rica'),
181
+ (50, 'CU', 'Cuba'),
182
+ (51, 'CV', 'Cape Verde'),
183
+ (52, 'CX', 'Christmas Island'),
184
+ (53, 'CY', 'Cyprus'),
185
+ (54, 'CZ', 'Czech Republic'),
186
+ (55, 'DE', 'Germany'),
187
+ (56, 'DJ', 'Djibouti'),
188
+ (57, 'DK', 'Denmark'),
189
+ (58, 'DM', 'Dominica'),
190
+ (59, 'DO', 'Dominican Republic'),
191
+ (60, 'DZ', 'Algeria'),
192
+ (61, 'EC', 'Ecuador'),
193
+ (62, 'EE', 'Estonia'),
194
+ (63, 'EG', 'Egypt'),
195
+ (64, 'EH', 'Western Sahara'),
196
+ (65, 'ER', 'Eritrea'),
197
+ (66, 'ES', 'Spain'),
198
+ (67, 'ET', 'Ethiopia'),
199
+ (68, 'FI', 'Finland'),
200
+ (69, 'FJ', 'Fiji Islands'),
201
+ (70, 'FK', 'Falkland Islands (Malvinas)'),
202
+ (71, 'FM', 'Micronesia, Federated States of'),
203
+ (72, 'FO', 'Faroe Islands'),
204
+ (73, 'FR', 'France'),
205
+ (74, 'FX', 'France, Metropolitan'),
206
+ (75, 'GA', 'Gabon'),
207
+ (76, 'GB', 'United Kingdom'),
208
+ (77, 'GD', 'Grenada'),
209
+ (78, 'GE', 'Georgia'),
210
+ (79, 'GF', 'French Guiana'),
211
+ (80, 'GH', 'Ghana'),
212
+ (81, 'GI', 'Gibraltar'),
213
+ (82, 'GL', 'Greenland'),
214
+ (83, 'GM', 'Gambia'),
215
+ (84, 'GN', 'Guinea'),
216
+ (85, 'GP', 'Guadeloupe'),
217
+ (86, 'GQ', 'Equatorial Guinea'),
218
+ (87, 'GR', 'Greece'),
219
+ (88, 'GS', 'South Georgia and the South Sandwich Islands'),
220
+ (89, 'GT', 'Guatemala'),
221
+ (90, 'GU', 'Guam'),
222
+ (91, 'GW', 'Guinea-Bissau'),
223
+ (92, 'GY', 'Guyana'),
224
+ (93, 'HK', 'Hong Kong'),
225
+ (94, 'HM', 'Heard and McDonald Islands'),
226
+ (95, 'HN', 'Honduras'),
227
+ (96, 'HR', 'Croatia (local name: Hrvatska)'),
228
+ (97, 'HT', 'Haiti'),
229
+ (98, 'HU', 'Hungary'),
230
+ (99, 'ID', 'Indonesia'),
231
+ (100, 'IE', 'Ireland'),
232
+ (101, 'IL', 'Israel'),
233
+ (102, 'IN', 'India'),
234
+ (103, 'IO', 'British Indian Ocean Territory'),
235
+ (104, 'IQ', 'Iraq'),
236
+ (105, 'IR', 'Iran, Islamic Republic of'),
237
+ (106, 'IS', 'Iceland'),
238
+ (107, 'IT', 'Italy'),
239
+ (108, 'JM', 'Jamaica'),
240
+ (109, 'JO', 'Jordan'),
241
+ (110, 'JP', 'Japan'),
242
+ (111, 'KE', 'Kenya'),
243
+ (112, 'KG', 'Kyrgyzstan'),
244
+ (113, 'KH', 'Cambodia (formerly Kampuchea)'),
245
+ (114, 'KI', 'Kiribati'),
246
+ (115, 'KM', 'Comoros'),
247
+ (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
248
+ (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
249
+ (118, 'KR', 'Korea, Republic of (South Korea)'),
250
+ (119, 'KW', 'Kuwait'),
251
+ (120, 'KY', 'Cayman Islands'),
252
+ (121, 'KZ', 'Kazakhstan'),
253
+ (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
254
+ (123, 'LB', 'Lebanon'),
255
+ (124, 'LC', 'Saint Lucia'),
256
+ (125, 'LI', 'Liechtenstein'),
257
+ (126, 'LK', 'Sri Lanka'),
258
+ (127, 'LR', 'Liberia'),
259
+ (128, 'LS', 'Lesotho'),
260
+ (129, 'LT', 'Lithuania'),
261
+ (130, 'LU', 'Luxembourg'),
262
+ (131, 'LV', 'Latvia'),
263
+ (132, 'LY', 'Libyan Arab Jamahiriya'),
264
+ (133, 'MA', 'Morocco'),
265
+ (134, 'MC', 'Monaco'),
266
+ (135, 'MD', 'Moldova, Republic of'),
267
+ (136, 'MG', 'Madagascar'),
268
+ (137, 'MH', 'Marshall Islands'),
269
+ (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
270
+ (139, 'ML', 'Mali'),
271
+ (140, 'MM', 'Myanmar (formerly Burma)'),
272
+ (141, 'MN', 'Mongolia'),
273
+ (142, 'MO', 'Macao (also spelled Macau)'),
274
+ (143, 'MP', 'Northern Mariana Islands'),
275
+ (144, 'MQ', 'Martinique'),
276
+ (145, 'MR', 'Mauritania'),
277
+ (146, 'MS', 'Montserrat'),
278
+ (147, 'MT', 'Malta'),
279
+ (148, 'MU', 'Mauritius'),
280
+ (149, 'MV', 'Maldives'),
281
+ (150, 'MW', 'Malawi'),
282
+ (151, 'MX', 'Mexico'),
283
+ (152, 'MY', 'Malaysia'),
284
+ (153, 'MZ', 'Mozambique'),
285
+ (154, 'NA', 'Namibia'),
286
+ (155, 'NC', 'New Caledonia'),
287
+ (156, 'NE', 'Niger'),
288
+ (157, 'NF', 'Norfolk Island'),
289
+ (158, 'NG', 'Nigeria'),
290
+ (159, 'NI', 'Nicaragua'),
291
+ (160, 'NL', 'Netherlands'),
292
+ (161, 'NO', 'Norway'),
293
+ (162, 'NP', 'Nepal'),
294
+ (163, 'NR', 'Nauru'),
295
+ (164, 'NU', 'Niue'),
296
+ (165, 'NZ', 'New Zealand'),
297
+ (166, 'OM', 'Oman'),
298
+ (167, 'PA', 'Panama'),
299
+ (168, 'PE', 'Peru'),
300
+ (169, 'PF', 'French Polynesia'),
301
+ (170, 'PG', 'Papua New Guinea'),
302
+ (171, 'PH', 'Philippines'),
303
+ (172, 'PK', 'Pakistan'),
304
+ (173, 'PL', 'Poland'),
305
+ (174, 'PM', 'St Pierre and Miquelon'),
306
+ (175, 'PN', 'Pitcairn Island'),
307
+ (176, 'PR', 'Puerto Rico'),
308
+ (177, 'PT', 'Portugal'),
309
+ (178, 'PW', 'Palau'),
310
+ (179, 'PY', 'Paraguay'),
311
+ (180, 'QA', 'Qatar'),
312
+ (181, 'RE', 'R'),
313
+ (182, 'RO', 'Romania'),
314
+ (183, 'RU', 'Russian Federation'),
315
+ (184, 'RW', 'Rwanda'),
316
+ (185, 'SA', 'Saudi Arabia'),
317
+ (186, 'SB', 'Solomon Islands'),
318
+ (187, 'SC', 'Seychelles'),
319
+ (188, 'SD', 'Sudan'),
320
+ (189, 'SE', 'Sweden'),
321
+ (190, 'SG', 'Singapore'),
322
+ (191, 'SH', 'St Helena'),
323
+ (192, 'SI', 'Slovenia'),
324
+ (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
325
+ (194, 'SK', 'Slovakia'),
326
+ (195, 'SL', 'Sierra Leone'),
327
+ (196, 'SM', 'San Marino'),
328
+ (197, 'SN', 'Senegal'),
329
+ (198, 'SO', 'Somalia'),
330
+ (199, 'SR', 'Suriname'),
331
+ (200, 'ST', 'Sco Tom'),
332
+ (201, 'SU', 'Union of Soviet Socialist Republics'),
333
+ (202, 'SV', 'El Salvador'),
334
+ (203, 'SY', 'Syrian Arab Republic'),
335
+ (204, 'SZ', 'Swaziland'),
336
+ (205, 'TC', 'Turks and Caicos Islands'),
337
+ (206, 'TD', 'Chad'),
338
+ (207, 'TF', 'French Southern and Antarctic Territories'),
339
+ (208, 'TG', 'Togo'),
340
+ (209, 'TH', 'Thailand'),
341
+ (210, 'TJ', 'Tajikistan'),
342
+ (211, 'TK', 'Tokelau'),
343
+ (212, 'TM', 'Turkmenistan'),
344
+ (213, 'TN', 'Tunisia'),
345
+ (214, 'TO', 'Tonga'),
346
+ (215, 'TP', 'East Timor'),
347
+ (216, 'TR', 'Turkey'),
348
+ (217, 'TT', 'Trinidad and Tobago'),
349
+ (218, 'TV', 'Tuvalu'),
350
+ (219, 'TW', 'Taiwan, Province of China'),
351
+ (220, 'TZ', 'Tanzania, United Republic of'),
352
+ (221, 'UA', 'Ukraine'),
353
+ (222, 'UG', 'Uganda'),
354
+ (223, 'UM', 'United States Minor Outlying Islands'),
355
+ (224, 'US', 'United States of America'),
356
+ (225, 'UY', 'Uruguay'),
357
+ (226, 'UZ', 'Uzbekistan'),
358
+ (227, 'VA', 'Holy See (Vatican City State)'),
359
+ (228, 'VC', 'Saint Vincent and the Grenadines'),
360
+ (229, 'VE', 'Venezuela'),
361
+ (230, 'VG', 'Virgin Islands (British)'),
362
+ (231, 'VI', 'Virgin Islands (US)'),
363
+ (232, 'VN', 'Viet Nam'),
364
+ (233, 'VU', 'Vanautu'),
365
+ (234, 'WF', 'Wallis and Futuna Islands'),
366
+ (235, 'WS', 'Samoa'),
367
+ (236, 'XO', 'West Africa'),
368
+ (237, 'YE', 'Yemen'),
369
+ (238, 'YT', 'Mayotte'),
370
+ (239, 'ZA', 'South Africa'),
371
+ (240, 'ZM', 'Zambia'),
372
+ (241, 'ZW', 'Zimbabwe'),
373
+ (242, 'PS', 'Palestinian Territory'),
374
+ (243, 'RS', 'Serbia'),
375
+ (244, 'ME', 'Montenegro');
376
+
377
+
378
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
379
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
380
+ `id` int(11) NOT NULL auto_increment,
381
+ `country_id` int(11) default NULL,
382
+ `method_id` int(11) default NULL,
383
+ `priority` int(2) default NULL,
384
+ PRIMARY KEY (`id`)
385
+ ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
386
+ INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
387
+ (1,2,13,1),
388
+ (2,2,14,2),
389
+ (3,11,19,1),
390
+ (4,11,1040,2),
391
+ (5,13,1,5),
392
+ (6,13,5,1),
393
+ (7,13,9,3),
394
+ (8,13,28,4),
395
+ (9,13,40,2),
396
+ (10,14,18,1),
397
+ (11,14,28,2),
398
+ (12,20,1,4),
399
+ (13,20,3,1),
400
+ (14,20,28,5),
401
+ (15,20,40,2),
402
+ (1500,20,9,3),
403
+ (16,22,63,2),
404
+ (17,22,1,1),
405
+ (18,23,13,1),
406
+ (19,23,14,2),
407
+ (20,29,32,2),
408
+ (21,29,34,3),
409
+ (22,29,43,7),
410
+ (23,29,46,1),
411
+ (24,29,1000,4),
412
+ (25,29,1001,5),
413
+ (26,29,1002,6),
414
+ (27,29,19,8),
415
+ (28,36,8,1),
416
+ (29,36,28,2),
417
+ (30,41,1,1),
418
+ (31,41,9,2),
419
+ (32,44,19,1),
420
+ (33,44,1039,2),
421
+ (34,46,24,1),
422
+ (35,46,28,3),
423
+ (36,46,62,2),
424
+ (37,47,1019,1),
425
+ (38,47,1020,2),
426
+ (39,47,1021,3),
427
+ (40,47,1022,4),
428
+ (41,47,1023,5),
429
+ (42,53,13,2),
430
+ (43,53,14,3),
431
+ (44,53,28,1),
432
+ (45,54,63,2),
433
+ (46,54,1,3),
434
+ (47,54,27,1),
435
+ (48,54,28,4),
436
+ (49,55,1,6),
437
+ (50,55,4,1),
438
+ (51,55,9,2),
439
+ (53,55,28,4),
440
+ (54,55,40,3),
441
+ (55,57,1,3),
442
+ (56,57,28,4),
443
+ (57,57,29,1),
444
+ (5700,57,40,2),
445
+ (58,60,14,1),
446
+ (59,62,1,5),
447
+ (60,62,23,1),
448
+ (61,62,28,4),
449
+ (62,62,29,2),
450
+ (63,62,63,3),
451
+ (64,63,13,1),
452
+ (65,63,14,2),
453
+ (66,66,1,3),
454
+ (67,66,14,6),
455
+ (68,66,28,5),
456
+ (69,66,29,1),
457
+ (691,66,40,4),
458
+ (692,66,9,2),
459
+ (70,68,1,5),
460
+ (71,68,28,6),
461
+ (72,68,29,7),
462
+ (73,68,65,4),
463
+ (74,68,1041,1),
464
+ (75,68,1042,2),
465
+ (76,68,1043,3),
466
+ (77,73,1,1),
467
+ (79,73,28,5),
468
+ (80,73,40,2),
469
+ (8000,73,9,3),
470
+ (81,76,1,2),
471
+ (82,76,40,4),
472
+ (83,76,9,1),
473
+ (84,76,14,5),
474
+ (85,76,28,3),
475
+ (86,87,28,2),
476
+ (860,87,40,1),
477
+ (865,96,63,1),
478
+ (87,98,1,4),
479
+ (88,98,25,1),
480
+ (89,98,28,2),
481
+ (90,98,63,3),
482
+ (91,99,1024,1),
483
+ (92,99,1025,2),
484
+ (93,100,1,2),
485
+ (94,100,14,3),
486
+ (95,100,28,1),
487
+ (96,101,13,1),
488
+ (97,101,14,2),
489
+ (98,104,13,1),
490
+ (99,104,14,2),
491
+ (100,107,1,3),
492
+ (102,107,40,2),
493
+ (103,107,9,4),
494
+ (104,107,73,1),
495
+ (105,107,28,6),
496
+ (106,109,13,1),
497
+ (107,109,14,2),
498
+ (108,119,13,1),
499
+ (109,121,1003,1),
500
+ (110,123,13,1),
501
+ (111,123,14,2),
502
+ (112,129,1,3),
503
+ (113,129,23,1),
504
+ (114,129,63,2),
505
+ (115,130,1,1),
506
+ (116,131,23,1),
507
+ (117,131,28,3),
508
+ (118,131,63,2),
509
+ (119,131,14,1),
510
+ (120,151,19,2),
511
+ (121,151,28,10),
512
+ (122,151,49,1),
513
+ (123,151,1026,4),
514
+ (124,151,1027,5),
515
+ (125,151,1028,6),
516
+ (126,151,1029,7),
517
+ (127,151,1030,9),
518
+ (128,151,1031,9),
519
+ (693,151,46,3),
520
+ (129,152,1009,1),
521
+ (130,152,1010,2),
522
+ (131,152,1011,3),
523
+ (132,152,1012,4),
524
+ (133,152,1013,5),
525
+ (134,152,1014,6),
526
+ (135,152,1015,7),
527
+ (136,152,1016,8),
528
+ (137,152,1017,9),
529
+ (138,152,1018,10),
530
+ (139,158,14,1),
531
+ (140,160,1,5),
532
+ (141,160,2,1),
533
+ (142,160,9,2),
534
+ (143,160,28,4),
535
+ (144,160,40,3),
536
+ (145,161,1,1),
537
+ (146,161,28,3),
538
+ (147,161,29,2),
539
+ (148,165,18,2),
540
+ (149,165,28,2),
541
+ (150,166,13,1),
542
+ (151,166,14,2),
543
+ (1510,168,72,1),
544
+ (153,171,67,2),
545
+ (154,173,1,2),
546
+ (155,173,12,1),
547
+ (156,173,14,4),
548
+ (157,173,28,3),
549
+ (158,177,1,4),
550
+ (160,177,20,1),
551
+ (161,177,28,2),
552
+ (1610,177,40,3),
553
+ (162,242,13,1),
554
+ (163,242,14,1),
555
+ (164,180,13,1),
556
+ (165,180,14,2),
557
+ (166,182,1,2),
558
+ (167,182,40,1),
559
+ (168,182,63,3),
560
+ (169,183,22,3),
561
+ (170,183,28,8),
562
+ (171,183,1003,1),
563
+ (172,183,1004,5),
564
+ (173,183,1005,6),
565
+ (174,183,1006,7),
566
+ (175,183,1008,4),
567
+ (176,183,74,2),
568
+ (1760,183,1007,8),
569
+ (694,183,1044,9),
570
+ (695,183,1045,10),
571
+ (177,185,13,1),
572
+ (178,185,14,2),
573
+ (179,188,14,1),
574
+ (180,189,1,2),
575
+ (181,189,28,3),
576
+ (182,189,29,1),
577
+ (183,190,37,1),
578
+ (184,192,14,3),
579
+ (185,192,28,2),
580
+ (186,192,63,1),
581
+ (187,194,1,1),
582
+ (188,194,63,2),
583
+ (189,209,35,1),
584
+ (190,209,1033,7),
585
+ (191,209,1034,6),
586
+ (192,209,1035,5),
587
+ (193,209,1036,3),
588
+ (194,209,1037,4),
589
+ (195,209,1038,2),
590
+ (196,213,13,1),
591
+ (197,213,14,2),
592
+ (198,216,1,1),
593
+ (199,216,13,4),
594
+ (200,216,14,5),
595
+ (201,216,28,6),
596
+ (202,216,66,2),
597
+ (203,216,64,3),
598
+ (204,221,22,1),
599
+ (205,221,28,4),
600
+ (206,221,1007,3),
601
+ (207,221,1008,4),
602
+ (208,221,1003,2),
603
+ (209,224,36,1),
604
+ (2090,224,58,2),
605
+ (210,239,28,1),
606
+ (211,1,76,99),
607
+ (212,2,76,99),
608
+ (213,3,76,99),
609
+ (214,4,76,99),
610
+ (215,5,76,99),
611
+ (216,6,76,99),
612
+ (217,7,76,99),
613
+ (218,8,76,99),
614
+ (219,9,76,99),
615
+ (220,10,76,99),
616
+ (221,11,76,99),
617
+ (222,12,76,99),
618
+ (223,13,76,99),
619
+ (224,14,76,99),
620
+ (225,15,76,99),
621
+ (226,16,76,99),
622
+ (227,17,76,99),
623
+ (228,18,76,99),
624
+ (229,19,76,99),
625
+ (230,20,76,99),
626
+ (231,21,76,99),
627
+ (232,22,76,99),
628
+ (233,23,76,99),
629
+ (234,24,76,99),
630
+ (235,25,76,99),
631
+ (236,26,76,99),
632
+ (237,27,76,99),
633
+ (238,28,76,99),
634
+ (239,29,76,99),
635
+ (240,30,76,99),
636
+ (241,31,76,99),
637
+ (242,32,76,99),
638
+ (243,33,76,99),
639
+ (244,34,76,99),
640
+ (245,35,76,99),
641
+ (246,36,76,99),
642
+ (247,37,76,99),
643
+ (248,38,76,99),
644
+ (249,39,76,99),
645
+ (250,40,76,99),
646
+ (251,41,76,99),
647
+ (252,42,76,99),
648
+ (253,43,76,99),
649
+ (254,44,76,99),
650
+ (255,45,76,99),
651
+ (256,46,76,99),
652
+ (257,47,76,99),
653
+ (258,48,76,99),
654
+ (260,50,76,99),
655
+ (261,51,76,99),
656
+ (262,52,76,99),
657
+ (263,53,76,99),
658
+ (264,54,76,99),
659
+ (265,55,76,99),
660
+ (266,56,76,99),
661
+ (267,57,76,99),
662
+ (268,58,76,99),
663
+ (269,59,76,99),
664
+ (270,60,76,99),
665
+ (271,61,76,99),
666
+ (272,62,76,99),
667
+ (273,63,76,99),
668
+ (274,64,76,99),
669
+ (275,65,76,99),
670
+ (276,66,76,99),
671
+ (277,67,76,99),
672
+ (278,68,76,99),
673
+ (279,69,76,99),
674
+ (280,70,76,99),
675
+ (281,71,76,99),
676
+ (282,72,76,99),
677
+ (283,73,76,99),
678
+ (284,74,76,99),
679
+ (285,75,76,99),
680
+ (286,76,76,99),
681
+ (287,77,76,99),
682
+ (288,78,76,99),
683
+ (289,79,76,99),
684
+ (290,80,76,99),
685
+ (291,81,76,99),
686
+ (292,82,76,99),
687
+ (293,83,76,99),
688
+ (294,84,76,99),
689
+ (295,85,76,99),
690
+ (296,86,76,99),
691
+ (297,87,76,99),
692
+ (298,88,76,99),
693
+ (299,89,76,99),
694
+ (300,90,76,99),
695
+ (301,91,76,99),
696
+ (302,92,76,99),
697
+ (303,93,76,99),
698
+ (304,94,76,99),
699
+ (305,95,76,99),
700
+ (306,96,76,99),
701
+ (307,97,76,99),
702
+ (308,98,76,99),
703
+ (309,99,76,99),
704
+ (310,100,76,99),
705
+ (311,101,76,99),
706
+ (312,102,76,99),
707
+ (313,103,76,99),
708
+ (314,104,76,99),
709
+ (315,105,76,99),
710
+ (316,106,76,99),
711
+ (317,107,76,99),
712
+ (318,108,76,99),
713
+ (319,109,76,99),
714
+ (320,110,76,99),
715
+ (321,111,76,99),
716
+ (322,112,76,99),
717
+ (323,113,76,99),
718
+ (324,114,76,99),
719
+ (325,115,76,99),
720
+ (326,116,76,99),
721
+ (327,117,76,99),
722
+ (328,118,76,99),
723
+ (329,119,76,99),
724
+ (330,120,76,99),
725
+ (331,121,76,99),
726
+ (332,122,76,99),
727
+ (333,123,76,99),
728
+ (334,124,76,99),
729
+ (335,125,76,99),
730
+ (336,126,76,99),
731
+ (337,127,76,99),
732
+ (338,128,76,99),
733
+ (339,129,76,99),
734
+ (340,130,76,99),
735
+ (341,131,76,99),
736
+ (342,132,76,99),
737
+ (343,133,76,99),
738
+ (344,134,76,99),
739
+ (345,135,76,99),
740
+ (346,136,76,99),
741
+ (347,137,76,99),
742
+ (348,138,76,99),
743
+ (349,139,76,99),
744
+ (350,140,76,99),
745
+ (351,141,76,99),
746
+ (352,142,76,99),
747
+ (353,143,76,99),
748
+ (354,144,76,99),
749
+ (355,145,76,99),
750
+ (356,146,76,99),
751
+ (357,147,76,99),
752
+ (358,148,76,99),
753
+ (359,149,76,99),
754
+ (360,150,76,99),
755
+ (361,151,76,99),
756
+ (362,152,76,99),
757
+ (363,153,76,99),
758
+ (364,154,76,99),
759
+ (365,155,76,99),
760
+ (366,156,76,99),
761
+ (367,157,76,99),
762
+ (368,158,76,99),
763
+ (369,159,76,99),
764
+ (370,160,76,99),
765
+ (371,161,76,99),
766
+ (372,162,76,99),
767
+ (373,163,76,99),
768
+ (374,164,76,99),
769
+ (375,165,76,99),
770
+ (376,166,76,99),
771
+ (377,167,76,99),
772
+ (378,168,76,99),
773
+ (379,169,76,99),
774
+ (380,170,76,99),
775
+ (381,171,76,99),
776
+ (382,172,76,99),
777
+ (383,173,76,99),
778
+ (384,174,76,99),
779
+ (385,175,76,99),
780
+ (386,176,76,99),
781
+ (387,177,76,99),
782
+ (388,178,76,99),
783
+ (389,179,76,99),
784
+ (390,180,76,99),
785
+ (391,181,76,99),
786
+ (392,182,76,99),
787
+ (393,183,76,99),
788
+ (394,184,76,99),
789
+ (395,185,76,99),
790
+ (396,186,76,99),
791
+ (397,187,76,99),
792
+ (398,188,76,99),
793
+ (399,189,76,99),
794
+ (400,190,76,99),
795
+ (401,191,76,99),
796
+ (402,192,76,99),
797
+ (403,193,76,99),
798
+ (404,194,76,99),
799
+ (405,195,76,99),
800
+ (406,196,76,99),
801
+ (407,197,76,99),
802
+ (408,198,76,99),
803
+ (409,199,76,99),
804
+ (410,200,76,99),
805
+ (411,201,76,99),
806
+ (412,202,76,99),
807
+ (413,203,76,99),
808
+ (414,204,76,99),
809
+ (415,205,76,99),
810
+ (416,206,76,99),
811
+ (417,207,76,99),
812
+ (418,208,76,99),
813
+ (419,209,76,99),
814
+ (420,210,76,99),
815
+ (421,211,76,99),
816
+ (422,212,76,99),
817
+ (423,213,76,99),
818
+ (424,214,76,99),
819
+ (425,215,76,99),
820
+ (426,216,76,99),
821
+ (427,217,76,99),
822
+ (428,218,76,99),
823
+ (429,219,76,99),
824
+ (430,220,76,99),
825
+ (431,221,76,99),
826
+ (432,222,76,99),
827
+ (433,223,76,99),
828
+ (434,224,76,99),
829
+ (435,225,76,99),
830
+ (436,226,76,99),
831
+ (437,227,76,99),
832
+ (438,228,76,99),
833
+ (439,229,76,99),
834
+ (440,230,76,99),
835
+ (441,231,76,99),
836
+ (442,232,76,99),
837
+ (443,233,76,99),
838
+ (444,234,76,99),
839
+ (445,235,76,99),
840
+ (446,236,76,99),
841
+ (447,237,76,99),
842
+ (448,238,76,99),
843
+ (449,239,76,99),
844
+ (450,240,76,99),
845
+ (451,241,76,99),
846
+ (452,242,76,99),
847
+ (453,243,76,99),
848
+ (454,244,76,99),
849
+ (690,1,69,1);
850
+
851
+ ");
852
+ $installer->endSetup();
853
+ ?>
app/code/community/Smart2Pay/Globalpay/sql/globalpay_setup/mysql4-upgrade-1.1.4-1.1.5.php ADDED
@@ -0,0 +1,869 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ //die('Trying to setup Smart2Pay_Globalpay database');
3
+
4
+ $installer = $this;
5
+ $installer->startSetup();
6
+ $installer->run("
7
+
8
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/transactionlogger')}`;
9
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/transactionlogger')}` (
10
+ `id` int(11) NOT NULL auto_increment,
11
+ `method_id` int(11) NOT NULL DEFAULT '0',
12
+ `payment_id` int(11) NOT NULL DEFAULT '0' COMMENT 'S2P transaction ID',
13
+ `merchant_transaction_id` varchar(100) DEFAULT NULL COMMENT 'Merchant order ID',
14
+ `site_id` int(11) NOT NULL DEFAULT '0' COMMENT 'S2P Site ID',
15
+ `extra_data` text COMMENT 'Key-Value extra details for transaction',
16
+ `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
17
+ `updated` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
18
+ PRIMARY KEY (`id`),
19
+ KEY `merchant_transaction_id` (`merchant_transaction_id`),
20
+ KEY `method_id` (`method_id`),
21
+ KEY `payment_id` (`payment_id`)
22
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Transaction details from backend script. Will be used in order details';
23
+
24
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/logger')}`;
25
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/logger')}` (
26
+ `log_id` int(11) NOT NULL auto_increment,
27
+ `log_type` varchar(255) collate utf8_unicode_ci default NULL,
28
+ `log_message` text collate utf8_unicode_ci default NULL,
29
+ `log_source_file` varchar(255) collate utf8_unicode_ci default NULL,
30
+ `log_source_file_line` varchar(255) collate utf8_unicode_ci default NULL,
31
+ `log_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
32
+ PRIMARY KEY (`log_id`)
33
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
34
+
35
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/method')}`;
36
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/method')}` (
37
+ `method_id` int(11) NOT NULL auto_increment,
38
+ `display_name` varchar(255) collate utf8_unicode_ci default NULL,
39
+ `provider_value` varchar(255) collate utf8_unicode_ci default NULL,
40
+ `description` text collate utf8_unicode_ci,
41
+ `logo_url` varchar(255) collate utf8_unicode_ci default NULL,
42
+ `guaranteed` int(1) default NULL,
43
+ `active` int(1) default NULL,
44
+ PRIMARY KEY (`method_id`)
45
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
46
+
47
+ INSERT INTO `{$installer->getTable('globalpay/method')}` (`method_id`, `display_name`, `provider_value`, `description`, `logo_url`, `guaranteed`, `active`) VALUES
48
+ (1, 'Bank Transfer', 'banktransfer', 'Bank Transfer description', 'bank_transfer_logo_v6.png', 1, 1),
49
+ (2, 'iDEAL', 'ideal', 'iDEAL description', 'ideal.png', 1, 1),
50
+ (3, 'MrCash', 'mrcash', 'MrCash description', 'mrcash.png', 1, 1),
51
+ (4, 'Giropay', 'giropay', 'Giropay description', 'giropay.png', 1, 1),
52
+ (5, 'EPS', 'eps', 'EPS description', 'eps-e-payment-standard.png', 1, 1),
53
+ (8, 'UseMyFunds', 'umb', 'UseMyFunds description', 'umb.png', 1, 1),
54
+ (9, 'Sofort Banking', 'dp24', 'Sofort Banking description', 'dp24_sofort.png', 0, 1),
55
+ (12, 'Przelewy24', 'p24', 'Przelewy24 description', 'p24.png', 1, 1),
56
+ (13, 'OneCard', 'onecard', 'OneCard description', 'onecard.png', 1, 1),
57
+ (14, 'CashU', 'cashu', 'CashU description', 'cashu.png', 1, 1),
58
+ (18, 'POLi', 'poli', 'POLi description', 'poli.png', 0, 1),
59
+ (19, 'DineroMail', 'dineromail', 'DineroMail description', 'dineromail.png', 0, 1),
60
+ (20, 'Multibanco SIBS', 'sibs', 'Multibanco SIBS description', 'sibs_mb.png', 1, 1),
61
+ (22, 'Moneta Wallet', 'moneta', 'Moneta Wallet description', 'moneta.png', 1, 1),
62
+ (23, 'Paysera', 'paysera', 'Paysera description', 'paysera.gif', 1, 1),
63
+ (24, 'Alipay', 'alipay', 'Alipay description', 'alipay.png', 1, 1),
64
+ (25, 'Abaqoos', 'abaqoos', 'Abaqoos description', 'abaqoos.png', 1, 1),
65
+ (27, 'ePlatby for eKonto', 'ebanka', 'eBanka description', 'eKonto.png', 1, 1),
66
+ (28, 'Ukash', 'ukash', 'Ukash description', 'ukash.png', 1, 1),
67
+ (29, 'Trustly', 'trustly', 'Trustly description', 'trustly.png', 1, 1),
68
+ (32, 'Debito Banco do Brasil', 'debitobdb', 'Debito Banco do Brasil description', 'banco_do_brasil.gif', 1, 1),
69
+ (33, 'CuentaDigital', 'cuentadigital', 'CuentaDigital description', 'cuentadigital.png', 1, 1),
70
+ (34, 'CardsBrazil', 'cardsbrl', 'CardsBrazil description', 'cards_brl.gif', 0, 1),
71
+ (35, 'PaysBuy', 'paysbuy', 'PaysBuy description', 'paysbuy.png', 0, 1),
72
+ (36, 'Mazooma', 'mazooma', 'Mazooma description', 'mazooma.png', 0, 1),
73
+ (37, 'eNETS Debit', 'enets', 'eNETS Debit description', 'enets.png', 1, 1),
74
+ (40, 'Paysafecard', 'paysafecard', 'Paysafecard description', 'paysafecard.png', 1, 1),
75
+ (42, 'PayPal', 'paypal', 'PayPal description', 'paypal.png', 1, 0),
76
+ (43, 'PagTotal', 'pagtotal', 'PagTotal description', 'pagtotal.png', 0, 1),
77
+ (44, 'Payeasy', 'payeasy', 'Payeasy description', 'payeasy.png', 1, 1),
78
+ (46, 'MercadoPago', 'mercadopago', 'MercadoPago description', 'mercadopago.png', 0, 1),
79
+ (47, 'Mozca', 'mozca', 'Mozca description', 'mozca.png', 0, 1),
80
+ (49, 'ToditoCash', 'toditocash', 'ToditoCash description', 'todito_cash.png', 1, 1),
81
+ (58, 'PayWithMyBank', 'pwmb', 'PayWithMyBank description', 'pwmb.png', 1 , 1),
82
+ (62, 'Tenpay','tenpay','Tenpay description','tenpay.png',1,1),
83
+ (63, 'TrustPay', 'trustpay','TrustPay description', 'trustpay.png', 1 , 1),
84
+ (64, 'MangirKart', 'mangirkart', 'MangirKart description', 'mangir_cart.gif', 1, 1),
85
+ (65, 'Paytrail', 'paytrail', 'Paytrail description', 'paytrail.gif', 1,1),
86
+ (66, 'MTCPay', 'mtcpay', 'MTCPay description', 'mtcpay.png', 1, 1),
87
+ (67, 'DragonPay', 'dragonpay', 'DragonPay description', 'dragon_pay.png', 1 , 1),
88
+ (69, 'Credit Card', 's2pcards', 'S2PCards Description', 's2p_cards.gif', 0,1),
89
+ (72, 'PagoEfectivo', 'pagoefectivo', 'PagoEfectivo Description', 'pago_efectivo.gif', 1,1),
90
+ (73, 'MyBank', 'mybank', 'MyBank Description', 'mybank.png',1,1),
91
+ (74, 'Yandex.Money', 'yandexmoney', 'YandexMoney description', 'yandex_money.png', 1,1),
92
+ (76, 'Bitcoin', 'bitcoin', 'Bitcoin description', 'bitcoin.png', 1,1),
93
+ (1000, 'Boleto', 'paganet', 'Boleto description', 'boleto_bancario.png', 1, 1),
94
+ (1001, 'Debito', 'paganet', 'Debito description', 'debito_bradesco.png', 1, 1),
95
+ (1002, 'Transferencia', 'paganet', 'Transferencia description', 'bradesco_transferencia.png', 1, 1),
96
+ (1003, 'QIWI Wallet', 'qiwi', 'QIWI Wallet description', 'qiwi_wallet.png', 1, 1),
97
+ (1004, 'Beeline', 'qiwi', 'Beeline description', 'beeline.png', 1, 1),
98
+ (1005, 'Megafon', 'qiwi', 'Megafon description', 'megafon.png', 1, 1),
99
+ (1006, 'MTS', 'qiwi', 'MTS description', 'mts.gif', 1, 1),
100
+ (1007, 'WebMoney', 'moneta', 'WebMoney description', 'webmoney.png', 1, 1),
101
+ (1008, 'Yandex', 'moneta', 'Yandex description', 'yandex.png', 1, 1),
102
+ (1009, 'Alliance Online', 'asiapay', 'Alliance Online description', 'alliance_online.gif', 1, 1),
103
+ (1010, 'AmBank', 'asiapay', 'AmBank description', 'ambank_group.png', 1, 1),
104
+ (1011, 'CIMB Clicks', 'asiapay', 'CIMB Clicks description', 'cimb_clicks.png', 1, 1),
105
+ (1012, 'FPX', 'asiapay', 'FPX description', 'fpx.png', 1, 1),
106
+ (1013, 'Hong Leong Bank Transfer', 'asiapay', 'Hong Leong Bank Transfer description', 'hong_leong.png', 1, 1),
107
+ (1014, 'Maybank2U', 'asiapay', 'Maybank2U description', 'maybank2u.png', 1, 1),
108
+ (1015, 'Meps Cash', 'asiapay', 'Meps Cash description', 'meps_cash.png', 1, 1),
109
+ (1016, 'Mobile Money', 'asiapay', 'Mobile Money description', 'mobile_money.png', 1, 1),
110
+ (1017, 'RHB', 'asiapay', 'RHB description', 'rhb.png', 1, 1),
111
+ (1018, 'Webcash', 'asiapay', 'Webcash description', 'web_cash.gif', 1, 1),
112
+ (1019, 'Credit Cards Colombia', 'pagosonline', 'Credit Cards Colombia description', 'cards_colombia.gif', 1, 1),
113
+ (1020, 'PSE', 'pagosonline', 'PSE description', 'pse.png', 1, 1),
114
+ (1021, 'ACH Debit', 'pagosonline', 'ACH Debit description', 'ach.png', 1, 1),
115
+ (1022, 'Via Baloto', 'pagosonline', 'Via Baloto description', 'payment_via_baloto.png', 1, 1),
116
+ (1023, 'Referenced Payment', 'pagosonline', 'Referenced Payment description', 'payment_references.png', 1, 1),
117
+ (1024, 'Mandiri', 'asiapay', 'Mandiri description', 'mandiri.png', 1, 1),
118
+ (1025, 'XL Tunai', 'asiapay', 'XL Tunai description', 'xltunai.png', 1, 1),
119
+ (1026, 'Bancomer Pago referenciado', 'dineromaildirect', 'Bancomer Pago referenciado description', 'bancomer.png', 1, 1),
120
+ (1027, 'Santander Pago referenciado', 'dineromaildirect', 'Santander Pago referenciado description', 'santander.gif', 1, 1),
121
+ (1028, 'ScotiaBank Pago referenciado', 'dineromaildirect', 'ScotiaBank Pago referenciado description', 'scotiabank.gif', 1, 1),
122
+ (1029, '7-Eleven Pago en efectivo', 'dineromaildirect', '7-Eleven Pago en efectivo description', '7-Eleven.gif', 1, 1),
123
+ (1030, 'Oxxo Pago en efectivo', 'dineromaildirect', 'Oxxo Pago en efectivo description', 'oxxo.gif', 1, 1),
124
+ (1031, 'IXE Pago referenciado', 'dineromaildirect', 'IXE Pago referenciado description', 'IXe.gif', 1, 1),
125
+ (1033, 'Cards Thailand', 'paysbuy', 'Cards Thailand description', 'cards_brl.gif', 1, 1),
126
+ (1034, 'PayPal Thailand', 'paysbuy', 'PayPalThailand description', 'paypal.png', 1, 1),
127
+ (1035, 'AMEXThailand', 'paysbuy', 'AMEXThailand description', 'american_express.png', 1, 1),
128
+ (1036, 'Cash Options Thailand', 'paysbuy', 'Cash Options Thailand description', 'counter-service-thailand_paysbuy-cash.png', 1, 1),
129
+ (1037, 'Online Banking Thailand', 'paysbuy', 'OnlineBankingThailand description', 'online_banking_thailanda.png', 1, 1),
130
+ (1038, 'PaysBuy Wallet', 'paysbuy', 'PaysBuy Wallet description', 'paysbuy.png', 1, 1),
131
+ (1039, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Chile description', 'pagos_en_efectivo_servipag_bci_chile.png', 1, 1),
132
+ (1040, 'Pagos en efectivo', 'dineromaildirect', 'Pagos en efectivo Argentina description', 'argentina_banks.png', 1,1),
133
+ (1041, 'OP-Pohjola', 'paytrail', 'OP-Pohjola description', 'op-pohjola.png', 1, 1),
134
+ (1042, 'Nordea', 'paytrail','Nordea description', 'nordea.png', 1,1),
135
+ (1043, 'Danske bank', 'paytrail','Danske description', 'danske_bank.png', 1,1),
136
+ (1044, 'Cash-in', 'yandexmoney','Cash-in description', 'cashinyandex.gif', 1,1),
137
+ (1045, 'Cards Russia', 'yandexmoney','Cards Russia description', 's2p_cards.gif', 1,1);
138
+
139
+
140
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/country')}`;
141
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/country')}` (
142
+ `country_id` int(11) NOT NULL auto_increment,
143
+ `code` varchar(3) collate utf8_unicode_ci default NULL,
144
+ `name` varchar(100) collate utf8_unicode_ci default NULL,
145
+ PRIMARY KEY (`country_id`)
146
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
147
+
148
+ INSERT INTO `{$installer->getTable('globalpay/country')}` (`country_id`, `code`, `name`) VALUES
149
+ (1, 'AD', 'Andorra'),
150
+ (2, 'AE', 'United Arab Emirates'),
151
+ (3, 'AF', 'Afghanistan'),
152
+ (4, 'AG', 'Antigua and Barbuda'),
153
+ (5, 'AI', 'Anguilla'),
154
+ (6, 'AL', 'Albania'),
155
+ (7, 'AM', 'Armenia'),
156
+ (8, 'AN', 'Netherlands Antilles'),
157
+ (9, 'AO', 'Angola'),
158
+ (10, 'AQ', 'Antarctica'),
159
+ (11, 'AR', 'Argentina'),
160
+ (12, 'AS', 'American Samoa'),
161
+ (13, 'AT', 'Austria'),
162
+ (14, 'AU', 'Australia'),
163
+ (15, 'AW', 'Aruba'),
164
+ (16, 'AZ', 'Azerbaijan'),
165
+ (17, 'BA', 'Bosnia & Herzegowina'),
166
+ (18, 'BB', 'Barbados'),
167
+ (19, 'BD', 'Bangladesh'),
168
+ (20, 'BE', 'Belgium'),
169
+ (21, 'BF', 'Burkina Faso'),
170
+ (22, 'BG', 'Bulgaria'),
171
+ (23, 'BH', 'Bahrain'),
172
+ (24, 'BI', 'Burundi'),
173
+ (25, 'BJ', 'Benin'),
174
+ (26, 'BM', 'Bermuda'),
175
+ (27, 'BN', 'Brunei Darussalam'),
176
+ (28, 'BO', 'Bolivia'),
177
+ (29, 'BR', 'Brazil'),
178
+ (30, 'BS', 'Bahamas'),
179
+ (31, 'BT', 'Bhutan'),
180
+ (32, 'BV', 'Bouvet Island'),
181
+ (33, 'BW', 'Botswana'),
182
+ (34, 'BY', 'Belarus (formerly known as Byelorussia)'),
183
+ (35, 'BZ', 'Belize'),
184
+ (36, 'CA', 'Canada'),
185
+ (37, 'CC', 'Cocos (Keeling) Islands'),
186
+ (38, 'CD', 'Congo, Democratic Republic of the (formerly Zalre)'),
187
+ (39, 'CF', 'Central African Republic'),
188
+ (40, 'CG', 'Congo'),
189
+ (41, 'CH', 'Switzerland'),
190
+ (42, 'CI', 'Ivory Coast (Cote d''Ivoire)'),
191
+ (43, 'CK', 'Cook Islands'),
192
+ (44, 'CL', 'Chile'),
193
+ (45, 'CM', 'Cameroon'),
194
+ (46, 'CN', 'China'),
195
+ (47, 'CO', 'Colombia'),
196
+ (48, 'CR', 'Costa Rica'),
197
+ (50, 'CU', 'Cuba'),
198
+ (51, 'CV', 'Cape Verde'),
199
+ (52, 'CX', 'Christmas Island'),
200
+ (53, 'CY', 'Cyprus'),
201
+ (54, 'CZ', 'Czech Republic'),
202
+ (55, 'DE', 'Germany'),
203
+ (56, 'DJ', 'Djibouti'),
204
+ (57, 'DK', 'Denmark'),
205
+ (58, 'DM', 'Dominica'),
206
+ (59, 'DO', 'Dominican Republic'),
207
+ (60, 'DZ', 'Algeria'),
208
+ (61, 'EC', 'Ecuador'),
209
+ (62, 'EE', 'Estonia'),
210
+ (63, 'EG', 'Egypt'),
211
+ (64, 'EH', 'Western Sahara'),
212
+ (65, 'ER', 'Eritrea'),
213
+ (66, 'ES', 'Spain'),
214
+ (67, 'ET', 'Ethiopia'),
215
+ (68, 'FI', 'Finland'),
216
+ (69, 'FJ', 'Fiji Islands'),
217
+ (70, 'FK', 'Falkland Islands (Malvinas)'),
218
+ (71, 'FM', 'Micronesia, Federated States of'),
219
+ (72, 'FO', 'Faroe Islands'),
220
+ (73, 'FR', 'France'),
221
+ (74, 'FX', 'France, Metropolitan'),
222
+ (75, 'GA', 'Gabon'),
223
+ (76, 'GB', 'United Kingdom'),
224
+ (77, 'GD', 'Grenada'),
225
+ (78, 'GE', 'Georgia'),
226
+ (79, 'GF', 'French Guiana'),
227
+ (80, 'GH', 'Ghana'),
228
+ (81, 'GI', 'Gibraltar'),
229
+ (82, 'GL', 'Greenland'),
230
+ (83, 'GM', 'Gambia'),
231
+ (84, 'GN', 'Guinea'),
232
+ (85, 'GP', 'Guadeloupe'),
233
+ (86, 'GQ', 'Equatorial Guinea'),
234
+ (87, 'GR', 'Greece'),
235
+ (88, 'GS', 'South Georgia and the South Sandwich Islands'),
236
+ (89, 'GT', 'Guatemala'),
237
+ (90, 'GU', 'Guam'),
238
+ (91, 'GW', 'Guinea-Bissau'),
239
+ (92, 'GY', 'Guyana'),
240
+ (93, 'HK', 'Hong Kong'),
241
+ (94, 'HM', 'Heard and McDonald Islands'),
242
+ (95, 'HN', 'Honduras'),
243
+ (96, 'HR', 'Croatia (local name: Hrvatska)'),
244
+ (97, 'HT', 'Haiti'),
245
+ (98, 'HU', 'Hungary'),
246
+ (99, 'ID', 'Indonesia'),
247
+ (100, 'IE', 'Ireland'),
248
+ (101, 'IL', 'Israel'),
249
+ (102, 'IN', 'India'),
250
+ (103, 'IO', 'British Indian Ocean Territory'),
251
+ (104, 'IQ', 'Iraq'),
252
+ (105, 'IR', 'Iran, Islamic Republic of'),
253
+ (106, 'IS', 'Iceland'),
254
+ (107, 'IT', 'Italy'),
255
+ (108, 'JM', 'Jamaica'),
256
+ (109, 'JO', 'Jordan'),
257
+ (110, 'JP', 'Japan'),
258
+ (111, 'KE', 'Kenya'),
259
+ (112, 'KG', 'Kyrgyzstan'),
260
+ (113, 'KH', 'Cambodia (formerly Kampuchea)'),
261
+ (114, 'KI', 'Kiribati'),
262
+ (115, 'KM', 'Comoros'),
263
+ (116, 'KN', 'Saint Kitts (Christopher) and Nevis'),
264
+ (117, 'KP', 'Korea, Democratic People''s Republic of (North Korea)'),
265
+ (118, 'KR', 'Korea, Republic of (South Korea)'),
266
+ (119, 'KW', 'Kuwait'),
267
+ (120, 'KY', 'Cayman Islands'),
268
+ (121, 'KZ', 'Kazakhstan'),
269
+ (122, 'LA', 'Lao People''s Democratic Republic (formerly Laos)'),
270
+ (123, 'LB', 'Lebanon'),
271
+ (124, 'LC', 'Saint Lucia'),
272
+ (125, 'LI', 'Liechtenstein'),
273
+ (126, 'LK', 'Sri Lanka'),
274
+ (127, 'LR', 'Liberia'),
275
+ (128, 'LS', 'Lesotho'),
276
+ (129, 'LT', 'Lithuania'),
277
+ (130, 'LU', 'Luxembourg'),
278
+ (131, 'LV', 'Latvia'),
279
+ (132, 'LY', 'Libyan Arab Jamahiriya'),
280
+ (133, 'MA', 'Morocco'),
281
+ (134, 'MC', 'Monaco'),
282
+ (135, 'MD', 'Moldova, Republic of'),
283
+ (136, 'MG', 'Madagascar'),
284
+ (137, 'MH', 'Marshall Islands'),
285
+ (138, 'MK', 'Macedonia, the Former Yugoslav Republic of'),
286
+ (139, 'ML', 'Mali'),
287
+ (140, 'MM', 'Myanmar (formerly Burma)'),
288
+ (141, 'MN', 'Mongolia'),
289
+ (142, 'MO', 'Macao (also spelled Macau)'),
290
+ (143, 'MP', 'Northern Mariana Islands'),
291
+ (144, 'MQ', 'Martinique'),
292
+ (145, 'MR', 'Mauritania'),
293
+ (146, 'MS', 'Montserrat'),
294
+ (147, 'MT', 'Malta'),
295
+ (148, 'MU', 'Mauritius'),
296
+ (149, 'MV', 'Maldives'),
297
+ (150, 'MW', 'Malawi'),
298
+ (151, 'MX', 'Mexico'),
299
+ (152, 'MY', 'Malaysia'),
300
+ (153, 'MZ', 'Mozambique'),
301
+ (154, 'NA', 'Namibia'),
302
+ (155, 'NC', 'New Caledonia'),
303
+ (156, 'NE', 'Niger'),
304
+ (157, 'NF', 'Norfolk Island'),
305
+ (158, 'NG', 'Nigeria'),
306
+ (159, 'NI', 'Nicaragua'),
307
+ (160, 'NL', 'Netherlands'),
308
+ (161, 'NO', 'Norway'),
309
+ (162, 'NP', 'Nepal'),
310
+ (163, 'NR', 'Nauru'),
311
+ (164, 'NU', 'Niue'),
312
+ (165, 'NZ', 'New Zealand'),
313
+ (166, 'OM', 'Oman'),
314
+ (167, 'PA', 'Panama'),
315
+ (168, 'PE', 'Peru'),
316
+ (169, 'PF', 'French Polynesia'),
317
+ (170, 'PG', 'Papua New Guinea'),
318
+ (171, 'PH', 'Philippines'),
319
+ (172, 'PK', 'Pakistan'),
320
+ (173, 'PL', 'Poland'),
321
+ (174, 'PM', 'St Pierre and Miquelon'),
322
+ (175, 'PN', 'Pitcairn Island'),
323
+ (176, 'PR', 'Puerto Rico'),
324
+ (177, 'PT', 'Portugal'),
325
+ (178, 'PW', 'Palau'),
326
+ (179, 'PY', 'Paraguay'),
327
+ (180, 'QA', 'Qatar'),
328
+ (181, 'RE', 'R'),
329
+ (182, 'RO', 'Romania'),
330
+ (183, 'RU', 'Russian Federation'),
331
+ (184, 'RW', 'Rwanda'),
332
+ (185, 'SA', 'Saudi Arabia'),
333
+ (186, 'SB', 'Solomon Islands'),
334
+ (187, 'SC', 'Seychelles'),
335
+ (188, 'SD', 'Sudan'),
336
+ (189, 'SE', 'Sweden'),
337
+ (190, 'SG', 'Singapore'),
338
+ (191, 'SH', 'St Helena'),
339
+ (192, 'SI', 'Slovenia'),
340
+ (193, 'SJ', 'Svalbard and Jan Mayen Islands'),
341
+ (194, 'SK', 'Slovakia'),
342
+ (195, 'SL', 'Sierra Leone'),
343
+ (196, 'SM', 'San Marino'),
344
+ (197, 'SN', 'Senegal'),
345
+ (198, 'SO', 'Somalia'),
346
+ (199, 'SR', 'Suriname'),
347
+ (200, 'ST', 'Sco Tom'),
348
+ (201, 'SU', 'Union of Soviet Socialist Republics'),
349
+ (202, 'SV', 'El Salvador'),
350
+ (203, 'SY', 'Syrian Arab Republic'),
351
+ (204, 'SZ', 'Swaziland'),
352
+ (205, 'TC', 'Turks and Caicos Islands'),
353
+ (206, 'TD', 'Chad'),
354
+ (207, 'TF', 'French Southern and Antarctic Territories'),
355
+ (208, 'TG', 'Togo'),
356
+ (209, 'TH', 'Thailand'),
357
+ (210, 'TJ', 'Tajikistan'),
358
+ (211, 'TK', 'Tokelau'),
359
+ (212, 'TM', 'Turkmenistan'),
360
+ (213, 'TN', 'Tunisia'),
361
+ (214, 'TO', 'Tonga'),
362
+ (215, 'TP', 'East Timor'),
363
+ (216, 'TR', 'Turkey'),
364
+ (217, 'TT', 'Trinidad and Tobago'),
365
+ (218, 'TV', 'Tuvalu'),
366
+ (219, 'TW', 'Taiwan, Province of China'),
367
+ (220, 'TZ', 'Tanzania, United Republic of'),
368
+ (221, 'UA', 'Ukraine'),
369
+ (222, 'UG', 'Uganda'),
370
+ (223, 'UM', 'United States Minor Outlying Islands'),
371
+ (224, 'US', 'United States of America'),
372
+ (225, 'UY', 'Uruguay'),
373
+ (226, 'UZ', 'Uzbekistan'),
374
+ (227, 'VA', 'Holy See (Vatican City State)'),
375
+ (228, 'VC', 'Saint Vincent and the Grenadines'),
376
+ (229, 'VE', 'Venezuela'),
377
+ (230, 'VG', 'Virgin Islands (British)'),
378
+ (231, 'VI', 'Virgin Islands (US)'),
379
+ (232, 'VN', 'Viet Nam'),
380
+ (233, 'VU', 'Vanautu'),
381
+ (234, 'WF', 'Wallis and Futuna Islands'),
382
+ (235, 'WS', 'Samoa'),
383
+ (236, 'XO', 'West Africa'),
384
+ (237, 'YE', 'Yemen'),
385
+ (238, 'YT', 'Mayotte'),
386
+ (239, 'ZA', 'South Africa'),
387
+ (240, 'ZM', 'Zambia'),
388
+ (241, 'ZW', 'Zimbabwe'),
389
+ (242, 'PS', 'Palestinian Territory'),
390
+ (243, 'RS', 'Serbia'),
391
+ (244, 'ME', 'Montenegro');
392
+
393
+
394
+ DROP TABLE IF EXISTS `{$installer->getTable('globalpay/countrymethod')}`;
395
+ CREATE TABLE IF NOT EXISTS `{$installer->getTable('globalpay/countrymethod')}` (
396
+ `id` int(11) NOT NULL auto_increment,
397
+ `country_id` int(11) default NULL,
398
+ `method_id` int(11) default NULL,
399
+ `priority` int(2) default NULL,
400
+ PRIMARY KEY (`id`)
401
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
402
+ INSERT INTO `{$installer->getTable('globalpay/countrymethod')}` (`id`, `country_id`, `method_id`, `priority`) VALUES
403
+ (1,2,13,1),
404
+ (2,2,14,2),
405
+ (3,11,19,1),
406
+ (4,11,1040,2),
407
+ (5,13,1,5),
408
+ (6,13,5,1),
409
+ (7,13,9,3),
410
+ (8,13,28,4),
411
+ (9,13,40,2),
412
+ (10,14,18,1),
413
+ (11,14,28,2),
414
+ (12,20,1,4),
415
+ (13,20,3,1),
416
+ (14,20,28,5),
417
+ (15,20,40,2),
418
+ (1500,20,9,3),
419
+ (16,22,63,2),
420
+ (17,22,1,1),
421
+ (18,23,13,1),
422
+ (19,23,14,2),
423
+ (20,29,32,2),
424
+ (21,29,34,3),
425
+ (22,29,43,7),
426
+ (23,29,46,1),
427
+ (24,29,1000,4),
428
+ (25,29,1001,5),
429
+ (26,29,1002,6),
430
+ (27,29,19,8),
431
+ (28,36,8,1),
432
+ (29,36,28,2),
433
+ (30,41,1,1),
434
+ (31,41,9,2),
435
+ (32,44,19,1),
436
+ (33,44,1039,2),
437
+ (34,46,24,1),
438
+ (35,46,28,3),
439
+ (36,46,62,2),
440
+ (37,47,1019,1),
441
+ (38,47,1020,2),
442
+ (39,47,1021,3),
443
+ (40,47,1022,4),
444
+ (41,47,1023,5),
445
+ (42,53,13,2),
446
+ (43,53,14,3),
447
+ (44,53,28,1),
448
+ (45,54,63,2),
449
+ (46,54,1,3),
450
+ (47,54,27,1),
451
+ (48,54,28,4),
452
+ (49,55,1,6),
453
+ (50,55,4,1),
454
+ (51,55,9,2),
455
+ (53,55,28,4),
456
+ (54,55,40,3),
457
+ (55,57,1,3),
458
+ (56,57,28,4),
459
+ (57,57,29,1),
460
+ (5700,57,40,2),
461
+ (58,60,14,1),
462
+ (59,62,1,5),
463
+ (60,62,23,1),
464
+ (61,62,28,4),
465
+ (62,62,29,2),
466
+ (63,62,63,3),
467
+ (64,63,13,1),
468
+ (65,63,14,2),
469
+ (66,66,1,3),
470
+ (67,66,14,6),
471
+ (68,66,28,5),
472
+ (69,66,29,1),
473
+ (691,66,40,4),
474
+ (692,66,9,2),
475
+ (70,68,1,5),
476
+ (71,68,28,6),
477
+ (72,68,29,7),
478
+ (73,68,65,4),
479
+ (74,68,1041,1),
480
+ (75,68,1042,2),
481
+ (76,68,1043,3),
482
+ (77,73,1,1),
483
+ (79,73,28,5),
484
+ (80,73,40,2),
485
+ (8000,73,9,3),
486
+ (81,76,1,2),
487
+ (82,76,40,4),
488
+ (83,76,9,1),
489
+ (84,76,14,5),
490
+ (85,76,28,3),
491
+ (86,87,28,2),
492
+ (860,87,40,1),
493
+ (865,96,63,1),
494
+ (87,98,1,4),
495
+ (88,98,25,1),
496
+ (89,98,28,2),
497
+ (90,98,63,3),
498
+ (91,99,1024,1),
499
+ (92,99,1025,2),
500
+ (93,100,1,2),
501
+ (94,100,14,3),
502
+ (95,100,28,1),
503
+ (96,101,13,1),
504
+ (97,101,14,2),
505
+ (98,104,13,1),
506
+ (99,104,14,2),
507
+ (100,107,1,3),
508
+ (102,107,40,2),
509
+ (103,107,9,4),
510
+ (104,107,73,1),
511
+ (105,107,28,6),
512
+ (106,109,13,1),
513
+ (107,109,14,2),
514
+ (108,119,13,1),
515
+ (109,121,1003,1),
516
+ (110,123,13,1),
517
+ (111,123,14,2),
518
+ (112,129,1,3),
519
+ (113,129,23,1),
520
+ (114,129,63,2),
521
+ (115,130,1,1),
522
+ (116,131,23,1),
523
+ (117,131,28,3),
524
+ (118,131,63,2),
525
+ (119,131,14,1),
526
+ (120,151,19,2),
527
+ (121,151,28,10),
528
+ (122,151,49,1),
529
+ (123,151,1026,4),
530
+ (124,151,1027,5),
531
+ (125,151,1028,6),
532
+ (126,151,1029,7),
533
+ (127,151,1030,9),
534
+ (128,151,1031,9),
535
+ (693,151,46,3),
536
+ (129,152,1009,1),
537
+ (130,152,1010,2),
538
+ (131,152,1011,3),
539
+ (132,152,1012,4),
540
+ (133,152,1013,5),
541
+ (134,152,1014,6),
542
+ (135,152,1015,7),
543
+ (136,152,1016,8),
544
+ (137,152,1017,9),
545
+ (138,152,1018,10),
546
+ (139,158,14,1),
547
+ (140,160,1,5),
548
+ (141,160,2,1),
549
+ (142,160,9,2),
550
+ (143,160,28,4),
551
+ (144,160,40,3),
552
+ (145,161,1,1),
553
+ (146,161,28,3),
554
+ (147,161,29,2),
555
+ (148,165,18,2),
556
+ (149,165,28,2),
557
+ (150,166,13,1),
558
+ (151,166,14,2),
559
+ (1510,168,72,1),
560
+ (153,171,67,2),
561
+ (154,173,1,2),
562
+ (155,173,12,1),
563
+ (156,173,14,4),
564
+ (157,173,28,3),
565
+ (158,177,1,4),
566
+ (160,177,20,1),
567
+ (161,177,28,2),
568
+ (1610,177,40,3),
569
+ (162,242,13,1),
570
+ (163,242,14,1),
571
+ (164,180,13,1),
572
+ (165,180,14,2),
573
+ (166,182,1,2),
574
+ (167,182,40,1),
575
+ (168,182,63,3),
576
+ (169,183,22,3),
577
+ (170,183,28,8),
578
+ (171,183,1003,1),
579
+ (172,183,1004,5),
580
+ (173,183,1005,6),
581
+ (174,183,1006,7),
582
+ (175,183,1008,4),
583
+ (176,183,74,2),
584
+ (1760,183,1007,8),
585
+ (694,183,1044,9),
586
+ (695,183,1045,10),
587
+ (177,185,13,1),
588
+ (178,185,14,2),
589
+ (179,188,14,1),
590
+ (180,189,1,2),
591
+ (181,189,28,3),
592
+ (182,189,29,1),
593
+ (183,190,37,1),
594
+ (184,192,14,3),
595
+ (185,192,28,2),
596
+ (186,192,63,1),
597
+ (187,194,1,1),
598
+ (188,194,63,2),
599
+ (189,209,35,1),
600
+ (190,209,1033,7),
601
+ (191,209,1034,6),
602
+ (192,209,1035,5),
603
+ (193,209,1036,3),
604
+ (194,209,1037,4),
605
+ (195,209,1038,2),
606
+ (196,213,13,1),
607
+ (197,213,14,2),
608
+ (198,216,1,1),
609
+ (199,216,13,4),
610
+ (200,216,14,5),
611
+ (201,216,28,6),
612
+ (202,216,66,2),
613
+ (203,216,64,3),
614
+ (204,221,22,1),
615
+ (205,221,28,4),
616
+ (206,221,1007,3),
617
+ (207,221,1008,4),
618
+ (208,221,1003,2),
619
+ (209,224,36,1),
620
+ (2090,224,58,2),
621
+ (210,239,28,1),
622
+ (211,1,76,99),
623
+ (212,2,76,99),
624
+ (213,3,76,99),
625
+ (214,4,76,99),
626
+ (215,5,76,99),
627
+ (216,6,76,99),
628
+ (217,7,76,99),
629
+ (218,8,76,99),
630
+ (219,9,76,99),
631
+ (220,10,76,99),
632
+ (221,11,76,99),
633
+ (222,12,76,99),
634
+ (223,13,76,99),
635
+ (224,14,76,99),
636
+ (225,15,76,99),
637
+ (226,16,76,99),
638
+ (227,17,76,99),
639
+ (228,18,76,99),
640
+ (229,19,76,99),
641
+ (230,20,76,99),
642
+ (231,21,76,99),
643
+ (232,22,76,99),
644
+ (233,23,76,99),
645
+ (234,24,76,99),
646
+ (235,25,76,99),
647
+ (236,26,76,99),
648
+ (237,27,76,99),
649
+ (238,28,76,99),
650
+ (239,29,76,99),
651
+ (240,30,76,99),
652
+ (241,31,76,99),
653
+ (242,32,76,99),
654
+ (243,33,76,99),
655
+ (244,34,76,99),
656
+ (245,35,76,99),
657
+ (246,36,76,99),
658
+ (247,37,76,99),
659
+ (248,38,76,99),
660
+ (249,39,76,99),
661
+ (250,40,76,99),
662
+ (251,41,76,99),
663
+ (252,42,76,99),
664
+ (253,43,76,99),
665
+ (254,44,76,99),
666
+ (255,45,76,99),
667
+ (256,46,76,99),
668
+ (257,47,76,99),
669
+ (258,48,76,99),
670
+ (260,50,76,99),
671
+ (261,51,76,99),
672
+ (262,52,76,99),
673
+ (263,53,76,99),
674
+ (264,54,76,99),
675
+ (265,55,76,99),
676
+ (266,56,76,99),
677
+ (267,57,76,99),
678
+ (268,58,76,99),
679
+ (269,59,76,99),
680
+ (270,60,76,99),
681
+ (271,61,76,99),
682
+ (272,62,76,99),
683
+ (273,63,76,99),
684
+ (274,64,76,99),
685
+ (275,65,76,99),
686
+ (276,66,76,99),
687
+ (277,67,76,99),
688
+ (278,68,76,99),
689
+ (279,69,76,99),
690
+ (280,70,76,99),
691
+ (281,71,76,99),
692
+ (282,72,76,99),
693
+ (283,73,76,99),
694
+ (284,74,76,99),
695
+ (285,75,76,99),
696
+ (286,76,76,99),
697
+ (287,77,76,99),
698
+ (288,78,76,99),
699
+ (289,79,76,99),
700
+ (290,80,76,99),
701
+ (291,81,76,99),
702
+ (292,82,76,99),
703
+ (293,83,76,99),
704
+ (294,84,76,99),
705
+ (295,85,76,99),
706
+ (296,86,76,99),
707
+ (297,87,76,99),
708
+ (298,88,76,99),
709
+ (299,89,76,99),
710
+ (300,90,76,99),
711
+ (301,91,76,99),
712
+ (302,92,76,99),
713
+ (303,93,76,99),
714
+ (304,94,76,99),
715
+ (305,95,76,99),
716
+ (306,96,76,99),
717
+ (307,97,76,99),
718
+ (308,98,76,99),
719
+ (309,99,76,99),
720
+ (310,100,76,99),
721
+ (311,101,76,99),
722
+ (312,102,76,99),
723
+ (313,103,76,99),
724
+ (314,104,76,99),
725
+ (315,105,76,99),
726
+ (316,106,76,99),
727
+ (317,107,76,99),
728
+ (318,108,76,99),
729
+ (319,109,76,99),
730
+ (320,110,76,99),
731
+ (321,111,76,99),
732
+ (322,112,76,99),
733
+ (323,113,76,99),
734
+ (324,114,76,99),
735
+ (325,115,76,99),
736
+ (326,116,76,99),
737
+ (327,117,76,99),
738
+ (328,118,76,99),
739
+ (329,119,76,99),
740
+ (330,120,76,99),
741
+ (331,121,76,99),
742
+ (332,122,76,99),
743
+ (333,123,76,99),
744
+ (334,124,76,99),
745
+ (335,125,76,99),
746
+ (336,126,76,99),
747
+ (337,127,76,99),
748
+ (338,128,76,99),
749
+ (339,129,76,99),
750
+ (340,130,76,99),
751
+ (341,131,76,99),
752
+ (342,132,76,99),
753
+ (343,133,76,99),
754
+ (344,134,76,99),
755
+ (345,135,76,99),
756
+ (346,136,76,99),
757
+ (347,137,76,99),
758
+ (348,138,76,99),
759
+ (349,139,76,99),
760
+ (350,140,76,99),
761
+ (351,141,76,99),
762
+ (352,142,76,99),
763
+ (353,143,76,99),
764
+ (354,144,76,99),
765
+ (355,145,76,99),
766
+ (356,146,76,99),
767
+ (357,147,76,99),
768
+ (358,148,76,99),
769
+ (359,149,76,99),
770
+ (360,150,76,99),
771
+ (361,151,76,99),
772
+ (362,152,76,99),
773
+ (363,153,76,99),
774
+ (364,154,76,99),
775
+ (365,155,76,99),
776
+ (366,156,76,99),
777
+ (367,157,76,99),
778
+ (368,158,76,99),
779
+ (369,159,76,99),
780
+ (370,160,76,99),
781
+ (371,161,76,99),
782
+ (372,162,76,99),
783
+ (373,163,76,99),
784
+ (374,164,76,99),
785
+ (375,165,76,99),
786
+ (376,166,76,99),
787
+ (377,167,76,99),
788
+ (378,168,76,99),
789
+ (379,169,76,99),
790
+ (380,170,76,99),
791
+ (381,171,76,99),
792
+ (382,172,76,99),
793
+ (383,173,76,99),
794
+ (384,174,76,99),
795
+ (385,175,76,99),
796
+ (386,176,76,99),
797
+ (387,177,76,99),
798
+ (388,178,76,99),
799
+ (389,179,76,99),
800
+ (390,180,76,99),
801
+ (391,181,76,99),
802
+ (392,182,76,99),
803
+ (393,183,76,99),
804
+ (394,184,76,99),
805
+ (395,185,76,99),
806
+ (396,186,76,99),
807
+ (397,187,76,99),
808
+ (398,188,76,99),
809
+ (399,189,76,99),
810
+ (400,190,76,99),
811
+ (401,191,76,99),
812
+ (402,192,76,99),
813
+ (403,193,76,99),
814
+ (404,194,76,99),
815
+ (405,195,76,99),
816
+ (406,196,76,99),
817
+ (407,197,76,99),
818
+ (408,198,76,99),
819
+ (409,199,76,99),
820
+ (410,200,76,99),
821
+ (411,201,76,99),
822
+ (412,202,76,99),
823
+ (413,203,76,99),
824
+ (414,204,76,99),
825
+ (415,205,76,99),
826
+ (416,206,76,99),
827
+ (417,207,76,99),
828
+ (418,208,76,99),
829
+ (419,209,76,99),
830
+ (420,210,76,99),
831
+ (421,211,76,99),
832
+ (422,212,76,99),
833
+ (423,213,76,99),
834
+ (424,214,76,99),
835
+ (425,215,76,99),
836
+ (426,216,76,99),
837
+ (427,217,76,99),
838
+ (428,218,76,99),
839
+ (429,219,76,99),
840
+ (430,220,76,99),
841
+ (431,221,76,99),
842
+ (432,222,76,99),
843
+ (433,223,76,99),
844
+ (434,224,76,99),
845
+ (435,225,76,99),
846
+ (436,226,76,99),
847
+ (437,227,76,99),
848
+ (438,228,76,99),
849
+ (439,229,76,99),
850
+ (440,230,76,99),
851
+ (441,231,76,99),
852
+ (442,232,76,99),
853
+ (443,233,76,99),
854
+ (444,234,76,99),
855
+ (445,235,76,99),
856
+ (446,236,76,99),
857
+ (447,237,76,99),
858
+ (448,238,76,99),
859
+ (449,239,76,99),
860
+ (450,240,76,99),
861
+ (451,241,76,99),
862
+ (452,242,76,99),
863
+ (453,243,76,99),
864
+ (454,244,76,99),
865
+ (690,1,69,1);
866
+
867
+ ");
868
+ $installer->endSetup();
869
+ ?>
app/design/adminhtml/default/default/template/smart2pay/globalpay/info.phtml ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php /**@var $this Smart2Pay_Globalpay_Block_Info */ ?>
2
+
3
+ <p><?php echo $this->__($this->message) ?></p>
app/design/adminhtml/default/default/template/smart2pay/globalpay/methodinfo.phtml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p><?php echo $this->escapeHtml( $this->getMethod()->getTitle() ) ?></p>
2
+
3
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
4
+ <table>
5
+ <tbody>
6
+ <?php foreach ($_specificInfo as $_label => $_value):?>
7
+ <tr>
8
+ <td><em><?php echo $this->__( $_label )?></em></td>
9
+ <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
10
+ </tr>
11
+ <?php endforeach; ?>
12
+ </tbody>
13
+ </table>
14
+ <?php endif;?>
15
+
16
+ <?php echo $this->getChildHtml()?>
app/design/adminhtml/default/default/template/smart2pay/globalpay/methodinfopdf.phtml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p>!!!Smart2Pay: <?php echo $this->escapeHtml( $this->getMethod()->getTitle() ) ?></p>
2
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
3
+ <table style="width:100%;">
4
+ <tbody>
5
+ <?php foreach ($_specificInfo as $_label => $_value):?>
6
+ <tr>
7
+ <td><?php echo $this->__( $_label )?></td>
8
+ </tr>
9
+ <tr>
10
+ <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
11
+ </tr>
12
+ <?php endforeach; ?>
13
+ </tbody>
14
+ </table>
15
+ <?php endif;?>
16
+
17
+ <?php echo $this->getChildHtml()?>
app/design/adminhtml/default/default/template/smart2pay/globalpay/paymentinstructions.phtml ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( !empty( $this->displayPaymentInstructions ) )
3
+ {
4
+ ?>
5
+ <style type="text/css">
6
+ #BankTransferInfo { margin: 0 auto; }
7
+ #BankTransferInfo tr { text-align: left; }
8
+ #BankTransferInfo td { width: 250px; text-align: left; }
9
+ #BankTransferMessage { text-align: left; }
10
+ #BankTransferTerms { text-align: left; font-weight: bold; }
11
+ #PaymentDetails { background-color: #eeeeee; padding: 5px; }
12
+ </style>
13
+
14
+ <div id="PaymentDetails">
15
+ <p id="BankTransferMessage"><?php echo $this->__('BankTransferMessage');?></p>
16
+ <br/>
17
+ <p id="BankTransferTerms"><?php echo $this->__('BankTransferTerms');?></p>
18
+ <br/><br/>
19
+ <table id="BankTransferInfo">
20
+ <?php
21
+ if( isset( $this->referenceNumber ) )
22
+ {
23
+ ?>
24
+ <tr>
25
+ <td><?php echo $this->__('ReferenceNumber');?></td>
26
+ <td><?php echo $this->referenceNumber;?></td>
27
+ </tr>
28
+ <?php
29
+ }
30
+
31
+ if( isset( $this->entityNumber ) )
32
+ {
33
+ ?>
34
+ <tr>
35
+ <td><?php echo $this->__('EntityNumber');?></td>
36
+ <td><?php echo $this->entityNumber;?></td>
37
+ </tr>
38
+ <?php
39
+ }
40
+
41
+ if( isset( $this->bankName ) )
42
+ {
43
+ ?>
44
+ <tr>
45
+ <td><?php echo $this->__('BankName');?></td>
46
+ <td><?php echo $this->bankName;?></td>
47
+ </tr>
48
+ <?php
49
+ }
50
+
51
+ if( isset( $this->accountHolder ) )
52
+ {
53
+ ?>
54
+ <tr>
55
+ <td><?php echo $this->__('AccountHolder');?></td>
56
+ <td><?php echo $this->accountHolder;?></td>
57
+ </tr>
58
+ <?php
59
+ }
60
+
61
+ if( isset( $this->accountNumber ) )
62
+ {
63
+ ?>
64
+ <tr>
65
+ <td><?php echo $this->__( 'AccountNumber' );?></td>
66
+ <td><?php echo $this->accountNumber;?></td>
67
+ </tr>
68
+ <?php
69
+ }
70
+
71
+ if( isset( $this->SWIFT_BIC ) )
72
+ {
73
+ ?>
74
+ <tr>
75
+ <td><?php echo $this->__('SWIFT_BIC');?></td>
76
+ <td><?php echo $this->SWIFT_BIC;?></td>
77
+ </tr>
78
+ <?php
79
+ }
80
+
81
+ if( isset( $this->IBAN ) )
82
+ {
83
+ ?>
84
+ <tr>
85
+ <td><?php echo $this->__('IBAN');?></td>
86
+ <td><?php echo $this->IBAN;?></td>
87
+ </tr>
88
+ <?php
89
+ }
90
+
91
+ if( isset( $this->amountToPay ) )
92
+ {
93
+ ?>
94
+ <tr>
95
+ <td><?php echo $this->__('AmountToPay');?></td>
96
+ <td><?php echo $this->amountToPay;?></td>
97
+ </tr>
98
+ <?php
99
+ }
100
+
101
+ if( isset( $this->accountCurrency ) )
102
+ {
103
+ ?>
104
+ <tr>
105
+ <td><?php echo $this->__( 'AccountCurrency' );?></td>
106
+ <td><?php echo $this->accountCurrency;?></td>
107
+ </tr>
108
+ <?php
109
+ }
110
+ ?>
111
+ </table>
112
+ </div>
113
+ <?php
114
+ }
115
+
app/design/adminhtml/default/default/template/smart2pay/globalpay/paymethod/form.phtml ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $_code = $this->getMethodCode();
3
+ $s2pMethods = $this->getPaymentMethods();
4
+ ?>
5
+
6
+ <style type="text/css">
7
+ .s2p-method-wrapper { display: block; white-space: nowrap; float: left; }
8
+ .s2p-method-name { display: block; float: left; }
9
+ .s2p-method-img { float: left; vertical-align: middle; max-height:40px; max-width:130px; }
10
+ a .s2p-method-img, a .s2p-method-name, a .s2p-method-img-name, .s2p-method-ck { cursor: pointer; float: left; }
11
+ .s2p-method-ck { margin-top: 10px; max-width: 30px; }
12
+ .s2p-method-img-wrapper { min-height: 40px; vertical-align: middle; padding-left: 30px; }
13
+
14
+ #payment_form_globalpay { background-color: #F3F3F3; border: 1px solid #CCC; border-left: 2px solid #CCC; }
15
+
16
+ <?php
17
+ if( !$this->method_config['show_methods_in_grid'] )
18
+ {
19
+ ?>
20
+ #payment_form_globalpay td { padding: 10px; }
21
+ .s2p-method-img-name.no-grid-w-description-title {
22
+ border-bottom: 1px solid #CCCCCC;
23
+ font-size: 100%;
24
+ font-weight: bold;
25
+ margin-bottom: 2px;
26
+ padding-bottom: 2px;
27
+ }
28
+ .s2p-method-img-name.no-grid-w-description-content { font-size: 80%; }
29
+ <?php
30
+ } elseif( $this->method_config['grid_column_number'] == 1 )
31
+ {
32
+ ?>
33
+ .grid.one-column { text-align: left; padding: 15px; }
34
+ .s2p-method-img-name { padding: 5px 0px 0px 26px; }
35
+ <?php
36
+ } else
37
+ {
38
+ ?>
39
+ .grid.one-column { padding: 15px; }
40
+ .s2p-method-img-name { padding: 5px 0px 0px 26px; }
41
+ <?php
42
+ }
43
+ ?>
44
+
45
+ .s2p-method-img-name { display: block; /*float: right;*/ }
46
+ .s2p-method-img { padding-left: 15px; }
47
+ </style>
48
+
49
+ <input type="hidden" id="s2p-payment-method" name="payment[method_id]" value="0" />
50
+ <div id="payment_form_globalpay" style="display: none;">
51
+ <?php
52
+ /*
53
+ * Send payment method
54
+ */
55
+ if( !empty( $s2pMethods ) and is_array( $s2pMethods ) )
56
+ {
57
+ $s2pMethods_count = count( $s2pMethods );
58
+ ?>
59
+ <table style="width: 100%;">
60
+ <?php
61
+ /*
62
+ * Show methods in grid
63
+ */
64
+ if( $this->method_config['show_methods_in_grid'] )
65
+ {
66
+ //show methods in grid
67
+ $grid_col_number = ((int)$this->method_config['grid_column_number'] > 0) ? (int)$this->method_config['grid_column_number'] : 3;
68
+ $printed_grid_cols = 0;
69
+ while( $printed_grid_cols < $s2pMethods_count )
70
+ {
71
+ ?><tr><?php
72
+
73
+ for( $c = 0; $c < $grid_col_number; $c++ )
74
+ {
75
+ if( isset( $s2pMethods[$printed_grid_cols] ) )
76
+ {
77
+ $method = $s2pMethods[$printed_grid_cols];
78
+
79
+ ?>
80
+ <td class="grid one-column"><label class="s2p-method-wrapper" style="width: 100%;">
81
+ <input type="radio" class="s2p-method-ck" data-method-id="<?php echo $method['method_id'] ?>" <?php echo (($printed_grid_cols == 0)?'id="s2p-first-method-ck"':'')?> />
82
+ <div class="s2p-method-img-wrapper">
83
+ <?php
84
+
85
+ if( $this->method_config['methods_display_mode'] == 'text' )
86
+ {
87
+ ?><span class="s2p-method-img-name"><?php echo $this->__( $method['display_name'] )?></span><?php
88
+ } elseif( $this->method_config['methods_display_mode'] == 'logo' )
89
+ {
90
+ ?>
91
+ <img class="s2p-method-img" alt="<?php echo $this->__( $method['display_name'] ); ?>" src='<?php echo $this->getSkinUrl( 'images/smart2pay/methods/'.$method['logo_url'] ); ?>' />
92
+ <?php
93
+ } else
94
+ {
95
+ ?>
96
+ <img class="s2p-method-img" alt="<?php echo $this->__( $method['display_name'] ); ?>" src='<?php echo $this->getSkinUrl( 'images/smart2pay/methods/'.$method['logo_url'] ); ?>' />
97
+ <div style="clear: both;"></div>
98
+ <span class="s2p-method-img-name"><?php echo $this->__( $method['display_name'] ); ?></span>
99
+ <?php
100
+ }
101
+
102
+ ?></div></label></td><?php
103
+ } else
104
+ {
105
+ ?><td></td><?php
106
+ }
107
+
108
+ $printed_grid_cols++;
109
+ }
110
+
111
+ ?></tr><?php
112
+ }
113
+ /*
114
+ * Show methods in 2 column table
115
+ */
116
+ } else
117
+ {
118
+ $k = 0;
119
+ foreach( $s2pMethods as $key => $method )
120
+ {
121
+ ?>
122
+ <tr>
123
+ <td style='vertical-align: middle;'><label class="s2p-method-wrapper" style="width: 100%;">
124
+ <input type="radio" class="s2p-method-ck" data-method-id="<?php echo $method['method_id'] ?>" <?php echo (($k == 0)?'id="s2p-first-method-ck"':'')?> /> &nbsp;&nbsp;
125
+ <div class="s2p-method-img-wrapper">
126
+ <?php
127
+ if( $this->method_config['methods_display_mode'] == 'text' )
128
+ {
129
+ ?><span class="s2p-method-name">&raquo <?php echo $this->__( $method['display_name'] ); ?></span><?php
130
+ } elseif( $this->method_config['methods_display_mode'] == 'logo' )
131
+ {
132
+ ?><img class="s2p-method-img" alt="<?php echo $this->__( $method['display_name'] ); ?>" src='<?php echo $this->getSkinUrl( 'images/smart2pay/methods/'.$method['logo_url'] ) ?>' /><?php
133
+ } else
134
+ {
135
+ ?><img class="s2p-method-img" alt="<?php echo $this->__( $method['display_name'] ); ?>" src='<?php echo $this->getSkinUrl( 'images/smart2pay/methods/'.$method['logo_url'] ) ?>' /><?php
136
+ }
137
+ ?>
138
+ </label></td>
139
+ <td style='padding-bottom: 10px; padding-left: 10px;'>
140
+ <div class="s2p-method-img-name no-grid-w-description-title"><?php echo $this->__( $method['display_name'] ); ?></div>
141
+ <div class="s2p-method-img-name no-grid-w-description-content"><?php echo $this->__( $method['description'] ); ?></div>
142
+ </td>
143
+ </tr>
144
+ <?php
145
+
146
+ $k++;
147
+ }
148
+ }
149
+ }
150
+ ?>
151
+ </table>
152
+ </div>
153
+
154
+ <script type="text/javascript">
155
+ jQuery.noConflict();
156
+
157
+ function s2pChooseMethod( methodId )
158
+ {
159
+ jQuery('#s2p-payment-method').removeAttr('disabled');
160
+ jQuery('#s2p-payment-method').val( methodId );
161
+
162
+ checkS2PMethod( methodId );
163
+
164
+ if( typeof payment.save == "function" )
165
+ {
166
+ // uncomment if you want to submit payment choice on radiobox checking event
167
+ //payment.save();
168
+ }
169
+ }
170
+
171
+ function checkS2PMethod( methodId )
172
+ {
173
+ jQuery('.s2p-method-ck').prop('checked', false);
174
+ jQuery('.s2p-method-ck[data-method-id=' + methodId + ']').prop('checked', true );
175
+ }
176
+
177
+ function enableHiddenS2PField()
178
+ {
179
+ jQuery('#s2p-payment-method').removeAttr('disabled');
180
+ }
181
+
182
+ jQuery(document).ready(function()
183
+ {
184
+ jQuery('.s2p-method-ck').on('click', function(e) {
185
+ s2pChooseMethod( jQuery(this).data('methodId') );
186
+ });
187
+
188
+ <?php
189
+ if( empty( $s2pMethods ) )
190
+ {
191
+ ?>
192
+ jQuery('#p_method_globalpay').parent().hide();
193
+ jQuery('#s2p-payment-method').parent().hide();
194
+ <?php
195
+ } else
196
+ {
197
+ if( $this->method_config['autoselect_s2p']
198
+ and !empty( $s2pMethods ) )
199
+ {
200
+ ?>
201
+ jQuery('#p_method_globalpay').click();
202
+ <?php
203
+ }
204
+ ?>
205
+ jQuery('#s2p-first-method-ck').click();
206
+ <?php
207
+ }
208
+ ?>
209
+ })
210
+
211
+ setTimeout( enableHiddenS2PField, 100 );
212
+ </script>
app/design/adminhtml/default/default/template/smart2pay/globalpay/paymethod/sendform.phtml ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div style="<?php echo ($this->form_data['debug_form']) ? "display: table;" : "display: none;" ?>">
2
+
3
+ <?php
4
+ if( $this->form_data['debug_form'] )
5
+ {
6
+ ?>
7
+ <p><b>Message to hash</b>: <?php echo strtolower($this->message_to_hash);?></p>
8
+ <p><b>Hash</b>: <?php echo $this->hash?></p>
9
+ <?php
10
+ }
11
+ ?>
12
+
13
+ <form action="<?php echo $this->form_data['post_url'] ?>" id="s2pform" method="post" <?php if($this->form_data['redirect_in_iframe']) echo 'target="merchantIframe"'; ?>>
14
+ <table>
15
+ <tr>
16
+ <td>MerchantID</td>
17
+ <td><input type="text" name="MerchantID" value="<?php echo $this->form_data['mid'] ?>" /></td>
18
+ </tr>
19
+ <tr>
20
+ <td>MerchantTransactionID</td>
21
+ <td><input type="text" name="MerchantTransactionID" value="<?php echo $this->form_data['order_id'] ?>"/></td>
22
+ </tr>
23
+ <tr>
24
+ <td>Amount</td>
25
+ <td><input type="text" name="Amount" value="<?php echo $this->form_data['amount'] ?>"/></td>
26
+ </tr>
27
+ <tr>
28
+ <td>Currency</td>
29
+ <td><input type="text" name="Currency" value="<?php echo $this->form_data['currency'] ?>"/></td>
30
+ </tr>
31
+ <tr>
32
+ <td>ReturnURL</td>
33
+ <td><input type="text" name="ReturnURL" value="<?php echo $this->form_data['return_url'] ?>"/></td>
34
+ </tr>
35
+ <?php
36
+ if( !$this->form_data['method_id'] )
37
+ {
38
+ ?>
39
+ <tr>
40
+ <td>
41
+ IncludeMethodIDs
42
+ </td>
43
+ <td>
44
+ <input type="text" name="IncludeMethodIDs" value="<?php echo $this->form_data['methods'] ?>"/>
45
+ </td>
46
+ </tr>
47
+ <?php
48
+ }
49
+
50
+ if( $this->form_data['site_id'] )
51
+ {
52
+ ?>
53
+ <tr>
54
+ <td>
55
+ SiteID
56
+ </td>
57
+ <td>
58
+ <input type="text" name="SiteID" value="<?php echo $this->form_data['site_id'] ?>"/>
59
+ </td>
60
+ </tr>
61
+ <?php
62
+ }
63
+ ?>
64
+ <tr>
65
+ <td colspan="2">Optional:</td>
66
+ </tr>
67
+ <tr>
68
+ <td>CustomerName</td>
69
+ <td><input type="text" name="CustomerName" value="<?php echo $this->form_data['customer_name'] ?>" /></td>
70
+ </tr>
71
+
72
+ <tr>
73
+ <td>CustomerLastName</td>
74
+ <td><input type="text" name="CustomerLastName" value="<?php echo $this->form_data['customer_last_name'] ?>"/></td>
75
+ </tr>
76
+
77
+ <tr>
78
+ <td>CustomerFirstName</td>
79
+ <td><input type="text" name="CustomerFirstName" value="<?php echo $this->form_data['customer_first_name'] ?>"/></td>
80
+ </tr>
81
+
82
+ <tr>
83
+ <td>CustomerEmail</td>
84
+ <td><input type="text" name="CustomerEmail" value="<?php echo $this->form_data['customer_email'] ?>"/></td>
85
+ </tr>
86
+ <tr>
87
+ <td>Country</td>
88
+ <td><input type="text" name="Country" value="<?php echo $this->form_data['country'] ?>"/></td>
89
+ </tr>
90
+ <tr>
91
+ <td>MethodID</td>
92
+ <td><input type="text" name="MethodID" value="<?php echo $this->form_data['method_id'] ?>"/></td>
93
+ </tr>
94
+
95
+
96
+ <?php
97
+ if( $this->form_data['product_description_ref'] )
98
+ {
99
+ ?>
100
+ <tr>
101
+ <td>Description</td>
102
+ <td><input type="text" name="Description" value="<?php echo "Ref. no.: ".$this->form_data['order_id'] ?>"/></td>
103
+ </tr>
104
+ <?php
105
+ } else
106
+ {
107
+ ?>
108
+ <tr>
109
+ <td>Description</td>
110
+ <td>
111
+ <input type="text" name="Description" value="<?php echo $this->form_data['product_description_custom'] ?>"/>
112
+ </td>
113
+ </tr>
114
+ <?php
115
+ }
116
+
117
+ if( $this->form_data['skip_payment_page']
118
+ and (!in_array( $this->form_data['method_id'], array( 1, 20 ) )
119
+ or $this->form_data['notify_payment_instructions']
120
+ ) )
121
+ {
122
+ ?>
123
+ <tr>
124
+ <td>SkipHPP</td>
125
+ <td><input type="text" name="SkipHPP" value="1" /></td>
126
+ </tr>
127
+ <?php
128
+ }
129
+
130
+ if( $this->form_data['redirect_in_iframe'] )
131
+ {
132
+ ?>
133
+ <tr>
134
+ <td>RedirectInIframe</td>
135
+ <td><input type="text" name="RedirectInIframe" value="1"/></td>
136
+ </tr>
137
+ <?php
138
+ }
139
+
140
+ if( $this->form_data['skin_id'] )
141
+ {
142
+ ?>
143
+ <tr>
144
+ <td>SkinID</td>
145
+ <td><input type="text" name="SkinID" value="<?php echo $this->form_data['skin_id']?>" /></td>
146
+ </tr>
147
+ <?php
148
+ }
149
+ ?>
150
+
151
+ <tr>
152
+ <td>Hash</td>
153
+ <td><input type="text" name="Hash" value="<?php echo $this->form_data['hash'] ?>" /></td>
154
+ </tr>
155
+ <tr>
156
+ <td colspan='2'><input type="submit" value="Submit"/></td>
157
+ </tr>
158
+ </table>
159
+ </form>
160
+ </div>
161
+
162
+ <div id="iframe-container" style="display: none; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 1000">
163
+ <div style="position: relative; width: 100%; height: 100%;">
164
+ <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: #333; opacity: 0.5; filter:alpha(opacity=50)"></div>
165
+ <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;">
166
+ <div style="display: table; margin: 0px auto; margin-top: 50px;">
167
+ <?php
168
+ if( $this->form_data['redirect_in_iframe']
169
+ && $this->form_data['skip_payment_page']
170
+ && ($this->form_data['method_id'] == 1001 || $this->form_data['method_id'] == 1002 || $this->form_data['method_id'] == 76)):?>
171
+ <iframe style='border: none; margin: 0px auto; background-color: #ffffff;' id="merchantIframe" name="merchantIframe" src="" width="780" height="500">
172
+ <?php else:?>
173
+ <iframe style='border: none; margin: 0px auto; background-color: transparent;' id="merchantIframe" name="merchantIframe" src="" width="900" height="800">
174
+ <?php endif;?>
175
+ </iframe>
176
+ </div>
177
+ </div>
178
+ </div>
179
+ </div>
180
+
181
+ <script>
182
+
183
+ jQuery.noConflict();
184
+
185
+ function modalIframe(){
186
+ jQuery("#iframe-container").css({height: jQuery('body').height()});
187
+ jQuery("#iframe-container").appendTo('body');
188
+ jQuery("#iframe-container").show();
189
+ }
190
+
191
+ jQuery(document).ready(function() {
192
+
193
+ jQuery('#s2pform').submit(function(){
194
+ modalIframe();
195
+ });
196
+ // autosend form if needed
197
+ <?php if(!$this->form_data['debug_form']):?>
198
+ jQuery("#s2pform").submit();
199
+ <?php endif; ?>
200
+ // get/parse smart2pay message
201
+ var onmessage = function(e) {
202
+ console.log(e);
203
+ if(e.data == 'close_HPP') {
204
+ setTimeout(function() {jQuery('iframe#merchantIframe').remove()}, 300);
205
+ }
206
+ else if (e.data.substring(0, 7) == "height=") {
207
+ var iframe_height = e.data.substring(7);
208
+ jQuery('iframe#merchantIframe').attr('height', parseInt(iframe_height)+300);
209
+ console.log("jQuery('iframe#merchantIframe').attr('height'," + (parseInt(iframe_height)+300) + ");");
210
+ }
211
+ else if (e.data.substring(0, 6) == "width=") {
212
+ var iframe_width = e.data.substring(6);
213
+ jQuery('iframe#merchantIframe').attr('width', parseInt(iframe_width)+100);
214
+ console.log("jQuery('iframe#merchantIframe').attr('width'," + (parseInt(iframe_width)+100) + ");");
215
+ }
216
+
217
+ else if (e.data.substring(0, 12) == "redirectURL="){
218
+ window.location = e.data.substring(12);
219
+ }
220
+ };
221
+
222
+ // set event listener for smart2pay
223
+ if(typeof window.addEventListener != 'undefined') {
224
+ window.addEventListener('message', onmessage, false);
225
+ }
226
+ else if(typeof window.attachEvent != 'undefined') {
227
+ window.attachEvent('onmessage', onmessage);
228
+ }
229
+ });
230
+ </script>
app/design/frontend/base/default/template/smart2pay/globalpay/info.phtml CHANGED
@@ -1,3 +1,3 @@
1
- <?php /**@var $this Smart2Pay_Globalpay_Block_Info */ ?>
2
-
3
  <p><?php echo $this->__($this->message) ?></p>
1
+ <?php /**@var $this Smart2Pay_Globalpay_Block_Info */ ?>
2
+
3
  <p><?php echo $this->__($this->message) ?></p>
app/design/frontend/base/default/template/smart2pay/globalpay/methodinfo.phtml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p><?php echo $this->escapeHtml( $this->getMethod()->getTitle() ) ?></p>
2
+
3
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
4
+ <table>
5
+ <tbody>
6
+ <?php foreach ($_specificInfo as $_label => $_value):?>
7
+ <tr>
8
+ <td><em><?php echo $this->__( $_label )?></em></td>
9
+ <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
10
+ </tr>
11
+ <?php endforeach; ?>
12
+ </tbody>
13
+ </table>
14
+ <?php endif;?>
15
+
16
+ <?php echo $this->getChildHtml()?>
app/design/frontend/base/default/template/smart2pay/globalpay/methodinfopdf.phtml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p>!!!Smart2Pay: <?php echo $this->escapeHtml( $this->getMethod()->getTitle() ) ?></p>
2
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
3
+ <table style="width:100%;">
4
+ <tbody>
5
+ <?php foreach ($_specificInfo as $_label => $_value):?>
6
+ <tr>
7
+ <td><?php echo $this->__( $_label )?></td>
8
+ </tr>
9
+ <tr>
10
+ <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
11
+ </tr>
12
+ <?php endforeach; ?>
13
+ </tbody>
14
+ </table>
15
+ <?php endif;?>
16
+
17
+ <?php echo $this->getChildHtml()?>
app/design/frontend/base/default/template/smart2pay/globalpay/paymentinstructions.phtml CHANGED
@@ -1,120 +1,115 @@
1
- <?php if(isset($this->referenceNumber)){ ?>
2
-
3
- <style type="text/css">
4
-
5
- #BankTransferInfo{
6
- margin-left: auto;
7
- margin-right: auto;
8
- }
9
-
10
- #BankTransferInfo tr {
11
- text-align: left;
12
- }
13
-
14
- #BankTransferInfo td {
15
- width: 250px;
16
- text-align: left;
17
- }
18
-
19
-
20
- #BankTransferMessage{
21
- text-align: left;
22
- }
23
- #BankTransferTerms{
24
- text-align: left;
25
- font-weight: bold;
26
- }
27
-
28
- #PaymentDetails{
29
- background-color: #eeeeee;
30
- padding: 5px;
31
- }
32
-
33
- </style>
34
-
35
-
36
- <div id="PaymentDetails">
37
-
38
- <p id="BankTransferMessage"> <?php echo $this->__('BankTransferMessage');?></p></br>
39
- <p id="BankTransferTerms"><?php echo $this->__('BankTransferTerms');?></p></br></br>
40
-
41
- <table id="BankTransferInfo">
42
-
43
- <tr>
44
- <td>
45
- <?php echo $this->__('ReferenceNumber');?>
46
- </td>
47
- <td>
48
- <?php echo $this->referenceNumber;?>
49
- </td>
50
- </tr>
51
- <?php } ?>
52
-
53
- <?php if(isset($this->bankName)){?>
54
- <tr>
55
- <td>
56
- <?php echo $this->__('BankName');?>
57
- </td>
58
- <td>
59
- <?php echo $this->bankName;?>
60
- </td>
61
- </tr>
62
- <?php }?>
63
- <?php if(isset($this->accountHolder)){?>
64
- <tr>
65
- <td>
66
- <?php echo $this->__('AccountHolder');?>
67
- </td>
68
- <td>
69
- <?php echo $this->accountHolder;?>
70
- </td>
71
- </tr>
72
- <?php }?>
73
-
74
- <?php if(isset($this->accountNumber)){?>
75
- <tr>
76
- <td>
77
- <?php echo $this->__('AccountNumber');?>
78
- </td>
79
- <td>
80
- <?php echo $this->accountNumber;?>
81
- </td>
82
- </tr>
83
- <?php }?>
84
- <?php if(isset($this->SWIFT_BIC)){?>
85
- <tr>
86
- <td>
87
- <?php echo $this->__('SWIFT_BIC');?>
88
- </td>
89
- <td>
90
- <?php echo $this->SWIFT_BIC;?>
91
- </td>
92
- </tr>
93
- <?php }?>
94
- <?php if(isset($this->amountToPay)){?>
95
- <tr>
96
- <td>
97
- <?php echo $this->__('AmountToPay');?>
98
- </td>
99
- <td>
100
- <?php echo $this->amountToPay;?>
101
- </td>
102
- </tr>
103
- <?php }?>
104
- <?php if(isset($this->accountCurrency)){?>
105
- <tr>
106
- <td>
107
- <?php echo $this->__('AccountCurrency');?>
108
- </td>
109
- <td>
110
- <?php echo $this->accountCurrency;?>
111
- </td>
112
- </tr>
113
-
114
-
115
- </table>
116
-
117
-
118
- </div>
119
-
120
- <?php }?>
1
+ <?php
2
+ if( !empty( $this->displayPaymentInstructions ) )
3
+ {
4
+ ?>
5
+ <style type="text/css">
6
+ #BankTransferInfo { margin: 0 auto; }
7
+ #BankTransferInfo tr { text-align: left; }
8
+ #BankTransferInfo td { width: 250px; text-align: left; }
9
+ #BankTransferMessage { text-align: left; }
10
+ #BankTransferTerms { text-align: left; font-weight: bold; }
11
+ #PaymentDetails { background-color: #eeeeee; padding: 5px; }
12
+ </style>
13
+
14
+ <div id="PaymentDetails">
15
+ <p id="BankTransferMessage"><?php echo $this->__('BankTransferMessage');?></p>
16
+ <br/>
17
+ <p id="BankTransferTerms"><?php echo $this->__('BankTransferTerms');?></p>
18
+ <br/><br/>
19
+ <table id="BankTransferInfo">
20
+ <?php
21
+ if( isset( $this->referenceNumber ) )
22
+ {
23
+ ?>
24
+ <tr>
25
+ <td><?php echo $this->__('ReferenceNumber');?></td>
26
+ <td><?php echo $this->referenceNumber;?></td>
27
+ </tr>
28
+ <?php
29
+ }
30
+
31
+ if( isset( $this->entityNumber ) )
32
+ {
33
+ ?>
34
+ <tr>
35
+ <td><?php echo $this->__('EntityNumber');?></td>
36
+ <td><?php echo $this->entityNumber;?></td>
37
+ </tr>
38
+ <?php
39
+ }
40
+
41
+ if( isset( $this->bankName ) )
42
+ {
43
+ ?>
44
+ <tr>
45
+ <td><?php echo $this->__('BankName');?></td>
46
+ <td><?php echo $this->bankName;?></td>
47
+ </tr>
48
+ <?php
49
+ }
50
+
51
+ if( isset( $this->accountHolder ) )
52
+ {
53
+ ?>
54
+ <tr>
55
+ <td><?php echo $this->__('AccountHolder');?></td>
56
+ <td><?php echo $this->accountHolder;?></td>
57
+ </tr>
58
+ <?php
59
+ }
60
+
61
+ if( isset( $this->accountNumber ) )
62
+ {
63
+ ?>
64
+ <tr>
65
+ <td><?php echo $this->__( 'AccountNumber' );?></td>
66
+ <td><?php echo $this->accountNumber;?></td>
67
+ </tr>
68
+ <?php
69
+ }
70
+
71
+ if( isset( $this->SWIFT_BIC ) )
72
+ {
73
+ ?>
74
+ <tr>
75
+ <td><?php echo $this->__('SWIFT_BIC');?></td>
76
+ <td><?php echo $this->SWIFT_BIC;?></td>
77
+ </tr>
78
+ <?php
79
+ }
80
+
81
+ if( isset( $this->IBAN ) )
82
+ {
83
+ ?>
84
+ <tr>
85
+ <td><?php echo $this->__('IBAN');?></td>
86
+ <td><?php echo $this->IBAN;?></td>
87
+ </tr>
88
+ <?php
89
+ }
90
+
91
+ if( isset( $this->amountToPay ) )
92
+ {
93
+ ?>
94
+ <tr>
95
+ <td><?php echo $this->__('AmountToPay');?></td>
96
+ <td><?php echo $this->amountToPay;?></td>
97
+ </tr>
98
+ <?php
99
+ }
100
+
101
+ if( isset( $this->accountCurrency ) )
102
+ {
103
+ ?>
104
+ <tr>
105
+ <td><?php echo $this->__( 'AccountCurrency' );?></td>
106
+ <td><?php echo $this->accountCurrency;?></td>
107
+ </tr>
108
+ <?php
109
+ }
110
+ ?>
111
+ </table>
112
+ </div>
113
+ <?php
114
+ }
115
+
 
 
 
 
 
app/design/frontend/base/default/template/smart2pay/globalpay/paymethod/form.phtml CHANGED
@@ -1,228 +1,212 @@
1
- <?php
2
- $_code = $this->getMethodCode();
3
- $s2pMethods = $this->getPaymentMethods();
4
- ?>
5
-
6
- <style type="text/css">
7
- .s2p-method-wrapper{
8
- display: block;
9
- white-space: nowrap;
10
- float: left;
11
- }
12
- .s2p-method-a{
13
- text-decoration: none;
14
- }
15
- .s2p-method-name{
16
- display: block;
17
- float: left;
18
- }
19
- .s2p-method-img{
20
- vertical-align: middle;
21
- max-height:40px;
22
- max-width:130px;
23
- }
24
- a .s2p-method-img,
25
- a .s2p-method-name,
26
- a .s2p-method-img-name,
27
- .s2p-method-ck{
28
- cursor: pointer;
29
- }
30
-
31
- #payment_form_globalpay{
32
- background-color: #F3F3F3;
33
- border-left: 2px solid #CCC;
34
- border: 1px solid #CCC;
35
- }
36
-
37
- <?php if (!$this->method_config['show_methods_in_grid']):?>
38
-
39
- #payment_form_globalpay td {
40
- padding: 10px;
41
- }
42
-
43
-
44
- .s2p-method-img-name.no-grid-w-description-title{
45
- border-bottom: 1px solid #CCCCCC;
46
- font-size: 100%;
47
- font-weight: bold;
48
- margin-bottom: 2px;
49
- padding-bottom: 2px;
50
- }
51
-
52
-
53
- .s2p-method-img-name.no-grid-w-description-content{
54
- font-size: 80%;
55
- }
56
-
57
-
58
- <?php endif; ?>
59
-
60
-
61
- <?php if ($this->method_config['show_methods_in_grid'] && $this->method_config['grid_column_number'] == 1) :?>
62
-
63
- .grid.one-column{
64
- text-align: left;
65
- padding: 15px;
66
- }
67
-
68
- .s2p-method-img-name{
69
- padding: 5px 0px 0px 26px;
70
- }
71
-
72
- <?php endif; ?>
73
-
74
- <?php if ($this->method_config['show_methods_in_grid'] && $this->method_config['grid_column_number'] > 1) :?>
75
-
76
- .grid.one-column{
77
- padding: 15px;
78
- }
79
-
80
- .s2p-method-img-name{
81
- padding: 5px 0px 0px 26px;
82
- }
83
-
84
- <?php endif; ?>
85
-
86
-
87
-
88
- .s2p-method-img-name{
89
- display: block;
90
- /*float: right;*/
91
- }
92
-
93
- .s2p-method-img{
94
- padding-left:10px;
95
- }
96
- </style>
97
-
98
- <input type="hidden" id="s2p-payment-method" name="payment[method_id]" value="<?php echo isset($s2pMethods[0]['method_id']) ? $s2pMethods[0]['method_id'] : ""?>" />
99
-
100
- <div id="payment_form_globalpay" style="display: none;">
101
- <?php
102
- /*
103
- * Send payment method
104
- */
105
- if(!empty($s2pMethods)):
106
- ?>
107
- <table>
108
- <?php
109
- /*
110
- * Show methods in grid
111
- */
112
- if($this->method_config['show_methods_in_grid']): //show methods in grid
113
- $grid_col_number = ((int) $this->method_config['grid_column_number'] > 0) ? (int) $this->method_config['grid_column_number'] : 3;
114
- $printed_grid_cols = 0;
115
- while ($printed_grid_cols <= sizeof($s2pMethods) - 1):
116
- echo "<tr>";
117
- for($c=0; $c<$grid_col_number; $c++):
118
- if(isset($s2pMethods[$printed_grid_cols])):
119
- $method = $s2pMethods[$printed_grid_cols];
120
- ?>
121
- <td class="grid one-column">
122
- <span class="s2p-method-wrapper" style="">
123
- <input type="radio" class="s2p-method-ck" data-method-id="<?php echo $method['method_id'] ?>" <?php if($c==0 && $printed_grid_cols==0): ?> checked="checked" <?php endif;?>>
124
- <?php if ($this->method_config['methods_display_mode'] == 'text'): ?>
125
- <?php echo $this->__($method['display_name']); ?>
126
- &nbsp;&nbsp;
127
- <?php elseif ($this->method_config['methods_display_mode'] == 'logo'): ?>
128
- <img class="s2p-method-img" alt="<?php echo $this->__($method['display_name']); ?>" src='<?php echo $this->getSkinUrl('images/smart2pay/methods/'.$method['logo_url'])?>' />
129
- <?php else: ?>
130
- <img class="s2p-method-img" alt="<?php echo $this->__($method['display_name']); ?>" src='<?php echo $this->getSkinUrl('images/smart2pay/methods/'.$method['logo_url'])?>' />
131
- <br />
132
- <span class="s2p-method-img-name"><?php echo $this->__($method['display_name']); ?></span>
133
- <?php endif; ?>
134
- <!--/a-->
135
- </span>
136
- </td>
137
- <?php
138
- else:
139
- echo "<td></td>";
140
- endif;
141
- $printed_grid_cols++;
142
- endfor;
143
- echo "</tr>";
144
- endwhile;
145
- /*
146
- * Show methods in 2 column table
147
- */
148
- else:
149
- {
150
- $k=0;
151
- foreach($s2pMethods as $key => $method):
152
- ?>
153
- <tr>
154
- <td style='vertical-align: middle;'>
155
- <span class="s2p-method-wrapper">
156
- <input type="radio" class="s2p-method-ck" data-method-id="<?php echo $method['method_id'] ?>" <?php if($k==0): ?> checked="checked" <?php endif;?>>&nbsp;&nbsp;
157
- <!--a class="s2p-method-a" data-method-id="<?php echo $method['method_id'] ?>" title="<?php echo $this->__($method['display_name']); ?>"-->
158
- <?php if ($this->method_config['methods_display_mode'] == 'text'): ?>
159
- <span class="s2p-method-name">&raquo <?php echo $this->__($method['display_name']); ?></span>
160
- <?php elseif ($this->method_config['methods_display_mode'] == 'logo'): ?>
161
- <img class="s2p-method-img" alt="<?php echo $this->__($method['display_name']); ?>" src='<?php echo $this->getSkinUrl('images/smart2pay/methods/'.$method['logo_url'])?>' />
162
- <?php else: ?>
163
- <img class="s2p-method-img" alt="<?php echo $this->__($method['display_name']); ?>" src='<?php echo $this->getSkinUrl('images/smart2pay/methods/'.$method['logo_url'])?>' />
164
- <?php endif; ?>
165
- <!--/a-->&nbsp;&nbsp;&nbsp;
166
- <?php echo ($this->method_config['show_text_img']) ? "<br />" : ""?>
167
- </span>
168
- </td>
169
- <td style='padding-bottom: 10px; padding-left: 10px;'>
170
- <div class="s2p-method-img-name no-grid-w-description-title"><?php echo $this->__($method['display_name']); ?></div>
171
- <div class="s2p-method-img-name no-grid-w-description-content">
172
- <?php echo $this->__($method['description']); ?>
173
- </div>
174
- </td>
175
- </tr>
176
- <?php
177
- $k++;
178
- endforeach;
179
- }
180
- endif;
181
- endif;
182
- ?>
183
- </table>
184
- </div>
185
-
186
- <script type="text/javascript" defer="defer" async="async">
187
- jQuery.noConflict();
188
-
189
- jQuery(document).ready(function(){
190
- <?php if(empty($s2pMethods)): ?>
191
- jQuery('#p_method_globalpay').parent().hide();
192
- <?php endif; ?>
193
-
194
- function s2pChooseMethod(methodId){
195
- jQuery('#s2p-payment-method').removeAttr('disabled');
196
- jQuery('#s2p-payment-method').val(methodId);
197
- checkS2PMethod(methodId);
198
- if (typeof payment.save == "function") {
199
- //uncomment if you need to submit on radiobox checking event
200
- //payment.save();
201
- }
202
- }
203
-
204
- function checkS2PMethod(methodId){
205
- jQuery('.s2p-method-ck').prop('checked', false);
206
- jQuery('.s2p-method-ck[data-method-id=' + methodId + ']').prop('checked', true);
207
- }
208
-
209
- jQuery('.s2p-method-a').on('click', function(){
210
- s2pChooseMethod(jQuery(this).data('methodId'));
211
- });
212
-
213
- jQuery('.s2p-method-ck').on('click', function(e){
214
- s2pChooseMethod(jQuery(this).data('methodId'));
215
- });
216
-
217
- <?php if($this->method_config['autoselect_s2p'] && !empty($s2pMethods)): ?>
218
- jQuery(function(){
219
- jQuery('html, body').mousemove(function(){
220
- jQuery('#s2p-payment-method').removeAttr('disabled');
221
- });
222
- jQuery('#p_method_globalpay').click();
223
-
224
-
225
- });
226
- <?php endif; ?>
227
- })
228
- </script>
1
+ <?php
2
+ $_code = $this->getMethodCode();
3
+ $s2pMethods = $this->getPaymentMethods();
4
+ ?>
5
+
6
+ <style type="text/css">
7
+ .s2p-method-wrapper { display: block; white-space: nowrap; float: left; }
8
+ .s2p-method-name { display: block; float: left; }
9
+ .s2p-method-img { float: left; vertical-align: middle; max-height:40px; max-width:130px; }
10
+ a .s2p-method-img, a .s2p-method-name, a .s2p-method-img-name, .s2p-method-ck { cursor: pointer; float: left; }
11
+ .s2p-method-ck { margin-top: 10px; max-width: 30px; }
12
+ .s2p-method-img-wrapper { min-height: 40px; vertical-align: middle; padding-left: 30px; }
13
+
14
+ #payment_form_globalpay { background-color: #F3F3F3; border: 1px solid #CCC; border-left: 2px solid #CCC; }
15
+
16
+ <?php
17
+ if( !$this->method_config['show_methods_in_grid'] )
18
+ {
19
+ ?>
20
+ #payment_form_globalpay td { padding: 10px; }
21
+ .s2p-method-img-name.no-grid-w-description-title {
22
+ border-bottom: 1px solid #CCCCCC;
23
+ font-size: 100%;
24
+ font-weight: bold;
25
+ margin-bottom: 2px;
26
+ padding-bottom: 2px;
27
+ }
28
+ .s2p-method-img-name.no-grid-w-description-content { font-size: 80%; }
29
+ <?php
30
+ } elseif( $this->method_config['grid_column_number'] == 1 )
31
+ {
32
+ ?>
33
+ .grid.one-column { text-align: left; padding: 15px; }
34
+ .s2p-method-img-name { padding: 5px 0px 0px 26px; }
35
+ <?php
36
+ } else
37
+ {
38
+ ?>
39
+ .grid.one-column { padding: 15px; }
40
+ .s2p-method-img-name { padding: 5px 0px 0px 26px; }
41
+ <?php
42
+ }
43
+ ?>
44
+
45
+ .s2p-method-img-name { display: block; /*float: right;*/ }
46
+ .s2p-method-img { padding-left: 15px; }
47
+ </style>
48
+
49
+ <input type="hidden" id="s2p-payment-method" name="payment[method_id]" value="0" />
50
+ <div id="payment_form_globalpay" style="display: none;">
51
+ <?php
52
+ /*
53
+ * Send payment method
54
+ */
55
+ if( !empty( $s2pMethods ) and is_array( $s2pMethods ) )
56
+ {
57
+ $s2pMethods_count = count( $s2pMethods );
58
+ ?>
59
+ <table style="width: 100%;">
60
+ <?php
61
+ /*
62
+ * Show methods in grid
63
+ */
64
+ if( $this->method_config['show_methods_in_grid'] )
65
+ {
66
+ //show methods in grid
67
+ $grid_col_number = ((int)$this->method_config['grid_column_number'] > 0) ? (int)$this->method_config['grid_column_number'] : 3;
68
+ $printed_grid_cols = 0;
69
+ while( $printed_grid_cols < $s2pMethods_count )
70
+ {
71
+ ?><tr><?php
72
+
73
+ for( $c = 0; $c < $grid_col_number; $c++ )
74
+ {
75
+ if( isset( $s2pMethods[$printed_grid_cols] ) )
76
+ {
77
+ $method = $s2pMethods[$printed_grid_cols];
78
+
79
+ ?>
80
+ <td class="grid one-column"><label class="s2p-method-wrapper" style="width: 100%;">
81
+ <input type="radio" class="s2p-method-ck" data-method-id="<?php echo $method['method_id'] ?>" <?php echo (($printed_grid_cols == 0)?'id="s2p-first-method-ck"':'')?> />
82
+ <div class="s2p-method-img-wrapper">
83
+ <?php
84
+
85
+ if( $this->method_config['methods_display_mode'] == 'text' )
86
+ {
87
+ ?><span class="s2p-method-img-name"><?php echo $this->__( $method['display_name'] )?></span><?php
88
+ } elseif( $this->method_config['methods_display_mode'] == 'logo' )
89
+ {
90
+ ?>
91
+ <img class="s2p-method-img" alt="<?php echo $this->__( $method['display_name'] ); ?>" src='<?php echo $this->getSkinUrl( 'images/smart2pay/methods/'.$method['logo_url'] ); ?>' />
92
+ <?php
93
+ } else
94
+ {
95
+ ?>
96
+ <img class="s2p-method-img" alt="<?php echo $this->__( $method['display_name'] ); ?>" src='<?php echo $this->getSkinUrl( 'images/smart2pay/methods/'.$method['logo_url'] ); ?>' />
97
+ <div style="clear: both;"></div>
98
+ <span class="s2p-method-img-name"><?php echo $this->__( $method['display_name'] ); ?></span>
99
+ <?php
100
+ }
101
+
102
+ ?></div></label></td><?php
103
+ } else
104
+ {
105
+ ?><td></td><?php
106
+ }
107
+
108
+ $printed_grid_cols++;
109
+ }
110
+
111
+ ?></tr><?php
112
+ }
113
+ /*
114
+ * Show methods in 2 column table
115
+ */
116
+ } else
117
+ {
118
+ $k = 0;
119
+ foreach( $s2pMethods as $key => $method )
120
+ {
121
+ ?>
122
+ <tr>
123
+ <td style='vertical-align: middle;'><label class="s2p-method-wrapper" style="width: 100%;">
124
+ <input type="radio" class="s2p-method-ck" data-method-id="<?php echo $method['method_id'] ?>" <?php echo (($k == 0)?'id="s2p-first-method-ck"':'')?> /> &nbsp;&nbsp;
125
+ <div class="s2p-method-img-wrapper">
126
+ <?php
127
+ if( $this->method_config['methods_display_mode'] == 'text' )
128
+ {
129
+ ?><span class="s2p-method-name">&raquo <?php echo $this->__( $method['display_name'] ); ?></span><?php
130
+ } elseif( $this->method_config['methods_display_mode'] == 'logo' )
131
+ {
132
+ ?><img class="s2p-method-img" alt="<?php echo $this->__( $method['display_name'] ); ?>" src='<?php echo $this->getSkinUrl( 'images/smart2pay/methods/'.$method['logo_url'] ) ?>' /><?php
133
+ } else
134
+ {
135
+ ?><img class="s2p-method-img" alt="<?php echo $this->__( $method['display_name'] ); ?>" src='<?php echo $this->getSkinUrl( 'images/smart2pay/methods/'.$method['logo_url'] ) ?>' /><?php
136
+ }
137
+ ?>
138
+ </label></td>
139
+ <td style='padding-bottom: 10px; padding-left: 10px;'>
140
+ <div class="s2p-method-img-name no-grid-w-description-title"><?php echo $this->__( $method['display_name'] ); ?></div>
141
+ <div class="s2p-method-img-name no-grid-w-description-content"><?php echo $this->__( $method['description'] ); ?></div>
142
+ </td>
143
+ </tr>
144
+ <?php
145
+
146
+ $k++;
147
+ }
148
+ }
149
+ }
150
+ ?>
151
+ </table>
152
+ </div>
153
+
154
+ <script type="text/javascript">
155
+ jQuery.noConflict();
156
+
157
+ function s2pChooseMethod( methodId )
158
+ {
159
+ jQuery('#s2p-payment-method').removeAttr('disabled');
160
+ jQuery('#s2p-payment-method').val( methodId );
161
+
162
+ checkS2PMethod( methodId );
163
+
164
+ if( typeof payment.save == "function" )
165
+ {
166
+ // uncomment if you want to submit payment choice on radiobox checking event
167
+ //payment.save();
168
+ }
169
+ }
170
+
171
+ function checkS2PMethod( methodId )
172
+ {
173
+ jQuery('.s2p-method-ck').prop('checked', false);
174
+ jQuery('.s2p-method-ck[data-method-id=' + methodId + ']').prop('checked', true );
175
+ }
176
+
177
+ function enableHiddenS2PField()
178
+ {
179
+ jQuery('#s2p-payment-method').removeAttr('disabled');
180
+ }
181
+
182
+ jQuery(document).ready(function()
183
+ {
184
+ jQuery('.s2p-method-ck').on('click', function(e) {
185
+ s2pChooseMethod( jQuery(this).data('methodId') );
186
+ });
187
+
188
+ <?php
189
+ if( empty( $s2pMethods ) )
190
+ {
191
+ ?>
192
+ jQuery('#p_method_globalpay').parent().hide();
193
+ jQuery('#s2p-payment-method').parent().hide();
194
+ <?php
195
+ } else
196
+ {
197
+ if( $this->method_config['autoselect_s2p']
198
+ and !empty( $s2pMethods ) )
199
+ {
200
+ ?>
201
+ jQuery('#p_method_globalpay').click();
202
+ <?php
203
+ }
204
+ ?>
205
+ jQuery('#s2p-first-method-ck').click();
206
+ <?php
207
+ }
208
+ ?>
209
+ })
210
+
211
+ setTimeout( enableHiddenS2PField, 100 );
212
+ </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/smart2pay/globalpay/paymethod/sendform.phtml CHANGED
@@ -1,265 +1,230 @@
1
- <div style="<?php echo ($this->form_data['debug_form']) ? "display: table;" : "display: none;" ?>">
2
-
3
- <?php if($this->form_data['debug_form']): ?>
4
- <p><b>Message to hash</b>: <?php echo strtolower($this->message_to_hash);?></p>
5
- <p><b>Hash</b>: <?php echo $this->hash?></p>
6
- <?php endif; ?>
7
-
8
- <form action="<?php echo $this->form_data['post_url'] ?>" id="s2pform" method="POST" <?php if($this->form_data['redirect_in_iframe']) echo 'target="merchantIframe"'; ?>>
9
- <table>
10
- <tr>
11
- <td>
12
- MerchantID
13
- </td>
14
- <td>
15
- <input type="text" name="MerchantID" value="<?php echo $this->form_data['mid'] ?>"/>
16
- </td>
17
- </tr>
18
- <tr>
19
- <td>
20
- MerchantTransactionID
21
- </td>
22
- <td>
23
- <input type="text" name="MerchantTransactionID" value="<?php echo $this->form_data['order_id'] ?>"/>
24
- </td>
25
- </tr>
26
- <tr>
27
- <td>
28
- Amount
29
- </td>
30
- <td>
31
- <input type="text" name="Amount" value="<?php echo $this->form_data['amount'] ?>"/>
32
- </td>
33
- </tr>
34
- <tr>
35
- <td>
36
- Currency
37
- </td>
38
- <td>
39
- <input type="text" name="Currency" value="<?php echo $this->form_data['currency'] ?>"/>
40
- </td>
41
- </tr>
42
- <tr>
43
- <td>
44
- ReturnURL
45
- </td>
46
- <td>
47
- <input type="text" name="ReturnURL" value="<?php echo $this->form_data['return_url'] ?>"/>
48
- </td>
49
- </tr>
50
- <?php if(!$this->form_data['method_id']):?>
51
- <tr>
52
- <td>
53
- IncludeMethodIDs
54
- </td>
55
- <td>
56
- <input type="text" name="IncludeMethodIDs" value="<?php echo $this->form_data['methods'] ?>"/>
57
- </td>
58
- </tr>
59
- <?php endif; ?>
60
- <?php if($this->form_data['site_id']):?>
61
- <tr>
62
- <td>
63
- SiteID
64
- </td>
65
- <td>
66
- <input type="text" name="SiteID" value="<?php echo $this->form_data['site_id'] ?>"/>
67
- </td>
68
- </tr>
69
- <?php endif; ?>
70
- <tr>
71
- <td colspan="2">
72
- Optional:
73
- </td>
74
- </tr>
75
- <tr>
76
- <td>
77
- CustomerName
78
- </td>
79
- <td>
80
- <input type="text" name="CustomerName" value="<?php echo $this->form_data['customer_name'] ?>"/>
81
- </td>
82
- </tr>
83
-
84
- <tr>
85
- <td>
86
- CustomerLastName
87
- </td>
88
- <td>
89
- <input type="text" name="CustomerLastName" value="<?php echo $this->form_data['customer_last_name'] ?>"/>
90
- </td>
91
- </tr>
92
-
93
- <tr>
94
- <td>
95
- CustomerFirstName
96
- </td>
97
- <td>
98
- <input type="text" name="CustomerFirstName" value="<?php echo $this->form_data['customer_first_name'] ?>"/>
99
- </td>
100
- </tr>
101
-
102
- <tr>
103
- <td>
104
- CustomerEmail
105
- </td>
106
- <td>
107
- <input type="text" name="CustomerEmail" value="<?php echo $this->form_data['customer_email'] ?>"/>
108
- </td>
109
- </tr>
110
- <tr>
111
- <td>
112
- Country
113
- </td>
114
- <td>
115
- <input type="text" name="Country" value="<?php echo $this->form_data['country'] ?>"/>
116
- </td>
117
- </tr>
118
- <tr>
119
- <td>
120
- MethodID
121
- </td>
122
- <td>
123
- <input type="text" name="MethodID" value="<?php echo $this->form_data['method_id'] ?>"/>
124
- </td>
125
- </tr>
126
-
127
-
128
- <?php if($this->form_data['product_description_ref']): ?>
129
- <tr>
130
- <td>
131
- Description
132
- </td>
133
- <td>
134
- <input type="text" name="Description" value="<?php echo "Ref. no.: ".$this->form_data['order_id'] ?>"/>
135
- </td>
136
- </tr>
137
- <?php else: ?>
138
- <tr>
139
- <td>
140
- Description
141
- </td>
142
- <td>
143
- <input type="text" name="Description" value="<?php echo $this->form_data['product_description_custom'] ?>"/>
144
- </td>
145
- </tr>
146
- <?php endif; ?>
147
-
148
- <?php if($this->form_data['skip_payment_page']): ?>
149
- <?php if(!in_array($this->form_data['method_id'], array(1, 20)) || $this->form_data['notify_payment_instructions']): ?>
150
- <tr>
151
- <td>
152
- SkipHPP
153
- </td>
154
- <td>
155
- <input type="text" name="SkipHPP" value="1"/>
156
- </td>
157
- </tr>
158
- <?php endif; ?>
159
- <?php endif; ?>
160
-
161
- <?php if($this->form_data['redirect_in_iframe']): ?>
162
- <tr>
163
- <td>
164
- RedirectInIframe
165
- </td>
166
- <td>
167
- <input type="text" name="RedirectInIframe" value="1"/>
168
- </td>
169
- </tr>
170
- <?php endif; ?>
171
-
172
- <?php if($this->form_data['skin_id']): ?>
173
- <tr>
174
- <td>
175
- SkinID
176
- </td>
177
- <td>
178
- <input type="text" name="SkinID" value="<?php echo $this->form_data['skin_id']?>"/>
179
- </td>
180
- </tr>
181
- <?php endif; ?>
182
-
183
- <tr>
184
- <td>
185
- Hash
186
- </td>
187
- <td>
188
- <input type="text" name="Hash" value="<?php echo $this->form_data['hash'] ?>"/>
189
- </td>
190
- </tr>
191
- <tr>
192
- <td colspan='2'>
193
- <input type="submit" value="Submit"/>
194
- </td>
195
- </tr>
196
- </table>
197
- </form>
198
- </div>
199
-
200
- <div id="iframe-container" style="display: none; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 1000">
201
- <div style="position: relative; width: 100%; height: 100%;">
202
- <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: #333; opacity: 0.5; filter:alpha(opacity=50)"></div>
203
- <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;">
204
- <div style="display: table; margin: 0px auto; margin-top: 50px;">
205
- <?php if($this->form_data['redirect_in_iframe'] && $this->form_data['skip_payment_page'] && ($this->form_data['method_id'] == 1001 || $this->form_data['method_id'] == 1002 || $this->form_data['method_id'] == 76)):?>
206
- <iframe style='border: none; margin: 0px auto; background-color: #ffffff;' id="merchantIframe" name="merchantIframe" src="" width="780" height="500">
207
- <?php else:?>
208
- <iframe style='border: none; margin: 0px auto; background-color: transparent;' id="merchantIframe" name="merchantIframe" src="" width="900" height="800">
209
- <?php endif;?>
210
-
211
- </iframe>
212
- </div>
213
- </div>
214
- </div>
215
- </div>
216
-
217
- <script>
218
-
219
- jQuery.noConflict();
220
-
221
- function modalIframe(){
222
- jQuery("#iframe-container").css({height: jQuery('body').height()});
223
- jQuery("#iframe-container").appendTo('body');
224
- jQuery("#iframe-container").show();
225
- }
226
-
227
- jQuery(document).ready(function() {
228
-
229
- jQuery('#s2pform').submit(function(){
230
- modalIframe();
231
- });
232
- // autosend form if needed
233
- <?php if(!$this->form_data['debug_form']):?>
234
- jQuery("#s2pform").submit();
235
- <?php endif; ?>
236
- // get/parse smart2pay message
237
- var onmessage = function(e) {
238
- console.log(e);
239
- if(e.data == 'close_HPP') {
240
- setTimeout(function() {jQuery('iframe#merchantIframe').remove()}, 300);
241
- }
242
- else if (e.data.substring(0, 7) == "height=") {
243
- var iframe_height = e.data.substring(7);
244
- jQuery('iframe#merchantIframe').attr('height', parseInt(iframe_height)+300);
245
- console.log("jQuery('iframe#merchantIframe').attr('height'," + (parseInt(iframe_height)+300) + ");");
246
- }
247
- else if (e.data.substring(0, 6) == "width=") {
248
- var iframe_width = e.data.substring(6);
249
- jQuery('iframe#merchantIframe').attr('width', parseInt(iframe_width)+100);
250
- console.log("jQuery('iframe#merchantIframe').attr('width'," + (parseInt(iframe_width)+100) + ");");
251
- }
252
-
253
- else if (e.data.substring(0, 12) == "redirectURL="){
254
- window.location = e.data.substring(12);
255
- }
256
- }
257
- // set event listener for smart2pay
258
- if(typeof window.addEventListener != 'undefined') {
259
- window.addEventListener('message', onmessage, false);
260
- }
261
- else if(typeof window.attachEvent != 'undefined') {
262
- window.attachEvent('onmessage', onmessage);
263
- }
264
- });
265
- </script>
1
+ <div style="<?php echo ($this->form_data['debug_form']) ? "display: table;" : "display: none;" ?>">
2
+
3
+ <?php
4
+ if( $this->form_data['debug_form'] )
5
+ {
6
+ ?>
7
+ <p><b>Message to hash</b>: <?php echo strtolower($this->message_to_hash);?></p>
8
+ <p><b>Hash</b>: <?php echo $this->hash?></p>
9
+ <?php
10
+ }
11
+ ?>
12
+
13
+ <form action="<?php echo $this->form_data['post_url'] ?>" id="s2pform" method="post" <?php if($this->form_data['redirect_in_iframe']) echo 'target="merchantIframe"'; ?>>
14
+ <table>
15
+ <tr>
16
+ <td>MerchantID</td>
17
+ <td><input type="text" name="MerchantID" value="<?php echo $this->form_data['mid'] ?>" /></td>
18
+ </tr>
19
+ <tr>
20
+ <td>MerchantTransactionID</td>
21
+ <td><input type="text" name="MerchantTransactionID" value="<?php echo $this->form_data['order_id'] ?>"/></td>
22
+ </tr>
23
+ <tr>
24
+ <td>Amount</td>
25
+ <td><input type="text" name="Amount" value="<?php echo $this->form_data['amount'] ?>"/></td>
26
+ </tr>
27
+ <tr>
28
+ <td>Currency</td>
29
+ <td><input type="text" name="Currency" value="<?php echo $this->form_data['currency'] ?>"/></td>
30
+ </tr>
31
+ <tr>
32
+ <td>ReturnURL</td>
33
+ <td><input type="text" name="ReturnURL" value="<?php echo $this->form_data['return_url'] ?>"/></td>
34
+ </tr>
35
+ <?php
36
+ if( !$this->form_data['method_id'] )
37
+ {
38
+ ?>
39
+ <tr>
40
+ <td>
41
+ IncludeMethodIDs
42
+ </td>
43
+ <td>
44
+ <input type="text" name="IncludeMethodIDs" value="<?php echo $this->form_data['methods'] ?>"/>
45
+ </td>
46
+ </tr>
47
+ <?php
48
+ }
49
+
50
+ if( $this->form_data['site_id'] )
51
+ {
52
+ ?>
53
+ <tr>
54
+ <td>
55
+ SiteID
56
+ </td>
57
+ <td>
58
+ <input type="text" name="SiteID" value="<?php echo $this->form_data['site_id'] ?>"/>
59
+ </td>
60
+ </tr>
61
+ <?php
62
+ }
63
+ ?>
64
+ <tr>
65
+ <td colspan="2">Optional:</td>
66
+ </tr>
67
+ <tr>
68
+ <td>CustomerName</td>
69
+ <td><input type="text" name="CustomerName" value="<?php echo $this->form_data['customer_name'] ?>" /></td>
70
+ </tr>
71
+
72
+ <tr>
73
+ <td>CustomerLastName</td>
74
+ <td><input type="text" name="CustomerLastName" value="<?php echo $this->form_data['customer_last_name'] ?>"/></td>
75
+ </tr>
76
+
77
+ <tr>
78
+ <td>CustomerFirstName</td>
79
+ <td><input type="text" name="CustomerFirstName" value="<?php echo $this->form_data['customer_first_name'] ?>"/></td>
80
+ </tr>
81
+
82
+ <tr>
83
+ <td>CustomerEmail</td>
84
+ <td><input type="text" name="CustomerEmail" value="<?php echo $this->form_data['customer_email'] ?>"/></td>
85
+ </tr>
86
+ <tr>
87
+ <td>Country</td>
88
+ <td><input type="text" name="Country" value="<?php echo $this->form_data['country'] ?>"/></td>
89
+ </tr>
90
+ <tr>
91
+ <td>MethodID</td>
92
+ <td><input type="text" name="MethodID" value="<?php echo $this->form_data['method_id'] ?>"/></td>
93
+ </tr>
94
+
95
+
96
+ <?php
97
+ if( $this->form_data['product_description_ref'] )
98
+ {
99
+ ?>
100
+ <tr>
101
+ <td>Description</td>
102
+ <td><input type="text" name="Description" value="<?php echo "Ref. no.: ".$this->form_data['order_id'] ?>"/></td>
103
+ </tr>
104
+ <?php
105
+ } else
106
+ {
107
+ ?>
108
+ <tr>
109
+ <td>Description</td>
110
+ <td>
111
+ <input type="text" name="Description" value="<?php echo $this->form_data['product_description_custom'] ?>"/>
112
+ </td>
113
+ </tr>
114
+ <?php
115
+ }
116
+
117
+ if( $this->form_data['skip_payment_page']
118
+ and (!in_array( $this->form_data['method_id'], array( 1, 20 ) )
119
+ or $this->form_data['notify_payment_instructions']
120
+ ) )
121
+ {
122
+ ?>
123
+ <tr>
124
+ <td>SkipHPP</td>
125
+ <td><input type="text" name="SkipHPP" value="1" /></td>
126
+ </tr>
127
+ <?php
128
+ }
129
+
130
+ if( $this->form_data['redirect_in_iframe'] )
131
+ {
132
+ ?>
133
+ <tr>
134
+ <td>RedirectInIframe</td>
135
+ <td><input type="text" name="RedirectInIframe" value="1"/></td>
136
+ </tr>
137
+ <?php
138
+ }
139
+
140
+ if( $this->form_data['skin_id'] )
141
+ {
142
+ ?>
143
+ <tr>
144
+ <td>SkinID</td>
145
+ <td><input type="text" name="SkinID" value="<?php echo $this->form_data['skin_id']?>" /></td>
146
+ </tr>
147
+ <?php
148
+ }
149
+ ?>
150
+
151
+ <tr>
152
+ <td>Hash</td>
153
+ <td><input type="text" name="Hash" value="<?php echo $this->form_data['hash'] ?>" /></td>
154
+ </tr>
155
+ <tr>
156
+ <td colspan='2'><input type="submit" value="Submit"/></td>
157
+ </tr>
158
+ </table>
159
+ </form>
160
+ </div>
161
+
162
+ <div id="iframe-container" style="display: none; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 1000">
163
+ <div style="position: relative; width: 100%; height: 100%;">
164
+ <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: #333; opacity: 0.5; filter:alpha(opacity=50)"></div>
165
+ <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;">
166
+ <div style="display: table; margin: 0px auto; margin-top: 50px;">
167
+ <?php
168
+ if( $this->form_data['redirect_in_iframe']
169
+ && $this->form_data['skip_payment_page']
170
+ && ($this->form_data['method_id'] == 1001 || $this->form_data['method_id'] == 1002 || $this->form_data['method_id'] == 76)):?>
171
+ <iframe style='border: none; margin: 0px auto; background-color: #ffffff;' id="merchantIframe" name="merchantIframe" src="" width="780" height="500">
172
+ <?php else:?>
173
+ <iframe style='border: none; margin: 0px auto; background-color: transparent;' id="merchantIframe" name="merchantIframe" src="" width="900" height="800">
174
+ <?php endif;?>
175
+ </iframe>
176
+ </div>
177
+ </div>
178
+ </div>
179
+ </div>
180
+
181
+ <script>
182
+
183
+ jQuery.noConflict();
184
+
185
+ function modalIframe(){
186
+ jQuery("#iframe-container").css({height: jQuery('body').height()});
187
+ jQuery("#iframe-container").appendTo('body');
188
+ jQuery("#iframe-container").show();
189
+ }
190
+
191
+ jQuery(document).ready(function() {
192
+
193
+ jQuery('#s2pform').submit(function(){
194
+ modalIframe();
195
+ });
196
+ // autosend form if needed
197
+ <?php if(!$this->form_data['debug_form']):?>
198
+ jQuery("#s2pform").submit();
199
+ <?php endif; ?>
200
+ // get/parse smart2pay message
201
+ var onmessage = function(e) {
202
+ console.log(e);
203
+ if(e.data == 'close_HPP') {
204
+ setTimeout(function() {jQuery('iframe#merchantIframe').remove()}, 300);
205
+ }
206
+ else if (e.data.substring(0, 7) == "height=") {
207
+ var iframe_height = e.data.substring(7);
208
+ jQuery('iframe#merchantIframe').attr('height', parseInt(iframe_height)+300);
209
+ console.log("jQuery('iframe#merchantIframe').attr('height'," + (parseInt(iframe_height)+300) + ");");
210
+ }
211
+ else if (e.data.substring(0, 6) == "width=") {
212
+ var iframe_width = e.data.substring(6);
213
+ jQuery('iframe#merchantIframe').attr('width', parseInt(iframe_width)+100);
214
+ console.log("jQuery('iframe#merchantIframe').attr('width'," + (parseInt(iframe_width)+100) + ");");
215
+ }
216
+
217
+ else if (e.data.substring(0, 12) == "redirectURL="){
218
+ window.location = e.data.substring(12);
219
+ }
220
+ };
221
+
222
+ // set event listener for smart2pay
223
+ if(typeof window.addEventListener != 'undefined') {
224
+ window.addEventListener('message', onmessage, false);
225
+ }
226
+ else if(typeof window.attachEvent != 'undefined') {
227
+ window.attachEvent('onmessage', onmessage);
228
+ }
229
+ });
230
+ </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/da_DK/Smart2Pay_Globalpay.csv CHANGED
@@ -1,8 +1,8 @@
1
- "Bank Transfer","Bank Transfer"
2
- "Trustly","Trustly"
3
- "Bitcoin","Bitcoin"
4
- "Bank Transfer description","Bank Transfer offers you the possibility to pay locally from your own bank account. You will get a reference number and the bank account details to be able to make the payment. "
5
- "Trustly description","Trustly (tidligere Instant Bank/GluePay) lader dig betale via nettet med din bankkonto - nemt, hurtigt og sikkert. Du skal blot vælge din bank, følge instrukserne og udfyld de behøvede oplysninger. Bekræft så betalingen som du plejer med din netbank ved at underskrive med en banksikkerhedskode til engangsbrug fra dit gavekort og betalingen er fuldført."
6
- "Bitcoin description","Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
7
- "Ukash description","Ukash voucher is a prepaid voucher you can use to pay - there are no extra fees. So, if you want to pay using Ukash voucher you simply visit your <a href=""https://www.ukash.com/en-dk/where-to-get/"" target=""_blank"">nearest store</a>. To pay you simply type in the 19 digit voucher code and the voucher value."
8
- "Paysafecard description","Paysafecard voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using Paysafecard voucher you simply visit your <a href=""https://www.paysafecard.com/da-dk/kobaf"" target=""_blank"">nearest store</a>. Then you simply type in the 16 digit voucher code and that.s it . the payment is done."
1
+ "Bank Transfer","Bank Transfer"
2
+ "Trustly","Trustly"
3
+ "Bitcoin","Bitcoin"
4
+ "Bank Transfer description","Bank Transfer offers you the possibility to pay locally from your own bank account. You will get a reference number and the bank account details to be able to make the payment. "
5
+ "Trustly description","Trustly (tidligere Instant Bank/GluePay) lader dig betale via nettet med din bankkonto - nemt, hurtigt og sikkert. Du skal blot vælge din bank, følge instrukserne og udfyld de behøvede oplysninger. Bekræft så betalingen som du plejer med din netbank ved at underskrive med en banksikkerhedskode til engangsbrug fra dit gavekort og betalingen er fuldført."
6
+ "Bitcoin description","Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
7
+ "Ukash description","Ukash voucher is a prepaid voucher you can use to pay - there are no extra fees. So, if you want to pay using Ukash voucher you simply visit your <a href=""https://www.ukash.com/en-dk/where-to-get/"" target=""_blank"">nearest store</a>. To pay you simply type in the 19 digit voucher code and the voucher value."
8
+ "Paysafecard description","Paysafecard voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using Paysafecard voucher you simply visit your <a href=""https://www.paysafecard.com/da-dk/kobaf"" target=""_blank"">nearest store</a>. Then you simply type in the 16 digit voucher code and that.s it . the payment is done."
app/locale/de_AT/Smart2Pay_Globalpay.csv CHANGED
@@ -1,14 +1,14 @@
1
- "Giropay", "Giropay"
2
- "Bank Transfer", "Bank Transfer"
3
- "EPS", "EPS"
4
- "Sofort Banking", "Sofortüberweisung"
5
- "Ukash","Ukash"
6
- "Paysafecard","Paysafecard"
7
- "Bitcoin", "Bitcoin"
8
- "Bank Transfer description", "Banküberweisung (Bank Transfer) erlaubt Ihnen von Ihrem eigenen Konto lokal zu zahlen. Sie werden eine Geschäftsnummer und die Bankverbindung bekommen, um die Zahlung zu leisten."
9
- "Sofort Banking description","Sofortüberweisung ist eine online Zahlungsart, eine unmittelbare Zahlung per direkt Banküberweisung aus einem Bankkonto durch Internet Banking."
10
- "Giropay description","Giropay ist eine online Zahlungsart welche Ihnen erlaubt, zeitnah Zahlungen durch Internet Banking zu machen. Um Giropay zu benutzen, brauchen Sie ein Girokonto (ein Girokonto welches bei einer beteiligten Bank oder bei der Sparkasse eröffnet wird)."
11
- "EPS description", "Der EPS E-Zahlung Standard erlaubt Ihnen zeitnah Zahlungen durch Internet Banking zu machen. Die wichtigste Banken durch welchen Sie Zahlungen machen können sind: Bank Austria Creditanstalt, Erste Bank Sparkasse, Raiffeisen Bank und Bawag PSK."
12
- "Ukash description","Der Ukash Gutschein ist ein vorausgezahlter Gutschein, mit welchen Sie Zahlungen ohne Zusatskosten leisten können. Also, ob Sie einen Gutschein nutzen wollen, müssen Sie der <a href=""http://www.ukash.com/de-DE/where-to-get/"" target=""_blank"">nächste Laden</a> besuchen. Für Zahlungen, müssen Sie den 19-Ziffer Kode und den Wert des Gutscheins eingeben."
13
- "Paysafecard description","Der Paysafecard Gutschein ist ein vorausgezahlter Gutschein, mit welchen Sie Zahlungen ohne Zusatskosten leisten können. Also, ob Sie etwas mit einen Paysafecard Gutschein kaufen wollen, müssen Sie der <a href=""https://www.paysafecard.com/de-de/"" target=""_blank"">nächste Laden</a> besuchen. Für Zahlungen, müssen Sie den 16-Ziffer Kode eingeben und alles ist fertig - die Zahlung wird geleistet."
14
- "Bitcoin description", "Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
1
+ "Giropay", "Giropay"
2
+ "Bank Transfer", "Bank Transfer"
3
+ "EPS", "EPS"
4
+ "Sofort Banking", "Sofortüberweisung"
5
+ "Ukash","Ukash"
6
+ "Paysafecard","Paysafecard"
7
+ "Bitcoin", "Bitcoin"
8
+ "Bank Transfer description", "Banküberweisung (Bank Transfer) erlaubt Ihnen von Ihrem eigenen Konto lokal zu zahlen. Sie werden eine Geschäftsnummer und die Bankverbindung bekommen, um die Zahlung zu leisten."
9
+ "Sofort Banking description","Sofortüberweisung ist eine online Zahlungsart, eine unmittelbare Zahlung per direkt Banküberweisung aus einem Bankkonto durch Internet Banking."
10
+ "Giropay description","Giropay ist eine online Zahlungsart welche Ihnen erlaubt, zeitnah Zahlungen durch Internet Banking zu machen. Um Giropay zu benutzen, brauchen Sie ein Girokonto (ein Girokonto welches bei einer beteiligten Bank oder bei der Sparkasse eröffnet wird)."
11
+ "EPS description", "Der EPS E-Zahlung Standard erlaubt Ihnen zeitnah Zahlungen durch Internet Banking zu machen. Die wichtigste Banken durch welchen Sie Zahlungen machen können sind: Bank Austria Creditanstalt, Erste Bank Sparkasse, Raiffeisen Bank und Bawag PSK."
12
+ "Ukash description","Der Ukash Gutschein ist ein vorausgezahlter Gutschein, mit welchen Sie Zahlungen ohne Zusatskosten leisten können. Also, ob Sie einen Gutschein nutzen wollen, müssen Sie der <a href=""http://www.ukash.com/de-DE/where-to-get/"" target=""_blank"">nächste Laden</a> besuchen. Für Zahlungen, müssen Sie den 19-Ziffer Kode und den Wert des Gutscheins eingeben."
13
+ "Paysafecard description","Der Paysafecard Gutschein ist ein vorausgezahlter Gutschein, mit welchen Sie Zahlungen ohne Zusatskosten leisten können. Also, ob Sie etwas mit einen Paysafecard Gutschein kaufen wollen, müssen Sie der <a href=""https://www.paysafecard.com/de-de/"" target=""_blank"">nächste Laden</a> besuchen. Für Zahlungen, müssen Sie den 16-Ziffer Kode eingeben und alles ist fertig - die Zahlung wird geleistet."
14
+ "Bitcoin description", "Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
app/locale/de_DE/Smart2Pay_Globalpay.csv CHANGED
@@ -1,14 +1,14 @@
1
- "Giropay", "Giropay"
2
- "Bank Transfer", "Bank Transfer"
3
- "EPS", "EPS"
4
- "Sofort Banking", "Sofortüberweisung"
5
- "Ukash","Ukash"
6
- "Paysafecard","Paysafecard"
7
- "Bitcoin", "Bitcoin"
8
- "Bank Transfer description", "Banküberweisung (Bank Transfer) erlaubt Ihnen von Ihrem eigenen Konto lokal zu zahlen. Sie werden eine Geschäftsnummer und die Bankverbindung bekommen, um die Zahlung zu leisten."
9
- "Sofort Banking description","Sofortüberweisung ist eine online Zahlungsart, eine unmittelbare Zahlung per direkt Banküberweisung aus einem Bankkonto durch Internet Banking."
10
- "Giropay description","Giropay ist eine online Zahlungsart welche Ihnen erlaubt, zeitnah Zahlungen durch Internet Banking zu machen. Um Giropay zu benutzen, brauchen Sie ein Girokonto (ein Girokonto welches bei einer beteiligten Bank oder bei der Sparkasse eröffnet wird)."
11
- "EPS description", "Der EPS E-Zahlung Standard erlaubt Ihnen zeitnah Zahlungen durch Internet Banking zu machen. Die wichtigste Banken durch welchen Sie Zahlungen machen können sind: Bank Austria Creditanstalt, Erste Bank Sparkasse, Raiffeisen Bank und Bawag PSK."
12
- "Ukash description","Der Ukash Gutschein ist ein vorausgezahlter Gutschein, mit welchen Sie Zahlungen ohne Zusatskosten leisten können. Also, ob Sie einen Gutschein nutzen wollen, müssen Sie der <a href=""http://www.ukash.com/de-DE/where-to-get/"" target=""_blank"">nächste Laden</a> besuchen. Für Zahlungen, müssen Sie den 19-Ziffer Kode und den Wert des Gutscheins eingeben."
13
- "Paysafecard description","Der Paysafecard Gutschein ist ein vorausgezahlter Gutschein, mit welchen Sie Zahlungen ohne Zusatskosten leisten können. Also, ob Sie etwas mit einen Paysafecard Gutschein kaufen wollen, müssen Sie der <a href=""https://www.paysafecard.com/de-de/"" target=""_blank"">nächste Laden</a> besuchen. Für Zahlungen, müssen Sie den 16-Ziffer Kode eingeben und alles ist fertig - die Zahlung wird geleistet."
14
- "Bitcoin description", "Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
1
+ "Giropay", "Giropay"
2
+ "Bank Transfer", "Bank Transfer"
3
+ "EPS", "EPS"
4
+ "Sofort Banking", "Sofortüberweisung"
5
+ "Ukash","Ukash"
6
+ "Paysafecard","Paysafecard"
7
+ "Bitcoin", "Bitcoin"
8
+ "Bank Transfer description", "Banküberweisung (Bank Transfer) erlaubt Ihnen von Ihrem eigenen Konto lokal zu zahlen. Sie werden eine Geschäftsnummer und die Bankverbindung bekommen, um die Zahlung zu leisten."
9
+ "Sofort Banking description","Sofortüberweisung ist eine online Zahlungsart, eine unmittelbare Zahlung per direkt Banküberweisung aus einem Bankkonto durch Internet Banking."
10
+ "Giropay description","Giropay ist eine online Zahlungsart welche Ihnen erlaubt, zeitnah Zahlungen durch Internet Banking zu machen. Um Giropay zu benutzen, brauchen Sie ein Girokonto (ein Girokonto welches bei einer beteiligten Bank oder bei der Sparkasse eröffnet wird)."
11
+ "EPS description", "Der EPS E-Zahlung Standard erlaubt Ihnen zeitnah Zahlungen durch Internet Banking zu machen. Die wichtigste Banken durch welchen Sie Zahlungen machen können sind: Bank Austria Creditanstalt, Erste Bank Sparkasse, Raiffeisen Bank und Bawag PSK."
12
+ "Ukash description","Der Ukash Gutschein ist ein vorausgezahlter Gutschein, mit welchen Sie Zahlungen ohne Zusatskosten leisten können. Also, ob Sie einen Gutschein nutzen wollen, müssen Sie der <a href=""http://www.ukash.com/de-DE/where-to-get/"" target=""_blank"">nächste Laden</a> besuchen. Für Zahlungen, müssen Sie den 19-Ziffer Kode und den Wert des Gutscheins eingeben."
13
+ "Paysafecard description","Der Paysafecard Gutschein ist ein vorausgezahlter Gutschein, mit welchen Sie Zahlungen ohne Zusatskosten leisten können. Also, ob Sie etwas mit einen Paysafecard Gutschein kaufen wollen, müssen Sie der <a href=""https://www.paysafecard.com/de-de/"" target=""_blank"">nächste Laden</a> besuchen. Für Zahlungen, müssen Sie den 16-Ziffer Kode eingeben und alles ist fertig - die Zahlung wird geleistet."
14
+ "Bitcoin description", "Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
app/locale/en_GB/Smart2Pay_Globalpay.csv CHANGED
@@ -1,187 +1,193 @@
1
- "Please choose one of the following payment methods.","Please choose one of the following payment methods."
2
- "If you choose to simply continue, default method will be", "If you simply choose continue, the default payment method will be"
3
- "Bank Transfer","Bank Transfer"
4
- "iDEAL","iDEAL"
5
- "MrCash","MrCash"
6
- "Giropay","Giropay"
7
- "EPS","EPS"
8
- "UseMyFunds","UseMyFunds"
9
- "Sofort Banking","Sofort Banking"
10
- "Przelewy24","Przelewy24"
11
- "OneCard","OneCard"
12
- "CashU","CashU"
13
- "POLi","POLi"
14
- "DineroMail","DineroMail"
15
- "Multibanco SIBS","Multibanco SIBS"
16
- "Moneta Wallet","Moneta Wallet"
17
- "Paysera","Paysera"
18
- "Alipay","Alipay"
19
- "Abaqoos","Abaqoos"
20
- "ePlatby for eKonto","ePlatby for eKonto"
21
- "Ukash","Ukash"
22
- "Trustly","Trustly"
23
- "Debito Banco do Brasil","Debito Banco do Brasil"
24
- "CuentaDigital","CuentaDigital"
25
- "CardsBrazil","CardsBrazil"
26
- "PaysBuy","PaysBuy"
27
- "Mazooma","Mazooma"
28
- "eNETS Debit","eNETS Debit"
29
- "Paysafecard","Paysafecard"
30
- "PayPal","PayPal"
31
- "PagTotal","PagTotal"
32
- "Payeasy","Payeasy"
33
- "MercadoPago","MercadoPago"
34
- "Mozca","Mozca"
35
- "Gash","Gash"
36
- "ToditoCash","ToditoCash"
37
- "SecureVaultPayments","SecureVaultPayments"
38
- "Boleto","Boleto"
39
- "Debito","Debito"
40
- "Transferencia","Transferencia"
41
- "QIWI Wallet","QIWI Wallet"
42
- "Beeline","Beeline"
43
- "Megafon","Megafon"
44
- "MTS","MTS"
45
- "WebMoney","WebMoney"
46
- "Yandex","Yandex"
47
- "Alliance Online","Alliance Online"
48
- "AmBank","AmBank"
49
- "CIMB Clicks","CIMB Clicks"
50
- "FPX","FPX"
51
- "Hong Leong Bank Transfer","Hong Leong Bank Transfer"
52
- "Maybank2U","Maybank2U"
53
- "Meps Cash","Meps Cash"
54
- "Mobile Money","Mobile Money"
55
- "RHB","RHB"
56
- "Webcash","Webcash"
57
- "Credit Cards Colombia","Credit Cards Colombia"
58
- "PSE","PSE"
59
- "ACH Debit","ACH Debit"
60
- "Via Baloto","Via Baloto"
61
- "Referenced Payment","Referenced Payment"
62
- "Mandiri","Mandiri"
63
- "XLTunai", "XLTunai"
64
- "PayWithMyBank","PayWithMyBank"
65
- "Tenpay","Tenpay"
66
- "Bancomer Pago referenciado", "Bancomer Pago referenciado"
67
- "Santander Pago referenciado", "Santander Pago referenciado"
68
- "ScotiaBank Pago referenciado", "ScotiaBank Pago referenciado"
69
- "7-Eleven Pago en efectivo", "7-Eleven Pago en efectivo"
70
- "Oxxo Pago en efectivo", "Oxxo Pago en efectivo"
71
- "IXE Pago referenciado", "IXE Pago referenciado"
72
- "Boleto Itau", "Boleto Itaú"
73
- "Cards Thailand", "Cards Thailand"
74
- "PayPalThailand", "PayPal Thailand"
75
- "AMEXThailand", "AMEX Thailand"
76
- "Cash Options Thailand", "Cash Options Thailand"
77
- "OnlineBankingThailand", "Online Banking Thailand"
78
- "PaysBuy Wallet", "PaysBuy Wallet"
79
- "TrustPay","TrustPay"
80
- "MyBank", "MyBank"
81
- "PagoEfectivo", "PagoEfectivo"
82
- "Pagos en efectivo","Pagos en efectivo"
83
- "OP-Pohjola","OP-Pohjola"
84
- "Nordea","Nordea"
85
- "Danske","Danske"
86
- "Bitcoin","Bitcoin"
87
- "Cash-in","Cash-in"
88
- "Cards Russia","Cards"
89
- "Bank Transfer description","Bank Transfer offers you the possibility to pay locally from your own bank account. You will get a reference number and the bank account details to be able to make the payment. "
90
- "iDEAL description","iDEAL allows you to buy securely on the Internet directly from your bank account opened at one of the major Dutch banks: ING, Postbank, ABN AMRO, Rabobank and SNS Bank"
91
- "MrCash description","Bancontact/Mister Cash is the Belgium ATM card. You can pay with this card over internet, using a unique TAN (Transaction Auhorization Number). Please make sure your card is enabled for internet purchases. "
92
- "Giropay description","Giropay is an online payment method that enables you to make real time payments via internet banking. In order to use Giropay, you must have a Girokonto (Giro account at a participating Bank or Sparkasse)."
93
- "EPS description","EPS e-payment standard allows you to make real time online payments via your internet banking. The main banks where you can pay from are: Bank Austria Creditanstalt, Erste Bank Sparkasse, Raiffeisen Bank and Bawag PSK."
94
- "UseMyFunds description","UseMyFunds is secure, convenient and easy to use! It works with your existing online banking service (there is nothing to download or install on your computer). You need to register the first time you pay."
95
- "Sofort Banking description","Sofortuberweisung/DirectEbanking is an online payment method, an instant payment through a direct bank transfer from your bank account via internet banking."
96
- "Przelewy24 description","Przelewy24 is a secure and fast online payment service linked to all the major banks and payment methods in Poland. "
97
- "OneCard description","OneCard is the fastest growing Internet payment solution in the Middle East and North Africa. You could simply use Onecard prepaid cards directly or you can open an Onecard account and then reload the account. If you do not have an Onecard account click <a href=""http://www.onecard.net/customer/index.html?showRegistrationBox=true&siteLanguage=en"" target=""_blank"">here</a> to register."
98
- "CashU description","CashU is the most widely used prepaid and electronic wallet in the Middle East and North Africa (excluding credit cards).You could simply use Cashu prepaid cards directly or you can open a CashU account and then reload your account. If you do not have a CashU account click <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">here</a> to register."
99
- "POLi description","POLi is an online payment service that enables you to safely pay directly from your own internet banking. In order to pay with POLi you will have to select your bank and download the POLi application."
100
- "DineroMail description","DineroMail is a major electronic payment system on the Latin American market that offers all of the most popular payment methods available in Argentina, Brazil, Chile, Colombia and Mexico. If you do not have a DineroMail account click <a href=""http://www.dineromail.com/"" target=""_blank"">here</a> to register."
101
- "Multibanco SIBS description","With Multibanco/SIBS you receive payment details (3 sets of digits - Entity, Reference and Value) which you can use to pay the Merchant. You can make this payment at a Multibanco ATM, internet banking or mobile phone."
102
- "Moneta Wallet description","Moneta.ru is a major electronic payment system on the Russian market that offers all of the most popular payment methods available in Russia and Ukraine. You can pay direct or via the Moneta Wallet."
103
- "Paysera description","Paysera is a reliable, secure and fast online system that offers all of the most popular payment methods available in the Baltic Countries. In order to use this method you need to have a Paysera account. If you do not have a Paysera account click <a href=""https://www.webtopay.com/registration.html"" target=""_blank"">here</a> to register."
104
- "Alipay description","You simply need to have an Alipay account and deposit money to your account: using a bank account from one of the banks that are accepted by Alipay (19 Chinese national banks) or using a credit/debit card. If you do not have an Alipay account click <a href=""https://globalprod.alipay.com/order/emailVerify.htm"" target=""_blank"">here</a> to register."
105
- "Abaqoos description","You can pay with Abaqoos via cash or internet banking from all the major banks. Only the Abaqoos vouchers registered with Smart2Pay as provider can be used for making your payment. If you do not have already an Abaqoos voucher click <a href=""https://www.abaqoos.com/PODWebAuthSite/Registration.aspx?provider=smart2pay"" target=""_blank"">here</a> to register. After you create your account please deposit money in it to be able to pay."
106
- "ePlatby for eKonto description","ePlatby for eKonto is an online banking service offered by Raiffeisen Bank, so to use this method you need to have an eKonto account at Raiffeisen Bank. You don’t have to activate this service; it works automatically."
107
- "Ukash description","Ukash voucher is a prepaid voucher you can use to pay - there are no extra fees. So, if you want to pay using Ukash voucher you simply visit your <a href=""http://www.ukash.com/global/en/where-to-get/global.aspx"" target=""_blank"">nearest store</a>. To pay you simply type in the 19 digit voucher code and the voucher value."
108
- "Trustly description","Trustly (former Instant Bank/GluePay) allows you to pay online with your bank account - fast, easy and secure. Just choose your bank, follow the instructions and complete the details needed. Then confirm the payment as you normally do with your internet banking by signing with a one-time bank security code from your token and you will have completed the payment.."
109
- "Debito Banco do Brasil description","Debito Banco do Brasil allows you to pay online with your bank account - fast, easy and secure. You need to have a bank account with internet banking at Banco do Brasil."
110
- "CuentaDigital description","CuentaDigital is a leading electronic wallet provider in South America that offers all of the most popular payment methods available. To purchase with this method you need to have a CuentaDigital account. Click <a href=""https://www.cuentadigital.com/area.php?name=cliente&op=new_user"" target=""_blank"">here</a>to register and then reload the account if you do not have already a CuentaDigital account."
111
- "CardsBrazil description","Please choose your card brand and enter the card details. The supported card types: Visa, MasterCard, Amex, Diners, JCB, Hipercard, Sorocred, Aura, Discover, Cabal and Argencard."
112
- "PaysBuy description","PaysBuy allows you to pay with the flexibility using PaysBuy account balances (click <a href=""https://www.paysbuy.com/register.aspx"" target=""_blank"">here</a> to create your PaysBuy account if do not have one already), or directly via internet banking, credit cards or cash. "
113
- "Mazooma description","Mazooma is an innovative payment solution provider for online commerce. Mazooma lets you pay from your own bank account by connecting you directly to your online bank account for a safe, simple and easy checkout."
114
- "eNETS Debit description","eNETS Debit is an Internet-based payment method that enables you to pay from your bank account using your Internet Banking PIN and ID. "
115
- "Paysafecard description","Paysafecard voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using Paysafecard voucher you simply visit your <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">nearest store</a>. Then you simply type in the 16 digit voucher code and that"
116
- "PayPal description","PayPal is the world's largest online payment network, serving over 230 million members in 190 countries and regions. With PayPal you can pay using your credit card or checking account. If you do not have a PayPal account click <a href=""https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=POF0zpshlSyFe4t6PMraBTKqVa0vfnf5zlWQViMb3horYjAo21mGHfjsmmO&dispatch=5885d80a13c0db1f8e263663d3faee8d7283e7f0184a5674430f290db9e9c846"" target=""_blank"">here</a> to register."
117
- "PagTotal description","PagTotal is a payment method in Brazil, reinforced by mobile phone security. The main benefit in using PagTotal is that it enables you to pay and confirm the payment anywhere you want, just through a simple SMS. If you do not have a Pagtotal account click <a href=""https://www.pagtotal.com.br/index.php?op=3"" target=""_blank"">here</a> to register."
118
- "Payeasy description","PayEasy provides a secure, unified interface to all of the popular payment options. Via PayEasy you can pay using major credit cards, ATM debit cards, mobile payments, over-the-counter-cash (Dragonpay), online banking payments and direct bank transfers."
119
- "MercadoPago description","MercadoPago is the biggest Internet Wallet in Latin America allowing you to pay via the most popular methods of payment. To pay with MercadoPago you need to have a MercadoPago account. If you do not have a MercadoPago account click <a href=""https://www.mercadopago.com/mlb/cadastro/register"" target=""_blank"">here</a> to register. "
120
- "Mozca description","To pay with Mozca is very simple: you just use your mobile phone number and a 4-digit password to confirm that your mobile phone really belongs to you and is in your hands. A PIN Code MOZCA will be sent to you via SMS as a confirmation of your payment."
121
- "Gash description","Gash voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using GASH voucher you simply visit your <a href=""http://www.gashplus.com/gashstore/GashStore.aspx"" target=""_blank"">nearest store</a>. Then you simply type in the 14/20/21 digit voucher code and that"
122
- "ToditoCash description","Todito Cash is a rechargeable prepaid card that you can use to pay and you can recharge just like you do with your mobile phone in over 20,000 outlets including convenience <a href=""https://www.toditocash.com/html/puntosdeventa.php"" target=""_blank"">stores and banks</a>.If you do not have a ToditoCash account click <a href=""https://www.toditocash.com/php/crearCuenta.php"" target=""_blank"">here</a> to register."
123
- "SecureVaultPayments description","SecureVaultPayments allows you to pay using your internet banking. You choose your bank and all the other payment details you will enter at your own bank."
124
- "Boleto description","Boleto Bancario is one of the most used payment options in Brazil. To pay with Boleto Bancario you print the Boleto and can go to a physical bank branch in your area and pay with cash, use online banking, or simply go to an ATM machine."
125
- "Debito description","Debito Bradesco is a real time bank transfer payment option available for Bradesco Bank Customers in Brazil. You simply need to enter your Banco Bradesco debit card number and confirm the payment with a PIN number."
126
- "Transferencia description","Transferencia Entre Contas is a real-time bank transfer method allowing you to pay. To use this payment method you need a bank account at Bradesco with internet banking."
127
- "QIWI Wallet description","QIWI is a major electronic payment system on the Russian market that offers all of the popular payment methods through Qiwi Wallet or directly. You can pay with QIWI Wallet from the balance of your QIWI account, or pay directly with debit or credit card, or using cash at a QIWI kiosk. "
128
- "Beeline description","This option is available if your phone number belongs to Beeline mobile operator. Beeline approves or declines your payment request depending on the amount of your phone balance."
129
- "Megafon description","This option is available if your phone number belongs to Megafon mobile operator. Megafon approves or declines your payment request depending on the amount of your phone balance."
130
- "MTS description","This option is available if your phone number belongs to MTC mobile operator. MTC approves or declines your payment request depending on the amount of your phone balance."
131
- "WebMoney description","WebMoney Transfer is a payment system offering most popular payment methods direct and through the WebMoney Wallet. To be able to pay with WebMoney you need to register first (click <a href=""http://start.webmoney.ru/?lang=en"" target=""_blank"">here</a>) if you are not yet registered."
132
- "Yandex description","Yandex.Money is the leading online payment system in Russia that offers most of the popular payment methods direct and through Yandex.Money eWallet. To pay with Yandex.Money eWallet you only need a web browser and can pay using - cash, bank account or credit card."
133
- "Alliance Online description","Alliance Online is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Alliance Online Bank."
134
- "AmBank description","AmBank is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at AmBank."
135
- "CIMB Clicks description","CIMB Clicks (formerly known as Channel-e) is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at CIMB Bank."
136
- "FPX description","FPX is an online payment method that allows you to pay in real time via internet banking. You just need to choose your own bank and enter on the bank"
137
- "Hong Leong Bank Transfer description","Hong Leong Bank Transfer is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Hong Leong Bank."
138
- "Maybank2U description","Maybank2U is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Maybank2U."
139
- "Meps Cash description","MEPSCASH is electronic money (e-money) provided via MEPS. You need to first top MEPSCASH into the ATM card or MyKad (similar to TouchnGo). When you pay, the MEPSCASH amount is deducted from the card itself."
140
- "Mobile Money description","Mobile Money allows you to pay via your mobile phone and is under the supervision of Central Bank of Malaysia. To start using Mobile Money you need to register first (click <a href=""https://mmweb.mobile-money.com/UserReg/index.aspx"" target=""_blank"">here</a>) if you are not yet registered."
141
- "RHB description","RHB is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at RHB Bank."
142
- "Webcash description","WEBCASH is a Prepaid Payment System you can use to pay. You determine the amount of the cash value you want to top-up into your Webcash account. If you do not have a Webcash account register <a href=""https://webcash.com.my/postregistration.php?chk=0"" target=""_blank"">here</a>."
143
- "Credit Cards Colombia description","Please choose your card brand and enter the card details. The supported card types: Visa, MasterCard, Amex, Diners."
144
- "PSE description","(Acronym in Spanish) Electronic Services Supplier; it is an ACH Colombia SA service where you are redirected to your selected bank website and then you need to introduce your user, password and account number."
145
- "ACH Debit description","ACH debit is a payment method that allows the Merchant to collect funds from your bank account using your bank routing number and your account number. You are the only one who can give authorization for an ACH debit to occur, at which time the authorized amount is deducted from your account."
146
- "Via Baloto description","Via Baloto is a cash payment you can use to pay. You will receive a reference number for your payment and an operational number. With this data you can make the payment at Via Baloto centers. Please access <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html?state=HUILA&city=PALERMO"" target=""_blank"">pagosonline-puntos-via-baloto/</a> for the complete list of the payment centers. "
147
- "Referenced Payment description","Referenced Payment is a cash payment you can use to pay. You need to print the voucher with the barcode and pay it at any branch of Bancolombia, Banco de Occidente and Banco Helm."
148
- "Mandiri description","Mandiri is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Mandiri Bank."
149
- "XLTunai description", "XL Tunai is an online payment method that allows you to transform your phone into a digital wallet. To use this payment method you need to register your phone number at XL centers or agents. You will receive a PIN in order to authorize the payments."
150
- "Bancomer Pago referenciado description", "To pay with Bancomer - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
151
- "Santander Pago referenciado description", "To pay with Santantder - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
152
- "ScotiaBank Pago referenciado description", "To pay with Scotiabank - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
153
- "7-Eleven Pago en efectivo description", "Print and present this voucher at any 7-ELEVEN store in the country to pay your purchase. Please point to the store cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
154
- "Oxxo Pago en efectivo description", "Print and present this voucher at any Oxxo store in the country to pay your purchase. Please point to the store cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
155
- "IXE Pago referenciado description", "To pay with IXE - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
156
- "Boleto Itau description", "To pay with Boleto Itaú you need to print the Boleto and go to a physical bank branch in your area and pay with cash, online banking, or simply go to an ATM machine."
157
- "Cards Thailand description", "Cards Thailand"
158
- "PayPalThailand description", "PayPal Thailand"
159
- "AMEXThailand description", "AMEX Thailand"
160
- "Cash Options Thailand description", "Cash Options Thailand"
161
- "OnlineBankingThailand description", "Online Banking Thailand"
162
- "PaysBuy Wallet description", "PaysBuy Wallet"
163
- "PayWithMyBank description","PayWithMyBank is an online payment method that allows the Customer to pay via internet banking. With just a few clicks and top-of-mind online banking password the Customer chooses his bank and then the account to pay from."
164
- "Tenpay description","Tenpay is developed by Tencent company, which owns the most popular IM in China – QQ with more than 300 million users. More than 200,000 shopping websites accept Tenpay. Tenpay is compatible with the e-banking service of major domestic banks. Users can use Tenpay to send and receive payments and withdraw money to bank account."
165
- "TrustPay description","TrustPay facilitates a network of partner banks and bank accounts from 13 European countries to enable local and real-time bank transfers as a method of payment for local, and international, purchases. This solution allows you to pay in 11 currencies without the need to open an account with TrustPay."
166
- "Paytrail description","Paytrail is the advanced payment system used by Finnish banks to guarantee real time Internet payments. Paytrail enjoys a high level of acceptance from Customers, with full support of all the major Finnish banks: Nordea, OP-Pohjola Group, S-Pankki, Aktia, Tapiola, Handelsbanken and Alandsbanken."
167
- "OP-Pohjola description","OP-Pohjola(Osuuspankki) is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at OP-Pohjola. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
168
- "Nordea description","Nordea is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Nordea Bank. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
169
- "Danske description","Danske is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Danske Bank. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
170
- "PagoEfectivo description","Buy with PagoEfectivo and pay over bank’s agencies or Internet Banking from BCP, BBVA, Interbank, Scotiabank, Western Union Payment Services agencies or authorized locations with PagoEfectivo and/or FullCarga logo.<br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">More information about PagoEfectivo</a>"
171
- "MyBank description","MyBank is a safe and easy way to pay for your online shopping all across Europe: it allows you to simply use the online banking platform of your bank to initiate the payment. For more information click <a href=""https://www.mybankpayments.eu/"" target=""_blank"">here</a>."
172
- "YandexMoney description","Yandex.Money is the leading online payment system in Russia that offers most of the popular payment methods direct and through Yandex.Money eWallet. To pay with Yandex.Money eWallet you only need a web browser and can pay using - cash, bank account or credit card."
173
- "Bitcoin description","Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
174
- "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
175
- "Pagos en efectivo Argentina description","Print and present this voucher at any PagoFácil/Rapipago /BaproPagos/CobroExpress branch in the country to pay your purchase. Please pay the exact amount contained in the instructions. This voucher is available just for one transaction."
176
- "Cash-in description","Cash Options Russia allows you to pay at Euroset and Svyaznoy communication stores and Sberbank ATMs."
177
- "Cards Russia description","Credit and debit cards are still one the most used online payment methods in Russia."
178
- "PaymentInstructions","Payment Instructions"
179
- "BankTransferMessage","You have chosen to pay using bank transfer. Please find below your personal reference number and our bank details. Always enter the reference number under ""Purpose of payment"" when making a bank transfer."
180
- "BankTransferTerms","A bank transfer payment is reported by the bank in 1-3 bank days (Saturday, Sunday and national holidays not included)!"
181
- "ReferenceNumber","Reference Number"
182
- "AmountToPay","Amount to pay"
183
- "AccountHolder","Account Holder"
184
- "BankName","Bank Name"
185
- "AccountNumber","Account Number"
186
- "SWIFT_BIC","SWIFT_BIC"
187
- "AccountCurrency","Account Currency"
 
 
 
 
 
 
1
+ "Please choose one of the following payment methods.","Please choose one of the following payment methods."
2
+ "If you choose to simply continue, default method will be", "If you simply choose continue, the default payment method will be"
3
+ "Bank Transfer","Bank Transfer"
4
+ "iDEAL","iDEAL"
5
+ "MrCash","MrCash"
6
+ "Giropay","Giropay"
7
+ "EPS","EPS"
8
+ "UseMyFunds","UseMyFunds"
9
+ "Sofort Banking","Sofort Banking"
10
+ "Przelewy24","Przelewy24"
11
+ "OneCard","OneCard"
12
+ "CashU","CashU"
13
+ "POLi","POLi"
14
+ "DineroMail","DineroMail"
15
+ "Multibanco SIBS","Multibanco SIBS"
16
+ "Moneta Wallet","Moneta Wallet"
17
+ "Paysera","Paysera"
18
+ "Alipay","Alipay"
19
+ "Abaqoos","Abaqoos"
20
+ "ePlatby for eKonto","ePlatby for eKonto"
21
+ "Ukash","Ukash"
22
+ "Trustly","Trustly"
23
+ "Debito Banco do Brasil","Debito Banco do Brasil"
24
+ "CuentaDigital","CuentaDigital"
25
+ "CardsBrazil","CardsBrazil"
26
+ "PaysBuy","PaysBuy"
27
+ "Mazooma","Mazooma"
28
+ "eNETS Debit","eNETS Debit"
29
+ "Paysafecard","Paysafecard"
30
+ "PayPal","PayPal"
31
+ "PagTotal","PagTotal"
32
+ "Payeasy","Payeasy"
33
+ "MercadoPago","MercadoPago"
34
+ "Mozca","Mozca"
35
+ "Gash","Gash"
36
+ "ToditoCash","ToditoCash"
37
+ "SecureVaultPayments","SecureVaultPayments"
38
+ "Boleto","Boleto"
39
+ "Debito","Debito"
40
+ "Transferencia","Transferencia"
41
+ "QIWI Wallet","QIWI Wallet"
42
+ "Beeline","Beeline"
43
+ "Megafon","Megafon"
44
+ "MTS","MTS"
45
+ "WebMoney","WebMoney"
46
+ "Yandex","Yandex"
47
+ "Alliance Online","Alliance Online"
48
+ "AmBank","AmBank"
49
+ "CIMB Clicks","CIMB Clicks"
50
+ "FPX","FPX"
51
+ "Hong Leong Bank Transfer","Hong Leong Bank Transfer"
52
+ "Maybank2U","Maybank2U"
53
+ "Meps Cash","Meps Cash"
54
+ "Mobile Money","Mobile Money"
55
+ "RHB","RHB"
56
+ "Webcash","Webcash"
57
+ "Credit Cards Colombia","Credit Cards Colombia"
58
+ "PSE","PSE"
59
+ "ACH Debit","ACH Debit"
60
+ "Via Baloto","Via Baloto"
61
+ "Referenced Payment","Referenced Payment"
62
+ "Mandiri","Mandiri"
63
+ "XLTunai", "XLTunai"
64
+ "PayWithMyBank","PayWithMyBank"
65
+ "Tenpay","Tenpay"
66
+ "Bancomer Pago referenciado", "Bancomer Pago referenciado"
67
+ "Santander Pago referenciado", "Santander Pago referenciado"
68
+ "ScotiaBank Pago referenciado", "ScotiaBank Pago referenciado"
69
+ "7-Eleven Pago en efectivo", "7-Eleven Pago en efectivo"
70
+ "Oxxo Pago en efectivo", "Oxxo Pago en efectivo"
71
+ "IXE Pago referenciado", "IXE Pago referenciado"
72
+ "Boleto Itau", "Boleto Itaú"
73
+ "Cards Thailand", "Cards Thailand"
74
+ "PayPalThailand", "PayPal Thailand"
75
+ "AMEXThailand", "AMEX Thailand"
76
+ "Cash Options Thailand", "Cash Options Thailand"
77
+ "OnlineBankingThailand", "Online Banking Thailand"
78
+ "PaysBuy Wallet", "PaysBuy Wallet"
79
+ "TrustPay","TrustPay"
80
+ "MyBank", "MyBank"
81
+ "PagoEfectivo", "PagoEfectivo"
82
+ "Pagos en efectivo","Pagos en efectivo"
83
+ "OP-Pohjola","OP-Pohjola"
84
+ "Nordea","Nordea"
85
+ "Danske","Danske"
86
+ "Bitcoin","Bitcoin"
87
+ "Cash-in","Cash-in"
88
+ "Cards Russia","Cards"
89
+ "Bank Transfer description","Bank Transfer offers you the possibility to pay locally from your own bank account. You will get a reference number and the bank account details to be able to make the payment. "
90
+ "iDEAL description","iDEAL allows you to buy securely on the Internet directly from your bank account opened at one of the major Dutch banks: ING, Postbank, ABN AMRO, Rabobank and SNS Bank"
91
+ "MrCash description","Bancontact/Mister Cash is the Belgium ATM card. You can pay with this card over internet, using a unique TAN (Transaction Auhorization Number). Please make sure your card is enabled for internet purchases. "
92
+ "Giropay description","Giropay is an online payment method that enables you to make real time payments via internet banking. In order to use Giropay, you must have a Girokonto (Giro account at a participating Bank or Sparkasse)."
93
+ "EPS description","EPS e-payment standard allows you to make real time online payments via your internet banking. The main banks where you can pay from are: Bank Austria Creditanstalt, Erste Bank Sparkasse, Raiffeisen Bank and Bawag PSK."
94
+ "UseMyFunds description","UseMyFunds is secure, convenient and easy to use! It works with your existing online banking service (there is nothing to download or install on your computer). You need to register the first time you pay."
95
+ "Sofort Banking description","Sofortuberweisung/DirectEbanking is an online payment method, an instant payment through a direct bank transfer from your bank account via internet banking."
96
+ "Przelewy24 description","Przelewy24 is a secure and fast online payment service linked to all the major banks and payment methods in Poland. "
97
+ "OneCard description","OneCard is the fastest growing Internet payment solution in the Middle East and North Africa. You could simply use Onecard prepaid cards directly or you can open an Onecard account and then reload the account. If you do not have an Onecard account click <a href=""http://www.onecard.net/customer/index.html?showRegistrationBox=true&siteLanguage=en"" target=""_blank"">here</a> to register."
98
+ "CashU description","CashU is the most widely used prepaid and electronic wallet in the Middle East and North Africa (excluding credit cards).You could simply use Cashu prepaid cards directly or you can open a CashU account and then reload your account. If you do not have a CashU account click <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">here</a> to register."
99
+ "POLi description","POLi is an online payment service that enables you to safely pay directly from your own internet banking. In order to pay with POLi you will have to select your bank and download the POLi application."
100
+ "DineroMail description","DineroMail is a major electronic payment system on the Latin American market that offers all of the most popular payment methods available in Argentina, Brazil, Chile, Colombia and Mexico. If you do not have a DineroMail account click <a href=""http://www.dineromail.com/"" target=""_blank"">here</a> to register."
101
+ "Multibanco SIBS description","With Multibanco/SIBS you receive payment details (3 sets of digits - Entity, Reference and Value) which you can use to pay the Merchant. You can make this payment at a Multibanco ATM, internet banking or mobile phone."
102
+ "Moneta Wallet description","Moneta.ru is a major electronic payment system on the Russian market that offers all of the most popular payment methods available in Russia and Ukraine. You can pay direct or via the Moneta Wallet."
103
+ "Paysera description","Paysera is a reliable, secure and fast online system that offers all of the most popular payment methods available in the Baltic Countries. In order to use this method you need to have a Paysera account. If you do not have a Paysera account click <a href=""https://www.webtopay.com/registration.html"" target=""_blank"">here</a> to register."
104
+ "Alipay description","You simply need to have an Alipay account and deposit money to your account: using a bank account from one of the banks that are accepted by Alipay (19 Chinese national banks) or using a credit/debit card. If you do not have an Alipay account click <a href=""https://globalprod.alipay.com/order/emailVerify.htm"" target=""_blank"">here</a> to register."
105
+ "Abaqoos description","You can pay with Abaqoos via cash or internet banking from all the major banks. Only the Abaqoos vouchers registered with Smart2Pay as provider can be used for making your payment. If you do not have already an Abaqoos voucher click <a href=""https://www.abaqoos.com/PODWebAuthSite/Registration.aspx?provider=smart2pay"" target=""_blank"">here</a> to register. After you create your account please deposit money in it to be able to pay."
106
+ "ePlatby for eKonto description","ePlatby for eKonto is an online banking service offered by Raiffeisen Bank, so to use this method you need to have an eKonto account at Raiffeisen Bank. You don’t have to activate this service; it works automatically."
107
+ "Ukash description","Ukash voucher is a prepaid voucher you can use to pay - there are no extra fees. So, if you want to pay using Ukash voucher you simply visit your <a href=""http://www.ukash.com/global/en/where-to-get/global.aspx"" target=""_blank"">nearest store</a>. To pay you simply type in the 19 digit voucher code and the voucher value."
108
+ "Trustly description","Trustly (former Instant Bank/GluePay) allows you to pay online with your bank account - fast, easy and secure. Just choose your bank, follow the instructions and complete the details needed. Then confirm the payment as you normally do with your internet banking by signing with a one-time bank security code from your token and you will have completed the payment.."
109
+ "Debito Banco do Brasil description","Debito Banco do Brasil allows you to pay online with your bank account - fast, easy and secure. You need to have a bank account with internet banking at Banco do Brasil."
110
+ "CuentaDigital description","CuentaDigital is a leading electronic wallet provider in South America that offers all of the most popular payment methods available. To purchase with this method you need to have a CuentaDigital account. Click <a href=""https://www.cuentadigital.com/area.php?name=cliente&op=new_user"" target=""_blank"">here</a>to register and then reload the account if you do not have already a CuentaDigital account."
111
+ "CardsBrazil description","Please choose your card brand and enter the card details. The supported card types: Visa, MasterCard, Amex, Diners, JCB, Hipercard, Sorocred, Aura, Discover, Cabal and Argencard."
112
+ "PaysBuy description","PaysBuy allows you to pay with the flexibility using PaysBuy account balances (click <a href=""https://www.paysbuy.com/register.aspx"" target=""_blank"">here</a> to create your PaysBuy account if do not have one already), or directly via internet banking, credit cards or cash. "
113
+ "Mazooma description","Mazooma is an innovative payment solution provider for online commerce. Mazooma lets you pay from your own bank account by connecting you directly to your online bank account for a safe, simple and easy checkout."
114
+ "eNETS Debit description","eNETS Debit is an Internet-based payment method that enables you to pay from your bank account using your Internet Banking PIN and ID. "
115
+ "Paysafecard description","Paysafecard voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using Paysafecard voucher you simply visit your <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">nearest store</a>. Then you simply type in the 16 digit voucher code and that"
116
+ "PayPal description","PayPal is the world's largest online payment network, serving over 230 million members in 190 countries and regions. With PayPal you can pay using your credit card or checking account. If you do not have a PayPal account click <a href=""https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=POF0zpshlSyFe4t6PMraBTKqVa0vfnf5zlWQViMb3horYjAo21mGHfjsmmO&dispatch=5885d80a13c0db1f8e263663d3faee8d7283e7f0184a5674430f290db9e9c846"" target=""_blank"">here</a> to register."
117
+ "PagTotal description","PagTotal is a payment method in Brazil, reinforced by mobile phone security. The main benefit in using PagTotal is that it enables you to pay and confirm the payment anywhere you want, just through a simple SMS. If you do not have a Pagtotal account click <a href=""https://www.pagtotal.com.br/index.php?op=3"" target=""_blank"">here</a> to register."
118
+ "Payeasy description","PayEasy provides a secure, unified interface to all of the popular payment options. Via PayEasy you can pay using major credit cards, ATM debit cards, mobile payments, over-the-counter-cash (Dragonpay), online banking payments and direct bank transfers."
119
+ "MercadoPago description","MercadoPago is the biggest Internet Wallet in Latin America allowing you to pay via the most popular methods of payment. To pay with MercadoPago you need to have a MercadoPago account. If you do not have a MercadoPago account click <a href=""https://www.mercadopago.com/mlb/cadastro/register"" target=""_blank"">here</a> to register. "
120
+ "Mozca description","To pay with Mozca is very simple: you just use your mobile phone number and a 4-digit password to confirm that your mobile phone really belongs to you and is in your hands. A PIN Code MOZCA will be sent to you via SMS as a confirmation of your payment."
121
+ "Gash description","Gash voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using GASH voucher you simply visit your <a href=""http://www.gashplus.com/gashstore/GashStore.aspx"" target=""_blank"">nearest store</a>. Then you simply type in the 14/20/21 digit voucher code and that"
122
+ "ToditoCash description","Todito Cash is a rechargeable prepaid card that you can use to pay and you can recharge just like you do with your mobile phone in over 20,000 outlets including convenience <a href=""https://www.toditocash.com/html/puntosdeventa.php"" target=""_blank"">stores and banks</a>.If you do not have a ToditoCash account click <a href=""https://www.toditocash.com/php/crearCuenta.php"" target=""_blank"">here</a> to register."
123
+ "SecureVaultPayments description","SecureVaultPayments allows you to pay using your internet banking. You choose your bank and all the other payment details you will enter at your own bank."
124
+ "Boleto description","Boleto Bancario is one of the most used payment options in Brazil. To pay with Boleto Bancario you print the Boleto and can go to a physical bank branch in your area and pay with cash, use online banking, or simply go to an ATM machine."
125
+ "Debito description","Debito Bradesco is a real time bank transfer payment option available for Bradesco Bank Customers in Brazil. You simply need to enter your Banco Bradesco debit card number and confirm the payment with a PIN number."
126
+ "Transferencia description","Transferencia Entre Contas is a real-time bank transfer method allowing you to pay. To use this payment method you need a bank account at Bradesco with internet banking."
127
+ "QIWI Wallet description","QIWI is a major electronic payment system on the Russian market that offers all of the popular payment methods through Qiwi Wallet or directly. You can pay with QIWI Wallet from the balance of your QIWI account, or pay directly with debit or credit card, or using cash at a QIWI kiosk. "
128
+ "Beeline description","This option is available if your phone number belongs to Beeline mobile operator. Beeline approves or declines your payment request depending on the amount of your phone balance."
129
+ "Megafon description","This option is available if your phone number belongs to Megafon mobile operator. Megafon approves or declines your payment request depending on the amount of your phone balance."
130
+ "MTS description","This option is available if your phone number belongs to MTC mobile operator. MTC approves or declines your payment request depending on the amount of your phone balance."
131
+ "WebMoney description","WebMoney Transfer is a payment system offering most popular payment methods direct and through the WebMoney Wallet. To be able to pay with WebMoney you need to register first (click <a href=""http://start.webmoney.ru/?lang=en"" target=""_blank"">here</a>) if you are not yet registered."
132
+ "Yandex description","Yandex.Money is the leading online payment system in Russia that offers most of the popular payment methods direct and through Yandex.Money eWallet. To pay with Yandex.Money eWallet you only need a web browser and can pay using - cash, bank account or credit card."
133
+ "Alliance Online description","Alliance Online is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Alliance Online Bank."
134
+ "AmBank description","AmBank is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at AmBank."
135
+ "CIMB Clicks description","CIMB Clicks (formerly known as Channel-e) is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at CIMB Bank."
136
+ "FPX description","FPX is an online payment method that allows you to pay in real time via internet banking. You just need to choose your own bank and enter on the bank"
137
+ "Hong Leong Bank Transfer description","Hong Leong Bank Transfer is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Hong Leong Bank."
138
+ "Maybank2U description","Maybank2U is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Maybank2U."
139
+ "Meps Cash description","MEPSCASH is electronic money (e-money) provided via MEPS. You need to first top MEPSCASH into the ATM card or MyKad (similar to TouchnGo). When you pay, the MEPSCASH amount is deducted from the card itself."
140
+ "Mobile Money description","Mobile Money allows you to pay via your mobile phone and is under the supervision of Central Bank of Malaysia. To start using Mobile Money you need to register first (click <a href=""https://mmweb.mobile-money.com/UserReg/index.aspx"" target=""_blank"">here</a>) if you are not yet registered."
141
+ "RHB description","RHB is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at RHB Bank."
142
+ "Webcash description","WEBCASH is a Prepaid Payment System you can use to pay. You determine the amount of the cash value you want to top-up into your Webcash account. If you do not have a Webcash account register <a href=""https://webcash.com.my/postregistration.php?chk=0"" target=""_blank"">here</a>."
143
+ "Credit Cards Colombia description","Please choose your card brand and enter the card details. The supported card types: Visa, MasterCard, Amex, Diners."
144
+ "PSE description","(Acronym in Spanish) Electronic Services Supplier; it is an ACH Colombia SA service where you are redirected to your selected bank website and then you need to introduce your user, password and account number."
145
+ "ACH Debit description","ACH debit is a payment method that allows the Merchant to collect funds from your bank account using your bank routing number and your account number. You are the only one who can give authorization for an ACH debit to occur, at which time the authorized amount is deducted from your account."
146
+ "Via Baloto description","Via Baloto is a cash payment you can use to pay. You will receive a reference number for your payment and an operational number. With this data you can make the payment at Via Baloto centers. Please access <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html?state=HUILA&city=PALERMO"" target=""_blank"">pagosonline-puntos-via-baloto/</a> for the complete list of the payment centers. "
147
+ "Referenced Payment description","Referenced Payment is a cash payment you can use to pay. You need to print the voucher with the barcode and pay it at any branch of Bancolombia, Banco de Occidente and Banco Helm."
148
+ "Mandiri description","Mandiri is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Mandiri Bank."
149
+ "XLTunai description", "XL Tunai is an online payment method that allows you to transform your phone into a digital wallet. To use this payment method you need to register your phone number at XL centers or agents. You will receive a PIN in order to authorize the payments."
150
+ "Bancomer Pago referenciado description", "To pay with Bancomer - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
151
+ "Santander Pago referenciado description", "To pay with Santantder - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
152
+ "ScotiaBank Pago referenciado description", "To pay with Scotiabank - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
153
+ "7-Eleven Pago en efectivo description", "Print and present this voucher at any 7-ELEVEN store in the country to pay your purchase. Please point to the store cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
154
+ "Oxxo Pago en efectivo description", "Print and present this voucher at any Oxxo store in the country to pay your purchase. Please point to the store cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
155
+ "IXE Pago referenciado description", "To pay with IXE - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
156
+ "Boleto Itau description", "To pay with Boleto Itaú you need to print the Boleto and go to a physical bank branch in your area and pay with cash, online banking, or simply go to an ATM machine."
157
+ "Cards Thailand description", "Cards Thailand"
158
+ "PayPalThailand description", "PayPal Thailand"
159
+ "AMEXThailand description", "AMEX Thailand"
160
+ "Cash Options Thailand description", "Cash Options Thailand"
161
+ "OnlineBankingThailand description", "Online Banking Thailand"
162
+ "PaysBuy Wallet description", "PaysBuy Wallet"
163
+ "PayWithMyBank description","PayWithMyBank is an online payment method that allows the Customer to pay via internet banking. With just a few clicks and top-of-mind online banking password the Customer chooses his bank and then the account to pay from."
164
+ "Tenpay description","Tenpay is developed by Tencent company, which owns the most popular IM in China – QQ with more than 300 million users. More than 200,000 shopping websites accept Tenpay. Tenpay is compatible with the e-banking service of major domestic banks. Users can use Tenpay to send and receive payments and withdraw money to bank account."
165
+ "TrustPay description","TrustPay facilitates a network of partner banks and bank accounts from 13 European countries to enable local and real-time bank transfers as a method of payment for local, and international, purchases. This solution allows you to pay in 11 currencies without the need to open an account with TrustPay."
166
+ "Paytrail description","Paytrail is the advanced payment system used by Finnish banks to guarantee real time Internet payments. Paytrail enjoys a high level of acceptance from Customers, with full support of all the major Finnish banks: Nordea, OP-Pohjola Group, S-Pankki, Aktia, Tapiola, Handelsbanken and Alandsbanken."
167
+ "OP-Pohjola description","OP-Pohjola(Osuuspankki) is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at OP-Pohjola. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
168
+ "Nordea description","Nordea is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Nordea Bank. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
169
+ "Danske description","Danske is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Danske Bank. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
170
+ "PagoEfectivo description","Buy with PagoEfectivo and pay over bank’s agencies or Internet Banking from BCP, BBVA, Interbank, Scotiabank, Western Union Payment Services agencies or authorized locations with PagoEfectivo and/or FullCarga logo.<br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">More information about PagoEfectivo</a>"
171
+ "MyBank description","MyBank is a safe and easy way to pay for your online shopping all across Europe: it allows you to simply use the online banking platform of your bank to initiate the payment. For more information click <a href=""https://www.mybankpayments.eu/"" target=""_blank"">here</a>."
172
+ "YandexMoney description","Yandex.Money is the leading online payment system in Russia that offers most of the popular payment methods direct and through Yandex.Money eWallet. To pay with Yandex.Money eWallet you only need a web browser and can pay using - cash, bank account or credit card."
173
+ "Bitcoin description","Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
174
+ "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
175
+ "Pagos en efectivo Argentina description","Print and present this voucher at any PagoFácil/Rapipago /BaproPagos/CobroExpress branch in the country to pay your purchase. Please pay the exact amount contained in the instructions. This voucher is available just for one transaction."
176
+ "Cash-in description","Cash Options Russia allows you to pay at Euroset and Svyaznoy communication stores and Sberbank ATMs."
177
+ "Cards Russia description","Credit and debit cards are still one the most used online payment methods in Russia."
178
+ "PaymentInstructions","Payment Instructions"
179
+ "PaymentInstructionsSubject","Payment Instructions for order #%s"
180
+ "BankTransferMessage","You have chosen to pay using bank transfer. Please find below your personal reference number and our bank details. Always enter the reference number under ""Purpose of payment"" when making a bank transfer."
181
+ "BankTransferTerms","A bank transfer payment is reported by the bank in 1-3 bank days (Saturday, Sunday and national holidays not included)!"
182
+ "ReferenceNumber","Reference Number"
183
+ "AmountToPay","Amount to pay"
184
+ "AccountHolder","Account Holder"
185
+ "BankName","Bank Name"
186
+ "AccountNumber","Account Number"
187
+ "SWIFT_BIC","SWIFT/BIC"
188
+ "IBAN","IBAN"
189
+ "AccountCurrency","Account Currency"
190
+ "EntityNumber","Entity Number"
191
+ "Payment Method","Payment Method"
192
+ "Last Update","Last Update"
193
+ "No information available","No information available"
app/locale/en_GB/template/email/smart2pay/globalpay/payment_confirmation.html CHANGED
@@ -1,24 +1,24 @@
1
- <html>
2
- <head>
3
- <title>{{var site_url}} : Order # {{var order_increment_id}} - payment confirmation</title>
4
- <style type='text/css'>
5
- body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
6
- </style>
7
- </head>
8
- <body style='background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'>
9
- <table style='width:600; background: #fff; min-height: 300px; margin: 0px auto; padding: 10px; border:1px solid #E0E0E0;'>
10
- <tr>
11
- <td>
12
- <a href='{{var site_url}}'>{{var site_name}}</a>
13
- <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
14
- <p>This is the payment confirmation of order # {{var order_increment_id}}, placed on {{var order_date}}, using Smart2Pay processor.</p>
15
- <h2 style='font-size:18px; font-weight:normal; line-height:22px;'>Total paid: {{var total_paid}} {{var currency}}</h2>
16
- <br />
17
- <p>Thank you!</p>
18
- <br />
19
- <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
20
- </td>
21
- </td>
22
- </table>
23
- </body>
24
  </html>
1
+ <html>
2
+ <head>
3
+ <title>{{var site_url}} : Order # {{var order_increment_id}} - payment confirmation</title>
4
+ <style type='text/css'>
5
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
6
+ </style>
7
+ </head>
8
+ <body style='background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'>
9
+ <table style='width:600; background: #fff; min-height: 300px; margin: 0px auto; padding: 10px; border:1px solid #E0E0E0;'>
10
+ <tr>
11
+ <td>
12
+ <a href='{{var site_url}}'>{{var site_name}}</a>
13
+ <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
14
+ <p>This is the payment confirmation of order # {{var order_increment_id}}, placed on {{var order_date}}, using Smart2Pay processor.</p>
15
+ <h2 style='font-size:18px; font-weight:normal; line-height:22px;'>Total paid: {{var total_paid}} {{var currency}}</h2>
16
+ <br />
17
+ <p>Thank you!</p>
18
+ <br />
19
+ <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
20
+ </td>
21
+ </td>
22
+ </table>
23
+ </body>
24
  </html>
app/locale/en_GB/template/email/smart2pay/globalpay/payment_instructions.html CHANGED
@@ -1,115 +1,68 @@
1
- <html>
2
- <head>
3
- <title>{{var site_url}} : Order # {{var order_increment_id}} - payment instructions</title>
4
- <style type='text/css'>
5
- body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
6
-
7
- #BankTransferInfo{
8
- margin-left: auto;
9
- margin-right: auto;
10
- }
11
-
12
- #BankTransferInfo tr {
13
- text-align: left;
14
- }
15
-
16
- #BankTransferInfo td {
17
- width: 250px;
18
- text-align: left;
19
- }
20
-
21
-
22
- #BankTransferMessage{
23
- text-align: left;
24
- }
25
- #BankTransferTerms{
26
- text-align: left;
27
- font-weight: bold;
28
- }
29
-
30
- #PaymentDetails{
31
- background-color: #eeeeee;
32
- padding: 5px;
33
- }
34
-
35
- </style>
36
- </head>
37
- <body style='background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'>
38
- <table style='width:600; background: #fff; min-height: 300px; margin: 0px auto; padding: 10px; border:1px solid #E0E0E0;'>
39
- <tr>
40
- <td>
41
- <a href='{{var site_url}}'>{{var site_name}}</a>
42
- <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
43
-
44
- <p id="BankTransferMessage">You have chosen to pay using bank transfer. Please find below your personal reference number and our bank details. Always enter the reference number under ""Purpose of payment"" when making a bank transfer.</p></br>
45
- <p id="BankTransferTerms">A bank transfer payment is reported by the bank in 1-3 bank days (Saturday, Sunday and national holidays not included)!</p></br></br>
46
-
47
- <div id="PaymentDetails">
48
- <table id="BankTransferInfo">
49
-
50
- <tr>
51
- <td>
52
- Reference Number
53
- </td>
54
- <td>
55
- {{var reference_number}}
56
- </td>
57
- </tr>
58
- <tr>
59
- <td>
60
- Bank Name
61
- </td>
62
- <td>
63
- {{var bank_name}}
64
- </td>
65
- </tr>
66
- <tr>
67
- <td>
68
- Account Holder
69
- </td>
70
- <td>
71
- {{var account_holder}}
72
- </td>
73
- </tr>
74
- <tr>
75
- <td>
76
- Account Number
77
- </td>
78
- <td>
79
- {{var account_number}}
80
- </td>
81
- </tr>
82
- <tr>
83
- <td>
84
- SWIFT_BIC
85
- </td>
86
- <td>
87
- {{var swift_bic}}
88
- </td>
89
- </tr>
90
- <tr>
91
- <td>
92
- Amount To Pay
93
- </td>
94
- <td>
95
- {{var amount_to_pay}}
96
- </td>
97
- </tr>
98
- <tr>
99
- <td>
100
- Account Currency
101
- </td>
102
- <td>
103
- {{var account_currency}}
104
- </td>
105
- </tr>
106
- <?php }?>
107
-
108
- </table>
109
- </div>
110
- <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
111
- </td>
112
- </tr>
113
- </table>
114
- </body>
115
  </html>
1
+ <html>
2
+ <head>
3
+ <title>{{var site_url}}: Order #{{var order_increment_id}} - payment instructions</title>
4
+ <style type='text/css'>
5
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
6
+
7
+ #BankTransferInfo { margin-left: auto; margin-right: auto; }
8
+ #BankTransferInfo tr { text-align: left; }
9
+ #BankTransferInfo td { width: 250px; text-align: left; }
10
+ #BankTransferMessage { text-align: left; }
11
+ #BankTransferTerms { text-align: left; font-weight: bold; }
12
+ #PaymentDetails { background-color: #eeeeee; padding: 5px; }
13
+ </style>
14
+ </head>
15
+ <body style='background:#f6f6f6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'>
16
+ <table style='width:600px; background: #fff; min-height: 300px; margin: 0 auto; padding: 10px; border:1px solid #e0e0e0;'>
17
+ <tr>
18
+ <td>
19
+ <a href='{{var site_url}}'>{{var site_name}}</a>
20
+ <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
21
+
22
+ <p id="BankTransferMessage">You have chosen to pay using bank transfer. Please find below your personal reference number and our bank details. Always enter the reference number under "Purpose of payment" when making a bank transfer.</p></br>
23
+ <p id="BankTransferTerms">A bank transfer payment is reported by the bank in 1-3 bank days (Saturday, Sunday and national holidays not included)!</p><br/><br/>
24
+
25
+ <div id="PaymentDetails">
26
+ <table id="BankTransferInfo">
27
+
28
+ <tr>
29
+ <td>Reference Number</td>
30
+ <td>{{var reference_number}}</td>
31
+ </tr>
32
+ <tr>
33
+ <td>Bank Name</td>
34
+ <td>{{var bank_name}}</td>
35
+ </tr>
36
+ <tr>
37
+ <td>Account Holder</td>
38
+ <td>{{var account_holder}}</td>
39
+ </tr>
40
+ <tr>
41
+ <td>Account Number</td>
42
+ <td>{{var account_number}}</td>
43
+ </tr>
44
+ <tr>
45
+ <td>SWIFT/BIC</td>
46
+ <td>{{var swift_bic}}</td>
47
+ </tr>
48
+ <tr>
49
+ <td>IBAN</td>
50
+ <td>{{var iban}}</td>
51
+ </tr>
52
+ <tr>
53
+ <td>Amount To Pay</td>
54
+ <td>{{var amount_to_pay}}</td>
55
+ </tr>
56
+ <tr>
57
+ <td>Account Currency</td>
58
+ <td>{{var account_currency}}</td>
59
+ </tr>
60
+
61
+ </table>
62
+ </div>
63
+ <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
64
+ </td>
65
+ </tr>
66
+ </table>
67
+ </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  </html>
app/locale/en_GB/template/email/smart2pay/globalpay/payment_instructions_sibs.html ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@vars
2
+ {"var site_url":"Store url",
3
+ "var site_name":"Customer email",
4
+ "var customer_name":"Customer name",
5
+ "var reference_number":"Payment reference number",
6
+ "var entity_number":"Payment entity number",
7
+ "var amount_to_pay":"Amount to be paid",
8
+ "var support_email":"Store support email"}
9
+ @-->
10
+ <html>
11
+ <head>
12
+ <title>{{var site_url}}: Order #{{var order_increment_id}} - payment instructions</title>
13
+ <style type='text/css'>
14
+ #SIBSTransferInfo { margin-left: auto; margin-right: auto; }
15
+ #SIBSTransferInfo tr { text-align: left; }
16
+ #SIBSTransferInfo td { max-width: 250px; text-align: left; }
17
+ #SIBSTransferMessage { text-align: left; }
18
+ #SIBSTransferTerms { text-align: left; font-weight: bold; }
19
+ #PaymentDetails { background-color: #eeeeee; padding: 5px; }
20
+ </style>
21
+ </head>
22
+ <body style='background:#f6f6f6;'>
23
+ <table style='width:600px; background: #fff; min-height: 300px; margin: 0 auto; padding: 10px; border:1px solid #e0e0e0;'>
24
+ <tr>
25
+ <td>
26
+ <a href='{{var site_url}}'>{{var site_name}}</a>
27
+ <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
28
+
29
+ <p id="SIBSTransferMessage">You have chosen to pay using Multibanco. Please find below your personal reference number, entity number and amount to pay.</p></br>
30
+ <p id="SIBSTransferTerms">&nbsp;</p><br/><br/>
31
+
32
+ <div id="PaymentDetails">
33
+ <table id="SIBSTransferInfo">
34
+
35
+ <tr>
36
+ <td>Reference Number</td>
37
+ <td>{{var reference_number}}</td>
38
+ </tr>
39
+ <tr>
40
+ <td>Entity Number</td>
41
+ <td>{{var entity_number}}</td>
42
+ </tr>
43
+ <tr>
44
+ <td>Amount To Pay</td>
45
+ <td>{{var amount_to_pay}}</td>
46
+ </tr>
47
+
48
+ </table>
49
+ </div>
50
+ <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
51
+ </td>
52
+ </tr>
53
+ </table>
54
+ </body>
55
+ </html>
app/locale/en_US/Smart2Pay_Globalpay.csv CHANGED
@@ -1,187 +1,193 @@
1
- "Please choose one of the following payment methods.","Please choose one of the following payment methods."
2
- "If you choose to simply continue, default method will be", "If you simply choose continue, the default payment method will be"
3
- "Bank Transfer","Bank Transfer"
4
- "iDEAL","iDEAL"
5
- "MrCash","MrCash"
6
- "Giropay","Giropay"
7
- "EPS","EPS"
8
- "UseMyFunds","UseMyFunds"
9
- "Sofort Banking","Sofort Banking"
10
- "Przelewy24","Przelewy24"
11
- "OneCard","OneCard"
12
- "CashU","CashU"
13
- "POLi","POLi"
14
- "DineroMail","DineroMail"
15
- "Multibanco SIBS","Multibanco SIBS"
16
- "Moneta Wallet","Moneta Wallet"
17
- "Paysera","Paysera"
18
- "Alipay","Alipay"
19
- "Abaqoos","Abaqoos"
20
- "ePlatby for eKonto","ePlatby for eKonto"
21
- "Ukash","Ukash"
22
- "Trustly","Trustly"
23
- "Debito Banco do Brasil","Debito Banco do Brasil"
24
- "CuentaDigital","CuentaDigital"
25
- "CardsBrazil","CardsBrazil"
26
- "PaysBuy","PaysBuy"
27
- "Mazooma","Mazooma"
28
- "eNETS Debit","eNETS Debit"
29
- "Paysafecard","Paysafecard"
30
- "PayPal","PayPal"
31
- "PagTotal","PagTotal"
32
- "Payeasy","Payeasy"
33
- "MercadoPago","MercadoPago"
34
- "Mozca","Mozca"
35
- "Gash","Gash"
36
- "ToditoCash","ToditoCash"
37
- "SecureVaultPayments","SecureVaultPayments"
38
- "Boleto","Boleto"
39
- "Debito","Debito"
40
- "Transferencia","Transferencia"
41
- "QIWI Wallet","QIWI Wallet"
42
- "Beeline","Beeline"
43
- "Megafon","Megafon"
44
- "MTS","MTS"
45
- "WebMoney","WebMoney"
46
- "Yandex","Yandex"
47
- "Alliance Online","Alliance Online"
48
- "AmBank","AmBank"
49
- "CIMB Clicks","CIMB Clicks"
50
- "FPX","FPX"
51
- "Hong Leong Bank Transfer","Hong Leong Bank Transfer"
52
- "Maybank2U","Maybank2U"
53
- "Meps Cash","Meps Cash"
54
- "Mobile Money","Mobile Money"
55
- "RHB","RHB"
56
- "Webcash","Webcash"
57
- "Credit Cards Colombia","Credit Cards Colombia"
58
- "PSE","PSE"
59
- "ACH Debit","ACH Debit"
60
- "Via Baloto","Via Baloto"
61
- "Referenced Payment","Referenced Payment"
62
- "Mandiri","Mandiri"
63
- "XLTunai", "XLTunai"
64
- "PayWithMyBank","PayWithMyBank"
65
- "Tenpay","Tenpay"
66
- "Bancomer Pago referenciado", "Bancomer Pago referenciado"
67
- "Santander Pago referenciado", "Santander Pago referenciado"
68
- "ScotiaBank Pago referenciado", "ScotiaBank Pago referenciado"
69
- "7-Eleven Pago en efectivo", "7-Eleven Pago en efectivo"
70
- "Oxxo Pago en efectivo", "Oxxo Pago en efectivo"
71
- "IXE Pago referenciado", "IXE Pago referenciado"
72
- "Boleto Itau", "Boleto Itaú"
73
- "Cards Thailand", "Cards Thailand"
74
- "PayPalThailand", "PayPal Thailand"
75
- "AMEXThailand", "AMEX Thailand"
76
- "Cash Options Thailand", "Cash Options Thailand"
77
- "OnlineBankingThailand", "Online Banking Thailand"
78
- "PaysBuy Wallet", "PaysBuy Wallet"
79
- "TrustPay","TrustPay"
80
- "MyBank", "MyBank"
81
- "PagoEfectivo", "PagoEfectivo"
82
- "Pagos en efectivo","Pagos en efectivo"
83
- "OP-Pohjola","OP-Pohjola"
84
- "Nordea","Nordea"
85
- "Danske","Danske"
86
- "Bitcoin","Bitcoin"
87
- "Cash-in","Cash-in"
88
- "Cards Russia","Cards"
89
- "Bank Transfer description","Bank Transfer offers you the possibility to pay locally from your own bank account. You will get a reference number and the bank account details to be able to make the payment. "
90
- "iDEAL description","iDEAL allows you to buy securely on the Internet directly from your bank account opened at one of the major Dutch banks: ING, Postbank, ABN AMRO, Rabobank and SNS Bank"
91
- "MrCash description","Bancontact/Mister Cash is the Belgium ATM card. You can pay with this card over internet, using a unique TAN (Transaction Auhorization Number). Please make sure your card is enabled for internet purchases. "
92
- "Giropay description","Giropay is an online payment method that enables you to make real time payments via internet banking. In order to use Giropay, you must have a Girokonto (Giro account at a participating Bank or Sparkasse)."
93
- "EPS description","EPS e-payment standard allows you to make real time online payments via your internet banking. The main banks where you can pay from are: Bank Austria Creditanstalt, Erste Bank Sparkasse, Raiffeisen Bank and Bawag PSK."
94
- "UseMyFunds description","UseMyFunds is secure, convenient and easy to use! It works with your existing online banking service (there is nothing to download or install on your computer). You need to register the first time you pay."
95
- "Sofort Banking description","Sofortuberweisung/DirectEbanking is an online payment method, an instant payment through a direct bank transfer from your bank account via internet banking."
96
- "Przelewy24 description","Przelewy24 is a secure and fast online payment service linked to all the major banks and payment methods in Poland. "
97
- "OneCard description","OneCard is the fastest growing Internet payment solution in the Middle East and North Africa. You could simply use Onecard prepaid cards directly or you can open an Onecard account and then reload the account. If you do not have an Onecard account click <a href=""http://www.onecard.net/customer/index.html?showRegistrationBox=true&siteLanguage=en"" target=""_blank"">here</a> to register."
98
- "CashU description","CashU is the most widely used prepaid and electronic wallet in the Middle East and North Africa (excluding credit cards).You could simply use Cashu prepaid cards directly or you can open a CashU account and then reload your account. If you do not have a CashU account click <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">here</a> to register."
99
- "POLi description","POLi is an online payment service that enables you to safely pay directly from your own internet banking. In order to pay with POLi you will have to select your bank and download the POLi application."
100
- "DineroMail description","DineroMail is a major electronic payment system on the Latin American market that offers all of the most popular payment methods available in Argentina, Brazil, Chile, Colombia and Mexico. If you do not have a DineroMail account click <a href=""http://www.dineromail.com/"" target=""_blank"">here</a> to register."
101
- "Multibanco SIBS description","With Multibanco/SIBS you receive payment details (3 sets of digits - Entity, Reference and Value) which you can use to pay the Merchant. You can make this payment at a Multibanco ATM, internet banking or mobile phone."
102
- "Moneta Wallet description","Moneta.ru is a major electronic payment system on the Russian market that offers all of the most popular payment methods available in Russia and Ukraine. You can pay direct or via the Moneta Wallet."
103
- "Paysera description","Paysera is a reliable, secure and fast online system that offers all of the most popular payment methods available in the Baltic Countries. In order to use this method you need to have a Paysera account. If you do not have a Paysera account click <a href=""https://www.webtopay.com/registration.html"" target=""_blank"">here</a> to register."
104
- "Alipay description","You simply need to have an Alipay account and deposit money to your account: using a bank account from one of the banks that are accepted by Alipay (19 Chinese national banks) or using a credit/debit card. If you do not have an Alipay account click <a href=""https://globalprod.alipay.com/order/emailVerify.htm"" target=""_blank"">here</a> to register."
105
- "Abaqoos description","You can pay with Abaqoos via cash or internet banking from all the major banks. Only the Abaqoos vouchers registered with Smart2Pay as provider can be used for making your payment. If you do not have already an Abaqoos voucher click <a href=""https://www.abaqoos.com/PODWebAuthSite/Registration.aspx?provider=smart2pay"" target=""_blank"">here</a> to register. After you create your account please deposit money in it to be able to pay."
106
- "ePlatby for eKonto description","ePlatby for eKonto is an online banking service offered by Raiffeisen Bank, so to use this method you need to have an eKonto account at Raiffeisen Bank. You don’t have to activate this service; it works automatically."
107
- "Ukash description","Ukash voucher is a prepaid voucher you can use to pay - there are no extra fees. So, if you want to pay using Ukash voucher you simply visit your <a href=""http://www.ukash.com/global/en/where-to-get/global.aspx"" target=""_blank"">nearest store</a>. To pay you simply type in the 19 digit voucher code and the voucher value."
108
- "Trustly description","Trustly (former Instant Bank/GluePay) allows you to pay online with your bank account - fast, easy and secure. Just choose your bank, follow the instructions and complete the details needed. Then confirm the payment as you normally do with your internet banking by signing with a one-time bank security code from your token and you will have completed the payment.."
109
- "Debito Banco do Brasil description","Debito Banco do Brasil allows you to pay online with your bank account - fast, easy and secure. You need to have a bank account with internet banking at Banco do Brasil."
110
- "CuentaDigital description","CuentaDigital is a leading electronic wallet provider in South America that offers all of the most popular payment methods available. To purchase with this method you need to have a CuentaDigital account. Click <a href=""https://www.cuentadigital.com/area.php?name=cliente&op=new_user"" target=""_blank"">here</a>to register and then reload the account if you do not have already a CuentaDigital account."
111
- "CardsBrazil description","Please choose your card brand and enter the card details. The supported card types: Visa, MasterCard, Amex, Diners, JCB, Hipercard, Sorocred, Aura, Discover, Cabal and Argencard."
112
- "PaysBuy description","PaysBuy allows you to pay with the flexibility using PaysBuy account balances (click <a href=""https://www.paysbuy.com/register.aspx"" target=""_blank"">here</a> to create your PaysBuy account if do not have one already), or directly via internet banking, credit cards or cash. "
113
- "Mazooma description","Mazooma is an innovative payment solution provider for online commerce. Mazooma lets you pay from your own bank account by connecting you directly to your online bank account for a safe, simple and easy checkout."
114
- "eNETS Debit description","eNETS Debit is an Internet-based payment method that enables you to pay from your bank account using your Internet Banking PIN and ID. "
115
- "Paysafecard description","Paysafecard voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using Paysafecard voucher you simply visit your <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">nearest store</a>. Then you simply type in the 16 digit voucher code and that"
116
- "PayPal description","PayPal is the world's largest online payment network, serving over 230 million members in 190 countries and regions. With PayPal you can pay using your credit card or checking account. If you do not have a PayPal account click <a href=""https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=POF0zpshlSyFe4t6PMraBTKqVa0vfnf5zlWQViMb3horYjAo21mGHfjsmmO&dispatch=5885d80a13c0db1f8e263663d3faee8d7283e7f0184a5674430f290db9e9c846"" target=""_blank"">here</a> to register."
117
- "PagTotal description","PagTotal is a payment method in Brazil, reinforced by mobile phone security. The main benefit in using PagTotal is that it enables you to pay and confirm the payment anywhere you want, just through a simple SMS. If you do not have a Pagtotal account click <a href=""https://www.pagtotal.com.br/index.php?op=3"" target=""_blank"">here</a> to register."
118
- "Payeasy description","PayEasy provides a secure, unified interface to all of the popular payment options. Via PayEasy you can pay using major credit cards, ATM debit cards, mobile payments, over-the-counter-cash (Dragonpay), online banking payments and direct bank transfers."
119
- "MercadoPago description","MercadoPago is the biggest Internet Wallet in Latin America allowing you to pay via the most popular methods of payment. To pay with MercadoPago you need to have a MercadoPago account. If you do not have a MercadoPago account click <a href=""https://www.mercadopago.com/mlb/cadastro/register"" target=""_blank"">here</a> to register. "
120
- "Mozca description","To pay with Mozca is very simple: you just use your mobile phone number and a 4-digit password to confirm that your mobile phone really belongs to you and is in your hands. A PIN Code MOZCA will be sent to you via SMS as a confirmation of your payment."
121
- "Gash description","Gash voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using GASH voucher you simply visit your <a href=""http://www.gashplus.com/gashstore/GashStore.aspx"" target=""_blank"">nearest store</a>. Then you simply type in the 14/20/21 digit voucher code and that"
122
- "ToditoCash description","Todito Cash is a rechargeable prepaid card that you can use to pay and you can recharge just like you do with your mobile phone in over 20,000 outlets including convenience <a href=""https://www.toditocash.com/html/puntosdeventa.php"" target=""_blank"">stores and banks</a>.If you do not have a ToditoCash account click <a href=""https://www.toditocash.com/php/crearCuenta.php"" target=""_blank"">here</a> to register."
123
- "SecureVaultPayments description","SecureVaultPayments allows you to pay using your internet banking. You choose your bank and all the other payment details you will enter at your own bank."
124
- "Boleto description","Boleto Bancario is one of the most used payment options in Brazil. To pay with Boleto Bancario you print the Boleto and can go to a physical bank branch in your area and pay with cash, use online banking, or simply go to an ATM machine."
125
- "Debito description","Debito Bradesco is a real time bank transfer payment option available for Bradesco Bank Customers in Brazil. You simply need to enter your Banco Bradesco debit card number and confirm the payment with a PIN number."
126
- "Transferencia description","Transferencia Entre Contas is a real-time bank transfer method allowing you to pay. To use this payment method you need a bank account at Bradesco with internet banking."
127
- "QIWI Wallet description","QIWI is a major electronic payment system on the Russian market that offers all of the popular payment methods through Qiwi Wallet or directly. You can pay with QIWI Wallet from the balance of your QIWI account, or pay directly with debit or credit card, or using cash at a QIWI kiosk. "
128
- "Beeline description","This option is available if your phone number belongs to Beeline mobile operator. Beeline approves or declines your payment request depending on the amount of your phone balance."
129
- "Megafon description","This option is available if your phone number belongs to Megafon mobile operator. Megafon approves or declines your payment request depending on the amount of your phone balance."
130
- "MTS description","This option is available if your phone number belongs to MTC mobile operator. MTC approves or declines your payment request depending on the amount of your phone balance."
131
- "WebMoney description","WebMoney Transfer is a payment system offering most popular payment methods direct and through the WebMoney Wallet. To be able to pay with WebMoney you need to register first (click <a href=""http://start.webmoney.ru/?lang=en"" target=""_blank"">here</a>) if you are not yet registered."
132
- "Yandex description","Yandex.Money is the leading online payment system in Russia that offers most of the popular payment methods direct and through Yandex.Money eWallet. To pay with Yandex.Money eWallet you only need a web browser and can pay using - cash, bank account or credit card."
133
- "Alliance Online description","Alliance Online is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Alliance Online Bank."
134
- "AmBank description","AmBank is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at AmBank."
135
- "CIMB Clicks description","CIMB Clicks (formerly known as Channel-e) is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at CIMB Bank."
136
- "FPX description","FPX is an online payment method that allows you to pay in real time via internet banking. You just need to choose your own bank and enter on the bank"
137
- "Hong Leong Bank Transfer description","Hong Leong Bank Transfer is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Hong Leong Bank."
138
- "Maybank2U description","Maybank2U is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Maybank2U."
139
- "Meps Cash description","MEPSCASH is electronic money (e-money) provided via MEPS. You need to first top MEPSCASH into the ATM card or MyKad (similar to TouchnGo). When you pay, the MEPSCASH amount is deducted from the card itself."
140
- "Mobile Money description","Mobile Money allows you to pay via your mobile phone and is under the supervision of Central Bank of Malaysia. To start using Mobile Money you need to register first (click <a href=""https://mmweb.mobile-money.com/UserReg/index.aspx"" target=""_blank"">here</a>) if you are not yet registered."
141
- "RHB description","RHB is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at RHB Bank."
142
- "Webcash description","WEBCASH is a Prepaid Payment System you can use to pay. You determine the amount of the cash value you want to top-up into your Webcash account. If you do not have a Webcash account register <a href=""https://webcash.com.my/postregistration.php?chk=0"" target=""_blank"">here</a>."
143
- "Credit Cards Colombia description","Please choose your card brand and enter the card details. The supported card types: Visa, MasterCard, Amex, Diners."
144
- "PSE description","(Acronym in Spanish) Electronic Services Supplier; it is an ACH Colombia SA service where you are redirected to your selected bank website and then you need to introduce your user, password and account number."
145
- "ACH Debit description","ACH debit is a payment method that allows the Merchant to collect funds from your bank account using your bank routing number and your account number. You are the only one who can give authorization for an ACH debit to occur, at which time the authorized amount is deducted from your account."
146
- "Via Baloto description","Via Baloto is a cash payment you can use to pay. You will receive a reference number for your payment and an operational number. With this data you can make the payment at Via Baloto centers. Please access <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html?state=HUILA&city=PALERMO"" target=""_blank"">pagosonline-puntos-via-baloto/</a> for the complete list of the payment centers. "
147
- "Referenced Payment description","Referenced Payment is a cash payment you can use to pay. You need to print the voucher with the barcode and pay it at any branch of Bancolombia, Banco de Occidente and Banco Helm."
148
- "Mandiri description","Mandiri is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Mandiri Bank."
149
- "XLTunai description", "XL Tunai is an online payment method that allows you to transform your phone into a digital wallet. To use this payment method you need to register your phone number at XL centers or agents. You will receive a PIN in order to authorize the payments."
150
- "Bancomer Pago referenciado description", "To pay with Bancomer - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
151
- "Santander Pago referenciado description", "To pay with Santantder - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
152
- "ScotiaBank Pago referenciado description", "To pay with Scotiabank - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
153
- "7-Eleven Pago en efectivo description", "Print and present this voucher at any 7-ELEVEN store in the country to pay your purchase. Please point to the store cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
154
- "Oxxo Pago en efectivo description", "Print and present this voucher at any Oxxo store in the country to pay your purchase. Please point to the store cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
155
- "IXE Pago referenciado description", "To pay with IXE - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
156
- "Boleto Itau description", "To pay with Boleto Itaú you need to print the Boleto and go to a physical bank branch in your area and pay with cash, online banking, or simply go to an ATM machine."
157
- "Cards Thailand description", "Cards Thailand"
158
- "PayPalThailand description", "PayPal Thailand"
159
- "AMEXThailand description", "AMEX Thailand"
160
- "Cash Options Thailand description", "Cash Options Thailand"
161
- "OnlineBankingThailand description", "Online Banking Thailand"
162
- "PaysBuy Wallet description", "PaysBuy Wallet"
163
- "PayWithMyBank description","PayWithMyBank is an online payment method that allows the Customer to pay via internet banking. With just a few clicks and top-of-mind online banking password the Customer chooses his bank and then the account to pay from."
164
- "Tenpay description","Tenpay is developed by Tencent company, which owns the most popular IM in China – QQ with more than 300 million users. More than 200,000 shopping websites accept Tenpay. Tenpay is compatible with the e-banking service of major domestic banks. Users can use Tenpay to send and receive payments and withdraw money to bank account."
165
- "TrustPay description","TrustPay facilitates a network of partner banks and bank accounts from 13 European countries to enable local and real-time bank transfers as a method of payment for local, and international, purchases. This solution allows you to pay in 11 currencies without the need to open an account with TrustPay."
166
- "Paytrail description","Paytrail is the advanced payment system used by Finnish banks to guarantee real time Internet payments. Paytrail enjoys a high level of acceptance from Customers, with full support of all the major Finnish banks: Nordea, OP-Pohjola Group, S-Pankki, Aktia, Tapiola, Handelsbanken and Alandsbanken."
167
- "OP-Pohjola description","OP-Pohjola(Osuuspankki) is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at OP-Pohjola. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
168
- "Nordea description","Nordea is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Nordea Bank. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
169
- "Danske description","Danske is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Danske Bank. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
170
- "PagoEfectivo description","Buy with PagoEfectivo and pay over bank’s agencies or Internet Banking from BCP, BBVA, Interbank, Scotiabank, Western Union Payment Services agencies or authorized locations with PagoEfectivo and/or FullCarga logo.<br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">More information about PagoEfectivo</a>"
171
- "MyBank description","MyBank is a safe and easy way to pay for your online shopping all across Europe: it allows you to simply use the online banking platform of your bank to initiate the payment. For more information click <a href=""https://www.mybankpayments.eu/"" target=""_blank"">here</a>."
172
- "YandexMoney description","Yandex.Money is the leading online payment system in Russia that offers most of the popular payment methods direct and through Yandex.Money eWallet. To pay with Yandex.Money eWallet you only need a web browser and can pay using - cash, bank account or credit card."
173
- "Bitcoin description","Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
174
- "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
175
- "Pagos en efectivo Argentina description","Print and present this voucher at any PagoFácil/Rapipago /BaproPagos/CobroExpress branch in the country to pay your purchase. Please pay the exact amount contained in the instructions. This voucher is available just for one transaction."
176
- "Cash-in description","Cash Options Russia allows you to pay at Euroset and Svyaznoy communication stores and Sberbank ATMs."
177
- "Cards Russia description","Credit and debit cards are still one the most used online payment methods in Russia."
178
- "PaymentInstructions","Payment Instructions"
179
- "BankTransferMessage","You have chosen to pay using bank transfer. Please find below your personal reference number and our bank details. Always enter the reference number under ""Purpose of payment"" when making a bank transfer."
180
- "BankTransferTerms","A bank transfer payment is reported by the bank in 1-3 bank days (Saturday, Sunday and national holidays not included)!"
181
- "ReferenceNumber","Reference Number"
182
- "AmountToPay","Amount to pay"
183
- "AccountHolder","Account Holder"
184
- "BankName","Bank Name"
185
- "AccountNumber","Account Number"
186
- "SWIFT_BIC","SWIFT_BIC"
187
- "AccountCurrency","Account Currency"
 
 
 
 
 
 
1
+ "Please choose one of the following payment methods.","Please choose one of the following payment methods."
2
+ "If you choose to simply continue, default method will be", "If you simply choose continue, the default payment method will be"
3
+ "Bank Transfer","Bank Transfer"
4
+ "iDEAL","iDEAL"
5
+ "MrCash","MrCash"
6
+ "Giropay","Giropay"
7
+ "EPS","EPS"
8
+ "UseMyFunds","UseMyFunds"
9
+ "Sofort Banking","Sofort Banking"
10
+ "Przelewy24","Przelewy24"
11
+ "OneCard","OneCard"
12
+ "CashU","CashU"
13
+ "POLi","POLi"
14
+ "DineroMail","DineroMail"
15
+ "Multibanco SIBS","Multibanco SIBS"
16
+ "Moneta Wallet","Moneta Wallet"
17
+ "Paysera","Paysera"
18
+ "Alipay","Alipay"
19
+ "Abaqoos","Abaqoos"
20
+ "ePlatby for eKonto","ePlatby for eKonto"
21
+ "Ukash","Ukash"
22
+ "Trustly","Trustly"
23
+ "Debito Banco do Brasil","Debito Banco do Brasil"
24
+ "CuentaDigital","CuentaDigital"
25
+ "CardsBrazil","CardsBrazil"
26
+ "PaysBuy","PaysBuy"
27
+ "Mazooma","Mazooma"
28
+ "eNETS Debit","eNETS Debit"
29
+ "Paysafecard","Paysafecard"
30
+ "PayPal","PayPal"
31
+ "PagTotal","PagTotal"
32
+ "Payeasy","Payeasy"
33
+ "MercadoPago","MercadoPago"
34
+ "Mozca","Mozca"
35
+ "Gash","Gash"
36
+ "ToditoCash","ToditoCash"
37
+ "SecureVaultPayments","SecureVaultPayments"
38
+ "Boleto","Boleto"
39
+ "Debito","Debito"
40
+ "Transferencia","Transferencia"
41
+ "QIWI Wallet","QIWI Wallet"
42
+ "Beeline","Beeline"
43
+ "Megafon","Megafon"
44
+ "MTS","MTS"
45
+ "WebMoney","WebMoney"
46
+ "Yandex","Yandex"
47
+ "Alliance Online","Alliance Online"
48
+ "AmBank","AmBank"
49
+ "CIMB Clicks","CIMB Clicks"
50
+ "FPX","FPX"
51
+ "Hong Leong Bank Transfer","Hong Leong Bank Transfer"
52
+ "Maybank2U","Maybank2U"
53
+ "Meps Cash","Meps Cash"
54
+ "Mobile Money","Mobile Money"
55
+ "RHB","RHB"
56
+ "Webcash","Webcash"
57
+ "Credit Cards Colombia","Credit Cards Colombia"
58
+ "PSE","PSE"
59
+ "ACH Debit","ACH Debit"
60
+ "Via Baloto","Via Baloto"
61
+ "Referenced Payment","Referenced Payment"
62
+ "Mandiri","Mandiri"
63
+ "XLTunai", "XLTunai"
64
+ "PayWithMyBank","PayWithMyBank"
65
+ "Tenpay","Tenpay"
66
+ "Bancomer Pago referenciado", "Bancomer Pago referenciado"
67
+ "Santander Pago referenciado", "Santander Pago referenciado"
68
+ "ScotiaBank Pago referenciado", "ScotiaBank Pago referenciado"
69
+ "7-Eleven Pago en efectivo", "7-Eleven Pago en efectivo"
70
+ "Oxxo Pago en efectivo", "Oxxo Pago en efectivo"
71
+ "IXE Pago referenciado", "IXE Pago referenciado"
72
+ "Boleto Itau", "Boleto Itaú"
73
+ "Cards Thailand", "Cards Thailand"
74
+ "PayPalThailand", "PayPal Thailand"
75
+ "AMEXThailand", "AMEX Thailand"
76
+ "Cash Options Thailand", "Cash Options Thailand"
77
+ "OnlineBankingThailand", "Online Banking Thailand"
78
+ "PaysBuy Wallet", "PaysBuy Wallet"
79
+ "TrustPay","TrustPay"
80
+ "MyBank", "MyBank"
81
+ "PagoEfectivo", "PagoEfectivo"
82
+ "Pagos en efectivo","Pagos en efectivo"
83
+ "OP-Pohjola","OP-Pohjola"
84
+ "Nordea","Nordea"
85
+ "Danske","Danske"
86
+ "Bitcoin","Bitcoin"
87
+ "Cash-in","Cash-in"
88
+ "Cards Russia","Cards"
89
+ "Bank Transfer description","Bank Transfer offers you the possibility to pay locally from your own bank account. You will get a reference number and the bank account details to be able to make the payment. "
90
+ "iDEAL description","iDEAL allows you to buy securely on the Internet directly from your bank account opened at one of the major Dutch banks: ING, Postbank, ABN AMRO, Rabobank and SNS Bank"
91
+ "MrCash description","Bancontact/Mister Cash is the Belgium ATM card. You can pay with this card over internet, using a unique TAN (Transaction Auhorization Number). Please make sure your card is enabled for internet purchases. "
92
+ "Giropay description","Giropay is an online payment method that enables you to make real time payments via internet banking. In order to use Giropay, you must have a Girokonto (Giro account at a participating Bank or Sparkasse)."
93
+ "EPS description","EPS e-payment standard allows you to make real time online payments via your internet banking. The main banks where you can pay from are: Bank Austria Creditanstalt, Erste Bank Sparkasse, Raiffeisen Bank and Bawag PSK."
94
+ "UseMyFunds description","UseMyFunds is secure, convenient and easy to use! It works with your existing online banking service (there is nothing to download or install on your computer). You need to register the first time you pay."
95
+ "Sofort Banking description","Sofortuberweisung/DirectEbanking is an online payment method, an instant payment through a direct bank transfer from your bank account via internet banking."
96
+ "Przelewy24 description","Przelewy24 is a secure and fast online payment service linked to all the major banks and payment methods in Poland. "
97
+ "OneCard description","OneCard is the fastest growing Internet payment solution in the Middle East and North Africa. You could simply use Onecard prepaid cards directly or you can open an Onecard account and then reload the account. If you do not have an Onecard account click <a href=""http://www.onecard.net/customer/index.html?showRegistrationBox=true&siteLanguage=en"" target=""_blank"">here</a> to register."
98
+ "CashU description","CashU is the most widely used prepaid and electronic wallet in the Middle East and North Africa (excluding credit cards).You could simply use Cashu prepaid cards directly or you can open a CashU account and then reload your account. If you do not have a CashU account click <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">here</a> to register."
99
+ "POLi description","POLi is an online payment service that enables you to safely pay directly from your own internet banking. In order to pay with POLi you will have to select your bank and download the POLi application."
100
+ "DineroMail description","DineroMail is a major electronic payment system on the Latin American market that offers all of the most popular payment methods available in Argentina, Brazil, Chile, Colombia and Mexico. If you do not have a DineroMail account click <a href=""http://www.dineromail.com/"" target=""_blank"">here</a> to register."
101
+ "Multibanco SIBS description","With Multibanco/SIBS you receive payment details (3 sets of digits - Entity, Reference and Value) which you can use to pay the Merchant. You can make this payment at a Multibanco ATM, internet banking or mobile phone."
102
+ "Moneta Wallet description","Moneta.ru is a major electronic payment system on the Russian market that offers all of the most popular payment methods available in Russia and Ukraine. You can pay direct or via the Moneta Wallet."
103
+ "Paysera description","Paysera is a reliable, secure and fast online system that offers all of the most popular payment methods available in the Baltic Countries. In order to use this method you need to have a Paysera account. If you do not have a Paysera account click <a href=""https://www.webtopay.com/registration.html"" target=""_blank"">here</a> to register."
104
+ "Alipay description","You simply need to have an Alipay account and deposit money to your account: using a bank account from one of the banks that are accepted by Alipay (19 Chinese national banks) or using a credit/debit card. If you do not have an Alipay account click <a href=""https://globalprod.alipay.com/order/emailVerify.htm"" target=""_blank"">here</a> to register."
105
+ "Abaqoos description","You can pay with Abaqoos via cash or internet banking from all the major banks. Only the Abaqoos vouchers registered with Smart2Pay as provider can be used for making your payment. If you do not have already an Abaqoos voucher click <a href=""https://www.abaqoos.com/PODWebAuthSite/Registration.aspx?provider=smart2pay"" target=""_blank"">here</a> to register. After you create your account please deposit money in it to be able to pay."
106
+ "ePlatby for eKonto description","ePlatby for eKonto is an online banking service offered by Raiffeisen Bank, so to use this method you need to have an eKonto account at Raiffeisen Bank. You don’t have to activate this service; it works automatically."
107
+ "Ukash description","Ukash voucher is a prepaid voucher you can use to pay - there are no extra fees. So, if you want to pay using Ukash voucher you simply visit your <a href=""http://www.ukash.com/global/en/where-to-get/global.aspx"" target=""_blank"">nearest store</a>. To pay you simply type in the 19 digit voucher code and the voucher value."
108
+ "Trustly description","Trustly (former Instant Bank/GluePay) allows you to pay online with your bank account - fast, easy and secure. Just choose your bank, follow the instructions and complete the details needed. Then confirm the payment as you normally do with your internet banking by signing with a one-time bank security code from your token and you will have completed the payment.."
109
+ "Debito Banco do Brasil description","Debito Banco do Brasil allows you to pay online with your bank account - fast, easy and secure. You need to have a bank account with internet banking at Banco do Brasil."
110
+ "CuentaDigital description","CuentaDigital is a leading electronic wallet provider in South America that offers all of the most popular payment methods available. To purchase with this method you need to have a CuentaDigital account. Click <a href=""https://www.cuentadigital.com/area.php?name=cliente&op=new_user"" target=""_blank"">here</a>to register and then reload the account if you do not have already a CuentaDigital account."
111
+ "CardsBrazil description","Please choose your card brand and enter the card details. The supported card types: Visa, MasterCard, Amex, Diners, JCB, Hipercard, Sorocred, Aura, Discover, Cabal and Argencard."
112
+ "PaysBuy description","PaysBuy allows you to pay with the flexibility using PaysBuy account balances (click <a href=""https://www.paysbuy.com/register.aspx"" target=""_blank"">here</a> to create your PaysBuy account if do not have one already), or directly via internet banking, credit cards or cash. "
113
+ "Mazooma description","Mazooma is an innovative payment solution provider for online commerce. Mazooma lets you pay from your own bank account by connecting you directly to your online bank account for a safe, simple and easy checkout."
114
+ "eNETS Debit description","eNETS Debit is an Internet-based payment method that enables you to pay from your bank account using your Internet Banking PIN and ID. "
115
+ "Paysafecard description","Paysafecard voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using Paysafecard voucher you simply visit your <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">nearest store</a>. Then you simply type in the 16 digit voucher code and that"
116
+ "PayPal description","PayPal is the world's largest online payment network, serving over 230 million members in 190 countries and regions. With PayPal you can pay using your credit card or checking account. If you do not have a PayPal account click <a href=""https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=POF0zpshlSyFe4t6PMraBTKqVa0vfnf5zlWQViMb3horYjAo21mGHfjsmmO&dispatch=5885d80a13c0db1f8e263663d3faee8d7283e7f0184a5674430f290db9e9c846"" target=""_blank"">here</a> to register."
117
+ "PagTotal description","PagTotal is a payment method in Brazil, reinforced by mobile phone security. The main benefit in using PagTotal is that it enables you to pay and confirm the payment anywhere you want, just through a simple SMS. If you do not have a Pagtotal account click <a href=""https://www.pagtotal.com.br/index.php?op=3"" target=""_blank"">here</a> to register."
118
+ "Payeasy description","PayEasy provides a secure, unified interface to all of the popular payment options. Via PayEasy you can pay using major credit cards, ATM debit cards, mobile payments, over-the-counter-cash (Dragonpay), online banking payments and direct bank transfers."
119
+ "MercadoPago description","MercadoPago is the biggest Internet Wallet in Latin America allowing you to pay via the most popular methods of payment. To pay with MercadoPago you need to have a MercadoPago account. If you do not have a MercadoPago account click <a href=""https://www.mercadopago.com/mlb/cadastro/register"" target=""_blank"">here</a> to register. "
120
+ "Mozca description","To pay with Mozca is very simple: you just use your mobile phone number and a 4-digit password to confirm that your mobile phone really belongs to you and is in your hands. A PIN Code MOZCA will be sent to you via SMS as a confirmation of your payment."
121
+ "Gash description","Gash voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using GASH voucher you simply visit your <a href=""http://www.gashplus.com/gashstore/GashStore.aspx"" target=""_blank"">nearest store</a>. Then you simply type in the 14/20/21 digit voucher code and that"
122
+ "ToditoCash description","Todito Cash is a rechargeable prepaid card that you can use to pay and you can recharge just like you do with your mobile phone in over 20,000 outlets including convenience <a href=""https://www.toditocash.com/html/puntosdeventa.php"" target=""_blank"">stores and banks</a>.If you do not have a ToditoCash account click <a href=""https://www.toditocash.com/php/crearCuenta.php"" target=""_blank"">here</a> to register."
123
+ "SecureVaultPayments description","SecureVaultPayments allows you to pay using your internet banking. You choose your bank and all the other payment details you will enter at your own bank."
124
+ "Boleto description","Boleto Bancario is one of the most used payment options in Brazil. To pay with Boleto Bancario you print the Boleto and can go to a physical bank branch in your area and pay with cash, use online banking, or simply go to an ATM machine."
125
+ "Debito description","Debito Bradesco is a real time bank transfer payment option available for Bradesco Bank Customers in Brazil. You simply need to enter your Banco Bradesco debit card number and confirm the payment with a PIN number."
126
+ "Transferencia description","Transferencia Entre Contas is a real-time bank transfer method allowing you to pay. To use this payment method you need a bank account at Bradesco with internet banking."
127
+ "QIWI Wallet description","QIWI is a major electronic payment system on the Russian market that offers all of the popular payment methods through Qiwi Wallet or directly. You can pay with QIWI Wallet from the balance of your QIWI account, or pay directly with debit or credit card, or using cash at a QIWI kiosk. "
128
+ "Beeline description","This option is available if your phone number belongs to Beeline mobile operator. Beeline approves or declines your payment request depending on the amount of your phone balance."
129
+ "Megafon description","This option is available if your phone number belongs to Megafon mobile operator. Megafon approves or declines your payment request depending on the amount of your phone balance."
130
+ "MTS description","This option is available if your phone number belongs to MTC mobile operator. MTC approves or declines your payment request depending on the amount of your phone balance."
131
+ "WebMoney description","WebMoney Transfer is a payment system offering most popular payment methods direct and through the WebMoney Wallet. To be able to pay with WebMoney you need to register first (click <a href=""http://start.webmoney.ru/?lang=en"" target=""_blank"">here</a>) if you are not yet registered."
132
+ "Yandex description","Yandex.Money is the leading online payment system in Russia that offers most of the popular payment methods direct and through Yandex.Money eWallet. To pay with Yandex.Money eWallet you only need a web browser and can pay using - cash, bank account or credit card."
133
+ "Alliance Online description","Alliance Online is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Alliance Online Bank."
134
+ "AmBank description","AmBank is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at AmBank."
135
+ "CIMB Clicks description","CIMB Clicks (formerly known as Channel-e) is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at CIMB Bank."
136
+ "FPX description","FPX is an online payment method that allows you to pay in real time via internet banking. You just need to choose your own bank and enter on the bank"
137
+ "Hong Leong Bank Transfer description","Hong Leong Bank Transfer is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Hong Leong Bank."
138
+ "Maybank2U description","Maybank2U is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Maybank2U."
139
+ "Meps Cash description","MEPSCASH is electronic money (e-money) provided via MEPS. You need to first top MEPSCASH into the ATM card or MyKad (similar to TouchnGo). When you pay, the MEPSCASH amount is deducted from the card itself."
140
+ "Mobile Money description","Mobile Money allows you to pay via your mobile phone and is under the supervision of Central Bank of Malaysia. To start using Mobile Money you need to register first (click <a href=""https://mmweb.mobile-money.com/UserReg/index.aspx"" target=""_blank"">here</a>) if you are not yet registered."
141
+ "RHB description","RHB is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at RHB Bank."
142
+ "Webcash description","WEBCASH is a Prepaid Payment System you can use to pay. You determine the amount of the cash value you want to top-up into your Webcash account. If you do not have a Webcash account register <a href=""https://webcash.com.my/postregistration.php?chk=0"" target=""_blank"">here</a>."
143
+ "Credit Cards Colombia description","Please choose your card brand and enter the card details. The supported card types: Visa, MasterCard, Amex, Diners."
144
+ "PSE description","(Acronym in Spanish) Electronic Services Supplier; it is an ACH Colombia SA service where you are redirected to your selected bank website and then you need to introduce your user, password and account number."
145
+ "ACH Debit description","ACH debit is a payment method that allows the Merchant to collect funds from your bank account using your bank routing number and your account number. You are the only one who can give authorization for an ACH debit to occur, at which time the authorized amount is deducted from your account."
146
+ "Via Baloto description","Via Baloto is a cash payment you can use to pay. You will receive a reference number for your payment and an operational number. With this data you can make the payment at Via Baloto centers. Please access <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html?state=HUILA&city=PALERMO"" target=""_blank"">pagosonline-puntos-via-baloto/</a> for the complete list of the payment centers. "
147
+ "Referenced Payment description","Referenced Payment is a cash payment you can use to pay. You need to print the voucher with the barcode and pay it at any branch of Bancolombia, Banco de Occidente and Banco Helm."
148
+ "Mandiri description","Mandiri is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Mandiri Bank."
149
+ "XLTunai description", "XL Tunai is an online payment method that allows you to transform your phone into a digital wallet. To use this payment method you need to register your phone number at XL centers or agents. You will receive a PIN in order to authorize the payments."
150
+ "Bancomer Pago referenciado description", "To pay with Bancomer - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
151
+ "Santander Pago referenciado description", "To pay with Santantder - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
152
+ "ScotiaBank Pago referenciado description", "To pay with Scotiabank - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
153
+ "7-Eleven Pago en efectivo description", "Print and present this voucher at any 7-ELEVEN store in the country to pay your purchase. Please point to the store cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
154
+ "Oxxo Pago en efectivo description", "Print and present this voucher at any Oxxo store in the country to pay your purchase. Please point to the store cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
155
+ "IXE Pago referenciado description", "To pay with IXE - pago referenciado you need to print the instructions, go to the physical bank branch in your area and pay with cash or check deposit."
156
+ "Boleto Itau description", "To pay with Boleto Itaú you need to print the Boleto and go to a physical bank branch in your area and pay with cash, online banking, or simply go to an ATM machine."
157
+ "Cards Thailand description", "Cards Thailand"
158
+ "PayPalThailand description", "PayPal Thailand"
159
+ "AMEXThailand description", "AMEX Thailand"
160
+ "Cash Options Thailand description", "Cash Options Thailand"
161
+ "OnlineBankingThailand description", "Online Banking Thailand"
162
+ "PaysBuy Wallet description", "PaysBuy Wallet"
163
+ "PayWithMyBank description","PayWithMyBank is an online payment method that allows the Customer to pay via internet banking. With just a few clicks and top-of-mind online banking password the Customer chooses his bank and then the account to pay from."
164
+ "Tenpay description","Tenpay is developed by Tencent company, which owns the most popular IM in China – QQ with more than 300 million users. More than 200,000 shopping websites accept Tenpay. Tenpay is compatible with the e-banking service of major domestic banks. Users can use Tenpay to send and receive payments and withdraw money to bank account."
165
+ "TrustPay description","TrustPay facilitates a network of partner banks and bank accounts from 13 European countries to enable local and real-time bank transfers as a method of payment for local, and international, purchases. This solution allows you to pay in 11 currencies without the need to open an account with TrustPay."
166
+ "Paytrail description","Paytrail is the advanced payment system used by Finnish banks to guarantee real time Internet payments. Paytrail enjoys a high level of acceptance from Customers, with full support of all the major Finnish banks: Nordea, OP-Pohjola Group, S-Pankki, Aktia, Tapiola, Handelsbanken and Alandsbanken."
167
+ "OP-Pohjola description","OP-Pohjola(Osuuspankki) is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at OP-Pohjola. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
168
+ "Nordea description","Nordea is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Nordea Bank. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
169
+ "Danske description","Danske is an online payment method that allows you to pay in real time via internet banking. To use this payment method you need to have a bank account with internet banking at Danske Bank. <a href=""http://paytrail.com/about-us"" target=""_blank"">Payment service provider's information</a>"
170
+ "PagoEfectivo description","Buy with PagoEfectivo and pay over bank’s agencies or Internet Banking from BCP, BBVA, Interbank, Scotiabank, Western Union Payment Services agencies or authorized locations with PagoEfectivo and/or FullCarga logo.<br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">More information about PagoEfectivo</a>"
171
+ "MyBank description","MyBank is a safe and easy way to pay for your online shopping all across Europe: it allows you to simply use the online banking platform of your bank to initiate the payment. For more information click <a href=""https://www.mybankpayments.eu/"" target=""_blank"">here</a>."
172
+ "YandexMoney description","Yandex.Money is the leading online payment system in Russia that offers most of the popular payment methods direct and through Yandex.Money eWallet. To pay with Yandex.Money eWallet you only need a web browser and can pay using - cash, bank account or credit card."
173
+ "Bitcoin description","Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
174
+ "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
175
+ "Pagos en efectivo Argentina description","Print and present this voucher at any PagoFácil/Rapipago /BaproPagos/CobroExpress branch in the country to pay your purchase. Please pay the exact amount contained in the instructions. This voucher is available just for one transaction."
176
+ "Cash-in description","Cash Options Russia allows you to pay at Euroset and Svyaznoy communication stores and Sberbank ATMs."
177
+ "Cards Russia description","Credit and debit cards are still one the most used online payment methods in Russia."
178
+ "PaymentInstructions","Payment Instructions"
179
+ "PaymentInstructionsSubject","Payment Instructions for order #%s"
180
+ "BankTransferMessage","You have chosen to pay using bank transfer. Please find below your personal reference number and our bank details. Always enter the reference number under ""Purpose of payment"" when making a bank transfer."
181
+ "BankTransferTerms","A bank transfer payment is reported by the bank in 1-3 bank days (Saturday, Sunday and national holidays not included)!"
182
+ "ReferenceNumber","Reference Number"
183
+ "AmountToPay","Amount to pay"
184
+ "AccountHolder","Account Holder"
185
+ "BankName","Bank Name"
186
+ "AccountNumber","Account Number"
187
+ "SWIFT_BIC","SWIFT/BIC"
188
+ "IBAN","IBAN"
189
+ "AccountCurrency","Account Currency"
190
+ "EntityNumber","Entity Number"
191
+ "Payment Method","Payment Method"
192
+ "Last Update","Last Update"
193
+ "No information available","No information available"
app/locale/en_US/template/email/smart2pay/globalpay/payment_confirmation.html CHANGED
@@ -1,24 +1,24 @@
1
- <html>
2
- <head>
3
- <title>{{var site_url}} : Order # {{var order_increment_id}} - payment confirmation</title>
4
- <style type='text/css'>
5
- body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
6
- </style>
7
- </head>
8
- <body style='background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'>
9
- <table style='width:600; background: #fff; min-height: 300px; margin: 0px auto; padding: 10px; border:1px solid #E0E0E0;'>
10
- <tr>
11
- <td>
12
- <a href='{{var site_url}}'>{{var site_name}}</a>
13
- <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
14
- <p>This is the payment confirmation of order # {{var order_increment_id}}, placed on {{var order_date}}, using Smart2Pay processor.</p>
15
- <h2 style='font-size:18px; font-weight:normal; line-height:22px;'>Total paid: {{var total_paid}} {{var currency}}</h2>
16
- <br />
17
- <p>Thank you!</p>
18
- <br />
19
- <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
20
- </td>
21
- </td>
22
- </table>
23
- </body>
24
  </html>
1
+ <html>
2
+ <head>
3
+ <title>{{var site_url}} : Order # {{var order_increment_id}} - payment confirmation</title>
4
+ <style type='text/css'>
5
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
6
+ </style>
7
+ </head>
8
+ <body style='background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'>
9
+ <table style='width:600; background: #fff; min-height: 300px; margin: 0px auto; padding: 10px; border:1px solid #E0E0E0;'>
10
+ <tr>
11
+ <td>
12
+ <a href='{{var site_url}}'>{{var site_name}}</a>
13
+ <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
14
+ <p>This is the payment confirmation of order # {{var order_increment_id}}, placed on {{var order_date}}, using Smart2Pay processor.</p>
15
+ <h2 style='font-size:18px; font-weight:normal; line-height:22px;'>Total paid: {{var total_paid}} {{var currency}}</h2>
16
+ <br />
17
+ <p>Thank you!</p>
18
+ <br />
19
+ <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
20
+ </td>
21
+ </td>
22
+ </table>
23
+ </body>
24
  </html>
app/locale/en_US/template/email/smart2pay/globalpay/payment_instructions.html CHANGED
@@ -1,115 +1,68 @@
1
- <html>
2
- <head>
3
- <title>{{var site_url}} : Order # {{var order_increment_id}} - payment instructions</title>
4
- <style type='text/css'>
5
- body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
6
-
7
- #BankTransferInfo{
8
- margin-left: auto;
9
- margin-right: auto;
10
- }
11
-
12
- #BankTransferInfo tr {
13
- text-align: left;
14
- }
15
-
16
- #BankTransferInfo td {
17
- width: 250px;
18
- text-align: left;
19
- }
20
-
21
-
22
- #BankTransferMessage{
23
- text-align: left;
24
- }
25
- #BankTransferTerms{
26
- text-align: left;
27
- font-weight: bold;
28
- }
29
-
30
- #PaymentDetails{
31
- background-color: #eeeeee;
32
- padding: 5px;
33
- }
34
-
35
- </style>
36
- </head>
37
- <body style='background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'>
38
- <table style='width:600; background: #fff; min-height: 300px; margin: 0px auto; padding: 10px; border:1px solid #E0E0E0;'>
39
- <tr>
40
- <td>
41
- <a href='{{var site_url}}'>{{var site_name}}</a>
42
- <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
43
-
44
- <p id="BankTransferMessage">You have chosen to pay using bank transfer. Please find below your personal reference number and our bank details. Always enter the reference number under ""Purpose of payment"" when making a bank transfer.</p></br>
45
- <p id="BankTransferTerms">A bank transfer payment is reported by the bank in 1-3 bank days (Saturday, Sunday and national holidays not included)!</p></br></br>
46
-
47
- <div id="PaymentDetails">
48
- <table id="BankTransferInfo">
49
-
50
- <tr>
51
- <td>
52
- Reference Number
53
- </td>
54
- <td>
55
- {{var reference_number}}
56
- </td>
57
- </tr>
58
- <tr>
59
- <td>
60
- Bank Name
61
- </td>
62
- <td>
63
- {{var bank_name}}
64
- </td>
65
- </tr>
66
- <tr>
67
- <td>
68
- Account Holder
69
- </td>
70
- <td>
71
- {{var account_holder}}
72
- </td>
73
- </tr>
74
- <tr>
75
- <td>
76
- Account Number
77
- </td>
78
- <td>
79
- {{var account_number}}
80
- </td>
81
- </tr>
82
- <tr>
83
- <td>
84
- SWIFT_BIC
85
- </td>
86
- <td>
87
- {{var swift_bic}}
88
- </td>
89
- </tr>
90
- <tr>
91
- <td>
92
- Amount To Pay
93
- </td>
94
- <td>
95
- {{var amount_to_pay}}
96
- </td>
97
- </tr>
98
- <tr>
99
- <td>
100
- Account Currency
101
- </td>
102
- <td>
103
- {{var account_currency}}
104
- </td>
105
- </tr>
106
- <?php }?>
107
-
108
- </table>
109
- </div>
110
- <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
111
- </td>
112
- </tr>
113
- </table>
114
- </body>
115
  </html>
1
+ <html>
2
+ <head>
3
+ <title>{{var site_url}}: Order #{{var order_increment_id}} - payment instructions</title>
4
+ <style type='text/css'>
5
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
6
+
7
+ #BankTransferInfo { margin-left: auto; margin-right: auto; }
8
+ #BankTransferInfo tr { text-align: left; }
9
+ #BankTransferInfo td { width: 250px; text-align: left; }
10
+ #BankTransferMessage { text-align: left; }
11
+ #BankTransferTerms { text-align: left; font-weight: bold; }
12
+ #PaymentDetails { background-color: #eeeeee; padding: 5px; }
13
+ </style>
14
+ </head>
15
+ <body style='background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'>
16
+ <table style='width:600px; background: #fff; min-height: 300px; margin: 0px auto; padding: 10px; border:1px solid #E0E0E0;'>
17
+ <tr>
18
+ <td>
19
+ <a href='{{var site_url}}'>{{var site_name}}</a>
20
+ <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
21
+
22
+ <p id="BankTransferMessage">You have chosen to pay using bank transfer. Please find below your personal reference number and our bank details. Always enter the reference number under "Purpose of payment" when making a bank transfer.</p></br>
23
+ <p id="BankTransferTerms">A bank transfer payment is reported by the bank in 1-3 bank days (Saturday, Sunday and national holidays not included)!</p></br></br>
24
+
25
+ <div id="PaymentDetails">
26
+ <table id="BankTransferInfo">
27
+
28
+ <tr>
29
+ <td>Reference Number</td>
30
+ <td>{{var reference_number}}</td>
31
+ </tr>
32
+ <tr>
33
+ <td>Bank Name</td>
34
+ <td>{{var bank_name}}</td>
35
+ </tr>
36
+ <tr>
37
+ <td>Account Holder</td>
38
+ <td>{{var account_holder}}</td>
39
+ </tr>
40
+ <tr>
41
+ <td>Account Number</td>
42
+ <td>{{var account_number}}</td>
43
+ </tr>
44
+ <tr>
45
+ <td>SWIFT/BIC</td>
46
+ <td>{{var swift_bic}}</td>
47
+ </tr>
48
+ <tr>
49
+ <td>IBAN</td>
50
+ <td>{{var iban}}</td>
51
+ </tr>
52
+ <tr>
53
+ <td>Amount To Pay</td>
54
+ <td>{{var amount_to_pay}}</td>
55
+ </tr>
56
+ <tr>
57
+ <td>Account Currency</td>
58
+ <td>{{var account_currency}}</td>
59
+ </tr>
60
+
61
+ </table>
62
+ </div>
63
+ <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
64
+ </td>
65
+ </tr>
66
+ </table>
67
+ </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  </html>
app/locale/en_US/template/email/smart2pay/globalpay/payment_instructions_sibs.html ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@vars
2
+ {"var site_url":"Store url",
3
+ "var site_name":"Customer email",
4
+ "var customer_name":"Customer name",
5
+ "var reference_number":"Payment reference number",
6
+ "var entity_number":"Payment entity number",
7
+ "var amount_to_pay":"Amount to be paid",
8
+ "var support_email":"Store support email"}
9
+ @-->
10
+ <html>
11
+ <head>
12
+ <title>{{var site_url}}: Order #{{var order_increment_id}} - payment instructions</title>
13
+ <style type='text/css'>
14
+ #SIBSTransferInfo { margin-left: auto; margin-right: auto; }
15
+ #SIBSTransferInfo tr { text-align: left; }
16
+ #SIBSTransferInfo td { max-width: 250px; text-align: left; }
17
+ #SIBSTransferMessage { text-align: left; }
18
+ #SIBSTransferTerms { text-align: left; font-weight: bold; }
19
+ #PaymentDetails { background-color: #eeeeee; padding: 5px; }
20
+ </style>
21
+ </head>
22
+ <body style='background:#f6f6f6;'>
23
+ <table style='width:600px; background: #fff; min-height: 300px; margin: 0 auto; padding: 10px; border:1px solid #e0e0e0;'>
24
+ <tr>
25
+ <td>
26
+ <a href='{{var site_url}}'>{{var site_name}}</a>
27
+ <h1 style='font-size:22px; font-weight:normal; line-height:22px;'>Hello, {{var customer_name}}!</h1>
28
+
29
+ <p id="SIBSTransferMessage">You have chosen to pay using Multibanco. Please find below your personal reference number, entity number and amount to pay.</p></br>
30
+ <p id="SIBSTransferTerms">&nbsp;</p><br/><br/>
31
+
32
+ <div id="PaymentDetails">
33
+ <table id="SIBSTransferInfo">
34
+
35
+ <tr>
36
+ <td>Reference Number</td>
37
+ <td>{{var reference_number}}</td>
38
+ </tr>
39
+ <tr>
40
+ <td>Entity Number</td>
41
+ <td>{{var entity_number}}</td>
42
+ </tr>
43
+ <tr>
44
+ <td>Amount To Pay</td>
45
+ <td>{{var amount_to_pay}}</td>
46
+ </tr>
47
+
48
+ </table>
49
+ </div>
50
+ <p>If you have any questions about your order please contact us at <a href='mailto:{{var support_email}}'>{{var support_email}}</a></p>
51
+ </td>
52
+ </tr>
53
+ </table>
54
+ </body>
55
+ </html>
app/locale/es_AR/Smart2Pay_Globalpay.csv CHANGED
@@ -1,55 +1,55 @@
1
- "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
- "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
- "ToditoCash","ToditoCash"
4
- "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
- "Santander Pago referenciado","Santander Pago referenciado"
6
- "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
- "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
- "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
- "IXE Pago referenciado","IXE Pago referenciado"
10
- "DineroMail","DineroMail"
11
- "Ukash","Ukash"
12
- "Paysafecard","Paysafecard"
13
- "Credit Cards Colombia","Credit Cards Colombia"
14
- "PSE","PSE"
15
- "ACH Debit","ACH Debit"
16
- "Via Baloto","Via Baloto"
17
- "Referenced Payment","Referenced Payment"
18
- "Mozca","Mozca"
19
- "CuentaDigital","CuentaDigital"
20
- "Trustly","Trustly"
21
- "Bank Transfer","Bank Transfer"
22
- "CashU","CashU"
23
- "PagoEfectivo", "PagoEfectivo"
24
- "Pagos en efectivo","Pagos en efectivo"
25
- "Bitcoin","Bitcoin"
26
- "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
- "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
- "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
- "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
- "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
- "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
- "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
- "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
- "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
- "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
- "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
- "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
- "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
- "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
- "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
- "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
- "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
- "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
- "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
- "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
- "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
- "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
- "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
- "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
- "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
- "Alternative payment methods","Métodos de pago alternativos"
52
- "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
- "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
- "You have canceled the payment.","Ha cancelado el pago."
55
- "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
1
+ "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
+ "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
+ "ToditoCash","ToditoCash"
4
+ "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
+ "Santander Pago referenciado","Santander Pago referenciado"
6
+ "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
+ "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
+ "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
+ "IXE Pago referenciado","IXE Pago referenciado"
10
+ "DineroMail","DineroMail"
11
+ "Ukash","Ukash"
12
+ "Paysafecard","Paysafecard"
13
+ "Credit Cards Colombia","Credit Cards Colombia"
14
+ "PSE","PSE"
15
+ "ACH Debit","ACH Debit"
16
+ "Via Baloto","Via Baloto"
17
+ "Referenced Payment","Referenced Payment"
18
+ "Mozca","Mozca"
19
+ "CuentaDigital","CuentaDigital"
20
+ "Trustly","Trustly"
21
+ "Bank Transfer","Bank Transfer"
22
+ "CashU","CashU"
23
+ "PagoEfectivo", "PagoEfectivo"
24
+ "Pagos en efectivo","Pagos en efectivo"
25
+ "Bitcoin","Bitcoin"
26
+ "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
+ "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
+ "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
+ "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
+ "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
+ "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
+ "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
+ "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
+ "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
+ "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
+ "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
+ "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
+ "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
+ "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
+ "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
+ "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
+ "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
+ "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
+ "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
+ "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
+ "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
+ "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
+ "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
+ "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
+ "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
+ "Alternative payment methods","Métodos de pago alternativos"
52
+ "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
+ "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
+ "You have canceled the payment.","Ha cancelado el pago."
55
+ "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
app/locale/es_CL/Smart2Pay_Globalpay.csv CHANGED
@@ -1,55 +1,55 @@
1
- "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
- "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
- "ToditoCash","ToditoCash"
4
- "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
- "Santander Pago referenciado","Santander Pago referenciado"
6
- "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
- "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
- "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
- "IXE Pago referenciado","IXE Pago referenciado"
10
- "DineroMail","DineroMail"
11
- "Ukash","Ukash"
12
- "Paysafecard","Paysafecard"
13
- "Credit Cards Colombia","Credit Cards Colombia"
14
- "PSE","PSE"
15
- "ACH Debit","ACH Debit"
16
- "Via Baloto","Via Baloto"
17
- "Referenced Payment","Referenced Payment"
18
- "Mozca","Mozca"
19
- "CuentaDigital","CuentaDigital"
20
- "Trustly","Trustly"
21
- "Bank Transfer","Bank Transfer"
22
- "CashU","CashU"
23
- "PagoEfectivo", "PagoEfectivo"
24
- "Pagos en efectivo","Pagos en efectivo"
25
- "Bitcoin","Bitcoin"
26
- "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
- "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
- "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
- "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
- "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
- "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
- "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
- "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
- "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
- "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
- "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
- "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
- "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
- "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
- "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
- "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
- "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
- "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
- "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
- "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
- "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
- "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
- "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
- "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
- "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
- "Alternative payment methods","Métodos de pago alternativos"
52
- "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
- "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
- "You have canceled the payment.","Ha cancelado el pago."
55
- "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
1
+ "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
+ "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
+ "ToditoCash","ToditoCash"
4
+ "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
+ "Santander Pago referenciado","Santander Pago referenciado"
6
+ "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
+ "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
+ "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
+ "IXE Pago referenciado","IXE Pago referenciado"
10
+ "DineroMail","DineroMail"
11
+ "Ukash","Ukash"
12
+ "Paysafecard","Paysafecard"
13
+ "Credit Cards Colombia","Credit Cards Colombia"
14
+ "PSE","PSE"
15
+ "ACH Debit","ACH Debit"
16
+ "Via Baloto","Via Baloto"
17
+ "Referenced Payment","Referenced Payment"
18
+ "Mozca","Mozca"
19
+ "CuentaDigital","CuentaDigital"
20
+ "Trustly","Trustly"
21
+ "Bank Transfer","Bank Transfer"
22
+ "CashU","CashU"
23
+ "PagoEfectivo", "PagoEfectivo"
24
+ "Pagos en efectivo","Pagos en efectivo"
25
+ "Bitcoin","Bitcoin"
26
+ "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
+ "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
+ "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
+ "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
+ "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
+ "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
+ "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
+ "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
+ "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
+ "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
+ "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
+ "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
+ "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
+ "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
+ "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
+ "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
+ "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
+ "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
+ "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
+ "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
+ "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
+ "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
+ "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
+ "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
+ "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
+ "Alternative payment methods","Métodos de pago alternativos"
52
+ "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
+ "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
+ "You have canceled the payment.","Ha cancelado el pago."
55
+ "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
app/locale/es_CO/Smart2Pay_Globalpay.csv CHANGED
@@ -1,55 +1,55 @@
1
- "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
- "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
- "ToditoCash","ToditoCash"
4
- "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
- "Santander Pago referenciado","Santander Pago referenciado"
6
- "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
- "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
- "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
- "IXE Pago referenciado","IXE Pago referenciado"
10
- "DineroMail","DineroMail"
11
- "Ukash","Ukash"
12
- "Paysafecard","Paysafecard"
13
- "Credit Cards Colombia","Credit Cards Colombia"
14
- "PSE","PSE"
15
- "ACH Debit","ACH Debit"
16
- "Via Baloto","Via Baloto"
17
- "Referenced Payment","Referenced Payment"
18
- "Mozca","Mozca"
19
- "CuentaDigital","CuentaDigital"
20
- "Trustly","Trustly"
21
- "Bank Transfer","Bank Transfer"
22
- "CashU","CashU"
23
- "PagoEfectivo", "PagoEfectivo"
24
- "Pagos en efectivo","Pagos en efectivo"
25
- "Bitcoin","Bitcoin"
26
- "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
- "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
- "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
- "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
- "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
- "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
- "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
- "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
- "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
- "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
- "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
- "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
- "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
- "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
- "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
- "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
- "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
- "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
- "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
- "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
- "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
- "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
- "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
- "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
- "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
- "Alternative payment methods","Métodos de pago alternativos"
52
- "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
- "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
- "You have canceled the payment.","Ha cancelado el pago."
55
- "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
1
+ "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
+ "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
+ "ToditoCash","ToditoCash"
4
+ "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
+ "Santander Pago referenciado","Santander Pago referenciado"
6
+ "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
+ "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
+ "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
+ "IXE Pago referenciado","IXE Pago referenciado"
10
+ "DineroMail","DineroMail"
11
+ "Ukash","Ukash"
12
+ "Paysafecard","Paysafecard"
13
+ "Credit Cards Colombia","Credit Cards Colombia"
14
+ "PSE","PSE"
15
+ "ACH Debit","ACH Debit"
16
+ "Via Baloto","Via Baloto"
17
+ "Referenced Payment","Referenced Payment"
18
+ "Mozca","Mozca"
19
+ "CuentaDigital","CuentaDigital"
20
+ "Trustly","Trustly"
21
+ "Bank Transfer","Bank Transfer"
22
+ "CashU","CashU"
23
+ "PagoEfectivo", "PagoEfectivo"
24
+ "Pagos en efectivo","Pagos en efectivo"
25
+ "Bitcoin","Bitcoin"
26
+ "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
+ "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
+ "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
+ "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
+ "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
+ "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
+ "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
+ "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
+ "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
+ "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
+ "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
+ "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
+ "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
+ "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
+ "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
+ "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
+ "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
+ "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
+ "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
+ "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
+ "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
+ "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
+ "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
+ "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
+ "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
+ "Alternative payment methods","Métodos de pago alternativos"
52
+ "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
+ "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
+ "You have canceled the payment.","Ha cancelado el pago."
55
+ "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
app/locale/es_ES/Smart2Pay_Globalpay.csv CHANGED
@@ -1,55 +1,55 @@
1
- "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
- "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
- "ToditoCash","ToditoCash"
4
- "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
- "Santander Pago referenciado","Santander Pago referenciado"
6
- "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
- "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
- "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
- "IXE Pago referenciado","IXE Pago referenciado"
10
- "DineroMail","DineroMail"
11
- "Ukash","Ukash"
12
- "Paysafecard","Paysafecard"
13
- "Credit Cards Colombia","Credit Cards Colombia"
14
- "PSE","PSE"
15
- "ACH Debit","ACH Debit"
16
- "Via Baloto","Via Baloto"
17
- "Referenced Payment","Referenced Payment"
18
- "Mozca","Mozca"
19
- "CuentaDigital","CuentaDigital"
20
- "Trustly","Trustly"
21
- "Bank Transfer","Bank Transfer"
22
- "CashU","CashU"
23
- "PagoEfectivo", "PagoEfectivo"
24
- "Pagos en efectivo","Pagos en efectivo"
25
- "Bitcoin","Bitcoin"
26
- "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
- "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
- "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
- "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
- "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
- "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
- "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
- "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
- "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
- "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
- "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
- "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
- "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
- "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
- "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
- "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
- "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
- "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
- "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
- "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
- "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
- "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
- "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
- "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
- "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
- "Alternative payment methods","Métodos de pago alternativos"
52
- "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
- "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
- "You have canceled the payment.","Ha cancelado el pago."
55
- "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
1
+ "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
+ "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
+ "ToditoCash","ToditoCash"
4
+ "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
+ "Santander Pago referenciado","Santander Pago referenciado"
6
+ "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
+ "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
+ "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
+ "IXE Pago referenciado","IXE Pago referenciado"
10
+ "DineroMail","DineroMail"
11
+ "Ukash","Ukash"
12
+ "Paysafecard","Paysafecard"
13
+ "Credit Cards Colombia","Credit Cards Colombia"
14
+ "PSE","PSE"
15
+ "ACH Debit","ACH Debit"
16
+ "Via Baloto","Via Baloto"
17
+ "Referenced Payment","Referenced Payment"
18
+ "Mozca","Mozca"
19
+ "CuentaDigital","CuentaDigital"
20
+ "Trustly","Trustly"
21
+ "Bank Transfer","Bank Transfer"
22
+ "CashU","CashU"
23
+ "PagoEfectivo", "PagoEfectivo"
24
+ "Pagos en efectivo","Pagos en efectivo"
25
+ "Bitcoin","Bitcoin"
26
+ "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
+ "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
+ "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
+ "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
+ "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
+ "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
+ "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
+ "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
+ "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
+ "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
+ "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
+ "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
+ "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
+ "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
+ "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
+ "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
+ "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
+ "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
+ "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
+ "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
+ "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
+ "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
+ "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
+ "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
+ "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
+ "Alternative payment methods","Métodos de pago alternativos"
52
+ "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
+ "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
+ "You have canceled the payment.","Ha cancelado el pago."
55
+ "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
app/locale/es_MX/Smart2Pay_Globalpay.csv CHANGED
@@ -1,55 +1,55 @@
1
- "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
- "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
- "ToditoCash","ToditoCash"
4
- "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
- "Santander Pago referenciado","Santander Pago referenciado"
6
- "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
- "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
- "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
- "IXE Pago referenciado","IXE Pago referenciado"
10
- "DineroMail","DineroMail"
11
- "Ukash","Ukash"
12
- "Paysafecard","Paysafecard"
13
- "Credit Cards Colombia","Credit Cards Colombia"
14
- "PSE","PSE"
15
- "ACH Debit","ACH Debit"
16
- "Via Baloto","Via Baloto"
17
- "Referenced Payment","Referenced Payment"
18
- "Mozca","Mozca"
19
- "CuentaDigital","CuentaDigital"
20
- "Trustly","Trustly"
21
- "Bank Transfer","Bank Transfer"
22
- "CashU","CashU"
23
- "PagoEfectivo", "PagoEfectivo"
24
- "Pagos en efectivo","Pagos en efectivo"
25
- "Bitcoin","Bitcoin"
26
- "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
- "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
- "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
- "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
- "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
- "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
- "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
- "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
- "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
- "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
- "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
- "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
- "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
- "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
- "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
- "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
- "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
- "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
- "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
- "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
- "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
- "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
- "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
- "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
- "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
- "Alternative payment methods","Métodos de pago alternativos"
52
- "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
- "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
- "You have canceled the payment.","Ha cancelado el pago."
55
- "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
1
+ "Please choose one of the following payment methods.","Por favor, elija una de las siguientes formas de pago."
2
+ "If you choose to simply continue, default method will be", "Si decide continuar, simplemente, el método por defecto será"
3
+ "ToditoCash","ToditoCash"
4
+ "Bancomer Pago referenciado","Bancomer Pago referenciado"
5
+ "Santander Pago referenciado","Santander Pago referenciado"
6
+ "ScotiaBank Pago referenciado","ScotiaBank Pago referenciado"
7
+ "7-Eleven Pago en efectivo","7-Eleven Pago en efectivo"
8
+ "Oxxo Pago en efectivo","Oxxo Pago en efectivo"
9
+ "IXE Pago referenciado","IXE Pago referenciado"
10
+ "DineroMail","DineroMail"
11
+ "Ukash","Ukash"
12
+ "Paysafecard","Paysafecard"
13
+ "Credit Cards Colombia","Credit Cards Colombia"
14
+ "PSE","PSE"
15
+ "ACH Debit","ACH Debit"
16
+ "Via Baloto","Via Baloto"
17
+ "Referenced Payment","Referenced Payment"
18
+ "Mozca","Mozca"
19
+ "CuentaDigital","CuentaDigital"
20
+ "Trustly","Trustly"
21
+ "Bank Transfer","Bank Transfer"
22
+ "CashU","CashU"
23
+ "PagoEfectivo", "PagoEfectivo"
24
+ "Pagos en efectivo","Pagos en efectivo"
25
+ "Bitcoin","Bitcoin"
26
+ "ToditoCash description","Todito Cash es una tarjeta prepago recargable que puede utilizar para hacer pagos y puede recargarla de la misma manera que se hace con el móvil en más de 20.000 puntos, incluyendo <a href=""https://www.toditocash.com/php/ubicacion.php"" target=""_blank"">tiendas y bancos de barrio</a>. Si no tiene una cuenta Todito Cash, pulse <a href=""https://www.toditocash.com/php/cuenta.php"" target=""_blank"">aquí</a> para registrarse."
27
+ "Bancomer Pago referenciado description","Para pagar con Bancomer - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
28
+ "Santander Pago referenciado description","Para pagar con Santander - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
29
+ "ScotiaBank Pago referenciado description","Para pagar con ScotiaBank - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
30
+ "7-Eleven Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda 7-ELEVEN del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
31
+ "Oxxo Pago en efectivo description","Imprime y presenta este comprobante en cualquier tienda Oxxo del país para realizar el pago por tu compra. Indícale al cajero de la tienda el importe exacto que figura en el presente recibo. De lo contrario es probable que no podamos acreditar correctamente la compra."
32
+ "IXE Pago referenciado description","Para pagar con IXE - pago referenciado imprime y presenta los instrucciones en sucursal de los bancos. Recuerda que la referencia generada en esta ficha solo es válida para el pago en efectivo o con cheque con depósito en ventanilla de sucursal bancaria."
33
+ "DineroMail description","DineroMail es un importante sistema electrónico de pago en el mercado de América Latina que ofrece los métodos de pago más utilizados disponibles en Argentina, Brasil, Chile, Colombia y México. Si no tiene una cuenta DineroMail, pulse <a href=""http://www.dineromail.com/"" target="_blank">aquí</a> para registrarse."
34
+ "Ukash description","El cupón Ukash es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si desea pagar con un cupón Ukash, sólo tiene que visitar <a href=""http://www.ukash.com/es-ES/where-to-get/"" target=""_blank"">la tienda más cercana</a>. Para pagar, simplemente introduzca el código de 19 dígitos y la cuantía del cupón."
35
+ "Paysafecard description","El cupón Paysafecard es un cupón prepago que se puede utilizar para hacer pagos - sin costo alguno. Por lo tanto, si quiere comprar utilizando un cupón Paysafecard, sólo tienes que visitar <a href=""http://www.paysafecard.com/uk/buy/"" target=""_blank"">la tienda más cercana</a>. Seguidamente tiene que introducir el código de 16 dígitos y esto es todo – ya realizó el pago."
36
+ "Credit Cards Colombia description","Por favor seleccione la marca de su tarjeta e introduzca los datos de la tarjeta. Tipos de tarjetas compatibles: Visa, MasterCard, Amex, Diners."
37
+ "PSE description","(Acrónimo en español) Electronic Services Supplier (Proveedor de Servicios Electrónicos) es un servicio de ACH Colombia SA que le redirija hacia la página web del banco de su elección y luego deberá introducir su nombre de usuario, su contraseña y su número de cuenta."
38
+ "ACH Debit description","ACH débito es un método de pago que permite al Comerciante cobrar fondos de su cuenta bancaria a través de su código de cuenta bancaria y su número de cuenta. Es el único que puede autorizar un débito ACH, cuando el importe autorizado se deducirá de su cuenta."
39
+ "Via Baloto description","Via Baloto es un método de pago en efectivo que se puede utilizar para hacer pagos. Recibirá un número de referencia para su pago y un número de operación. Con estos datos, puede pagar en los centros Via Baloto. Por favor, visite <a href=""http://www.autoreseditores.com/pagosonline-puntos-via-baloto.html"" target=""_blank"">pagosonline-puntos-via-baloto</a> para la lista completa de los centros de pago."
40
+ "Referenced Payment description","Referenced Payment es un método de pago en efectivo que puede utilizar para hacer pagos. Debe imprimir el cupón con el código de barras y pagarlo en una sucursal de Bancolombia, Banco de Occidente y Banco Helm."
41
+ "Mozca description","El pago Mozca es muy sencillo: sólo tiene que utilizar su teléfono móvil y una contraseña de 4 dígitos para confirmar que el móvil le pertenece y que está en sus manos. Le Enviarán un código MOZCA vía SMS como confirmación de su pago."
42
+ "CuentaDigital description","CuentaDigital es un proveedor líder de monederos electrónicos de América del Sur que ofrece los métodos de pago más utilizados disponibles. Para comprar con este método, debe tener una cuenta CuentaDigital. Pulse <a href=""https://www.cuentadigital.com/area.php"" target=""_blank"">aquí</a> para registrarse y luego recargue la cuenta si aún no dispone de una cuenta CuentaDigital."
43
+ "Trustly description","Trustly (anteriormente Instant Bank/GluePay) le permite realizar pagos en línea desde su cuenta bancaria - de forma rápida, fácil y segura. Sólo tiene que elegir su banco, seguir las instrucciones y rellenar los datos necesarios. A continuación, debe confirmar el pago como lo hace normalmente con el servicio de Internet Banking, firmando por un código bancario único de seguridad a través del token, terminando de esta forma el pago."
44
+ "Bank Transfer description","La transferencia bancaria (Bank Transfer) le permite pagar de forma local desde su cuenta bancaria. Rrecibirá un número de referencia y la cuenta bancaria para realizar el pago."
45
+ "CashU description","CashU es la más utilizada cartera electrónico de prepago en el Oriente Medio y África del Norte (excluyendo tarjetas de crédito). Usted puede simplemente utilizar las tarjetas de crédito de prepago CashU o puede abrir una cuenta CashU y posteriormente puede recargar su cuenta. Si no tiene una cuenta CashU, pulse <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">aquí</a> para registrarse."
46
+ "Pagos en efectivo Chile description","Print and present this voucher at any Pagos en efective office or BCI bank branch to pay your purchase. Please point to the cashier the exact amount contained in the instructions. Otherwise you may not be able to properly pay the transaction."
47
+ "Pagos en efectivo Argentina description","Imprime y presenta este comprobante en cualquier sucursal PagoFácil/Rapipago/BaproPagos/CobroExpress del país para realizar el pago por tu compra. Por favor, paga el monto exacto indicado en el resumen. Este comprobante solo sirve para esta transacción."
48
+ "PagoEfectivo Description","Compra con PagoEfectivo y paga a través de internet o en cualquier oficina del BCP, BBVA, Interbank, Scotiabank, en Agencias de Pago de Servicios Western Union y en establecimientos autorizados que tengan el logo de PagoEfectivo y/o FullCarga. <br><a href=""https://pagoefectivo.pe/CNT/QueEsPagoEfectivo.aspx?cod=SAP&mon=1"" target=""blank"">Mas informacion sobre PagoEfectivo</a>"
49
+ "Bitcoin description","Bitcoin es la forma más sencilla de pagar en línea. Bitcoin utiliza la tecnología peer-to-peer (red entre iguales) para operar sin una autoridad central o sin los bancos y está protegido por la criptografía de grado militar."
50
+ "MercadoPago description","MercadoPago es el monedero electrónico más importante en América Latina que le permite pagar a través de los métodos de pago más populares."
51
+ "Alternative payment methods","Métodos de pago alternativos"
52
+ "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Gracias, la transacción se ha procesado exitosamente. Después de que recibamos la confirmación final, se dará a conocer los productos."
53
+ "There was a problem processing your payment. Please try again.","Hubo un problema al procesar su pago. Por favor, inténtelo de nuevo."
54
+ "You have canceled the payment.","Ha cancelado el pago."
55
+ "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Gracias, la transacción está pendiente. Después de que recibamos la confirmación final, se dará a conocer los productos."
app/locale/fi_FI/Smart2Pay_Globalpay.csv CHANGED
@@ -1,16 +1,16 @@
1
- "Bank Transfer","Bank Transfer"
2
- "Trustly","Trustly"
3
- "Bitcoin","Bitcoin"
4
- "OPPohjola", "OPPohjola"
5
- "Nordea", "Nordea"
6
- "Danske", "Dankse bank"
7
- "Paytrail","Paytrail"
8
- "Ukash","Ukash"
9
- "Trustly description" , "Trustly (entinen Instant Bank / GluePay) voit tehdä online-maksut pankkitililtä - nopeasti, helposti ja turvallisesti. Valitse vain pankki, seuraa ohjeita ja täytä tarvittavat tiedot. Sitten sinun täytyy vahvistaa maksun kuin yleensä tehdä verkkopankissa allekirjoittamalla ainutlaatuinen pankin koodin kautta turvatunniste, mikä täydentää maksu."
10
- "OPPohjola description", "Tämän vaihtoehdon avulla voit maksaa Verkkopankin kautta OP-Pohjola"
11
- "Nordea description", "Tämän vaihtoehdon avulla voit maksaa maksun verkkopankissa Nordea Pankissa"
12
- "Danske description", "Tämän vaihtoehdon avulla voit maksaa maksun verkkopankissa Danske Pankissa"
13
- "Paytrail description","Paytrail is the advanced payment system used by Finnish banks to guarantee real time Internet payments. Paytrail enjoys a high level of acceptance from Customers, with full support of all the major Finnish banks: Nordea, OP-Pohjola Group, S-Pankki, Aktia, Tapiola, Handelsbanken and Alandsbanken."
14
- "Ukash description", "Kuponki Ukash on prepaid kuponki, jonka avulla voit suorittaa maksuja - ilman ylimääräisiä kuluja. Siksi, jos haluat maksaa käyttämällä UKash kupongin, yksinkertaisesti täytyy käydä lähimpään kauppaan. Maksaa, kirjoita koodissa on 19 numeroa ja arvo kupongin."
15
- "Banktransfer description", "Pankkisiirrolla (pankkisiirto) antaa sinulle mahdollisuuden maksaa paikallisesti pankkitililtäsi. Saat viitenumero ja pankkitili maksaa."
16
  "Bitcoin description", "Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
1
+ "Bank Transfer","Bank Transfer"
2
+ "Trustly","Trustly"
3
+ "Bitcoin","Bitcoin"
4
+ "OPPohjola", "OPPohjola"
5
+ "Nordea", "Nordea"
6
+ "Danske", "Dankse bank"
7
+ "Paytrail","Paytrail"
8
+ "Ukash","Ukash"
9
+ "Trustly description" , "Trustly (entinen Instant Bank / GluePay) voit tehdä online-maksut pankkitililtä - nopeasti, helposti ja turvallisesti. Valitse vain pankki, seuraa ohjeita ja täytä tarvittavat tiedot. Sitten sinun täytyy vahvistaa maksun kuin yleensä tehdä verkkopankissa allekirjoittamalla ainutlaatuinen pankin koodin kautta turvatunniste, mikä täydentää maksu."
10
+ "OPPohjola description", "Tämän vaihtoehdon avulla voit maksaa Verkkopankin kautta OP-Pohjola"
11
+ "Nordea description", "Tämän vaihtoehdon avulla voit maksaa maksun verkkopankissa Nordea Pankissa"
12
+ "Danske description", "Tämän vaihtoehdon avulla voit maksaa maksun verkkopankissa Danske Pankissa"
13
+ "Paytrail description","Paytrail is the advanced payment system used by Finnish banks to guarantee real time Internet payments. Paytrail enjoys a high level of acceptance from Customers, with full support of all the major Finnish banks: Nordea, OP-Pohjola Group, S-Pankki, Aktia, Tapiola, Handelsbanken and Alandsbanken."
14
+ "Ukash description", "Kuponki Ukash on prepaid kuponki, jonka avulla voit suorittaa maksuja - ilman ylimääräisiä kuluja. Siksi, jos haluat maksaa käyttämällä UKash kupongin, yksinkertaisesti täytyy käydä lähimpään kauppaan. Maksaa, kirjoita koodissa on 19 numeroa ja arvo kupongin."
15
+ "Banktransfer description", "Pankkisiirrolla (pankkisiirto) antaa sinulle mahdollisuuden maksaa paikallisesti pankkitililtäsi. Saat viitenumero ja pankkitili maksaa."
16
  "Bitcoin description", "Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
app/locale/fr_FR/Smart2Pay_Globalpay.csv CHANGED
@@ -1,12 +1,12 @@
1
- "Bank Transfer", "Bank Transfer"
2
- "Sofort Banking", "Sofort Banking"
3
- "Ukash","Ukash"
4
- "Paysafecard","Paysafecard"
5
- "Bitcoin", "Bitcoin"
6
- "MyBank", "MyBank"
7
- "Bank Transfer description", "Le transfert bancaire (bank transfer) offre la possibilité de payer localement de votre compte bancaire. Vous recevrez un numéro de référence et le compte bancaire pour pouvoir payer."
8
- "Sofort Banking description","Sofort Banking est une méthode rapide de paiement online par internet banking: transfer bancaire direct de votre compte dans le compte du commerçant."
9
- "Ukash description","Le coupon Ukash est un coupon prépayé que vous pouvez utiliser pour payer-il n\'y a pas de taxes supplémentaires. Par conséquent, si vous voulez payer en utilisant un coupon Ukash, il faut tout simplement aller au <a href="http://www.ukash.com/en-GB/where-to-get/" target="_blank"> plus proche magasin</a>. Pour payer, il faut composer seulement le code formé de 19 chiffres et la valeur du coupon."
10
- "Paysafecard description","Le coupon Paysafecard est un coupon prépayé que vous pouvez utiliser pour payer-il n\'y a pas de taxes supplémentaires. Par conséquent, si vous voulez acheter en utilisant un coupon Paysafecard, il faut tout simplement aller au<a href="http://www.paysafecard.com/uk/buy/" target="_blank"> plus proche magasin</a>. Puis, il faut composer seulement le code formé de 16 chiffres et c\'est tout- on a déjà payé."
11
- "Bitcoin description", "Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
12
  "MyBank description", ""MyBank description", "MyBank est une méthode simple et sûre de paiement par le net en Europe.Tu peux utiliser on-line banking (transfer bancaire on-line) de ta banque pour payer. Pour plus d\'informations appuyez ici.Choisissez, s\'il vous plaît, l\'une des banques <a href=""https://www.mybankpayments.eu/"" target=""_blank"">ci-joint</a>"
1
+ "Bank Transfer", "Bank Transfer"
2
+ "Sofort Banking", "Sofort Banking"
3
+ "Ukash","Ukash"
4
+ "Paysafecard","Paysafecard"
5
+ "Bitcoin", "Bitcoin"
6
+ "MyBank", "MyBank"
7
+ "Bank Transfer description", "Le transfert bancaire (bank transfer) offre la possibilité de payer localement de votre compte bancaire. Vous recevrez un numéro de référence et le compte bancaire pour pouvoir payer."
8
+ "Sofort Banking description","Sofort Banking est une méthode rapide de paiement online par internet banking: transfer bancaire direct de votre compte dans le compte du commerçant."
9
+ "Ukash description","Le coupon Ukash est un coupon prépayé que vous pouvez utiliser pour payer-il n\'y a pas de taxes supplémentaires. Par conséquent, si vous voulez payer en utilisant un coupon Ukash, il faut tout simplement aller au <a href="http://www.ukash.com/en-GB/where-to-get/" target="_blank"> plus proche magasin</a>. Pour payer, il faut composer seulement le code formé de 19 chiffres et la valeur du coupon."
10
+ "Paysafecard description","Le coupon Paysafecard est un coupon prépayé que vous pouvez utiliser pour payer-il n\'y a pas de taxes supplémentaires. Par conséquent, si vous voulez acheter en utilisant un coupon Paysafecard, il faut tout simplement aller au<a href="http://www.paysafecard.com/uk/buy/" target="_blank"> plus proche magasin</a>. Puis, il faut composer seulement le code formé de 16 chiffres et c\'est tout- on a déjà payé."
11
+ "Bitcoin description", "Bitcoin is the simplest way to pay online. Bitcoin uses peer-to-peer technology to operate with no central authority or banks and is secured by military grade cryptography."
12
  "MyBank description", ""MyBank description", "MyBank est une méthode simple et sûre de paiement par le net en Europe.Tu peux utiliser on-line banking (transfer bancaire on-line) de ta banque pour payer. Pour plus d\'informations appuyez ici.Choisissez, s\'il vous plaît, l\'une des banques <a href=""https://www.mybankpayments.eu/"" target=""_blank"">ci-joint</a>"
app/locale/it_IT/Smart2Pay_Globalpay.csv CHANGED
@@ -1,18 +1,18 @@
1
- "Please choose one of the following payment methods.","Si prega di scegliere uno dei seguenti metodi di pagamento."
2
- "If you choose to simply continue, default method will be", "Se si sceglie di continuare semplicemente, metodo di default sarà"
3
- "Bank Transfer","Bank Transfer"
4
- "CashU","CashU"
5
- "MyBank","MyBank"
6
- "Bitcoin","Bitcoin"
7
- "Paysafecard","Paysafecard"
8
- "Sofort Banking","Sofort Banking"
9
- "Bank Transfer description","Il bonifico bancario Le offre la possibilità di pagare localmente dal Suo conto bancario. Riceverà un numero di riferimento e il numero del conto bancario per poter effettuare il pagamento."
10
- "Ukash description","Ukash voucher is a prepaid voucher you can use to pay - there are no extra fees. So, if you want to pay using Ukash voucher you simply visit your <a href=""http://www.ukash.com/it-it/where-to-get/"" target=""_blank"">nearest store</a>. To pay you simply type in the 19 digit voucher code and the voucher value."
11
- "Paysafecard description","Paysafecard voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using Paysafecard voucher you simply visit your <a href=""https://www.paysafecard.com/it-it/buy/"" target=""_blank"">nearest store</a>. Then you simply type in the 16 digit voucher code and that's it - the payment is done."
12
- "MyBank Description","<a href=""https://www.mybankpayments.eu/Che-cos-MyBank-N=b306cd47-7c51-45a9-b8fb-1bb0a48b1291-L=EN.aspx"" target=""_blank"">MyBank</a> e una soluzione semplice e sicura per pagare i tuoi acquisti online in tutta Europa, tramite il portale di Internet banking della tua banca per eseguire il pagamento."
13
- "Bitcoin description","<a href=""https://it.bitcoin.it/wiki/Pagina_principale"" target=""_blank"">Bitcoin</a> è un nuovo sistema sicuro di pagamento, come denaro contante virtuale. E' decentralizzato e ha costi aggiuntivi molto bassi o nulli."
14
- "Sofort Banking description","Sofort Banking is an online payment method, an instant payment through a direct bank transfer from your bank account via internet banking."
15
- "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Grazie, la transazione è stata elaborata con successo. Dopo aver ricevuto la conferma definitiva, si rendono disponibili i beni."
16
- "There was a problem processing your payment. Please try again.","C'è stato un problema durante l'elaborazione del vostro pagamento. Riprova.""
17
- "You have canceled the payment.","Hai annullato il pagamento."
18
- "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Grazie, la transazione è attesa. Dopo aver ricevuto la conferma definitiva, si rendono disponibili i beni."
1
+ "Please choose one of the following payment methods.","Si prega di scegliere uno dei seguenti metodi di pagamento."
2
+ "If you choose to simply continue, default method will be", "Se si sceglie di continuare semplicemente, metodo di default sarà"
3
+ "Bank Transfer","Bank Transfer"
4
+ "CashU","CashU"
5
+ "MyBank","MyBank"
6
+ "Bitcoin","Bitcoin"
7
+ "Paysafecard","Paysafecard"
8
+ "Sofort Banking","Sofort Banking"
9
+ "Bank Transfer description","Il bonifico bancario Le offre la possibilità di pagare localmente dal Suo conto bancario. Riceverà un numero di riferimento e il numero del conto bancario per poter effettuare il pagamento."
10
+ "Ukash description","Ukash voucher is a prepaid voucher you can use to pay - there are no extra fees. So, if you want to pay using Ukash voucher you simply visit your <a href=""http://www.ukash.com/it-it/where-to-get/"" target=""_blank"">nearest store</a>. To pay you simply type in the 19 digit voucher code and the voucher value."
11
+ "Paysafecard description","Paysafecard voucher is a prepaid voucher you can use to pay- there are no extra fees. So, if you want to purchase using Paysafecard voucher you simply visit your <a href=""https://www.paysafecard.com/it-it/buy/"" target=""_blank"">nearest store</a>. Then you simply type in the 16 digit voucher code and that's it - the payment is done."
12
+ "MyBank Description","<a href=""https://www.mybankpayments.eu/Che-cos-MyBank-N=b306cd47-7c51-45a9-b8fb-1bb0a48b1291-L=EN.aspx"" target=""_blank"">MyBank</a> e una soluzione semplice e sicura per pagare i tuoi acquisti online in tutta Europa, tramite il portale di Internet banking della tua banca per eseguire il pagamento."
13
+ "Bitcoin description","<a href=""https://it.bitcoin.it/wiki/Pagina_principale"" target=""_blank"">Bitcoin</a> è un nuovo sistema sicuro di pagamento, come denaro contante virtuale. E' decentralizzato e ha costi aggiuntivi molto bassi o nulli."
14
+ "Sofort Banking description","Sofort Banking is an online payment method, an instant payment through a direct bank transfer from your bank account via internet banking."
15
+ "Thank you, the transaction has been processed successfuly. After we receive the final confirmation, we will release the goods.","Grazie, la transazione è stata elaborata con successo. Dopo aver ricevuto la conferma definitiva, si rendono disponibili i beni."
16
+ "There was a problem processing your payment. Please try again.","C'è stato un problema durante l'elaborazione del vostro pagamento. Riprova.""
17
+ "You have canceled the payment.","Hai annullato il pagamento."
18
+ "Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.","Grazie, la transazione è attesa. Dopo aver ricevuto la conferma definitiva, si rendono disponibili i beni."
app/locale/pt_BR/Smart2Pay_Globalpay.csv CHANGED
@@ -1,38 +1,38 @@
1
- "Please choose one of the following payment methods.","Por favor, escolha um dos seguintes métodos de pagamento."
2
- "If you choose to simply continue, default method will be", "Se você optar simplesmente continuar, o método padrão será"
3
- "Bank Transfer","Bank Transfer"
4
- "CashU","CashU"
5
- "DineroMail","DineroMail"
6
- "Multibanco SIBS","Multibanco SIBS"
7
- "Ukash","Ukash"
8
- "Debito Banco do Brasil","Débito Banco do Brasil"
9
- "CuentaDigital","CuentaDigital"
10
- "CardsBrazil","CardsBrazil"
11
- "Paysafecard","Paysafecard"
12
- "PayPal","PayPal"
13
- "PagTotal","PagTotal"
14
- "MercadoPago","MercadoPago"
15
- "Mozca","Mozca"
16
- "Boleto","Boleto Bancário"
17
- "Debito","Débito Bradesco"
18
- "Transferencia","Transferência Entre Contas"
19
- "Boleto Itau", "Boleto Itaú"
20
- "Bitcoin","Bitcoin"
21
- "Bank Transfer description","A Transferência Bancária oferece a possibilidade de pagar localmente através da sua própria conta bancária. Irá receber um número de referência e os detalhes da conta para poder efectuar o pagamento."
22
- "CashU description","CashU is the most widely used prepaid and electronic wallet in the Middle East and North Africa (excluding credit cards).You could simply use Cashu prepaid cards directly or you can open a CashU account and then reload your account. If you do not have a CashU account click <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">here</a> to register."
23
- "DineroMail description","DineroMail é um sistema electrónico de pagamento capital no mercado Latino Americano que oferece todos os métodos populares de pagamento disponíveis em Argentina, Brasil,Chile, Colômbia e Mexico. Se não tiver uma conta DineroMail faça clique <a href=""http://www.dineromail.com/"" target=""_blank"">aqui</a> para se registar."
24
- "Multibanco SIBS description","Através do Multibanco/SIBS você recebe detlahes de pagamento (3 conjuntos de dígitos - Entidade, Referência e Valor) que pode usar para pagar o Comerciante. Pode efectuar este pagamento através de ATMs Multibanco, internet banking ou celulares."
25
- "Ukash description","O comprovativo Ukash é um comprovativo pré-pago que pode usar para pagar - não tem taxas extras. Portanto, se quiser pagar através do comprovativo Ukash simplesmente visite <a href=""http://www.ukash.com/global/en/where-to-get/global.aspx"" target=""_blank"">a loja mais</a> perta de você. Para pagar só precisa preencher o código do comprovativo composto por 19 dígitos e o valor do comprovativo."
26
- "Debito Banco do Brasil description","O Débito Banco do Brasil permite a você pagar online através da sua conra bancária - rápido, fácil e seguro. Precisa ter uma conta bancária com internet banking no Banco do Brasil."
27
- "CuentaDigital description","CuentaDigital is a leading electronic wallet provider in South America that offers all of the most popular payment methods available. To purchase with this method you need to have a CuentaDigital account. Click <a href=""https://www.cuentadigital.com/area.php?name=cliente&op=new_user"" target=""_blank"">here</a>to register and then reload the account if you do not have already a CuentaDigital account."
28
- "CardsBrazil description","Escolha a marca do carto e digitar os dados do cartão. Os tipos de cartões suportados: Visa, Mastercard, Amex, Diners, JCB, Hipercard, Sorocred, Aura, Discover, Cabal e Argencard."
29
- "Paysafecard description","O comprovativo paysafecard é um comprovativo que pode usar para pagar - não tem taxas suplementares. Então, se quiser fazer compras através do comprovativo Paysafecard pode simplesmente visitar a loja mais perta. Depois simplesmente introduza o código comprovativo de 16 dígitos e eis está - o pagamento está pronto."
30
- "PayPal description","PayPal is the world's largest online payment network, serving over 230 million members in 190 countries and regions. With PayPal you can pay using your credit card or checking account. If you do not have a PayPal account click <a href=""https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=POF0zpshlSyFe4t6PMraBTKqVa0vfnf5zlWQViMb3horYjAo21mGHfjsmmO&dispatch=5885d80a13c0db1f8e263663d3faee8d7283e7f0184a5674430f290db9e9c846"" target=""_blank"">here</a> to register."
31
- "PagTotal description","PagTotal é uma maneira de pagamento no Brasil, reforçado através da segurança do celular. A vantagem principal do uso da PagTotal é que facilita o pagamento e a confirmação do pagamento em qualquer sítio estiver, através de um simplez SMS. Se ainda não tiver uma conta Pagtotal faça clique <a href=""https://pagtotal.com.br/cadastro.php"" target=""_blank"">aqui</a> para se registar."
32
- "MercadoPago description","MercadoPago banco de a maior Carteira Internet na América Latina que lhe permite pagar através dos mais populares métodos de pagamento. Para pagar através do MercadoPago precisa de ter uma conta MercadoPago. Se não tiver uma conta MercadoPago faça clique <a href=""https://www.mercadopago.com/mlb/cadastro/register"" target=""_blank"">aqui</a> para se registar."
33
- "Mozca description","Para pagar através da Mozca é muito fácil: você simplesmente utiliza o seu número do celular e uma palavra passe de 4 dígitos para confirmar que o seu celular realmente pertença a você e está com você no momento. Um Código PIN MOZCA será enviado a você através de um SMS de maneira a confirmar o seu pagamento."
34
- "Boleto description","Boleto Bancário é uma das mais utilizadas opções de pagamento no Brasil. Para pagar através do Boleto Bancário tem que imprimir o Boleto e ir a uma sucursal física do banco na sua área e pagar com dinheiro, utilizar o banking online, ou simplesmente ir a uma caixa ATM."
35
- "Debito description","Débito Bradesco é uma opção de pagamento através de ""transferência bancário ao vivo"" disponível para Clientes do Banco Bradesco no Brasil. Só precisa preencher o número do seu cartão de débito do Banco Bradesco e confirmar o pagamento através do código PIN."
36
- "Transferencia description","A Transferência Entre Contas é um método de transferência bancária ao vivo que permite a você efectuar o pagamento. Para utilizar este método de pagamento você precisa de uma conta bancária com internet banking na Bradesco."
37
- "Boleto Itau description", "To pay with Boleto Itaú you need to print the Boleto and go to a physical bank branch in your area and pay with cash, online banking, or simply go to an ATM machine."
38
- "Bitcoin description", "Bitcoin é a maneira mais simples de pagar online. Bitcoin usa a tecnologia peer-to-peer para operar com nenhuma autoridade central ou bancos e é protegido por criptografia de nível militar."
1
+ "Please choose one of the following payment methods.","Por favor, escolha um dos seguintes métodos de pagamento."
2
+ "If you choose to simply continue, default method will be", "Se você optar simplesmente continuar, o método padrão será"
3
+ "Bank Transfer","Bank Transfer"
4
+ "CashU","CashU"
5
+ "DineroMail","DineroMail"
6
+ "Multibanco SIBS","Multibanco SIBS"
7
+ "Ukash","Ukash"
8
+ "Debito Banco do Brasil","Débito Banco do Brasil"
9
+ "CuentaDigital","CuentaDigital"
10
+ "CardsBrazil","CardsBrazil"
11
+ "Paysafecard","Paysafecard"
12
+ "PayPal","PayPal"
13
+ "PagTotal","PagTotal"
14
+ "MercadoPago","MercadoPago"
15
+ "Mozca","Mozca"
16
+ "Boleto","Boleto Bancário"
17
+ "Debito","Débito Bradesco"
18
+ "Transferencia","Transferência Entre Contas"
19
+ "Boleto Itau", "Boleto Itaú"
20
+ "Bitcoin","Bitcoin"
21
+ "Bank Transfer description","A Transferência Bancária oferece a possibilidade de pagar localmente através da sua própria conta bancária. Irá receber um número de referência e os detalhes da conta para poder efectuar o pagamento."
22
+ "CashU description","CashU is the most widely used prepaid and electronic wallet in the Middle East and North Africa (excluding credit cards).You could simply use Cashu prepaid cards directly or you can open a CashU account and then reload your account. If you do not have a CashU account click <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">here</a> to register."
23
+ "DineroMail description","DineroMail é um sistema electrónico de pagamento capital no mercado Latino Americano que oferece todos os métodos populares de pagamento disponíveis em Argentina, Brasil,Chile, Colômbia e Mexico. Se não tiver uma conta DineroMail faça clique <a href=""http://www.dineromail.com/"" target=""_blank"">aqui</a> para se registar."
24
+ "Multibanco SIBS description","Através do Multibanco/SIBS você recebe detlahes de pagamento (3 conjuntos de dígitos - Entidade, Referência e Valor) que pode usar para pagar o Comerciante. Pode efectuar este pagamento através de ATMs Multibanco, internet banking ou celulares."
25
+ "Ukash description","O comprovativo Ukash é um comprovativo pré-pago que pode usar para pagar - não tem taxas extras. Portanto, se quiser pagar através do comprovativo Ukash simplesmente visite <a href=""http://www.ukash.com/global/en/where-to-get/global.aspx"" target=""_blank"">a loja mais</a> perta de você. Para pagar só precisa preencher o código do comprovativo composto por 19 dígitos e o valor do comprovativo."
26
+ "Debito Banco do Brasil description","O Débito Banco do Brasil permite a você pagar online através da sua conra bancária - rápido, fácil e seguro. Precisa ter uma conta bancária com internet banking no Banco do Brasil."
27
+ "CuentaDigital description","CuentaDigital is a leading electronic wallet provider in South America that offers all of the most popular payment methods available. To purchase with this method you need to have a CuentaDigital account. Click <a href=""https://www.cuentadigital.com/area.php?name=cliente&op=new_user"" target=""_blank"">here</a>to register and then reload the account if you do not have already a CuentaDigital account."
28
+ "CardsBrazil description","Escolha a marca do carto e digitar os dados do cartão. Os tipos de cartões suportados: Visa, Mastercard, Amex, Diners, JCB, Hipercard, Sorocred, Aura, Discover, Cabal e Argencard."
29
+ "Paysafecard description","O comprovativo paysafecard é um comprovativo que pode usar para pagar - não tem taxas suplementares. Então, se quiser fazer compras através do comprovativo Paysafecard pode simplesmente visitar a loja mais perta. Depois simplesmente introduza o código comprovativo de 16 dígitos e eis está - o pagamento está pronto."
30
+ "PayPal description","PayPal is the world's largest online payment network, serving over 230 million members in 190 countries and regions. With PayPal you can pay using your credit card or checking account. If you do not have a PayPal account click <a href=""https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=POF0zpshlSyFe4t6PMraBTKqVa0vfnf5zlWQViMb3horYjAo21mGHfjsmmO&dispatch=5885d80a13c0db1f8e263663d3faee8d7283e7f0184a5674430f290db9e9c846"" target=""_blank"">here</a> to register."
31
+ "PagTotal description","PagTotal é uma maneira de pagamento no Brasil, reforçado através da segurança do celular. A vantagem principal do uso da PagTotal é que facilita o pagamento e a confirmação do pagamento em qualquer sítio estiver, através de um simplez SMS. Se ainda não tiver uma conta Pagtotal faça clique <a href=""https://pagtotal.com.br/cadastro.php"" target=""_blank"">aqui</a> para se registar."
32
+ "MercadoPago description","MercadoPago banco de a maior Carteira Internet na América Latina que lhe permite pagar através dos mais populares métodos de pagamento. Para pagar através do MercadoPago precisa de ter uma conta MercadoPago. Se não tiver uma conta MercadoPago faça clique <a href=""https://www.mercadopago.com/mlb/cadastro/register"" target=""_blank"">aqui</a> para se registar."
33
+ "Mozca description","Para pagar através da Mozca é muito fácil: você simplesmente utiliza o seu número do celular e uma palavra passe de 4 dígitos para confirmar que o seu celular realmente pertença a você e está com você no momento. Um Código PIN MOZCA será enviado a você através de um SMS de maneira a confirmar o seu pagamento."
34
+ "Boleto description","Boleto Bancário é uma das mais utilizadas opções de pagamento no Brasil. Para pagar através do Boleto Bancário tem que imprimir o Boleto e ir a uma sucursal física do banco na sua área e pagar com dinheiro, utilizar o banking online, ou simplesmente ir a uma caixa ATM."
35
+ "Debito description","Débito Bradesco é uma opção de pagamento através de ""transferência bancário ao vivo"" disponível para Clientes do Banco Bradesco no Brasil. Só precisa preencher o número do seu cartão de débito do Banco Bradesco e confirmar o pagamento através do código PIN."
36
+ "Transferencia description","A Transferência Entre Contas é um método de transferência bancária ao vivo que permite a você efectuar o pagamento. Para utilizar este método de pagamento você precisa de uma conta bancária com internet banking na Bradesco."
37
+ "Boleto Itau description", "To pay with Boleto Itaú you need to print the Boleto and go to a physical bank branch in your area and pay with cash, online banking, or simply go to an ATM machine."
38
+ "Bitcoin description", "Bitcoin é a maneira mais simples de pagar online. Bitcoin usa a tecnologia peer-to-peer para operar com nenhuma autoridade central ou bancos e é protegido por criptografia de nível militar."
app/locale/pt_PT/Smart2Pay_Globalpay.csv CHANGED
@@ -1,38 +1,38 @@
1
- "Please choose one of the following payment methods.","Por favor, escolha um dos seguintes métodos de pagamento."
2
- "If you choose to simply continue, default method will be", "Se você optar simplesmente continuar, o método padrão será"
3
- "Bank Transfer","Bank Transfer"
4
- "CashU","CashU"
5
- "DineroMail","DineroMail"
6
- "Multibanco SIBS","Multibanco SIBS"
7
- "Ukash","Ukash"
8
- "Debito Banco do Brasil","Débito Banco do Brasil"
9
- "CuentaDigital","CuentaDigital"
10
- "CardsBrazil","CardsBrazil"
11
- "Paysafecard","Paysafecard"
12
- "PayPal","PayPal"
13
- "PagTotal","PagTotal"
14
- "MercadoPago","MercadoPago"
15
- "Mozca","Mozca"
16
- "Boleto","Boleto Bancário"
17
- "Debito","Débito Bradesco"
18
- "Transferencia","Transferência Entre Contas"
19
- "Boleto Itau", "Boleto Itaú"
20
- "Bitcoin","Bitcoin"
21
- "Bank Transfer description","A Transferência Bancária oferece a possibilidade de pagar localmente através da sua própria conta bancária. Irá receber um número de referência e os detalhes da conta para poder efectuar o pagamento."
22
- "CashU description","CashU is the most widely used prepaid and electronic wallet in the Middle East and North Africa (excluding credit cards).You could simply use Cashu prepaid cards directly or you can open a CashU account and then reload your account. If you do not have a CashU account click <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">here</a> to register."
23
- "DineroMail description","DineroMail é um sistema electrónico de pagamento capital no mercado Latino Americano que oferece todos os métodos populares de pagamento disponíveis em Argentina, Brasil,Chile, Colômbia e Mexico. Se não tiver uma conta DineroMail faça clique <a href=""http://www.dineromail.com/"" target=""_blank"">aqui</a> para se registar."
24
- "Multibanco SIBS description","Através do Multibanco/SIBS você recebe detlahes de pagamento (3 conjuntos de dígitos - Entidade, Referência e Valor) que pode usar para pagar o Comerciante. Pode efectuar este pagamento através de ATMs Multibanco, internet banking ou celulares."
25
- "Ukash description","O comprovativo Ukash é um comprovativo pré-pago que pode usar para pagar - não tem taxas extras. Portanto, se quiser pagar através do comprovativo Ukash simplesmente visite <a href=""http://www.ukash.com/global/en/where-to-get/global.aspx"" target=""_blank"">a loja mais</a> perta de você. Para pagar só precisa preencher o código do comprovativo composto por 19 dígitos e o valor do comprovativo."
26
- "Debito Banco do Brasil description","O Débito Banco do Brasil permite a você pagar online através da sua conra bancária - rápido, fácil e seguro. Precisa ter uma conta bancária com internet banking no Banco do Brasil."
27
- "CuentaDigital description","CuentaDigital is a leading electronic wallet provider in South America that offers all of the most popular payment methods available. To purchase with this method you need to have a CuentaDigital account. Click <a href=""https://www.cuentadigital.com/area.php?name=cliente&op=new_user"" target=""_blank"">here</a>to register and then reload the account if you do not have already a CuentaDigital account."
28
- "CardsBrazil description","Escolha a marca do carto e digitar os dados do cartão. Os tipos de cartões suportados: Visa, Mastercard, Amex, Diners, JCB, Hipercard, Sorocred, Aura, Discover, Cabal e Argencard."
29
- "Paysafecard description","O comprovativo paysafecard é um comprovativo que pode usar para pagar - não tem taxas suplementares. Então, se quiser fazer compras através do comprovativo Paysafecard pode simplesmente visitar a loja mais perta. Depois simplesmente introduza o código comprovativo de 16 dígitos e eis está - o pagamento está pronto."
30
- "PayPal description","PayPal is the world's largest online payment network, serving over 230 million members in 190 countries and regions. With PayPal you can pay using your credit card or checking account. If you do not have a PayPal account click <a href=""https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=POF0zpshlSyFe4t6PMraBTKqVa0vfnf5zlWQViMb3horYjAo21mGHfjsmmO&dispatch=5885d80a13c0db1f8e263663d3faee8d7283e7f0184a5674430f290db9e9c846"" target=""_blank"">here</a> to register."
31
- "PagTotal description","PagTotal é uma maneira de pagamento no Brasil, reforçado através da segurança do celular. A vantagem principal do uso da PagTotal é que facilita o pagamento e a confirmação do pagamento em qualquer sítio estiver, através de um simplez SMS. Se ainda não tiver uma conta Pagtotal faça clique <a href=""https://pagtotal.com.br/cadastro.php"" target=""_blank"">aqui</a> para se registar."
32
- "MercadoPago description","MercadoPago banco de a maior Carteira Internet na América Latina que lhe permite pagar através dos mais populares métodos de pagamento. Para pagar através do MercadoPago precisa de ter uma conta MercadoPago. Se não tiver uma conta MercadoPago faça clique <a href=""https://www.mercadopago.com/mlb/cadastro/register"" target=""_blank"">aqui</a> para se registar."
33
- "Mozca description","Para pagar através da Mozca é muito fácil: você simplesmente utiliza o seu número do celular e uma palavra passe de 4 dígitos para confirmar que o seu celular realmente pertença a você e está com você no momento. Um Código PIN MOZCA será enviado a você através de um SMS de maneira a confirmar o seu pagamento."
34
- "Boleto description","Boleto Bancário é uma das mais utilizadas opções de pagamento no Brasil. Para pagar através do Boleto Bancário tem que imprimir o Boleto e ir a uma sucursal física do banco na sua área e pagar com dinheiro, utilizar o banking online, ou simplesmente ir a uma caixa ATM."
35
- "Debito description","Débito Bradesco é uma opção de pagamento através de ""transferência bancário ao vivo"" disponível para Clientes do Banco Bradesco no Brasil. Só precisa preencher o número do seu cartão de débito do Banco Bradesco e confirmar o pagamento através do código PIN."
36
- "Transferencia description","A Transferência Entre Contas é um método de transferência bancária ao vivo que permite a você efectuar o pagamento. Para utilizar este método de pagamento você precisa de uma conta bancária com internet banking na Bradesco."
37
- "Boleto Itau description", "To pay with Boleto Itaú you need to print the Boleto and go to a physical bank branch in your area and pay with cash, online banking, or simply go to an ATM machine."
38
- "Bitcoin description", "Bitcoin é a maneira mais simples de pagar online. Bitcoin usa a tecnologia peer-to-peer para operar com nenhuma autoridade central ou bancos e é protegido por criptografia de nível militar."
1
+ "Please choose one of the following payment methods.","Por favor, escolha um dos seguintes métodos de pagamento."
2
+ "If you choose to simply continue, default method will be", "Se você optar simplesmente continuar, o método padrão será"
3
+ "Bank Transfer","Bank Transfer"
4
+ "CashU","CashU"
5
+ "DineroMail","DineroMail"
6
+ "Multibanco SIBS","Multibanco SIBS"
7
+ "Ukash","Ukash"
8
+ "Debito Banco do Brasil","Débito Banco do Brasil"
9
+ "CuentaDigital","CuentaDigital"
10
+ "CardsBrazil","CardsBrazil"
11
+ "Paysafecard","Paysafecard"
12
+ "PayPal","PayPal"
13
+ "PagTotal","PagTotal"
14
+ "MercadoPago","MercadoPago"
15
+ "Mozca","Mozca"
16
+ "Boleto","Boleto Bancário"
17
+ "Debito","Débito Bradesco"
18
+ "Transferencia","Transferência Entre Contas"
19
+ "Boleto Itau", "Boleto Itaú"
20
+ "Bitcoin","Bitcoin"
21
+ "Bank Transfer description","A Transferência Bancária oferece a possibilidade de pagar localmente através da sua própria conta bancária. Irá receber um número de referência e os detalhes da conta para poder efectuar o pagamento."
22
+ "CashU description","CashU is the most widely used prepaid and electronic wallet in the Middle East and North Africa (excluding credit cards).You could simply use Cashu prepaid cards directly or you can open a CashU account and then reload your account. If you do not have a CashU account click <a href=""https://www.cashu.com/CLogin/registersForm?lang=en"" target=""_blank"">here</a> to register."
23
+ "DineroMail description","DineroMail é um sistema electrónico de pagamento capital no mercado Latino Americano que oferece todos os métodos populares de pagamento disponíveis em Argentina, Brasil,Chile, Colômbia e Mexico. Se não tiver uma conta DineroMail faça clique <a href=""http://www.dineromail.com/"" target=""_blank"">aqui</a> para se registar."
24
+ "Multibanco SIBS description","Através do Multibanco/SIBS você recebe detlahes de pagamento (3 conjuntos de dígitos - Entidade, Referência e Valor) que pode usar para pagar o Comerciante. Pode efectuar este pagamento através de ATMs Multibanco, internet banking ou celulares."
25
+ "Ukash description","O comprovativo Ukash é um comprovativo pré-pago que pode usar para pagar - não tem taxas extras. Portanto, se quiser pagar através do comprovativo Ukash simplesmente visite <a href=""http://www.ukash.com/global/en/where-to-get/global.aspx"" target=""_blank"">a loja mais</a> perta de você. Para pagar só precisa preencher o código do comprovativo composto por 19 dígitos e o valor do comprovativo."
26
+ "Debito Banco do Brasil description","O Débito Banco do Brasil permite a você pagar online através da sua conra bancária - rápido, fácil e seguro. Precisa ter uma conta bancária com internet banking no Banco do Brasil."
27
+ "CuentaDigital description","CuentaDigital is a leading electronic wallet provider in South America that offers all of the most popular payment methods available. To purchase with this method you need to have a CuentaDigital account. Click <a href=""https://www.cuentadigital.com/area.php?name=cliente&op=new_user"" target=""_blank"">here</a>to register and then reload the account if you do not have already a CuentaDigital account."
28
+ "CardsBrazil description","Escolha a marca do carto e digitar os dados do cartão. Os tipos de cartões suportados: Visa, Mastercard, Amex, Diners, JCB, Hipercard, Sorocred, Aura, Discover, Cabal e Argencard."
29
+ "Paysafecard description","O comprovativo paysafecard é um comprovativo que pode usar para pagar - não tem taxas suplementares. Então, se quiser fazer compras através do comprovativo Paysafecard pode simplesmente visitar a loja mais perta. Depois simplesmente introduza o código comprovativo de 16 dígitos e eis está - o pagamento está pronto."
30
+ "PayPal description","PayPal is the world's largest online payment network, serving over 230 million members in 190 countries and regions. With PayPal you can pay using your credit card or checking account. If you do not have a PayPal account click <a href=""https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=POF0zpshlSyFe4t6PMraBTKqVa0vfnf5zlWQViMb3horYjAo21mGHfjsmmO&dispatch=5885d80a13c0db1f8e263663d3faee8d7283e7f0184a5674430f290db9e9c846"" target=""_blank"">here</a> to register."
31
+ "PagTotal description","PagTotal é uma maneira de pagamento no Brasil, reforçado através da segurança do celular. A vantagem principal do uso da PagTotal é que facilita o pagamento e a confirmação do pagamento em qualquer sítio estiver, através de um simplez SMS. Se ainda não tiver uma conta Pagtotal faça clique <a href=""https://pagtotal.com.br/cadastro.php"" target=""_blank"">aqui</a> para se registar."
32
+ "MercadoPago description","MercadoPago banco de a maior Carteira Internet na América Latina que lhe permite pagar através dos mais populares métodos de pagamento. Para pagar através do MercadoPago precisa de ter uma conta MercadoPago. Se não tiver uma conta MercadoPago faça clique <a href=""https://www.mercadopago.com/mlb/cadastro/register"" target=""_blank"">aqui</a> para se registar."
33
+ "Mozca description","Para pagar através da Mozca é muito fácil: você simplesmente utiliza o seu número do celular e uma palavra passe de 4 dígitos para confirmar que o seu celular realmente pertença a você e está com você no momento. Um Código PIN MOZCA será enviado a você através de um SMS de maneira a confirmar o seu pagamento."
34
+ "Boleto description","Boleto Bancário é uma das mais utilizadas opções de pagamento no Brasil. Para pagar através do Boleto Bancário tem que imprimir o Boleto e ir a uma sucursal física do banco na sua área e pagar com dinheiro, utilizar o banking online, ou simplesmente ir a uma caixa ATM."
35
+ "Debito description","Débito Bradesco é uma opção de pagamento através de ""transferência bancário ao vivo"" disponível para Clientes do Banco Bradesco no Brasil. Só precisa preencher o número do seu cartão de débito do Banco Bradesco e confirmar o pagamento através do código PIN."
36
+ "Transferencia description","A Transferência Entre Contas é um método de transferência bancária ao vivo que permite a você efectuar o pagamento. Para utilizar este método de pagamento você precisa de uma conta bancária com internet banking na Bradesco."
37
+ "Boleto Itau description", "To pay with Boleto Itaú you need to print the Boleto and go to a physical bank branch in your area and pay with cash, online banking, or simply go to an ATM machine."
38
+ "Bitcoin description", "Bitcoin é a maneira mais simples de pagar online. Bitcoin usa a tecnologia peer-to-peer para operar com nenhuma autoridade central ou bancos e é protegido por criptografia de nível militar."
package.xml CHANGED
@@ -1,23 +1,115 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Smart2Pay</name>
4
- <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">The Open Software License 3.0 (OSL-3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Magento plugin for Smart2Pay Payment Service Provider</summary>
10
- <description>Smart2Pay is a Payment Service Provider specializing in internet payments since 2002. Our head office is based in Amsterdam area (Holland); we have offices in Austria, Brazil and Romania. We have partnered with many banks and financial institutions all over the world. We are a one stop shop for leading Merchants selling goods or services over the internet globally. If you need to increase your sales and collect funds from consumers globally, join us. We offer state of the art payment solutions for internet merchants.&amp;#xD;&#xD;
11
- Smart2Pay is offering local payment services covering more than 70 countries worldwide! By adding local payment methods to your ecommerce site, you will boost your sales significantly, by offering the preferred local method of payment to your customers!&amp;#xD;&#xD;
12
- Let us handle your payments on the web increase your Sales and Customer satisfaction, join Smart2Pay, the smart way to pay on the web.&amp;#xD;&#xD;
13
- Please register online on https://dashboardtest.smart2pay.com/Account/Register or e-mail support@smart2pay.com for instructions on account activation and detailed documentation.</description>
14
- <notes>Changed Bank Transfer payment flow, now payment instructions can be sent by e-mail.&#xD;
15
- Added MercadoPago in Mexico.&#xD;
16
- Added Cash-in and Cards in Russia.</notes>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  <authors><author><name>Stefan Iancu</name><user>stefani</user><email>support@smart2pay.com</email></author></authors>
18
- <date>2014-09-30</date>
19
- <time>09:02:37</time>
20
- <contents><target name="magecommunity"><dir name="Smart2Pay"><dir name="Globalpay"><dir name="Block"><file name="Info.php" hash="7ba152ab49b0dc36cc9af68d4877a649"/><file name="Paymentinstructions.php" hash="3ad24775e8c30dea8cf9cd6396b2f44b"/><dir name="Paymethod"><file name="Form.php" hash="b1482f3ec22b1a2a20117d8847451ec1"/><file name="Sendform.php" hash="9dee1320faaf19717720f92ea1b9fc91"/></dir></dir><dir name="Helper"><file name="Helper.php" hash="92193403f6f9fec2b19bd61f374754a5"/></dir><dir name="Model"><file name="Country.php" hash="4b433925bed9f5d47d64497432e75a34"/><file name="Countrymethod.php" hash="2aa968c593058fd86b2c8d0550f3e286"/><file name="GlobalpayLog.php" hash="f68fd78b1020729985c405d539cb94d4"/><file name="Logger.php" hash="6268d6a7829e481187b0d998be88bab0"/><file name="Method.php" hash="99a1ed249df5d21e978406f2aee202d7"/><file name="Pay.php" hash="1935a60bbfb36c6e33ec0ba7260cf43f"/><dir name="Resource"><dir name="Country"><file name="Collection.php" hash="ad5ae7ebc94b095bb7264bdf8a8384db"/></dir><file name="Country.php" hash="48d23e3ab4a5c2788839433080179c65"/><dir name="Countrymethod"><file name="Collection.php" hash="31e944d1e66e1da9d3d3779c9cc318d3"/></dir><file name="Countrymethod.php" hash="95db4406bede177910938746e660360f"/><dir name="Logger"><file name="Collection.php" hash="f4db3e9e19df5570603cdddc843017ea"/></dir><file name="Logger.php" hash="ef953126a8793499b676a0aea7070fda"/><dir name="Method"><file name="Collection.php" hash="52091137c467ca6e4ef07e15505e41cd"/></dir><file name="Method.php" hash="ab86d14385f2330a81e13ac0d931fb89"/><file name="Setup.php" hash="6cad02bba0656dab9a7a7a85489f92c3"/></dir><dir name="Source"><file name="Displaymodes.php" hash="d58bea7ddb68a9ae8cd32aa1b175ce5f"/><file name="Methods.php" hash="00c268b45390e7dc505f3bf08699e65d"/><file name="Testlive.php" hash="c9cde641fdc6d7e853de3b6af3fa1d90"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="a1710bcfe55c414ff38ac210a1007c70"/><file name="TestsController.php" hash="491989d17c884c304866caa317ba4b03"/></dir><dir name="etc"><file name="config.xml" hash="b2cf7e8041634587cba997a6d5e08c9a"/><file name="system.xml" hash="2242bc0bc71cb75a150dbc8eea4a4f4a"/></dir><dir name="sql"><dir name="globalpay_setup"><file name="mysql4-install-0.1.0.php" hash="a9028322416d7a057b933e5ff7461b7e"/><file name="mysql4-upgrade-1.0.3-1.1.1.php" hash="e101b2deef4a6911e20d9604a87f92b4"/><file name="mysql4-upgrade-1.1.1-1.1.2.php" hash="fb81f579c95bcf18bbd5943a20d88823"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="0ff4166585205111f038b534d80616f5"/><file name="mysql4-upgrade-1.1.3-1.1.4.php" hash="4c74397012744a9f6503de4eb9364575"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="globalpay.xml" hash="fbd01b6088819973e24baa50b4bac262"/></dir><dir name="template"><dir name="smart2pay"><dir name="globalpay"><file name="info.phtml" hash="27dd1e9f9fc5390ad74f45573ac51dea"/><file name="paymentinstructions.phtml" hash="eef88ec30a47c4fead5fc032ccaf80ea"/><dir name="paymethod"><file name="form.phtml" hash="821219ff274beb21315c5ffa070b40b9"/><file name="sendform.phtml" hash="60123b6239e5e7a5642ac47214080d57"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="smart2pay"><dir name="methods"><file name="7-Eleven.gif" hash="6a6a250a4a7d1b423e2df0de29ca58a7"/><file name="IXe.gif" hash="2794745e00826bc6c623548926a2a188"/><file name="abaqoos.png" hash="ad0ee5b7a034c174ba07e936a5cdf823"/><file name="ach.png" hash="2c12370813d356b2b2f3c9494aad02bf"/><file name="alipay.png" hash="c63c14def69ae33db0614104bf3c3558"/><file name="alliance_online.gif" hash="89b8abd6f8a0134fd3eecfd2d80bc987"/><file name="ambank_group.png" hash="099bfae5ded5d8e31fdcc628dc3de7e2"/><file name="american_express.png" hash="e4a577dd5039a2bab65b7de027e4be13"/><file name="argentina_banks.png" hash="97e6e32919e31ebe789472f37a476f8b"/><file name="banco_do_brasil.gif" hash="667bb89f35534f0b7b6d8a438508a88b"/><file name="bancomer.png" hash="17ffe51209f4b95ff80427362f657a79"/><file name="bank_transfer_logo_v6.png" hash="2f9ef6aa8ff3bd9cbd5044e09090e4b1"/><file name="beeline.png" hash="3a28a1eb11ef72646bcaa9cc83336b08"/><file name="bitcoin.png" hash="39d4bafa85173fab9990d3abe54496f3"/><file name="boleto_bancario.png" hash="f6e86cc5081f11b275b79d8af0520ba9"/><file name="bradesco_transferencia.png" hash="bc4c6760620a34fd00b2f5ed69576e21"/><file name="cards_brl.gif" hash="22d0fec42d931fac48087f6532a7cca8"/><file name="cards_colombia.gif" hash="e522dd8482bb5ea21605052bcc50c19d"/><file name="cashu.png" hash="df0f9530dcb9a8c4f0dc5ba252605123"/><file name="cimb_clicks.png" hash="5c6b4a18eb831c56eb9b128cf58b19ea"/><file name="counter-service-thailand_paysbuy-cash.png" hash="c84ca401b5e43d43d716464e9f3fda39"/><file name="cuentadigital.png" hash="036e2d620e385f1cff0f70c8f14868db"/><file name="danske_bank.png" hash="f99f90f528f0c4b92f00ef613bb9a7de"/><file name="debito_bradesco.png" hash="bf76c75a4a85b41c4b76bac23e1ae855"/><file name="dineromail.png" hash="33f5af837277e28e281946ec79f22194"/><file name="dp24_sofort.png" hash="368b4bf4d9e07e0b322b432faa7ff618"/><file name="dragon_pay.png" hash="17ec7a3afb163119bf1a55fd95aa2ec0"/><file name="eKonto.png" hash="392287f752646c1389433a326d2b3cab"/><file name="enets.png" hash="7c137cae5578577836c66dcd18f0f021"/><file name="eps-e-payment-standard.png" hash="e8882e834ffc5b77dd50109705f5fcba"/><file name="fpx.png" hash="7f4c6a9f924cdc1f45480ed397a4b80f"/><file name="giropay.png" hash="7d9d02897f63f201cb18a9e44c4386d9"/><file name="hong_leong.png" hash="762d2bdf0d93372a2cf2576c3b4ba5bd"/><file name="ideal.png" hash="cd3833c3b0879fde5b68402febb97589"/><file name="mandiri.png" hash="48ee8ddd905341cf9a7256bf0fd9a9a8"/><file name="mangir_cart.gif" hash="56a84b3a860ccf8d0db1ee1082702f46"/><file name="maybank2u.png" hash="d647549d861c892d2850a6616f6461c3"/><file name="mazooma.png" hash="27a9d98c97f1de58050f64d2b3e1d23d"/><file name="megafon.png" hash="ecf26d2f85ce9eab7755948d3d434dcd"/><file name="meps_cash.png" hash="34ae83d23977406b236e0c5f9bc65b44"/><file name="mercadopago.png" hash="892c519217c400e27220ed5ab4de261e"/><file name="mobile_money.png" hash="7f75e90891bb9b356da7a0ec4bedb207"/><file name="moneta.png" hash="338a82756875c3c494b35b68d73eb773"/><file name="mozca.png" hash="54a945ee2690300adcaf90c52b561765"/><file name="mrcash.png" hash="369c1ca9bb031828807f44669692a3ba"/><file name="mtcpay.png" hash="f8e593750cf9aa449255243aee1e72e6"/><file name="mts.gif" hash="b4bc8d834bb8536c820b9e3ef57b42db"/><file name="mybank.png" hash="9f8bf3009fd204c36d02df2f5b75e6b9"/><file name="nordea.png" hash="c8a16da380770db3d05918cf6147e83e"/><file name="onecard.png" hash="d14d53461b1b8a4dc8d89d4a9a0ba4e1"/><file name="online_banking_thailanda.png" hash="e8815328708416e5d6a50508e564acbe"/><file name="op-pohjola.png" hash="fd94de57ae60e3afd985a639c420d514"/><file name="oxxo.gif" hash="ac05a1abe4dd00824eb9311f0607dc4d"/><file name="p24.png" hash="8494b7b58ba7a5dd2521ca1be53ce37a"/><file name="pago_efectivo.gif" hash="738ef8043dd02266a78d7d4b6c5d239b"/><file name="pagos_en_efectivo_servipag_bci_chile.png" hash="acadda22c64dd353dcac8117bfd1fc07"/><file name="pagtotal.png" hash="ae37109cebe6b6b22c817bd58b2f74ba"/><file name="payeasy.png" hash="2b02d482197af0c100cc9708f6c330e3"/><file name="payment_references.png" hash="e61a499a96560d3c6964ac3d6b1fce8f"/><file name="payment_via_baloto.png" hash="8681510117d6aee52dd8045b160af6f0"/><file name="paypal.png" hash="cba61f30ae9ab1ec8ea87dfedb22408b"/><file name="paysafecard.png" hash="40671b01d31fc7298825ff6574952d2e"/><file name="paysbuy.png" hash="897d2ab55b7ca42058a1dd0b4e6a6728"/><file name="paysbuy_wallet.png" hash="0acb4707dfeb41af3d074d614a7c3485"/><file name="paysera.gif" hash="a243e136a0bd62c9b8178d23faca785a"/><file name="paytrail.gif" hash="0aa6e2eef9e9cee062effe1ed361b1c7"/><file name="poli.png" hash="f03d1e87d9b48576c3f366b98ecbe71a"/><file name="pse.png" hash="d66ef5333f270c672c77616af9b5aa20"/><file name="pwmb.png" hash="c43963ecf263c8bf83d9dd74e011c9df"/><file name="qiwi_wallet.png" hash="715beab1c80c2d02d561fc264f716c3e"/><file name="rhb.png" hash="e6c6b64c27c489e7e658e4b781cf747a"/><file name="s2p_cards.gif" hash="22d0fec42d931fac48087f6532a7cca8"/><file name="santander.gif" hash="d30180163ec24e2cf56d683d1e84d4fe"/><file name="scotiabank.gif" hash="17d5e63219623276924f6720053f0b83"/><file name="servipag.png" hash="9e4c12273f937e42149f2df3584fb4a7"/><file name="sibs_mb.png" hash="28352acf0ce61c5e326a93a30e0a6d25"/><file name="tenpay.png" hash="a65b0cb373c32ee9fddb98a26a85ce66"/><file name="todito_cash.png" hash="d4f9c6fab19081a69f94afbfb03f2f66"/><file name="trustly.png" hash="e64e5a9730ea7d45f2c41755fb5b2837"/><file name="trustpay.png" hash="4856854403455474c241afbcaf5172a9"/><file name="ukash.png" hash="a4e549ee30f82e15a9b438a9e30e7614"/><file name="umb.png" hash="93a2747b83d8d48c52adea8e9b374551"/><file name="web_cash.gif" hash="e49caf4308322dbe22282e0e156de83d"/><file name="webmoney.png" hash="5600e6676866d18304ec9bedfa204fca"/><file name="xltunai.png" hash="1fec1c07050a160e7c19f33e63202d87"/><file name="yandex.png" hash="c7f21e223572aa57669bd7d5c543ba9e"/><file name="yandex_money.png" hash="94489649adac0824a6dad19605ab0442"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Smart2Pay_Globalpay.xml" hash="1f3951214d78df89b34a781bd683699c"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="smart2pay"><dir name="globalpay"><file name="payment_confirmation.html" hash="4a860da24781740ff361d948dd406e21"/><file name="payment_instructions.html" hash="235a47b43f332f867854625195110046"/></dir></dir></dir></dir><file name="Smart2Pay_Globalpay.csv" hash="f58e6d363793a209ebcb6b0f17d90ebf"/></dir><dir name="en_GB"><dir name="template"><dir name="email"><dir name="smart2pay"><dir name="globalpay"><file name="payment_confirmation.html" hash="4a860da24781740ff361d948dd406e21"/><file name="payment_instructions.html" hash="d983cb17234bfdfa4ffee9dccfcd86b8"/></dir></dir></dir></dir><file name="Smart2Pay_Globalpay.csv" hash="f58e6d363793a209ebcb6b0f17d90ebf"/></dir><dir name="da_DK"><file name="Smart2Pay_Globalpay.csv" hash="d8630e703988792e5d4e8e99b87115a8"/></dir><dir name="de_AT"><file name="Smart2Pay_Globalpay.csv" hash="906f77e485ade5d9e84be511312537c3"/></dir><dir name="de_DE"><file name="Smart2Pay_Globalpay.csv" hash="906f77e485ade5d9e84be511312537c3"/></dir><dir name="es_AR"><file name="Smart2Pay_Globalpay.csv" hash="162300e532960eaba6751baf9b363309"/></dir><dir name="es_CL"><file name="Smart2Pay_Globalpay.csv" hash="162300e532960eaba6751baf9b363309"/></dir><dir name="es_CO"><file name="Smart2Pay_Globalpay.csv" hash="162300e532960eaba6751baf9b363309"/></dir><dir name="es_ES"><file name="Smart2Pay_Globalpay.csv" hash="162300e532960eaba6751baf9b363309"/></dir><dir name="es_MX"><file name="Smart2Pay_Globalpay.csv" hash="162300e532960eaba6751baf9b363309"/></dir><dir name="fi_FI"><file name="Smart2Pay_Globalpay.csv" hash="579477d7e7b379abb11296ea5d4b5836"/></dir><dir name="fr_FR"><file name="Smart2Pay_Globalpay.csv" hash="b1dda6397f4ac9c173b5aee622213b8e"/></dir><dir name="it_IT"><file name="Smart2Pay_Globalpay.csv" hash="2dff869d101c65891cb272875641f1ff"/></dir><dir name="pt_BR"><file name="Smart2Pay_Globalpay.csv" hash="fc3caf4a3efdef1290c7cb4046b575af"/></dir><dir name="pt_PT"><file name="Smart2Pay_Globalpay.csv" hash="fc3caf4a3efdef1290c7cb4046b575af"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.2.6</min><max>5.6.0</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Smart2Pay</name>
4
+ <version>1.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">The Open Software License 3.0 (OSL-3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Magento plugin for Smart2Pay Payment Service Provider</summary>
10
+ <description>&lt;p&gt;Smart2Pay is a Payment Service Provider specializing in internet &#xD;
11
+ payments since 2002. Our head office is based in Amsterdam area (Holland); &#xD;
12
+ we have offices in Austria, Brazil and Romania. We have partnered with &#xD;
13
+ many banks and financial institutions all over the world. We are a one &#xD;
14
+ stop shop for leading Merchants selling goods or services over the &#xD;
15
+ internet globally. If you need to increase your sales and collect funds &#xD;
16
+ from consumers globally, join us. We offer state of the art payment &#xD;
17
+ solutions for internet merchants.&lt;/p&gt;&#xD;
18
+ &#xD;
19
+ &lt;p&gt;Smart2Pay is offering local payment services covering more than 70 &#xD;
20
+ countries worldwide! By adding local payment methods to your ecommerce &#xD;
21
+ site, you will boost your sales significantly, by offering the preferred &#xD;
22
+ local method of payment to your customers!&lt;/p&gt;&#xD;
23
+ &#xD;
24
+ &lt;ul&gt;&#xD;
25
+ &lt;li&gt;iDEAL&lt;/li&gt;&#xD;
26
+ &lt;li&gt;MrCash&lt;/li&gt;&#xD;
27
+ &lt;li&gt;Giropay&lt;/li&gt;&#xD;
28
+ &lt;li&gt;EPS&lt;/li&gt;&#xD;
29
+ &lt;li&gt;UseMyFunds&lt;/li&gt;&#xD;
30
+ &lt;li&gt;DirectEbanking&lt;/li&gt;&#xD;
31
+ &lt;li&gt;Przelewy24&lt;/li&gt;&#xD;
32
+ &lt;li&gt;OneCard&lt;/li&gt;&#xD;
33
+ &lt;li&gt;CashU&lt;/li&gt;&#xD;
34
+ &lt;li&gt;POLi&lt;/li&gt;&#xD;
35
+ &lt;li&gt;DineroMail&lt;/li&gt;&#xD;
36
+ &lt;li&gt;Multibanco SIBS&lt;/li&gt;&#xD;
37
+ &lt;li&gt;Moneta Wallet&lt;/li&gt;&#xD;
38
+ &lt;li&gt;WebToPay&lt;/li&gt;&#xD;
39
+ &lt;li&gt;Alipay&lt;/li&gt;&#xD;
40
+ &lt;li&gt;Abaqoos&lt;/li&gt;&#xD;
41
+ &lt;li&gt;eBanka&lt;/li&gt;&#xD;
42
+ &lt;li&gt;Ukash&lt;/li&gt;&#xD;
43
+ &lt;li&gt;GluePay&lt;/li&gt;&#xD;
44
+ &lt;li&gt;Debito Banco do Brasil&lt;/li&gt;&#xD;
45
+ &lt;li&gt;CuentaDigital&lt;/li&gt;&#xD;
46
+ &lt;li&gt;CardsBrazil&lt;/li&gt;&#xD;
47
+ &lt;li&gt;PaysBuy&lt;/li&gt;&#xD;
48
+ &lt;li&gt;Mazooma&lt;/li&gt;&#xD;
49
+ &lt;li&gt;eNETS Debit&lt;/li&gt;&#xD;
50
+ &lt;li&gt;Paysafecard&lt;/li&gt;&#xD;
51
+ &lt;li&gt;PagTotal&lt;/li&gt;&#xD;
52
+ &lt;li&gt;Payeasy&lt;/li&gt;&#xD;
53
+ &lt;li&gt;DragonPay&lt;/li&gt;&#xD;
54
+ &lt;li&gt;MercadoPago&lt;/li&gt;&#xD;
55
+ &lt;li&gt;Mozca&lt;/li&gt;&#xD;
56
+ &lt;li&gt;Gash&lt;/li&gt;&#xD;
57
+ &lt;li&gt;ToditoCash&lt;/li&gt;&#xD;
58
+ &lt;li&gt;Pay with my bank&lt;/li&gt;&#xD;
59
+ &lt;li&gt;Trustpay&lt;/li&gt;&#xD;
60
+ &lt;li&gt;MTCPay&lt;/li&gt;&#xD;
61
+ &lt;li&gt;MangirKart&lt;/li&gt;&#xD;
62
+ &lt;li&gt;Boleto&lt;/li&gt;&#xD;
63
+ &lt;li&gt;Debito Bradesco&lt;/li&gt;&#xD;
64
+ &lt;li&gt;Transferencia Bradesco&lt;/li&gt;&lt;li&gt;QIWI Wallet&lt;/li&gt;&#xD;
65
+ &lt;li&gt;Beeline&lt;/li&gt;&#xD;
66
+ &lt;li&gt;Megafon&lt;/li&gt;&#xD;
67
+ &lt;li&gt;MTS&lt;/li&gt;&#xD;
68
+ &lt;li&gt;WebMoney&lt;/li&gt;&#xD;
69
+ &lt;li&gt;Yandex&lt;/li&gt;&#xD;
70
+ &lt;li&gt;Alliance Online&lt;/li&gt;&#xD;
71
+ &lt;li&gt;AmBank&lt;/li&gt;&#xD;
72
+ &lt;li&gt;CIMB Clicks&lt;/li&gt;&#xD;
73
+ &lt;li&gt;FPX&lt;/li&gt;&#xD;
74
+ &lt;li&gt;Hong Leong Bank Transfer&lt;/li&gt;&#xD;
75
+ &lt;li&gt;Maybank2U&lt;/li&gt;&#xD;
76
+ &lt;li&gt;Meps Cash&lt;/li&gt;&#xD;
77
+ &lt;li&gt;Mobile Money&lt;/li&gt;&#xD;
78
+ &lt;li&gt;RHB&lt;/li&gt;&#xD;
79
+ &lt;li&gt;Webcash&lt;/li&gt;&#xD;
80
+ &lt;li&gt;Credit Cards Colombia&lt;/li&gt;&#xD;
81
+ &lt;li&gt;PSE&lt;/li&gt;&#xD;
82
+ &lt;li&gt;ACH Debit&lt;/li&gt;&#xD;
83
+ &lt;li&gt;Via Baloto&lt;/li&gt;&#xD;
84
+ &lt;li&gt;Referenced Payment&lt;/li&gt;&#xD;
85
+ &lt;li&gt;XLTunai&lt;/li&gt;&#xD;
86
+ &lt;li&gt;Bancomer Pago referenciado&lt;/li&gt;&#xD;
87
+ &lt;li&gt;Santander Pago referenciado&lt;/li&gt;&#xD;
88
+ &lt;li&gt;ScotiaBank Pago referenciado&lt;/li&gt;&#xD;
89
+ &lt;li&gt;7-Eleven Pago en efectivo&lt;/li&gt;&#xD;
90
+ &lt;li&gt;Oxxo Pago en efectivo&lt;/li&gt;&#xD;
91
+ &lt;li&gt;IXE Pago referenciado&lt;/li&gt;&#xD;
92
+ &lt;li&gt;Cards Thailand&lt;/li&gt;&#xD;
93
+ &lt;li&gt;PayPal Thailand&lt;/li&gt;&#xD;
94
+ &lt;li&gt;AMEX Thailand&lt;/li&gt;&#xD;
95
+ &lt;li&gt;Cash Options Thailand&lt;/li&gt;&#xD;
96
+ &lt;li&gt;Online Banking Thailand&lt;/li&gt;&#xD;
97
+ &lt;li&gt;PaysBuy Wallet&lt;/li&gt;&#xD;
98
+ &lt;/ul&gt;&#xD;
99
+ &#xD;
100
+ &lt;p&gt;Let us handle your payments on the web; increase your Sales and &#xD;
101
+ Customer satisfaction, join Smart2Pay, the smart way to pay on the web.&lt;/p&gt;&#xD;
102
+ &#xD;
103
+ &lt;p&gt;Please register online on &#xD;
104
+ https://dashboardtest.smart2pay.com/Account/Register or e-mail &#xD;
105
+ support@smart2pay.com for instructions on account activation and detailed &#xD;
106
+ documentation.&lt;/p&gt;&#xD;
107
+ </description>
108
+ <notes>- Payment details are saved in database and displayed in order details for both front-end and back-end</notes>
109
  <authors><author><name>Stefan Iancu</name><user>stefani</user><email>support@smart2pay.com</email></author></authors>
110
+ <date>2015-03-09</date>
111
+ <time>16:34:27</time>
112
+ <contents><target name="magecommunity"><dir name="Smart2Pay"><dir name="Globalpay"><dir name="Block"><dir name="Info"><file name="Globalpay.php" hash="f08e2c1ca3722bf9c99607453e29c707"/></dir><file name="Info.php" hash="0ce44c8234fc66bae84ce49120d2866c"/><file name="Paymentinstructions.php" hash="1490c20b3f13cb8d9a80616b66904cf2"/><dir name="Paymethod"><file name="Form.php" hash="50acaca159e47f8060c63f4f827c1205"/><file name="Sendform.php" hash="16240037321927965ad4c3447b8f05ff"/></dir></dir><dir name="Helper"><file name="Data.php" hash="e8c8a8825234e044140c868403d457f5"/><file name="Helper.php" hash="cad1ee4a2d90d656061079d351ea5feb"/></dir><dir name="Model"><file name="Country.php" hash="936012cbfa55c64ed7fb76886c551f7e"/><file name="Countrymethod.php" hash="fdca03bc90ee641aeabbfe8b7452f8db"/><file name="GlobalpayLog.php" hash="70e0c38c6234d75239136a3621f7ac8c"/><file name="Logger.php" hash="534118191b5b14d223544d765a54f672"/><file name="Method.php" hash="ef927f2723349a25a154cf00cea105e0"/><file name="Pay.php" hash="131fd1d854fc059744e958db17ebec59"/><dir name="Resource"><dir name="Country"><file name="Collection.php" hash="4ded83c204c83add05e9676a94638ce0"/></dir><file name="Country.php" hash="fcb4dcc631b086eaa715f5e7a96e7386"/><dir name="Countrymethod"><file name="Collection.php" hash="492742783f370d1b22d43a9ce6a38bf7"/></dir><file name="Countrymethod.php" hash="48074ce7a859de057445c7c27d9ae87b"/><dir name="Logger"><file name="Collection.php" hash="64dd8f9119679ff3e8c4d6b968201671"/></dir><file name="Logger.php" hash="98847ce83ed78a424c781885e4cee6b6"/><dir name="Method"><file name="Collection.php" hash="2ee2315d1ced6a17df20dcd0091cf9ce"/></dir><file name="Method.php" hash="ce00096559b5ac1142c7f40a4f0505fd"/><file name="Setup.php" hash="93047b7581bfdedaa813e9787d5843fb"/><dir name="Transactionlogger"><file name="Collection.php" hash="e24c39b140ef198a0e154d0dd9104667"/></dir><file name="Transactionlogger.php" hash="36c4eed50271c5d0044446d7e743bd7b"/></dir><dir name="Source"><file name="Displaymodes.php" hash="e7c7f0e2117d1c0b31f8b492f6cfdf56"/><file name="Methods.php" hash="33e7a754d22c0c87deb58b5e3852466b"/><file name="Testlive.php" hash="c7fb03a04efd342833dbe0130f1670a8"/></dir><file name="Transactionlogger.php" hash="d47dc1e0fef760f02118a11e5c8e90c3"/></dir><dir name="controllers"><file name="IndexController.php" hash="383728a5edc4853c52fef86b469b9608"/><file name="TestsController.php" hash="fef4a90341d6fbc3442ae2ed3aa776af"/></dir><dir name="etc"><file name="config.xml" hash="5b7b1f1eb71eb3c378657dd20ca90502"/><file name="system.xml" hash="4d7ff989bfb489c6d04f787a6333a327"/></dir><dir name="sql"><dir name="globalpay_setup"><file name="mysql4-install-0.1.0.php" hash="b20f861bb89ecc6e75ca45ef4ae9a571"/><file name="mysql4-upgrade-1.0.3-1.1.1.php" hash="0cc5a5e482c69833594c8e9c3fd43027"/><file name="mysql4-upgrade-1.1.1-1.1.2.php" hash="3c74ed2415bf2e8575bff1898961805a"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="8112e779e009a9626a1c51408a7208f3"/><file name="mysql4-upgrade-1.1.3-1.1.4.php" hash="538609da33ce07f1d94ae548bf83a4c4"/><file name="mysql4-upgrade-1.1.4-1.1.5.php" hash="d79a11406afdd436159d736f975abbb1"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="globalpay.xml" hash="fbd01b6088819973e24baa50b4bac262"/></dir><dir name="template"><dir name="smart2pay"><dir name="globalpay"><file name="info.phtml" hash="f558fd34e676eee618deadc5d72bd8c7"/><file name="methodinfo.phtml" hash="18d3047e38b0b3b706c9d59a6f559492"/><file name="methodinfopdf.phtml" hash="3e56d8bf7207eb0d7f465df6a1a6397f"/><file name="paymentinstructions.phtml" hash="4da294678e43c633631fcb1f69238a64"/><dir name="paymethod"><file name="form.phtml" hash="cdc0940426e8bb5c815410b0d58e0bda"/><file name="sendform.phtml" hash="c682571a8237cec400f9fc0e26edd053"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="smart2pay"><dir name="globalpay"><file name="info.phtml" hash="f558fd34e676eee618deadc5d72bd8c7"/><file name="methodinfo.phtml" hash="18d3047e38b0b3b706c9d59a6f559492"/><file name="methodinfopdf.phtml" hash="3e56d8bf7207eb0d7f465df6a1a6397f"/><file name="paymentinstructions.phtml" hash="4da294678e43c633631fcb1f69238a64"/><dir name="paymethod"><file name="form.phtml" hash="cdc0940426e8bb5c815410b0d58e0bda"/><file name="sendform.phtml" hash="c682571a8237cec400f9fc0e26edd053"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="smart2pay"><dir name="methods"><file name="7-Eleven.gif" hash="6a6a250a4a7d1b423e2df0de29ca58a7"/><file name="IXe.gif" hash="2794745e00826bc6c623548926a2a188"/><file name="abaqoos.png" hash="ad0ee5b7a034c174ba07e936a5cdf823"/><file name="ach.png" hash="2c12370813d356b2b2f3c9494aad02bf"/><file name="alipay.png" hash="c63c14def69ae33db0614104bf3c3558"/><file name="alliance_online.gif" hash="89b8abd6f8a0134fd3eecfd2d80bc987"/><file name="ambank_group.png" hash="099bfae5ded5d8e31fdcc628dc3de7e2"/><file name="american_express.png" hash="e4a577dd5039a2bab65b7de027e4be13"/><file name="argentina_banks.png" hash="97e6e32919e31ebe789472f37a476f8b"/><file name="banco_do_brasil.gif" hash="667bb89f35534f0b7b6d8a438508a88b"/><file name="bancomer.png" hash="17ffe51209f4b95ff80427362f657a79"/><file name="bank_transfer_logo_v6.png" hash="2f9ef6aa8ff3bd9cbd5044e09090e4b1"/><file name="beeline.png" hash="3a28a1eb11ef72646bcaa9cc83336b08"/><file name="bitcoin.png" hash="39d4bafa85173fab9990d3abe54496f3"/><file name="boleto_bancario.png" hash="f6e86cc5081f11b275b79d8af0520ba9"/><file name="bradesco_transferencia.png" hash="bc4c6760620a34fd00b2f5ed69576e21"/><file name="cards_brl.gif" hash="22d0fec42d931fac48087f6532a7cca8"/><file name="cards_colombia.gif" hash="e522dd8482bb5ea21605052bcc50c19d"/><file name="cashu.png" hash="df0f9530dcb9a8c4f0dc5ba252605123"/><file name="cimb_clicks.png" hash="5c6b4a18eb831c56eb9b128cf58b19ea"/><file name="counter-service-thailand_paysbuy-cash.png" hash="c84ca401b5e43d43d716464e9f3fda39"/><file name="cuentadigital.png" hash="036e2d620e385f1cff0f70c8f14868db"/><file name="danske_bank.png" hash="f99f90f528f0c4b92f00ef613bb9a7de"/><file name="debito_bradesco.png" hash="bf76c75a4a85b41c4b76bac23e1ae855"/><file name="dineromail.png" hash="33f5af837277e28e281946ec79f22194"/><file name="dp24_sofort.png" hash="368b4bf4d9e07e0b322b432faa7ff618"/><file name="dragon_pay.png" hash="17ec7a3afb163119bf1a55fd95aa2ec0"/><file name="eKonto.png" hash="392287f752646c1389433a326d2b3cab"/><file name="enets.png" hash="7c137cae5578577836c66dcd18f0f021"/><file name="eps-e-payment-standard.png" hash="e8882e834ffc5b77dd50109705f5fcba"/><file name="fpx.png" hash="7f4c6a9f924cdc1f45480ed397a4b80f"/><file name="giropay.png" hash="7d9d02897f63f201cb18a9e44c4386d9"/><file name="hong_leong.png" hash="762d2bdf0d93372a2cf2576c3b4ba5bd"/><file name="ideal.png" hash="cd3833c3b0879fde5b68402febb97589"/><file name="mandiri.png" hash="48ee8ddd905341cf9a7256bf0fd9a9a8"/><file name="mangir_cart.gif" hash="56a84b3a860ccf8d0db1ee1082702f46"/><file name="maybank2u.png" hash="d647549d861c892d2850a6616f6461c3"/><file name="mazooma.png" hash="27a9d98c97f1de58050f64d2b3e1d23d"/><file name="megafon.png" hash="ecf26d2f85ce9eab7755948d3d434dcd"/><file name="meps_cash.png" hash="34ae83d23977406b236e0c5f9bc65b44"/><file name="mercadopago.png" hash="892c519217c400e27220ed5ab4de261e"/><file name="mobile_money.png" hash="7f75e90891bb9b356da7a0ec4bedb207"/><file name="moneta.png" hash="338a82756875c3c494b35b68d73eb773"/><file name="mozca.png" hash="54a945ee2690300adcaf90c52b561765"/><file name="mrcash.png" hash="369c1ca9bb031828807f44669692a3ba"/><file name="mtcpay.png" hash="f8e593750cf9aa449255243aee1e72e6"/><file name="mts.gif" hash="b4bc8d834bb8536c820b9e3ef57b42db"/><file name="mybank.png" hash="9f8bf3009fd204c36d02df2f5b75e6b9"/><file name="nordea.png" hash="c8a16da380770db3d05918cf6147e83e"/><file name="onecard.png" hash="d14d53461b1b8a4dc8d89d4a9a0ba4e1"/><file name="online_banking_thailanda.png" hash="e8815328708416e5d6a50508e564acbe"/><file name="op-pohjola.png" hash="fd94de57ae60e3afd985a639c420d514"/><file name="oxxo.gif" hash="ac05a1abe4dd00824eb9311f0607dc4d"/><file name="p24.png" hash="8494b7b58ba7a5dd2521ca1be53ce37a"/><file name="pago_efectivo.gif" hash="738ef8043dd02266a78d7d4b6c5d239b"/><file name="pagos_en_efectivo_servipag_bci_chile.png" hash="acadda22c64dd353dcac8117bfd1fc07"/><file name="pagtotal.png" hash="ae37109cebe6b6b22c817bd58b2f74ba"/><file name="payeasy.png" hash="2b02d482197af0c100cc9708f6c330e3"/><file name="payment_references.png" hash="e61a499a96560d3c6964ac3d6b1fce8f"/><file name="payment_via_baloto.png" hash="8681510117d6aee52dd8045b160af6f0"/><file name="paypal.png" hash="cba61f30ae9ab1ec8ea87dfedb22408b"/><file name="paysafecard.png" hash="40671b01d31fc7298825ff6574952d2e"/><file name="paysbuy.png" hash="897d2ab55b7ca42058a1dd0b4e6a6728"/><file name="paysbuy_wallet.png" hash="0acb4707dfeb41af3d074d614a7c3485"/><file name="paysera.gif" hash="a243e136a0bd62c9b8178d23faca785a"/><file name="paytrail.gif" hash="0aa6e2eef9e9cee062effe1ed361b1c7"/><file name="poli.png" hash="f03d1e87d9b48576c3f366b98ecbe71a"/><file name="pse.png" hash="d66ef5333f270c672c77616af9b5aa20"/><file name="pwmb.png" hash="c43963ecf263c8bf83d9dd74e011c9df"/><file name="qiwi_wallet.png" hash="715beab1c80c2d02d561fc264f716c3e"/><file name="rhb.png" hash="e6c6b64c27c489e7e658e4b781cf747a"/><file name="s2p_cards.gif" hash="22d0fec42d931fac48087f6532a7cca8"/><file name="santander.gif" hash="d30180163ec24e2cf56d683d1e84d4fe"/><file name="scotiabank.gif" hash="17d5e63219623276924f6720053f0b83"/><file name="servipag.png" hash="9e4c12273f937e42149f2df3584fb4a7"/><file name="sibs_mb.png" hash="28352acf0ce61c5e326a93a30e0a6d25"/><file name="tenpay.png" hash="a65b0cb373c32ee9fddb98a26a85ce66"/><file name="todito_cash.png" hash="d4f9c6fab19081a69f94afbfb03f2f66"/><file name="trustly.png" hash="e64e5a9730ea7d45f2c41755fb5b2837"/><file name="trustpay.png" hash="4856854403455474c241afbcaf5172a9"/><file name="ukash.png" hash="a4e549ee30f82e15a9b438a9e30e7614"/><file name="umb.png" hash="93a2747b83d8d48c52adea8e9b374551"/><file name="web_cash.gif" hash="e49caf4308322dbe22282e0e156de83d"/><file name="webmoney.png" hash="5600e6676866d18304ec9bedfa204fca"/><file name="xltunai.png" hash="1fec1c07050a160e7c19f33e63202d87"/><file name="yandex.png" hash="c7f21e223572aa57669bd7d5c543ba9e"/><file name="yandex_money.png" hash="94489649adac0824a6dad19605ab0442"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Smart2Pay_Globalpay.xml" hash="1f3951214d78df89b34a781bd683699c"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="smart2pay"><dir name="globalpay"><file name="payment_confirmation.html" hash="20b2112815ea8437929d45e324beed19"/><file name="payment_instructions.html" hash="8451e3fadbdad49d1844bd60f5f1c21b"/><file name="payment_instructions_sibs.html" hash="1d76a24096133de9837859caff8a82a2"/></dir></dir></dir></dir><file name="Smart2Pay_Globalpay.csv" hash="1289fcf5de25c292a7e45638e3de14bf"/></dir><dir name="en_GB"><dir name="template"><dir name="email"><dir name="smart2pay"><dir name="globalpay"><file name="payment_confirmation.html" hash="20b2112815ea8437929d45e324beed19"/><file name="payment_instructions.html" hash="21797b7891cc5d162412ba112b2f8696"/><file name="payment_instructions_sibs.html" hash="1d76a24096133de9837859caff8a82a2"/></dir></dir></dir></dir><file name="Smart2Pay_Globalpay.csv" hash="1289fcf5de25c292a7e45638e3de14bf"/></dir><dir name="da_DK"><file name="Smart2Pay_Globalpay.csv" hash="e573ba63de5d0883d33c8aba799914d7"/></dir><dir name="de_AT"><file name="Smart2Pay_Globalpay.csv" hash="513e5f5c23f1b05b9e740243e5524eec"/></dir><dir name="de_DE"><file name="Smart2Pay_Globalpay.csv" hash="513e5f5c23f1b05b9e740243e5524eec"/></dir><dir name="es_AR"><file name="Smart2Pay_Globalpay.csv" hash="a504653b67cb41dd4684c067303adc10"/></dir><dir name="es_CL"><file name="Smart2Pay_Globalpay.csv" hash="a504653b67cb41dd4684c067303adc10"/></dir><dir name="es_CO"><file name="Smart2Pay_Globalpay.csv" hash="a504653b67cb41dd4684c067303adc10"/></dir><dir name="es_ES"><file name="Smart2Pay_Globalpay.csv" hash="a504653b67cb41dd4684c067303adc10"/></dir><dir name="es_MX"><file name="Smart2Pay_Globalpay.csv" hash="a504653b67cb41dd4684c067303adc10"/></dir><dir name="fi_FI"><file name="Smart2Pay_Globalpay.csv" hash="99292d7660a52809c80c1a77553b7928"/></dir><dir name="fr_FR"><file name="Smart2Pay_Globalpay.csv" hash="2fe4d15b14b0642b700adfc9c59093f6"/></dir><dir name="it_IT"><file name="Smart2Pay_Globalpay.csv" hash="8fc8a53f82b0b9c3565aabb0f1ebf168"/></dir><dir name="pt_BR"><file name="Smart2Pay_Globalpay.csv" hash="dd51daad3cad2a1f831fd40384895757"/></dir><dir name="pt_PT"><file name="Smart2Pay_Globalpay.csv" hash="dd51daad3cad2a1f831fd40384895757"/></dir></target></contents>
113
  <compatible/>
114
  <dependencies><required><php><min>5.2.6</min><max>5.6.0</max></php></required></dependencies>
115
  </package>