tig_buckaroo3extended - Version 4.14.1

Version Notes

==== 4.14.1 ====
==== Improvements ====
- Compatibiliteit met de Magento Patch SUPEE-6788

==== Bug fixes ====
- Provincie veld is niet meer verplicht voor PayPal verkopersbescherming bij Nederlandse adressen

==== 4.13.0 ====
==== Improvements ====
- Extra invulvelden verwijderd bij offline refunds voor Mr. Cash
- Offline refunds bij Mr. Cash ondersteunt nu ook deelrefunds
- Aangepaste styling van de betaalmethodes in OSC en OPC
- Storeview specifieke instellingen worden meegenomen voor PayperEmail
- Aanvullende informatie voor orders die afgewezen zijn door AfterPay in de ordercomments.

==== Bug fixes ====
- Fix voor de AfterPay afwijzingsmeldingen
- Correcte weergave van betaaltoeslagen onder 1 Euro
- De Billing Agreements pagina geeft geen foutmelding meer bij gebruik van de extensie

==== 4.12.0 ====
==== Improvements ====
- Tweede AfterPay betaalmethode toegevoegd. Zo kan een merchant zowel de digiaccept variant, als de acceptgiro variant tegelijk gebruiken.

==== Bug fixes ====
- Correcte weergave Buckaroo fee in transactionele e-mails
- Fix voor custom status bij pending orders

==== 4.11.0 ====
==== New features ====
- MasterPass betaalmethode toegevoegd.

==== Improvements ====
- IBAN veld bij Afterpay Digiaccept betaalmethode verwijderd

==== Bug fixes ====
- Paymentfee label in transactionele e-mail tonen

==== 4.10.1 ====
==== Improvements ====
- Added notification for declined payments for AfterPay payment method
- Compatibility with Onestepcheckout improved
- Giftcard functionality improved for Magento Enterprise
- Updated translations

==== Bug fixes ====
- PayperEmail is available again in the backend

==== 4.10.0 ====
==== New features ====
- Added the AfterPay payment method.
- Added the ability to refund Bancontact / Mr. Cash orders.

==== Improvements ====
- Completely rewrote the Buckaroo payment fee implementation in order to increase reliability and implement several much requested features.
- Removed the BIC field for Dutch orders.
- Improved validation for orders where multiple transactions are created.
- Improved error handling for back-end orders.

==== Bug fixes ====
- Fixed a problem where the order ID would stay reserved after a payment had failed, causing errors.

Download this release

Release Info

Developer TIG
Extension tig_buckaroo3extended
Version 4.14.1
Comparing to
See all releases


Code changes from version 4.13.0 to 4.14.1

Files changed (58) hide show
  1. app/code/community/TIG/Buckaroo3Extended/Block/PaymentMethods/Checkout/Form/Abstract.php +1 -1
  2. app/code/community/TIG/Buckaroo3Extended/Helper/Data.php +33 -7
  3. app/code/community/TIG/Buckaroo3Extended/Helper/StateCodes.php +326 -0
  4. app/code/community/TIG/Buckaroo3Extended/Model/Abstract.php +4 -1
  5. app/code/community/TIG/Buckaroo3Extended/Model/Masterpass/V06.php +56 -0
  6. app/code/community/TIG/Buckaroo3Extended/Model/Observer/Abstract.php +14 -1
  7. app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/Bancontactmrcash/Observer.php +4 -0
  8. app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/Giftcards/Observer.php +4 -0
  9. app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/Ideal/Observer.php +4 -0
  10. app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/Masterpass/Observer.php +40 -1
  11. app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/MasterpassLightbox/Observer.php +256 -0
  12. app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/MasterpassLightbox/PaymentMethod.php +95 -0
  13. app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/PaymentMethod.php +9 -2
  14. app/code/community/TIG/Buckaroo3Extended/Model/Request/Abstract.php +53 -35
  15. app/code/community/TIG/Buckaroo3Extended/Model/Request/Quote.php +133 -0
  16. app/code/community/TIG/Buckaroo3Extended/Model/Request/QuoteFinal.php +91 -0
  17. app/code/community/TIG/Buckaroo3Extended/Model/Response/Abstract.php +13 -20
  18. app/code/community/TIG/Buckaroo3Extended/Model/Response/MasterPass.php +206 -0
  19. app/code/community/TIG/Buckaroo3Extended/Model/Response/Push.php +51 -4
  20. app/code/community/TIG/Buckaroo3Extended/Model/Response/Quote.php +152 -0
  21. app/code/community/TIG/Buckaroo3Extended/Model/Soap.php +37 -25
  22. app/code/community/TIG/Buckaroo3Extended/controllers/{Adminhtml → BuckarooAdminhtml}/GiftcardController.php +47 -39
  23. app/code/community/TIG/Buckaroo3Extended/controllers/NotifyController.php +59 -21
  24. app/code/community/TIG/Buckaroo3Extended/etc/adminhtml.xml +1 -1
  25. app/code/community/TIG/Buckaroo3Extended/etc/config.xml +43 -6
  26. app/code/community/TIG/Buckaroo3Extended/etc/masterpass.xml +13 -0
  27. app/design/adminhtml/default/default/layout/TIG/buckaroo3extended.xml +8 -8
  28. app/design/adminhtml/default/default/template/buckaroo3extended/system/config/paypalRegionCheck.phtml +6 -4
  29. app/design/adminhtml/default/default/template/buckaroo3extended/system/config/supportTab.phtml +3 -3
  30. app/design/frontend/rwd/default/template/buckaroo3extended/afterpay/checkout/form.phtml +150 -0
  31. app/design/frontend/rwd/default/template/buckaroo3extended/afterpay2/checkout/form.phtml +149 -0
  32. app/design/frontend/rwd/default/template/buckaroo3extended/amex/checkout/form.phtml +5 -0
  33. app/design/frontend/rwd/default/template/buckaroo3extended/bancontactmrcash/checkout/form.phtml +6 -0
  34. app/design/frontend/rwd/default/template/buckaroo3extended/cartebancaire/checkout/form.phtml +4 -0
  35. app/design/frontend/rwd/default/template/buckaroo3extended/cartebleue/checkout/form.phtml +4 -0
  36. app/design/frontend/rwd/default/template/buckaroo3extended/directdebit/checkout/form.phtml +30 -0
  37. app/design/frontend/rwd/default/template/buckaroo3extended/directdebit/info.phtml +24 -0
  38. app/design/frontend/rwd/default/template/buckaroo3extended/empayment/checkout/form.phtml +6 -0
  39. app/design/frontend/rwd/default/template/buckaroo3extended/eps/checkout/form.phtml +4 -0
  40. app/design/frontend/rwd/default/template/buckaroo3extended/giftcards/checkout/form.phtml +4 -0
  41. app/design/frontend/rwd/default/template/buckaroo3extended/giropay/checkout/form.phtml +38 -0
  42. app/design/frontend/rwd/default/template/buckaroo3extended/ideal/checkout/form.phtml +29 -0
  43. app/design/frontend/rwd/default/template/buckaroo3extended/maestro/checkout/form.phtml +4 -0
  44. app/design/frontend/rwd/default/template/buckaroo3extended/mastercard/checkout/form.phtml +4 -0
  45. app/design/frontend/rwd/default/template/buckaroo3extended/onlinegiro/checkout/form.phtml +39 -0
  46. app/design/frontend/rwd/default/template/buckaroo3extended/paymentguarantee/checkout/form.phtml +62 -0
  47. app/design/frontend/rwd/default/template/buckaroo3extended/paymentguarantee/termsAndConditions.phtml +49 -0
  48. app/design/frontend/rwd/default/template/buckaroo3extended/paypal/checkout/form.phtml +6 -0
  49. app/design/frontend/rwd/default/template/buckaroo3extended/payperemail/checkout/form.phtml +43 -0
  50. app/design/frontend/rwd/default/template/buckaroo3extended/paysafecard/checkout/form.phtml +4 -0
  51. app/design/frontend/rwd/default/template/buckaroo3extended/sofortueberweisung/checkout/form.phtml +4 -0
  52. app/design/frontend/rwd/default/template/buckaroo3extended/transfer/checkout/form.phtml +62 -0
  53. app/design/frontend/rwd/default/template/buckaroo3extended/visa/checkout/form.phtml +4 -0
  54. app/design/frontend/rwd/default/template/buckaroo3extended/visaelectron/checkout/form.phtml +4 -0
  55. app/design/frontend/rwd/default/template/buckaroo3extended/vpay/checkout/form.phtml +4 -0
  56. package.xml +17 -10
  57. skin/frontend/rwd/default/css/TIG/Buckaroo3Extended/styles_opc.css +36 -0
  58. skin/frontend/rwd/default/css/TIG/Buckaroo3Extended/styles_osc.css +97 -0
app/code/community/TIG/Buckaroo3Extended/Block/PaymentMethods/Checkout/Form/Abstract.php CHANGED
@@ -44,7 +44,7 @@ class TIG_Buckaroo3Extended_Block_PaymentMethods_Checkout_Form_Abstract extends
44
  $fee = str_replace(',', '.', $paymentFee);
45
 
46
  // Check if the fee given rounds to 0.01+, if not, return nothing
47
- if (number_format($fee, 2, '.', ',') == 0.00) {
48
  return '';
49
  }
50
 
44
  $fee = str_replace(',', '.', $paymentFee);
45
 
46
  // Check if the fee given rounds to 0.01+, if not, return nothing
47
+ if (number_format((float)$fee, 2, '.', ',') == 0.00) {
48
  return '';
49
  }
50
 
app/code/community/TIG/Buckaroo3Extended/Helper/Data.php CHANGED
@@ -176,24 +176,50 @@ class TIG_Buckaroo3Extended_Helper_Data extends Mage_Core_Helper_Abstract
176
  return Mage::helper('core')->isModuleEnabled('Klarna_KlarnaPaymentModule');
177
  }
178
 
 
 
 
 
 
179
  public function checkRegionRequired()
180
  {
181
  $storeId = Mage::app()->getRequest()->getParam('store');
182
  $allowSpecific = Mage::getStoreConfig('buckaroo/buckaroo3extended_paypal/allowspecific', $storeId);
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  if ($allowSpecific) {
184
  $allowedCountries = explode(',', Mage::getStoreConfig('buckaroo/buckaroo3extended_paypal/specificcountry', $storeId));
185
  } else {
186
- $allowedCountries = Mage::getModel('directory/country')->getResourceCollection()
187
- ->loadByStore($storeId)
188
- ->toOptionArray(true);
 
 
 
 
 
 
189
  }
190
 
191
- foreach ($allowedCountries as $country) {
192
- if (!Mage::helper('directory')->isregionRequired($country)) {
193
- return false;
 
 
194
  }
195
  }
196
- return true;
197
  }
198
 
199
  public function checkSellersProtection($order)
176
  return Mage::helper('core')->isModuleEnabled('Klarna_KlarnaPaymentModule');
177
  }
178
 
179
+ /**
180
+ * Checks if allowed countries, of globally all countries is required to fill in a region while checking out with
181
+ * the paypal sellers protection enabled.
182
+ * @return bool
183
+ */
184
  public function checkRegionRequired()
185
  {
186
  $storeId = Mage::app()->getRequest()->getParam('store');
187
  $allowSpecific = Mage::getStoreConfig('buckaroo/buckaroo3extended_paypal/allowspecific', $storeId);
188
+
189
+ $regionRequiredCountries = array(
190
+ 'AR', //argentina
191
+ 'BR', //brazil
192
+ 'CA', //canada
193
+ 'CN', //china
194
+ 'ID', //indonesia
195
+ 'JP', //japan
196
+ 'MX', //mexico
197
+ 'TH', //thailand
198
+ 'US', //usa
199
+ );
200
+
201
  if ($allowSpecific) {
202
  $allowedCountries = explode(',', Mage::getStoreConfig('buckaroo/buckaroo3extended_paypal/specificcountry', $storeId));
203
  } else {
204
+ $allowedCountriesOptions = Mage::getModel('directory/country')->getResourceCollection()
205
+ ->loadByStore($storeId)
206
+ ->toOptionArray(true);
207
+
208
+ $allowedCountries = array();
209
+ foreach($allowedCountriesOptions as $options){
210
+ $allowedCountries[] = $options['value'];
211
+ }
212
+
213
  }
214
 
215
+ //if one of the allowed countries in the required-region array exists
216
+ //then the region must be required, if none exists then the message cannot be shown
217
+ foreach($regionRequiredCountries as $country){
218
+ if(in_array($country,$allowedCountries)){
219
+ return true;
220
  }
221
  }
222
+ return false;
223
  }
224
 
225
  public function checkSellersProtection($order)
app/code/community/TIG/Buckaroo3Extended/Helper/StateCodes.php ADDED
@@ -0,0 +1,326 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * ___________ __ __
4
+ * \__ ___/____ _/ |_ _____ | |
5
+ * | | / _ \\ __\\__ \ | |
6
+ * | | | |_| || | / __ \_| |__
7
+ * |____| \____/ |__| (____ /|____/
8
+ * \/
9
+ * ___ __ __
10
+ * | | ____ _/ |_ ____ _______ ____ ____ _/ |_
11
+ * | | / \\ __\_/ __ \\_ __ \ / \ _/ __ \\ __\
12
+ * | || | \| | \ ___/ | | \/| | \\ ___/ | |
13
+ * |___||___| /|__| \_____>|__| |___| / \_____>|__|
14
+ * \/ \/
15
+ * ________
16
+ * / _____/_______ ____ __ __ ______
17
+ * / \ ___\_ __ \ / _ \ | | \\____ \
18
+ * \ \_\ \| | \/| |_| || | /| |_| |
19
+ * \______ /|__| \____/ |____/ | __/
20
+ * \/ |__|
21
+ *
22
+ * NOTICE OF LICENSE
23
+ *
24
+ * This source file is subject to the Creative Commons License.
25
+ * It is available through the world-wide-web at this URL:
26
+ * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
27
+ * If you are unable to obtain it through the world-wide-web, please send an email
28
+ * to servicedesk@tig.nl so we can send you a copy immediately.
29
+ *
30
+ * DISCLAIMER
31
+ *
32
+ * Do not edit or add to this file if you wish to upgrade this module to newer
33
+ * versions in the future. If you wish to customize this module for your
34
+ * needs please contact servicedesk@tig.nl for more information.
35
+ *
36
+ * @copyright Copyright (c) 2015 TIG B.V. (http://www.tig.nl)
37
+ * @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
38
+ */
39
+ class TIG_Buckaroo3Extended_Helper_StateCodes extends Mage_Core_Helper_Abstract
40
+ {
41
+
42
+ /**
43
+ * Contains all state codes and the relevant full names for the countries paypal supports (or requires) state codes
44
+ * for.
45
+ *
46
+ * @var array
47
+ */
48
+ protected $_codes = array(
49
+ 'CA' => array(
50
+ 'AB' => array('Alberta'),
51
+ 'BC' => array('British Columbia'),
52
+ 'MB' => array('Manitoba'),
53
+ 'NB' => array('New Brunswick'),
54
+ 'NL' => array('Newfoundland and Labrador', 'Newfoundland', 'Labrador'),
55
+ 'NT' => array('Northwest Territories'),
56
+ 'NS' => array('Nova Scotia'),
57
+ 'NU' => array('Nunavut'),
58
+ 'ON' => array('Ontario'),
59
+ 'PE' => array('Prince Edward Island'),
60
+ 'QC' => array('Quebec'),
61
+ 'SK' => array('Saskatchewan'),
62
+ 'YT' => array('Yukon Territory', 'Yukon'),
63
+ ),
64
+ 'IT' => array(
65
+ 'AG' => array('Agrigento'),
66
+ 'AL' => array('Alessandria'),
67
+ 'AN' => array('Ancona'),
68
+ 'AO' => array('Aosta'),
69
+ 'AR' => array('Arezzo'),
70
+ 'AP' => array('Ascoli Piceno'),
71
+ 'AT' => array('Asti'),
72
+ 'AV' => array('Avellino'),
73
+ 'BA' => array('Bari'),
74
+ 'BL' => array('Belluno'),
75
+ 'BN' => array('Benevento'),
76
+ 'BG' => array('Bergamo'),
77
+ 'BI' => array('Biella'),
78
+ 'BO' => array('Bologna'),
79
+ 'BZ' => array('Bolzano'),
80
+ 'BS' => array('Brescia'),
81
+ 'BR' => array('Brindisi'),
82
+ 'CA' => array('Cagliari'),
83
+ 'CL' => array('Caltanissetta'),
84
+ 'CB' => array('Campobasso'),
85
+ 'CE' => array('Caserta'),
86
+ 'CT' => array('Catania'),
87
+ 'CZ' => array('Catanzaro'),
88
+ 'CH' => array('Chieti'),
89
+ 'CO' => array('Como'),
90
+ 'CS' => array('Cosenza'),
91
+ 'CR' => array('Cremona'),
92
+ 'KR' => array('Crotone'),
93
+ 'CN' => array('Cuneo'),
94
+ 'EN' => array('Enna'),
95
+ 'FE' => array('Ferrarav'),
96
+ 'FI' => array('Firenze'),
97
+ 'FG' => array('Foggia'),
98
+ 'FO' => array('Forli-Cesena'),
99
+ 'FR' => array('Frosinone'),
100
+ 'GE' => array('Genova'),
101
+ 'GO' => array('Gorizia'),
102
+ 'GR' => array('Grosseto'),
103
+ 'IM' => array('Imperia'),
104
+ 'IS' => array('Isernia'),
105
+ 'SP' => array('La Spezia'),
106
+ 'AQ' => array('L’Aquila'),
107
+ 'LT' => array('Latina'),
108
+ 'LE' => array('Lecce'),
109
+ 'LC' => array('Lecco'),
110
+ 'LI' => array('Livorno'),
111
+ 'LO' => array('Lodi'),
112
+ 'LU' => array('Lucca'),
113
+ 'MC' => array('Macerata'),
114
+ 'MN' => array('Mantova'),
115
+ 'MS' => array('Massa-Carrara'),
116
+ 'MT' => array('Matera'),
117
+ 'ME' => array('Messina'),
118
+ 'MI' => array('Milano'),
119
+ 'MO' => array('Modena'),
120
+ 'MB' => array('Monza e Brianza'),
121
+ 'NA' => array('Napoli'),
122
+ 'NO' => array('Novara'),
123
+ 'NU' => array('Nuoro'),
124
+ 'OR' => array('Oristano'),
125
+ 'PD' => array('Padova'),
126
+ 'PA' => array('Palermo'),
127
+ 'PR' => array('Parma'),
128
+ 'PV' => array('Pavia'),
129
+ 'PG' => array('Perugia'),
130
+ 'PS' => array('Pesaro'),
131
+ 'PE' => array('Pescara'),
132
+ 'PC' => array('Piacenza'),
133
+ 'PI' => array('Pisa'),
134
+ 'PT' => array('Pistoia'),
135
+ 'PN' => array('Pordenone'),
136
+ 'PZ' => array('Potenza'),
137
+ 'PO' => array('Prato'),
138
+ 'RG' => array('Ragusa'),
139
+ 'RA' => array('Ravenna'),
140
+ 'RC' => array('Reggio Calabria'),
141
+ 'RE' => array('Reggio Emilia'),
142
+ 'RI' => array('Rieti'),
143
+ 'RN' => array('Rimini'),
144
+ 'RM' => array('Roma'),
145
+ 'RO' => array('Rovigo'),
146
+ 'SA' => array('Salerno'),
147
+ 'SS' => array('Sassari'),
148
+ 'SV' => array('Savona'),
149
+ 'SI' => array('Siena'),
150
+ 'SR' => array('Siracusa'),
151
+ 'SO' => array('Sondrio'),
152
+ 'TA' => array('Taranto'),
153
+ 'TE' => array('Teramo'),
154
+ 'TR' => array('Terni'),
155
+ 'TO' => array('Torino'),
156
+ 'TP' => array('Trapani'),
157
+ 'TN' => array('Trento'),
158
+ 'TV' => array('Treviso'),
159
+ 'TS' => array('Trieste'),
160
+ 'UD' => array('Udine'),
161
+ 'VA' => array('Varese'),
162
+ 'VE' => array('Venezia'),
163
+ 'VB' => array('Verbania-Cusio-Ossola'),
164
+ 'VC' => array('Vercelli'),
165
+ 'VR' => array('Verona'),
166
+ 'VV' => array('Vibo Valentia'),
167
+ 'VI' => array('Vicenza'),
168
+ 'VT' => array('Viterbo'),
169
+ ),
170
+ 'NL' => array(
171
+ 'DR' => array('Drenthe'),
172
+ 'FL' => array('Flevoland'),
173
+ 'FR' => array('Friesland'),
174
+ 'GE' => array('Gelderland'),
175
+ 'GR' => array('Groningen'),
176
+ 'LI' => array('Limburg'),
177
+ 'NB' => array('Noord-Brabant'),
178
+ 'NH' => array('Noord-Holland'),
179
+ 'OV' => array('Overijssel'),
180
+ 'UT' => array('Utrecht'),
181
+ 'ZE' => array('Zeeland'),
182
+ 'ZH' => array('Zuid-Holland'),
183
+ ),
184
+ 'US' => array(
185
+ 'AL' => array('Alabama'),
186
+ 'AK' => array('Alaska'),
187
+ 'AS' => array('American Samoa'),
188
+ 'AZ' => array('Arizona'),
189
+ 'AR' => array('Arkansas'),
190
+ 'AE' => array(
191
+ 'Armed Forces Africa',
192
+ 'Armed Forces Europe',
193
+ 'Armed Forces Canada',
194
+ 'Armed Forces Middle East',
195
+ ),
196
+ 'AA' => array('Armed Forces Americas'),
197
+ 'AP' => array('Armed Forces Pacific'),
198
+ 'CA' => array('California'),
199
+ 'CO' => array('Colorado'),
200
+ 'CT' => array('Connecticut'),
201
+ 'DE' => array('Delaware'),
202
+ 'DC' => array('District of Columbia'),
203
+ 'FM' => array('Federated States Of Micronesia'),
204
+ 'FL' => array('Florida'),
205
+ 'GA' => array('Georgia'),
206
+ 'GU' => array('Guam'),
207
+ 'HI' => array('Hawaii'),
208
+ 'ID' => array('Idaho'),
209
+ 'IL' => array('Illinois'),
210
+ 'IN' => array('Indiana'),
211
+ 'IA' => array('Iowa'),
212
+ 'KS' => array('Kansas'),
213
+ 'KY' => array('Kentucky'),
214
+ 'LA' => array('Louisiana'),
215
+ 'ME' => array('Maine'),
216
+ 'MH' => array('Marshall Islands'),
217
+ 'MD' => array('Maryland'),
218
+ 'MA' => array('Massachusetts'),
219
+ 'MI' => array('Michigan'),
220
+ 'MN' => array('Minnesota'),
221
+ 'MS' => array('Mississippi'),
222
+ 'MO' => array('Missouri'),
223
+ 'MT' => array('Montana'),
224
+ 'NE' => array('Nebraska'),
225
+ 'NV' => array('Nevada'),
226
+ 'NH' => array('New Hampshire'),
227
+ 'NJ' => array('New Jersey'),
228
+ 'NM' => array('New Mexico'),
229
+ 'NY' => array('New York'),
230
+ 'NC' => array('North Carolina'),
231
+ 'ND' => array('North Dakota'),
232
+ 'MP' => array('Northern Mariana Islands'),
233
+ 'OH' => array('Ohio'),
234
+ 'OK' => array('Oklahoma'),
235
+ 'OR' => array('Oregon'),
236
+ 'PW' => array('Palau'),
237
+ 'PA' => array('Pennsylvania'),
238
+ 'PR' => array('Puerto Rico'),
239
+ 'RI' => array('Rhode Island'),
240
+ 'SC' => array('South Carolina'),
241
+ 'SD' => array('South Dakota'),
242
+ 'TN' => array('Tennessee'),
243
+ 'TX' => array('Texas'),
244
+ 'UT' => array('Utah'),
245
+ 'VT' => array('Vermont'),
246
+ 'VI' => array('Virgin Islands'),
247
+ 'VA' => array('Virginia'),
248
+ 'WA' => array('Washington'),
249
+ 'WV' => array('West Virginia'),
250
+ 'WI' => array('Wisconsin'),
251
+ 'WY' => array('Wyoming'),
252
+ ),
253
+ );
254
+
255
+ /**
256
+ * Returns array of values based on country & state codes, or everything if only country code given
257
+ *
258
+ * @param string $countryCode
259
+ * @param null $stateCode
260
+ *
261
+ * @return bool|array
262
+ */
263
+ public function getValuesFromCodes($countryCode = null, $stateCode = null)
264
+ {
265
+ // We need a countryCode + stateCode and for it to exist in _codes
266
+ if (!$countryCode || !$stateCode || !isset($this->_codes[$countryCode])) {
267
+ return false;
268
+ }
269
+
270
+ // If statecode is both given and exists in _codes, return its array value
271
+ if (isset($this->_codes[$countryCode][$stateCode])) {
272
+ return $this->_codes[$countryCode][$stateCode];
273
+ }
274
+
275
+ // Nothing found, return false instead
276
+ return false;
277
+ }
278
+
279
+ /**
280
+ * Returns code string based on country code and value, or false if not found. Also returns an array if
281
+ *
282
+ * @param null $countryCode
283
+ * @param null $value
284
+ *
285
+ * @return false|string
286
+ */
287
+ public function getCodeFromValue($countryCode = null, $value = null)
288
+ {
289
+ // We need a countryCode + value and for it to exist in _codes
290
+ if (!$countryCode || !$value || !isset($this->_codes[$countryCode])) {
291
+ return false;
292
+ }
293
+
294
+ // Loop through and do an in_array search (some state codes have multiple names)
295
+ foreach ($this->_codes[$countryCode] as $stateCode => $stateValues) {
296
+ if (in_array($value, $stateValues)) {
297
+ // As soon as we find one, return the code
298
+ return $stateCode;
299
+ }
300
+ }
301
+
302
+ // Nothing found, return false instead
303
+ return false;
304
+ }
305
+
306
+ /**
307
+ * Returns all codes or all codes by countryCode. False if countryCode given but non-existant
308
+ *
309
+ * @param null $countryCode
310
+ *
311
+ * @return array|bool
312
+ */
313
+ public function getCodes($countryCode = null) {
314
+ if (!$countryCode) {
315
+ return $this->_codes;
316
+ }
317
+
318
+ if (isset($this->_codes[$countryCode])) {
319
+ return $this->_codes[$countryCode];
320
+ }
321
+
322
+ // Nothing found based on countryCode but it was given, return false instead
323
+ return false;
324
+ }
325
+
326
+ }
app/code/community/TIG/Buckaroo3Extended/Model/Abstract.php CHANGED
@@ -31,7 +31,7 @@ class TIG_Buckaroo3Extended_Model_Abstract extends Mage_Payment_Model_Method_Abs
31
  const BUCKAROO_REJECTED = 'BUCKAROO_REJECTED';
32
 
33
  /**
34
- * @var Mage_Sales_Model_Order $_order
35
  */
36
  protected $_order = '';
37
  protected $_debugEmail;
@@ -399,6 +399,9 @@ class TIG_Buckaroo3Extended_Model_Abstract extends Mage_Payment_Model_Method_Abs
399
  case 'buckaroo3extended_sofortueberweisung': $paymentMethod = Mage::getModel('buckaroo3extended/paymentMethods_sofortueberweisung_paymentMethod');
400
  $currenciesAllowedConfig = Mage::getStoreConfig('buckaroo/buckaroo3extended_sofortueberweisung/allowed_currencies', $this->getStoreId());
401
  break;
 
 
 
402
  default: $paymentMethod = null;
403
  $currenciesAllowedConfig = 'EUR';
404
  }
31
  const BUCKAROO_REJECTED = 'BUCKAROO_REJECTED';
32
 
33
  /**
34
+ * @var Mage_Sales_Model_Order|Mage_Sales_Model_Quote $_order
35
  */
36
  protected $_order = '';
37
  protected $_debugEmail;
399
  case 'buckaroo3extended_sofortueberweisung': $paymentMethod = Mage::getModel('buckaroo3extended/paymentMethods_sofortueberweisung_paymentMethod');
400
  $currenciesAllowedConfig = Mage::getStoreConfig('buckaroo/buckaroo3extended_sofortueberweisung/allowed_currencies', $this->getStoreId());
401
  break;
402
+ case 'buckaroo3extended_maestro': $paymentMethod = Mage::getModel('buckaroo3extended/paymentMethods_maestro_paymentMethod');
403
+ $currenciesAllowedConfig = Mage::getStoreConfig('buckaroo/buckaroo3extended_maestro/allowed_currencies', $this->getStoreId());
404
+ break;
405
  default: $paymentMethod = null;
406
  $currenciesAllowedConfig = 'EUR';
407
  }
app/code/community/TIG/Buckaroo3Extended/Model/Masterpass/V06.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class TIG_Buckaroo3Extended_Model_Masterpass_v06
3
+ {
4
+ /**
5
+ * InitializeCheckout - return parameters from Masterpass for the lightbox javascript
6
+ */
7
+ public function lightbox()
8
+ {
9
+ try {
10
+ // get quote from session
11
+ $session = Mage::getSingleton('checkout/session');
12
+ $quote = $session->getQuote();
13
+
14
+ // set Masterpass as chosen payment method
15
+ $paymentMethod = Mage::getModel('buckaroo3extended/paymentMethods_masterpassLightbox_paymentMethod');
16
+ $quote->getPayment()->importData(array('method' => $paymentMethod->getCode()));
17
+
18
+ // initiate request
19
+ $quoteRequest = Mage::getModel('buckaroo3extended/request_quote', array('quote' => $quote));
20
+
21
+ // do the request
22
+ $parameters = $quoteRequest->sendRequest();
23
+
24
+ // return lightbox parameters
25
+ return $parameters;
26
+ } catch (Exception $e) {
27
+ Mage::helper('buckaroo3extended')->logException($e);
28
+
29
+ return Mage::getModel('buckaroo3extended/response_abstract', array(
30
+ 'response' => false,
31
+ 'XML' => false,
32
+ 'debugEmail' => isset($quoteRequest) ? $quoteRequest->getDebugEmail() : '',
33
+ ))->processResponse();
34
+ }
35
+ }
36
+
37
+ /**
38
+ * FinalizeCheckout - finish a payment when all supplied information is final.
39
+ *
40
+ * @return boolean
41
+ */
42
+ public function pay()
43
+ {
44
+ $session = Mage::getSingleton('checkout/session');
45
+
46
+ // Check if order exists and create order from quote if not
47
+ $order = Mage::getModel('sales/order')->loadByIncrementId($session->getLastRealOrderId());
48
+
49
+ // initiate request
50
+ $quoteFinalRequest = Mage::getModel('buckaroo3extended/request_quoteFinal');
51
+ $quoteFinalRequest->setOrder($order);
52
+
53
+ $response = $quoteFinalRequest->sendRequest();
54
+ return true;
55
+ }
56
+ }
app/code/community/TIG/Buckaroo3Extended/Model/Observer/Abstract.php CHANGED
@@ -38,6 +38,10 @@ class TIG_Buckaroo3Extended_Model_Observer_Abstract extends TIG_Buckaroo3Extende
38
  {
39
  $ret = false;
40
 
 
 
 
 
41
  $chosenMethod = $observer->getOrder()->getPayment()->getMethod();
42
 
43
  if ($chosenMethod === $this->_code) {
@@ -418,7 +422,7 @@ class TIG_Buckaroo3Extended_Model_Observer_Abstract extends TIG_Buckaroo3Extende
418
  */
419
  protected function _getPaymentMethodsAllowed()
420
  {
421
- $configAllowed = Mage::getStoreConfig('buckaroo/' . $this->_code . '/allowed_methods', $this->getStoreId());
422
 
423
  $allowedArray = explode(',', $configAllowed);
424
 
@@ -554,6 +558,15 @@ class TIG_Buckaroo3Extended_Model_Observer_Abstract extends TIG_Buckaroo3Extende
554
  $checkForSellerProtection = Mage::helper('buckaroo3extended')->checkSellersProtection($order);
555
 
556
  if ($checkForSellerProtection){
 
 
 
 
 
 
 
 
 
557
  $arrayCustom = array(
558
  'Name' => $shippingAddress['lastname'],
559
  'Street1' => $shippingAddress['street'],
38
  {
39
  $ret = false;
40
 
41
+ if (null === $observer->getOrder()) {
42
+ return false;
43
+ }
44
+
45
  $chosenMethod = $observer->getOrder()->getPayment()->getMethod();
46
 
47
  if ($chosenMethod === $this->_code) {
422
  */
423
  protected function _getPaymentMethodsAllowed()
424
  {
425
+ $configAllowed = Mage::getStoreConfig('buckaroo/' . $this->_code . '/allowed_methods', $this->_order->getStoreId());
426
 
427
  $allowedArray = explode(',', $configAllowed);
428
 
558
  $checkForSellerProtection = Mage::helper('buckaroo3extended')->checkSellersProtection($order);
559
 
560
  if ($checkForSellerProtection){
561
+ // See if we can get a stateCode for this country & region
562
+ $stateCode = Mage::helper('buckaroo3extended/stateCodes')->getCodeFromValue(
563
+ $shippingAddress['country_id'],
564
+ $shippingAddress['region']
565
+ );
566
+ if ($stateCode) {
567
+ $shippingAddress['region'] = $stateCode;
568
+ }
569
+
570
  $arrayCustom = array(
571
  'Name' => $shippingAddress['lastname'],
572
  'Street1' => $shippingAddress['street'],
app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/Bancontactmrcash/Observer.php CHANGED
@@ -91,6 +91,10 @@ class TIG_Buckaroo3Extended_Model_PaymentMethods_Bancontactmrcash_Observer
91
  {
92
  $ret = false;
93
 
 
 
 
 
94
  $chosenMethod = $observer->getOrder()->getPayment()->getMethod();
95
 
96
  if ($chosenMethod === $this->_code) {
91
  {
92
  $ret = false;
93
 
94
+ if (null === $observer->getOrder()) {
95
+ return false;
96
+ }
97
+
98
  $chosenMethod = $observer->getOrder()->getPayment()->getMethod();
99
 
100
  if ($chosenMethod === $this->_code) {
app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/Giftcards/Observer.php CHANGED
@@ -89,6 +89,10 @@ class TIG_Buckaroo3Extended_Model_PaymentMethods_Giftcards_Observer extends TIG_
89
  {
90
  $ret = false;
91
 
 
 
 
 
92
  $chosenMethod = $observer->getOrder()->getPayment()->getMethod();
93
 
94
  if ($chosenMethod === $this->_code) {
89
  {
90
  $ret = false;
91
 
92
+ if (null === $observer->getOrder()) {
93
+ return false;
94
+ }
95
+
96
  $chosenMethod = $observer->getOrder()->getPayment()->getMethod();
97
 
98
  if ($chosenMethod === $this->_code) {
app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/Ideal/Observer.php CHANGED
@@ -96,6 +96,10 @@ class TIG_Buckaroo3Extended_Model_PaymentMethods_Ideal_Observer extends TIG_Buck
96
  {
97
  $ret = false;
98
 
 
 
 
 
99
  $chosenMethod = $observer->getOrder()->getPayment()->getMethod();
100
 
101
  if ($chosenMethod === $this->_code) {
96
  {
97
  $ret = false;
98
 
99
+ if (null === $observer->getOrder()) {
100
+ return false;
101
+ }
102
+
103
  $chosenMethod = $observer->getOrder()->getPayment()->getMethod();
104
 
105
  if ($chosenMethod === $this->_code) {
app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/Masterpass/Observer.php CHANGED
@@ -65,7 +65,6 @@ class TIG_Buckaroo3Extended_Model_PaymentMethods_Masterpass_Observer
65
 
66
  $vars = $request->getVars();
67
  $serviceVersion = $this->_getServiceVersion();
68
-
69
  $array = array(
70
  $this->_method => array(
71
  'action' => 'PaymentInvitation',
@@ -172,6 +171,46 @@ class TIG_Buckaroo3Extended_Model_PaymentMethods_Masterpass_Observer
172
 
173
  $array['Articles'] = $group;
174
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  if (array_key_exists('customVars', $vars) && array_key_exists($this->_method, $vars['customVars']) && is_array($vars['customVars'][$this->_method])) {
176
  $vars['customVars'][$this->_method] = array_merge($vars['customVars'][$this->_method], $array);
177
  } else {
65
 
66
  $vars = $request->getVars();
67
  $serviceVersion = $this->_getServiceVersion();
 
68
  $array = array(
69
  $this->_method => array(
70
  'action' => 'PaymentInvitation',
171
 
172
  $array['Articles'] = $group;
173
 
174
+ // fallback if the request is based on a quote
175
+ if($this->_order instanceof Mage_Sales_Model_Quote)
176
+ {
177
+ $quote = $this->_order;
178
+
179
+ // repair empty order ID
180
+ $vars['orderId'] = 'quote_' . $quote->getId();
181
+
182
+ // repair empty discount price
183
+ $discount = $quote->getBaseSubtotal() - $quote->getBaseSubtotalWithDiscount();
184
+ $array['Discount'] = (double) $discount;
185
+
186
+ // repair empty article prices
187
+ $products = $quote->getAllItems();
188
+ $groupId = 0;
189
+ foreach($products as $item)
190
+ {
191
+ if (empty($item) || $item->hasParentItemId()) {
192
+ continue;
193
+ }
194
+
195
+ $productPrice = ($item->getBasePrice() * $item->getQty()) + $item->getBaseTaxAmount() + $item->getBaseHiddenTaxAmount();
196
+
197
+ if($item->getProductType() == 'bundle') {
198
+ $productPrice = $quote->getSubtotal() + $item->getBaseTaxAmount() + $item->getBaseHiddenTaxAmount();
199
+ }
200
+
201
+ $array['Articles'][$groupId]['ArticleDescription']['value'] = (int) $item->getQty() . 'x ' . $item->getName();
202
+ $array['Articles'][$groupId]['ArticleUnitPrice']['value'] = (string) round($productPrice, 2);
203
+
204
+ $groupId++;
205
+ }
206
+
207
+ // repair empty shipping costs
208
+ $array['ShippingCosts'] = (string) round($vars['amountDebit'] - $quote->getBaseSubtotalWithDiscount(), 2);
209
+
210
+ // enable remote shipping selection
211
+ $array['ShippingSuppression'] = 'FALSE';
212
+ }
213
+
214
  if (array_key_exists('customVars', $vars) && array_key_exists($this->_method, $vars['customVars']) && is_array($vars['customVars'][$this->_method])) {
215
  $vars['customVars'][$this->_method] = array_merge($vars['customVars'][$this->_method], $array);
216
  } else {
app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/MasterpassLightbox/Observer.php ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * ___________ __ __
4
+ * \__ ___/____ _/ |_ _____ | |
5
+ * | | / _ \\ __\\__ \ | |
6
+ * | | | |_| || | / __ \_| |__
7
+ * |____| \____/ |__| (____ /|____/
8
+ * \/
9
+ * ___ __ __
10
+ * | | ____ _/ |_ ____ _______ ____ ____ _/ |_
11
+ * | | / \\ __\_/ __ \\_ __ \ / \ _/ __ \\ __\
12
+ * | || | \| | \ ___/ | | \/| | \\ ___/ | |
13
+ * |___||___| /|__| \_____>|__| |___| / \_____>|__|
14
+ * \/ \/
15
+ * ________
16
+ * / _____/_______ ____ __ __ ______
17
+ * / \ ___\_ __ \ / _ \ | | \\____ \
18
+ * \ \_\ \| | \/| |_| || | /| |_| |
19
+ * \______ /|__| \____/ |____/ | __/
20
+ * \/ |__|
21
+ *
22
+ * NOTICE OF LICENSE
23
+ *
24
+ * This source file is subject to the Creative Commons License.
25
+ * It is available through the world-wide-web at this URL:
26
+ * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
27
+ * If you are unable to obtain it through the world-wide-web, please send an email
28
+ * to servicedesk@tig.nl so we can send you a copy immediately.
29
+ *
30
+ * DISCLAIMER
31
+ *
32
+ * Do not edit or add to this file if you wish to upgrade this module to newer
33
+ * versions in the future. If you wish to customize this module for your
34
+ * needs please contact servicedesk@tig.nl for more information.
35
+ *
36
+ * @copyright Copyright (c) 2015 Total Internet Group B.V. (http://www.tig.nl)
37
+ * @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
38
+ */
39
+ class TIG_Buckaroo3Extended_Model_PaymentMethods_MasterpassLightbox_Observer
40
+ extends TIG_Buckaroo3Extended_Model_Observer_Abstract
41
+ {
42
+ protected $_code = 'buckaroo3extended_masterpass_lightbox';
43
+ protected $_method = 'masterpass';
44
+
45
+ /**
46
+ * @var Mage_Sales_Model_Order
47
+ */
48
+ protected $_order;
49
+
50
+ /**
51
+ * @param Varien_Event_Observer $observer
52
+ *
53
+ * @return $this
54
+ */
55
+ public function buckaroo3extended_request_addservices(Varien_Event_Observer $observer)
56
+ {
57
+ if($this->_isChosenMethod($observer) === false) {
58
+ return $this;
59
+ }
60
+
61
+ /**
62
+ * @var Mage_Core_Controller_Request_Http $request
63
+ */
64
+ $request = $observer->getRequest();
65
+
66
+ $vars = $request->getVars();
67
+ $serviceVersion = $this->_getServiceVersion();
68
+ $array = array(
69
+ $this->_method => array(
70
+ 'action' => 'PaymentInvitation',
71
+ 'version' => $serviceVersion,
72
+ ),
73
+ );
74
+
75
+ /**
76
+ * @var Mage_Sales_Model_Order $order
77
+ */
78
+ $order = $request->getOrder();
79
+ $order->setBuckarooServiceVersionUsed($serviceVersion)
80
+ ->save();
81
+
82
+ if (Mage::getStoreConfig('buckaroo/buckaroo3extended_' . $this->_method . '/use_creditmanagement', Mage::app()->getStore()->getStoreId())) {
83
+ $array['creditmanagement'] = array(
84
+ 'action' => 'Invoice',
85
+ 'version' => 1,
86
+ );
87
+ }
88
+
89
+ if (array_key_exists('services', $vars) && is_array($vars['services'])) {
90
+ $vars['services'] = array_merge($vars['services'], $array);
91
+ } else {
92
+ $vars['services'] = $array;
93
+ }
94
+
95
+ $request->setVars($vars);
96
+
97
+ return $this;
98
+ }
99
+
100
+ /**
101
+ * @param Varien_Event_Observer $observer
102
+ *
103
+ * @return $this
104
+ */
105
+ public function buckaroo3extended_request_addcustomvars(Varien_Event_Observer $observer)
106
+ {
107
+ if($this->_isChosenMethod($observer) === false) {
108
+ return $this;
109
+ }
110
+
111
+ $request = $observer->getRequest();
112
+ $this->_billingInfo = $request->getBillingInfo();
113
+ $this->_order = $request->getOrder();
114
+
115
+ $vars = $request->getVars();
116
+
117
+ if (Mage::getStoreConfig('buckaroo/buckaroo3extended_' . $this->_method . '/use_creditmanagement', Mage::app()->getStore()->getStoreId())) {
118
+ $this->_addCustomerVariables($vars);
119
+ $this->_addCreditManagement($vars);
120
+ $this->_addAdditionalCreditManagementVariables($vars);
121
+ }
122
+
123
+ $shippingCosts = round($this->_order->getBaseShippingInclTax(), 2);
124
+
125
+ $discount = null;
126
+
127
+ if(Mage::helper('buckaroo3extended')->isEnterprise()){
128
+ if((double)$this->_order->getGiftCardsAmount() > 0){
129
+ $discount = (double)$this->_order->getGiftCardsAmount();
130
+ }
131
+ }
132
+
133
+ if(abs((double)$this->_order->getDiscountAmount()) > 0){
134
+ $discount += abs((double)$this->_order->getDiscountAmount());
135
+ }
136
+
137
+ $array = array(
138
+ 'Discount' => $discount,
139
+ 'ShippingSuppression' => 'FALSE',
140
+ );
141
+
142
+ $products = $this->_order->getAllItems();
143
+ $group = array();
144
+ foreach($products as $item){
145
+ /** @var Mage_Sales_Model_Order_Item $item */
146
+ if (empty($item) || $item->hasParentItemId()) {
147
+ continue;
148
+ }
149
+
150
+ // Changed calculation from unitPrice to orderLinePrice due to impossible to recalculate unitprice,
151
+ // because of differences in outcome between TAX settings: Unit, OrderLine and Total.
152
+ // Quantity will always be 1 and quantity ordered will be in the article description.
153
+ $productPrice = ($item->getBasePrice() * $item->getQtyOrdered())
154
+ + $item->getBaseTaxAmount()
155
+ + $item->getBaseHiddenTaxAmount();
156
+ $productPrice = round($productPrice,2);
157
+
158
+
159
+ $article['ArticleDescription']['value'] = (int) $item->getQtyOrdered() . 'x ' . $item->getName();
160
+ $article['ArticleQuantity']['value'] = 1;
161
+ $article['ArticleUnitPrice']['value'] = (string) $productPrice;
162
+
163
+ $group[] = $article;
164
+ }
165
+
166
+ $paymentFeeArray = $this->_getPaymentFeeLine();
167
+ if(false !== $paymentFeeArray && is_array($paymentFeeArray)){
168
+ $group[] = $paymentFeeArray;
169
+ }
170
+
171
+ $array['Articles'] = $group;
172
+
173
+ // fallback if the request is based on a quote
174
+ if ($this->_order instanceof Mage_Sales_Model_Quote) {
175
+ $quote = $this->_order;
176
+
177
+ // repair empty order ID
178
+ $vars['orderId'] = 'quote_' . $quote->getId();
179
+
180
+ // repair empty discount price
181
+ $discount = $quote->getBaseSubtotal() - $quote->getBaseSubtotalWithDiscount();
182
+ $array['Discount'] = (double) $discount;
183
+
184
+ // repair empty article prices
185
+ $products = $quote->getAllItems();
186
+ $groupId = 0;
187
+ foreach($products as $item)
188
+ {
189
+ if (empty($item) || $item->hasParentItemId()) {
190
+ continue;
191
+ }
192
+
193
+ $productPrice = ($item->getBasePrice() * $item->getQty()) + $item->getBaseTaxAmount() + $item->getBaseHiddenTaxAmount();
194
+
195
+ if($item->getProductType() == 'bundle') {
196
+ $productPrice = $quote->getSubtotal() + $item->getBaseTaxAmount() + $item->getBaseHiddenTaxAmount();
197
+ }
198
+
199
+ $array['Articles'][$groupId]['ArticleDescription']['value'] = (int) $item->getQty() . 'x ' . $item->getName();
200
+ $array['Articles'][$groupId]['ArticleUnitPrice']['value'] = (string) round($productPrice, 2);
201
+
202
+ $groupId++;
203
+ }
204
+ }
205
+
206
+ if (array_key_exists('customVars', $vars) && array_key_exists($this->_method, $vars['customVars']) && is_array($vars['customVars'][$this->_method])) {
207
+ $vars['customVars'][$this->_method] = array_merge($vars['customVars'][$this->_method], $array);
208
+ } else {
209
+ $vars['customVars'][$this->_method] = $array;
210
+ }
211
+
212
+ $request->setVars($vars);
213
+
214
+ return $this;
215
+ }
216
+
217
+ /**
218
+ * @return bool
219
+ */
220
+ protected function _getPaymentFeeLine()
221
+ {
222
+ $fee = (float) $this->_order->getBuckarooFee();
223
+ $feeTax = (float) $this->_order->getBuckarooFeeTax();
224
+ $feeTotal = (float) $fee+$feeTax;
225
+
226
+ if($fee > 0){
227
+ $article['ArticleDescription']['value'] = 'Servicekosten';
228
+ $article['ArticleQuantity']['value'] = 1;
229
+ $article['ArticleUnitPrice']['value'] = (string) round($feeTotal,2);
230
+ return $article;
231
+ }
232
+ return false;
233
+ }
234
+
235
+ /**
236
+ * @param Varien_Event_Observer $observer
237
+ *
238
+ * @return $this
239
+ */
240
+ public function buckaroo3extended_request_setmethod(Varien_Event_Observer $observer)
241
+ {
242
+ if($this->_isChosenMethod($observer) === false) {
243
+ return $this;
244
+ }
245
+
246
+ $request = $observer->getRequest();
247
+
248
+ $codeBits = explode('_', $this->_code);
249
+ $code = end($codeBits);
250
+ $request->setMethod($code);
251
+
252
+ return $this;
253
+ }
254
+
255
+
256
+ }
app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/MasterpassLightbox/PaymentMethod.php ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * ___________ __ __
4
+ * \__ ___/____ _/ |_ _____ | |
5
+ * | | / _ \\ __\\__ \ | |
6
+ * | | | |_| || | / __ \_| |__
7
+ * |____| \____/ |__| (____ /|____/
8
+ * \/
9
+ * ___ __ __
10
+ * | | ____ _/ |_ ____ _______ ____ ____ _/ |_
11
+ * | | / \\ __\_/ __ \\_ __ \ / \ _/ __ \\ __\
12
+ * | || | \| | \ ___/ | | \/| | \\ ___/ | |
13
+ * |___||___| /|__| \_____>|__| |___| / \_____>|__|
14
+ * \/ \/
15
+ * ________
16
+ * / _____/_______ ____ __ __ ______
17
+ * / \ ___\_ __ \ / _ \ | | \\____ \
18
+ * \ \_\ \| | \/| |_| || | /| |_| |
19
+ * \______ /|__| \____/ |____/ | __/
20
+ * \/ |__|
21
+ *
22
+ * NOTICE OF LICENSE
23
+ *
24
+ * This source file is subject to the Creative Commons License.
25
+ * It is available through the world-wide-web at this URL:
26
+ * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
27
+ * If you are unable to obtain it through the world-wide-web, please send an email
28
+ * to servicedesk@tig.nl so we can send you a copy immediately.
29
+ *
30
+ * DISCLAIMER
31
+ *
32
+ * Do not edit or add to this file if you wish to upgrade this module to newer
33
+ * versions in the future. If you wish to customize this module for your
34
+ * needs please contact servicedesk@tig.nl for more information.
35
+ *
36
+ * @copyright Copyright (c) 2015 Total Internet Group B.V. (http://www.tig.nl)
37
+ * @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
38
+ */
39
+ class TIG_Buckaroo3Extended_Model_PaymentMethods_MasterpassLightbox_PaymentMethod
40
+ extends TIG_Buckaroo3Extended_Model_PaymentMethods_PaymentMethod
41
+ {
42
+ /**
43
+ * @var array Allowed currencies
44
+ */
45
+ public $allowedCurrencies = array(
46
+ 'ARS',
47
+ 'AUD',
48
+ 'BRL',
49
+ 'CAD',
50
+ 'CHF',
51
+ 'CNY',
52
+ 'CZK',
53
+ 'DKK',
54
+ 'EUR',
55
+ 'GBP',
56
+ 'HRK',
57
+ 'ISK',
58
+ 'JPY',
59
+ 'LTL',
60
+ 'LVL',
61
+ 'MXN',
62
+ 'NOK',
63
+ 'NZD',
64
+ 'PLN',
65
+ 'RUB',
66
+ 'SEK',
67
+ 'TRY',
68
+ 'USD',
69
+ 'ZAR',
70
+ );
71
+
72
+ /**
73
+ * @var string Payment Code
74
+ */
75
+ protected $_code = 'buckaroo3extended_masterpass_lightbox';
76
+
77
+ protected $_canRefund = false;
78
+ protected $_canRefundInvoicePartial = false;
79
+
80
+ /**
81
+ * MasterPass lightbox is only available in the lightbox.
82
+ *
83
+ * @param null|Mage_Sales_Model_Quote $quote
84
+ *
85
+ * @return bool
86
+ */
87
+ public function isAvailable($quote = null)
88
+ {
89
+ if (!Mage::registry('masterpass_is_lightbox')) {
90
+ return false;
91
+ }
92
+
93
+ return parent::isAvailable($quote);
94
+ }
95
+ }
app/code/community/TIG/Buckaroo3Extended/Model/PaymentMethods/PaymentMethod.php CHANGED
@@ -206,7 +206,9 @@ class TIG_Buckaroo3Extended_Model_PaymentMethods_PaymentMethod extends Mage_Paym
206
  }
207
 
208
  // Check limit by ip
209
- if (mage::getStoreConfig('dev/restrict/allow_ips') && Mage::getStoreConfig('buckaroo/' . $this->_code . '/limit_by_ip')) {
 
 
210
  $allowedIp = explode(',', mage::getStoreConfig('dev/restrict/allow_ips'));
211
  if (!in_array(Mage::helper('core/http')->getRemoteAddr(), $allowedIp)) {
212
  return false;
@@ -221,7 +223,12 @@ class TIG_Buckaroo3Extended_Model_PaymentMethods_PaymentMethod extends Mage_Paym
221
  return false;
222
  }
223
 
224
- return TIG_Buckaroo3Extended_Model_Request_Availability::canUseBuckaroo($quote);
 
 
 
 
 
225
  }
226
 
227
  public function filterAccount($accountNumber)
206
  }
207
 
208
  // Check limit by ip
209
+ if (Mage::getStoreConfig('dev/restrict/allow_ips')
210
+ && Mage::getStoreConfig('buckaroo/' . $this->_code . '/limit_by_ip')
211
+ ) {
212
  $allowedIp = explode(',', mage::getStoreConfig('dev/restrict/allow_ips'));
213
  if (!in_array(Mage::helper('core/http')->getRemoteAddr(), $allowedIp)) {
214
  return false;
223
  return false;
224
  }
225
 
226
+ if(!TIG_Buckaroo3Extended_Model_Request_Availability::canUseBuckaroo($quote)){
227
+ return false;
228
+ }
229
+
230
+ return parent::isAvailable($quote);
231
+
232
  }
233
 
234
  public function filterAccount($accountNumber)
app/code/community/TIG/Buckaroo3Extended/Model/Request/Abstract.php CHANGED
@@ -3,6 +3,7 @@ class TIG_Buckaroo3Extended_Model_Request_Abstract extends TIG_Buckaroo3Extended
3
  {
4
  protected $_vars;
5
  protected $_method;
 
6
 
7
  public function getVars()
8
  {
@@ -28,41 +29,53 @@ class TIG_Buckaroo3Extended_Model_Request_Abstract extends TIG_Buckaroo3Extended
28
  return $this;
29
  }
30
 
31
- public function __construct() {
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  parent::__construct();
33
 
34
  $this->setVars(array());
 
 
 
35
  }
36
 
37
  public function sendRequest()
38
  {
39
  try {
40
- $this->_sendRequest();
41
  } catch (Exception $e) {
42
-
43
- $responseModelClass = Mage::helper('buckaroo3extended')->isAdmin() ? 'buckaroo3extended/response_backendOrder' : 'buckaroo3extended/response_abstract';
44
-
45
  Mage::helper('buckaroo3extended')->logException($e);
46
- $responseModel = Mage::getModel(
47
- $responseModelClass,
48
- array(
49
- 'response' => false,
50
- 'XML' => false,
51
- 'debugEmail' => $this->_debugEmail
52
- )
53
- );
54
- $responseModel->setOrder($this->_order)
55
  ->processResponse();
56
  }
57
  }
58
 
59
  protected function _sendRequest()
60
  {
61
- $responseModelClass = Mage::helper('buckaroo3extended')->isAdmin() ? 'buckaroo3extended/response_backendOrder' : 'buckaroo3extended/response_abstract';
62
-
63
  if (empty($this->_order)) {
64
  $this->_debugEmail .= "No order was set! :( \n";
65
- Mage::getModel($responseModelClass, array('response' => false, 'XML' => false, 'debugEmail' => $this->_debugEmail))->processResponse();
 
 
 
 
66
  }
67
 
68
  if($this->_order->hasTransactionKey()){
@@ -86,19 +99,16 @@ class TIG_Buckaroo3Extended_Model_Request_Abstract extends TIG_Buckaroo3Extended
86
  //if no method has been set (no payment method could identify the chosen method) process the order as if it had failed
87
  if (empty($this->_method)) {
88
  $this->_debugEmail .= "No method was set! :( \n";
89
- $responseModel = Mage::getModel(
90
- $responseModelClass,
91
- array(
92
- 'response' => false,
93
- 'XML' => false,
94
- 'debugEmail' => $this->_debugEmail
95
- )
96
- );
97
  if (!$responseModel->getOrder()) {
98
  $responseModel->setOrder($this->_order);
99
  }
100
 
101
- $responseModel->processResponse();
102
  }
103
 
104
  //hack to prevent SQL errors when using onestepcheckout
@@ -148,19 +158,16 @@ class TIG_Buckaroo3Extended_Model_Request_Abstract extends TIG_Buckaroo3Extended
148
  $this->_debugEmail .= "Processing response... \n";
149
 
150
  //process the response
151
- $responseModel = Mage::getModel(
152
- $responseModelClass,
153
- array(
154
- 'response' => $response,
155
- 'XML' => $responseXML,
156
- 'debugEmail' => $this->_debugEmail,
157
- )
158
- );
159
 
160
  if (!$responseModel->getOrder()) {
161
  $responseModel->setOrder($this->_order);
162
  }
163
- $responseModel->processResponse();
164
  }
165
 
166
  protected function _addServices()
@@ -237,6 +244,17 @@ class TIG_Buckaroo3Extended_Model_Request_Abstract extends TIG_Buckaroo3Extended
237
  {
238
  list($currency, $totalAmount) = $this->_determineAmountAndCurrency();
239
 
 
 
 
 
 
 
 
 
 
 
 
240
  $this->_vars['currency'] = $currency;
241
  $this->_vars['amountCredit'] = 0;
242
  $this->_vars['amountDebit'] = $totalAmount;
3
  {
4
  protected $_vars;
5
  protected $_method;
6
+ protected $_responseModelClass;
7
 
8
  public function getVars()
9
  {
29
  return $this;
30
  }
31
 
32
+ public function getResponseModelClass()
33
+ {
34
+ return $this->_responseModelClass;
35
+ }
36
+
37
+ public function setResponseModelClass($class = '')
38
+ {
39
+ $this->_responseModelClass = $class;
40
+
41
+ return $this;
42
+ }
43
+
44
+ public function __construct()
45
+ {
46
  parent::__construct();
47
 
48
  $this->setVars(array());
49
+
50
+ $responseModelClass = Mage::helper('buckaroo3extended')->isAdmin() ? 'buckaroo3extended/response_backendOrder' : 'buckaroo3extended/response_abstract';
51
+ $this->setResponseModelClass($responseModelClass);
52
  }
53
 
54
  public function sendRequest()
55
  {
56
  try {
57
+ return $this->_sendRequest();
58
  } catch (Exception $e) {
 
 
 
59
  Mage::helper('buckaroo3extended')->logException($e);
60
+ $responseModel = Mage::getModel($this->_responseModelClass, array(
61
+ 'response' => false,
62
+ 'XML' => false,
63
+ 'debugEmail' => $this->_debugEmail,
64
+ ));
65
+ return $responseModel->setOrder($this->_order)
 
 
 
66
  ->processResponse();
67
  }
68
  }
69
 
70
  protected function _sendRequest()
71
  {
 
 
72
  if (empty($this->_order)) {
73
  $this->_debugEmail .= "No order was set! :( \n";
74
+ return Mage::getModel($this->_responseModelClass, array(
75
+ 'response' => false,
76
+ 'XML' => false,
77
+ 'debugEmail' => $this->_debugEmail,
78
+ ))->processResponse();
79
  }
80
 
81
  if($this->_order->hasTransactionKey()){
99
  //if no method has been set (no payment method could identify the chosen method) process the order as if it had failed
100
  if (empty($this->_method)) {
101
  $this->_debugEmail .= "No method was set! :( \n";
102
+ $responseModel = Mage::getModel($this->_responseModelClass, array(
103
+ 'response' => false,
104
+ 'XML' => false,
105
+ 'debugEmail' => $this->_debugEmail,
106
+ ));
 
 
 
107
  if (!$responseModel->getOrder()) {
108
  $responseModel->setOrder($this->_order);
109
  }
110
 
111
+ return $responseModel->processResponse();
112
  }
113
 
114
  //hack to prevent SQL errors when using onestepcheckout
158
  $this->_debugEmail .= "Processing response... \n";
159
 
160
  //process the response
161
+ $responseModel = Mage::getModel($this->_responseModelClass, array(
162
+ 'response' => $response,
163
+ 'XML' => $responseXML,
164
+ 'debugEmail' => $this->_debugEmail,
165
+ ));
 
 
 
166
 
167
  if (!$responseModel->getOrder()) {
168
  $responseModel->setOrder($this->_order);
169
  }
170
+ return $responseModel->processResponse();
171
  }
172
 
173
  protected function _addServices()
244
  {
245
  list($currency, $totalAmount) = $this->_determineAmountAndCurrency();
246
 
247
+ // If we have a quote instead of an order, we need to look elsewhere for the total
248
+ if ($this->_order instanceof Mage_Sales_Model_Quote) {
249
+ $correctAmount = $this->_order->getShippingAddress()->getBaseGrandTotal();
250
+ if ($correctAmount == 0) {
251
+ $correctAmount = $this->_order->getBillingAddress()->getBaseGrandTotal();
252
+ }
253
+ if ($correctAmount > 0) {
254
+ $totalAmount = $correctAmount;
255
+ }
256
+ }
257
+
258
  $this->_vars['currency'] = $currency;
259
  $this->_vars['amountCredit'] = 0;
260
  $this->_vars['amountDebit'] = $totalAmount;
app/code/community/TIG/Buckaroo3Extended/Model/Request/Quote.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class TIG_Buckaroo3Extended_Model_Request_Quote extends TIG_Buckaroo3Extended_Model_Request_Abstract
3
+ {
4
+ /**
5
+ * @param array $params
6
+ */
7
+ public function __construct($params = array())
8
+ {
9
+ $quote = isset($params['quote']) ? $params['quote'] : null;
10
+
11
+ if ($quote instanceof Mage_Sales_Model_Quote) {
12
+ // use quote as order
13
+ $this->setOrder($quote);
14
+ $this->setMethod($quote->getPayment()->getMethodCode());
15
+ }
16
+
17
+ parent::__construct();
18
+
19
+ // make the response use quote as order
20
+ $this->setResponseModelClass('buckaroo3extended/response_quote');
21
+ }
22
+
23
+ /**
24
+ * Overload the request function to avoid order transaction key calls on the quote
25
+ */
26
+ protected function _sendRequest()
27
+ {
28
+ Mage::dispatchEvent('buckaroo3extended_request_setmethod', array('request' => $this, 'order' => $this->_order));
29
+
30
+ $this->_debugEmail .= 'Chosen payment method: ' . $this->_method . "\n";
31
+
32
+ $this->_debugEmail .= "\n";
33
+ //forms an array with all payment-independant variables (such as merchantkey, order id etc.) which are required for the transaction request
34
+ $this->_addBaseVariables();
35
+ $this->_addOrderVariables();
36
+ $this->_addShopVariables();
37
+ $this->_addSoftwareVariables();
38
+
39
+ $this->_debugEmail .= "Firing request events. \n";
40
+ //event that allows individual payment methods to add additional variables such as bankaccount number
41
+ Mage::dispatchEvent('buckaroo3extended_request_addservices', array('request' => $this, 'order' => $this->_order));
42
+ Mage::dispatchEvent('buckaroo3extended_request_addcustomvars', array('request' => $this, 'order' => $this->_order));
43
+ Mage::dispatchEvent('buckaroo3extended_request_addcustomparameters', array('request' => $this, 'order' => $this->_order));
44
+
45
+ $this->_debugEmail .= "Events fired! \n";
46
+
47
+ //clean the array for a soap request
48
+ $this->setVars($this->_cleanArrayForSoap($this->getVars()));
49
+
50
+ $this->_debugEmail .= "Variable array:" . var_export($this->_vars, true) . "\n\n";
51
+ $this->_debugEmail .= "Building SOAP request... \n";
52
+
53
+ //send the transaction request using SOAP
54
+ $soap = Mage::getModel('buckaroo3extended/soap', array('vars' => $this->getVars(), 'method' => $this->getMethod()));
55
+ list($response, $responseXML, $requestXML) = $soap->transactionRequest();
56
+
57
+ $this->_debugEmail .= "The SOAP request has been sent. \n";
58
+
59
+ if (!is_object($requestXML) || !is_object($responseXML)) {
60
+ $this->_debugEmail .= "Request or response was not an object \n";
61
+ } else {
62
+ $this->_debugEmail .= "Request: " . var_export($requestXML->saveXML(), true) . "\n";
63
+ $this->_debugEmail .= "Response: " . var_export($response, true) . "\n";
64
+ $this->_debugEmail .= "Response XML:" . var_export($responseXML->saveXML(), true) . "\n\n";
65
+ }
66
+
67
+ $this->_debugEmail .= "Processing response... \n";
68
+
69
+ //process the response
70
+ $responseModel = Mage::getModel($this->_responseModelClass, array(
71
+ 'response' => $response,
72
+ 'XML' => $responseXML,
73
+ 'debugEmail' => $this->_debugEmail,
74
+ ));
75
+
76
+ if (!$responseModel->getOrder()) {
77
+ $responseModel->setOrder($this->_order);
78
+ }
79
+ return $responseModel->processResponse();
80
+ }
81
+
82
+ /**
83
+ * Overload the cleanup function to convert self into an InitializeCheckout request
84
+ *
85
+ * @param array $array
86
+ * @return array $cleanArray
87
+ */
88
+ public function _cleanArrayForSoap($array)
89
+ {
90
+ // prepare InitializeCheckout request vars
91
+ $array['customVars']['masterpass']['LightboxRequest'] = 'true';
92
+ $array['customVars']['masterpass']['InitializeUrl'] = Mage::app()->getStore()->getCurrentUrl(false);
93
+ $array['services']['masterpass']['action'] = 'InitializeCheckout';
94
+
95
+ return parent::_cleanArrayForSoap($array);
96
+ }
97
+
98
+ /**
99
+ * Determines the totalamount of the order and the currency to be used based on which currencies are available
100
+ * and which currency the customer has selected.
101
+ *
102
+ * Will default to base currency if the selected currency is unavailable.
103
+ *
104
+ * @return array
105
+ */
106
+ protected function _determineAmountAndCurrency()
107
+ {
108
+ $currenciesAllowed = array('EUR');
109
+
110
+ $currentCurrency = Mage::app()->getStore()->getCurrentCurrencyCode();
111
+
112
+ if ($this->_order->getIsVirtual()) {
113
+ $address = $this->_order->getBillingAddress();
114
+ } else {
115
+ $address = $this->_order->getShippingAddress();
116
+ }
117
+
118
+ // currency is not available for this module
119
+ if (in_array($currentCurrency, $currenciesAllowed)) {
120
+ $currency = $currentCurrency;
121
+ $totalAmount = $address->getSubtotal()
122
+ + $address->getTaxAmount()
123
+ - $address->getDiscountAmount();
124
+ } else {
125
+ $totalAmount = $address->getBaseSubtotal()
126
+ + $address->getBaseTaxAmount()
127
+ - $address->getBaseDiscountAmount();
128
+ $currency = $this->_order->getBaseCurrency()->getCode();
129
+ }
130
+
131
+ return array($currency, $totalAmount);
132
+ }
133
+ }
app/code/community/TIG/Buckaroo3Extended/Model/Request/QuoteFinal.php ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class TIG_Buckaroo3Extended_Model_Request_QuoteFinal extends TIG_Buckaroo3Extended_Model_Request_Abstract
3
+ {
4
+ /**
5
+ * Overload the request function to avoid order transaction key calls on the quote
6
+ */
7
+ protected function _sendRequest()
8
+ {
9
+ Mage::dispatchEvent('buckaroo3extended_request_setmethod', array('request' => $this, 'order' => $this->_order));
10
+
11
+ $this->_debugEmail .= 'Chosen payment method: ' . $this->_method . "\n";
12
+
13
+ $this->_debugEmail .= "\n";
14
+ //forms an array with all payment-independant variables (such as merchantkey, order id etc.) which are required for the transaction request
15
+ $this->_addBaseVariables();
16
+ $this->_addOrderVariables();
17
+ $this->_addShopVariables();
18
+ $this->_addSoftwareVariables();
19
+
20
+ $this->_debugEmail .= "Firing request events. \n";
21
+ //event that allows individual payment methods to add additional variables such as bankaccount number
22
+ Mage::dispatchEvent('buckaroo3extended_request_addservices', array('request' => $this, 'order' => $this->_order));
23
+
24
+ /**
25
+ * This needs to be added after the events, as it will overwrite the service action.
26
+ */
27
+ $this->_addQuoteFinalVariables();
28
+ $this->_debugEmail .= "Events fired! \n";
29
+
30
+ //clean the array for a soap request
31
+ $this->setVars($this->_cleanArrayForSoap($this->getVars()));
32
+
33
+ $this->_debugEmail .= "Variable array:" . var_export($this->_vars, true) . "\n\n";
34
+ $this->_debugEmail .= "Building SOAP request... \n";
35
+
36
+ //send the transaction request using SOAP
37
+ $soap = Mage::getModel('buckaroo3extended/soap', array('vars' => $this->getVars(), 'method' => $this->getMethod()));
38
+ list($response, $responseXML, $requestXML) = $soap->transactionRequest();
39
+
40
+ //and reload the order
41
+ $this->_order = Mage::getModel('sales/order')->load($this->_order->getId());
42
+
43
+ $this->_order->setTransactionKey(Mage::getSingleton('checkout/session')->getBuckarooMasterPassTrx())->save();
44
+
45
+ $this->_debugEmail .= "The SOAP request has been sent. \n";
46
+
47
+ if (!is_object($requestXML) || !is_object($responseXML)) {
48
+ $this->_debugEmail .= "Request or response was not an object \n";
49
+ } else {
50
+ $this->_debugEmail .= "Request: " . var_export($requestXML->saveXML(), true) . "\n";
51
+ $this->_debugEmail .= "Response: " . var_export($response, true) . "\n";
52
+ $this->_debugEmail .= "Response XML:" . var_export($responseXML->saveXML(), true) . "\n\n";
53
+ }
54
+
55
+ $this->_debugEmail .= "Processing response... \n";
56
+
57
+ //process the response
58
+ $responseModel = Mage::getModel($this->_responseModelClass, array(
59
+ 'response' => $response,
60
+ 'XML' => $responseXML,
61
+ 'debugEmail' => $this->_debugEmail,
62
+ ));
63
+
64
+ if (!$responseModel->getOrder()) {
65
+ $responseModel->setOrder($this->_order);
66
+ }
67
+ return $responseModel->processResponse();
68
+ }
69
+
70
+ /**
71
+ * Add specific variables for the quote finalization.
72
+ */
73
+ protected function _addQuoteFinalVariables()
74
+ {
75
+ $this->_vars['services']['masterpass']['action'] = 'FinalizeCheckout';
76
+
77
+ $originalTrx = Mage::getSingleton('checkout/session')->getBuckarooMasterPassTrx();
78
+ $this->_vars['OriginalTransactionKey'] = $originalTrx;
79
+ $this->_vars['request_type'] = 'DataRequest';
80
+ }
81
+
82
+ protected function _addOrderVariables()
83
+ {
84
+ list($currency, $totalAmount) = $this->_determineAmountAndCurrency();
85
+
86
+ $this->_vars['currency'] = $currency;
87
+ $this->_vars['amount'] = $totalAmount;
88
+
89
+ $this->_debugEmail .= "Order variables added! \n";
90
+ }
91
+ }
app/code/community/TIG/Buckaroo3Extended/Model/Response/Abstract.php CHANGED
@@ -68,15 +68,15 @@ class TIG_Buckaroo3Extended_Model_Response_Abstract extends TIG_Buckaroo3Extende
68
  {
69
  if ($this->_response === false) {
70
  $this->_debugEmail .= "An error occurred in building or sending the SOAP request.. \n";
71
- $this->_error();
72
  }
73
 
74
  $this->_debugEmail .= "verifiying authenticity of the response... \n";
75
  $verified = $this->_verifyResponse();
76
 
77
  if ($verified !== true) {
78
- $this->_debugEmail .= "The authenticity of the responw could NOT be verified. \n";
79
- $this->_verifyError();
80
  }
81
  $this->_debugEmail .= "Verified as authentic! \n\n";
82
 
@@ -112,7 +112,7 @@ class TIG_Buckaroo3Extended_Model_Response_Abstract extends TIG_Buckaroo3Extende
112
  && $requiredAction == 'Redirect')
113
  {
114
  $this->_debugEmail .= "Redirecting customer... \n";
115
- $this->_redirectUser();
116
  }
117
 
118
  $this->_debugEmail .= "Parsed response: " . var_export($parsedResponse, true) . "\n";
@@ -128,27 +128,20 @@ class TIG_Buckaroo3Extended_Model_Response_Abstract extends TIG_Buckaroo3Extende
128
  )
129
  );
130
 
131
- $this->_requiredAction($parsedResponse);
132
  }
133
 
134
  protected function _requiredAction($response)
135
  {
136
  switch ($response['status']) {
137
- case self::BUCKAROO_SUCCESS: $this->_success();
138
- break;
139
- case self::BUCKAROO_FAILED: $this->_failed();
140
- break;
141
- case self::BUCKAROO_ERROR: $this->_error();
142
- break;
143
- case self::BUCKAROO_NEUTRAL: $this->_neutral();
144
- break;
145
- case self::BUCKAROO_PENDING_PAYMENT: $this->_pendingPayment();
146
- break;
147
- case self::BUCKAROO_INCORRECT_PAYMENT: $this->_incorrectPayment();
148
- break;
149
- case self::BUCKAROO_REJECTED: $this->_rejected();
150
- break;
151
- default: $this->_neutral();
152
  }
153
  }
154
 
68
  {
69
  if ($this->_response === false) {
70
  $this->_debugEmail .= "An error occurred in building or sending the SOAP request.. \n";
71
+ return $this->_error();
72
  }
73
 
74
  $this->_debugEmail .= "verifiying authenticity of the response... \n";
75
  $verified = $this->_verifyResponse();
76
 
77
  if ($verified !== true) {
78
+ $this->_debugEmail .= "The authenticity of the response could NOT be verified. \n";
79
+ return $this->_verifyError();
80
  }
81
  $this->_debugEmail .= "Verified as authentic! \n\n";
82
 
112
  && $requiredAction == 'Redirect')
113
  {
114
  $this->_debugEmail .= "Redirecting customer... \n";
115
+ return $this->_redirectUser();
116
  }
117
 
118
  $this->_debugEmail .= "Parsed response: " . var_export($parsedResponse, true) . "\n";
128
  )
129
  );
130
 
131
+ return $this->_requiredAction($parsedResponse);
132
  }
133
 
134
  protected function _requiredAction($response)
135
  {
136
  switch ($response['status']) {
137
+ case self::BUCKAROO_SUCCESS: return $this->_success();
138
+ case self::BUCKAROO_FAILED: return $this->_failed();
139
+ case self::BUCKAROO_ERROR: return $this->_error();
140
+ case self::BUCKAROO_NEUTRAL: return $this->_neutral();
141
+ case self::BUCKAROO_PENDING_PAYMENT: return $this->_pendingPayment();
142
+ case self::BUCKAROO_INCORRECT_PAYMENT: return $this->_incorrectPayment();
143
+ case self::BUCKAROO_REJECTED: return $this->_rejected();
144
+ default: return $this->_neutral();
 
 
 
 
 
 
 
145
  }
146
  }
147
 
app/code/community/TIG/Buckaroo3Extended/Model/Response/MasterPass.php ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * ___________ __ __
4
+ * \__ ___/____ _/ |_ _____ | |
5
+ * | | / _ \\ __\\__ \ | |
6
+ * | | | |_| || | / __ \_| |__
7
+ * |____| \____/ |__| (____ /|____/
8
+ * \/
9
+ * ___ __ __
10
+ * | | ____ _/ |_ ____ _______ ____ ____ _/ |_
11
+ * | | / \\ __\_/ __ \\_ __ \ / \ _/ __ \\ __\
12
+ * | || | \| | \ ___/ | | \/| | \\ ___/ | |
13
+ * |___||___| /|__| \_____>|__| |___| / \_____>|__|
14
+ * \/ \/
15
+ * ________
16
+ * / _____/_______ ____ __ __ ______
17
+ * / \ ___\_ __ \ / _ \ | | \\____ \
18
+ * \ \_\ \| | \/| |_| || | /| |_| |
19
+ * \______ /|__| \____/ |____/ | __/
20
+ * \/ |__|
21
+ *
22
+ * NOTICE OF LICENSE
23
+ *
24
+ * This source file is subject to the Creative Commons License.
25
+ * It is available through the world-wide-web at this URL:
26
+ * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
27
+ * If you are unable to obtain it through the world-wide-web, please send an email
28
+ * to servicedesk@tig.nl so we can send you a copy immediately.
29
+ *
30
+ * DISCLAIMER
31
+ *
32
+ * Do not edit or add to this file if you wish to upgrade this module to newer
33
+ * versions in the future. If you wish to customize this module for your
34
+ * needs please contact servicedesk@tig.nl for more information.
35
+ *
36
+ * @copyright Copyright (c) 2015 Total Internet Group B.V. (http://www.tig.nl)
37
+ * @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
38
+ */
39
+ class TIG_Buckaroo3Extended_Model_Response_MasterPass extends TIG_Buckaroo3Extended_Model_Response_Return
40
+ {
41
+ /**
42
+ * @return bool
43
+ */
44
+ public function processReturn()
45
+ {
46
+ //check if the push is valid
47
+ $canProcess = $this->_canProcessPush();
48
+
49
+ $this->_debugEmail .= "can the order be processed? " . $canProcess . "\n";
50
+
51
+ if (!$canProcess) {
52
+ $this->_verifyError();
53
+ }
54
+
55
+ $masterPassData = $this->_processMasterPass($this->_postArray);
56
+
57
+ /** return object to get data from observer */
58
+ $return = new Varien_Object();
59
+ Mage::dispatchEvent('masterpass_generate_summary_url', array('return' => $return, 'masterpass_data' => $masterPassData));
60
+
61
+ if (!$return->getPath()) {
62
+ Mage::throwException(
63
+ Mage::helper('buckaroo3extended')->__('No MasterPass summary url available')
64
+ );
65
+ }
66
+
67
+ $masterPassUrlData['path'] = $return->getPath();
68
+
69
+ return $masterPassUrlData;
70
+ }
71
+
72
+ /**
73
+ * @param $postData
74
+ *
75
+ * @return array
76
+ */
77
+ protected function _processMasterPass($postData)
78
+ {
79
+ $masterPassData = array(
80
+ 'order' => array(
81
+ 'quote_id' => str_replace('quote_', '', $postData['brq_invoicenumber']),
82
+ 'addresses' => array(
83
+ 'billing' => array(
84
+ 'firstname' => urldecode($postData['brq_SERVICE_masterpass_CustomerFirstName']),
85
+ 'lastname' => urldecode($postData['brq_SERVICE_masterpass_CustomerLastName']),
86
+ 'city' => urldecode($postData['brq_SERVICE_masterpass_BillingCity']),
87
+ 'country_id' => urldecode($postData['brq_SERVICE_masterpass_BillingCountry']),
88
+ 'street' => urldecode($postData['brq_SERVICE_masterpass_BillingLine1']),
89
+ 'postcode' => urldecode($postData['brq_SERVICE_masterpass_BillingPostalCode']),
90
+ 'region' => urldecode($postData['brq_SERVICE_masterpass_BillingCountrySubdivision']),
91
+ 'telephone' => urldecode($postData['brq_SERVICE_masterpass_BillingRecipientPhoneNumber']),
92
+ ),
93
+ 'shipping' => array(
94
+ 'firstname' => urldecode($postData['brq_SERVICE_masterpass_CustomerFirstName']),
95
+ 'lastname' => urldecode($postData['brq_SERVICE_masterpass_CustomerLastName']),
96
+ 'city' => urldecode($postData['brq_SERVICE_masterpass_ShippingCity']),
97
+ 'country_id' => urldecode($postData['brq_SERVICE_masterpass_ShippingCountry']),
98
+ 'street' => urldecode($postData['brq_SERVICE_masterpass_ShippingLine1']),
99
+ 'postcode' => urldecode($postData['brq_SERVICE_masterpass_ShippingPostalCode']),
100
+ 'region' => urldecode($postData['brq_SERVICE_masterpass_ShippingCountrySubdivision']),
101
+ 'telephone' => urldecode($postData['brq_SERVICE_masterpass_ShippingRecipientPhoneNumber']),
102
+ ),
103
+ ),
104
+ ),
105
+ 'transaction' => array(
106
+ 'merchant_checkout_id' => urldecode($postData['brq_SERVICE_masterpass_MerchantCheckoutId']),
107
+ 'request_token' => urldecode($postData['brq_SERVICE_masterpass_RequestToken']),
108
+ ),
109
+ 'customer' => array(
110
+ 'firstname' => urldecode($postData['brq_SERVICE_masterpass_CustomerFirstName']),
111
+ 'fullname' => urldecode($postData['brq_SERVICE_masterpass_CustomerFullName']),
112
+ 'lastname' => urldecode($postData['brq_SERVICE_masterpass_CustomerLastName']),
113
+ 'email' => urldecode($postData['brq_SERVICE_masterpass_customeremail']),
114
+ ),
115
+ 'creditcard' => array(
116
+ 'card_holder_name' => urldecode($postData['brq_SERVICE_masterpass_CardHolderName']),
117
+ 'card_number_ending' => urldecode($postData['brq_SERVICE_masterpass_CardNumberEnding']),
118
+ ),
119
+ );
120
+
121
+ // Check phone numbers for at least a value
122
+ if (empty($masterPassData['order']['addresses']['billing']['telephone'])) {
123
+ $masterPassData['order']['addresses']['billing']['telephone'] = '-';
124
+ }
125
+ if (empty($masterPassData['order']['addresses']['shipping']['telephone'])) {
126
+ $masterPassData['order']['addresses']['shipping']['telephone'] = '-';
127
+ }
128
+ return $masterPassData;
129
+ }
130
+
131
+ /**
132
+ * Determines the signature using array sorting and the SHA1 hash algorithm
133
+ *
134
+ * @return string $signature
135
+ */
136
+ protected function _calculateSignature()
137
+ {
138
+ if (isset($this->_postArray['isOldPost']) && $this->_postArray['isOldPost'])
139
+ {
140
+ return $this->_calculateOldSignature();
141
+ }
142
+
143
+ $origArray = $this->_postArray;
144
+ unset($origArray['brq_signature']);
145
+
146
+ //sort the array
147
+ $sortableArray = $this->buckarooSort($origArray);
148
+
149
+ //turn into string and add the secret key to the end
150
+ $signatureString = '';
151
+ foreach($sortableArray as $key => $value) {
152
+ if ('brq_SERVICE_masterpass_CustomerPhoneNumber' !== $key
153
+ && 'brq_SERVICE_masterpass_ShippingRecipientPhoneNumber' !== $key
154
+ ) {
155
+ $value = urldecode($value);
156
+ }
157
+ $signatureString .= $key . '=' . $value;
158
+ }
159
+ $signatureString .= Mage::getStoreConfig('buckaroo/buckaroo3extended/digital_signature', Mage::app()->getStore()->getId());
160
+
161
+ $this->_debugEmail .= "\nSignaturestring: {$signatureString}\n";
162
+
163
+ //return the SHA1 encoded string for comparison
164
+ $signature = SHA1($signatureString);
165
+
166
+ $this->_debugEmail .= "\nSignature: {$signature}\n";
167
+
168
+ return $signature;
169
+ }
170
+
171
+
172
+ /**
173
+ * Checks if the post received is valid by checking its signature field.
174
+ * This field is unique for every payment and every store.
175
+ *
176
+ * @param array $response
177
+ * @return array
178
+ */
179
+ protected function _canProcessPush($isReturn = false, $response = array())
180
+ {
181
+ $correctSignature = false;
182
+ $signature = $this->_calculateSignature();
183
+ if ($signature === $this->_postArray['brq_signature']) {
184
+ $correctSignature = true;
185
+ }
186
+
187
+ return $correctSignature;
188
+ }
189
+
190
+ protected function _verifyError()
191
+ {
192
+ $this->_debugEmail .= "The transaction's authenticity was not verified. \n";
193
+ Mage::getSingleton('core/session')->addNotice(
194
+ Mage::helper('buckaroo3extended')->__('We are currently unable to retrieve the status of your transaction. If you do not recieve an e-mail regarding your order within 30 minutes, please contact the shop owner.')
195
+ );
196
+
197
+ $returnLocation = Mage::getStoreConfig('buckaroo/buckaroo3extended_advanced/failure_redirect', Mage::app()->getStore()->getId());
198
+ $returnUrl = Mage::getUrl($returnLocation, array('_secure' => true));
199
+
200
+ $this->_debugEmail .= 'Redirecting user to...' . $returnUrl . "\n";
201
+
202
+ $this->sendDebugEmail();
203
+ header('Location:' . $returnUrl);
204
+ exit;
205
+ }
206
+ }
app/code/community/TIG/Buckaroo3Extended/Model/Response/Push.php CHANGED
@@ -54,10 +54,18 @@ class TIG_Buckaroo3Extended_Model_Response_Push extends TIG_Buckaroo3Extended_Mo
54
 
55
  public function __construct($data = array())
56
  {
57
- $this->setCurrentOrder($data['order']);
58
- $this->setPostArray($data['postArray']);
59
- $this->setDebugEmail($data['debugEmail']);
60
- $this->setMethod($data['method']);
 
 
 
 
 
 
 
 
61
  }
62
 
63
  /**
@@ -619,4 +627,43 @@ class TIG_Buckaroo3Extended_Model_Response_Push extends TIG_Buckaroo3Extended_Mo
619
 
620
  return $signature2;
621
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
622
  }
54
 
55
  public function __construct($data = array())
56
  {
57
+ if (!empty($data['order'])) {
58
+ $this->setCurrentOrder($data['order']);
59
+ }
60
+ if (!empty($data['postArray'])) {
61
+ $this->setPostArray($data['postArray']);
62
+ }
63
+ if (!empty($data['debugEmail'])) {
64
+ $this->setDebugEmail($data['debugEmail']);
65
+ }
66
+ if (!empty($data['method'])) {
67
+ $this->setMethod($data['method']);
68
+ }
69
  }
70
 
71
  /**
627
 
628
  return $signature2;
629
  }
630
+
631
+ /**
632
+ * Checks if the correct amount has been paid.
633
+ */
634
+ protected function _checkCorrectAmount()
635
+ {
636
+ /**
637
+ * TEMPORARY DIRTY FIX -- REMOVE BEFORE RELEASE
638
+ * @todo remove this code
639
+ */
640
+ return true;
641
+
642
+ $amountPaid = $this->_postArray['brq_amount'];
643
+
644
+ $this->_debugEmail .= 'Currency used is '
645
+ . $this->_postArray['brq_currency']
646
+ . '. Order currency is '
647
+ . $this->_order->getOrderCurrencyCode()
648
+ . ".\n";
649
+
650
+ if ($this->_postArray['brq_currency'] == $this->_order->getOrderCurrencyCode()) {
651
+ $this->_debugEmail .= "Currency used is same as order currency \n";
652
+ $amountOrdered = $this->_order->getGrandTotal();
653
+ } else {
654
+ $this->_debugEmail .= "Currency used is different from order currency \n";
655
+ $amountOrdered = $this->_order->getBaseGrandTotal();
656
+ }
657
+
658
+ $this->_debugEmail .= "Amount paid: {$amountPaid}. Amount ordered: {$amountOrdered} \n";
659
+
660
+ if (($amountPaid - $amountOrdered) > 0.01 || ($amountPaid - $amountOrdered) < -0.01) {
661
+ return array(
662
+ 'message' => 'Incorrect amount transfered',
663
+ 'status' => self::BUCKAROO_INCORRECT_PAYMENT,
664
+ );
665
+ } else {
666
+ return true;
667
+ }
668
+ }
669
  }
app/code/community/TIG/Buckaroo3Extended/Model/Response/Quote.php ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class TIG_Buckaroo3Extended_Model_Response_Quote extends TIG_Buckaroo3Extended_Model_Response_Abstract
3
+ {
4
+ public function __construct($data)
5
+ {
6
+ // get quote from session
7
+ $session = Mage::getSingleton('checkout/session');
8
+ $quote = $session->getQuote();
9
+
10
+ // use quote as order
11
+ $this->setOrder($quote);
12
+ $this->setMethod($quote->getPayment()->getMethodCode());
13
+
14
+ parent::__construct($data);
15
+ }
16
+
17
+ public function processResponse()
18
+ {
19
+ if ($this->_response === false) {
20
+ $this->_debugEmail .= "An error occurred in building or sending the SOAP request.. \n";
21
+ return $this->_error();
22
+ }
23
+
24
+ $this->_debugEmail .= "verifiying authenticity of the response... \n";
25
+ $verified = $this->_verifyResponse();
26
+
27
+ if ($verified !== true) {
28
+ $this->_debugEmail .= "The authenticity of the response could NOT be verified. \n";
29
+ return $this->_verifyError();
30
+ }
31
+ $this->_debugEmail .= "Verified as authentic! \n\n";
32
+
33
+ if (isset($this->_response->Key))
34
+ {
35
+ Mage::getSingleton('checkout/session')->setBuckarooMasterPassTrx($this->_response->Key);
36
+ $this->_debugEmail .= 'Transaction key saved in session: ' . $this->_response->Key . "\n";
37
+ }
38
+
39
+ //sets the currency used by Buckaroo
40
+ if (!$this->_order->getCurrencyCodeUsedForTransaction()
41
+ && is_object($this->_response)
42
+ && isset($this->_response->Currency))
43
+ {
44
+ $this->_order->setCurrencyCodeUsedForTransaction($this->_response->Currency);
45
+ $this->_order->save();
46
+ }
47
+
48
+ if (is_object($this->_response) && isset($this->_response->RequiredAction)) {
49
+ $requiredAction = $this->_response->RequiredAction->Type;
50
+ } else {
51
+ $requiredAction = false;
52
+ }
53
+
54
+ $parsedResponse = $this->_parseResponse();
55
+ $this->_addSubCodeComment($parsedResponse);
56
+
57
+ if (!is_null($requiredAction)
58
+ && $requiredAction !== false
59
+ && $requiredAction == 'Redirect')
60
+ {
61
+ $this->_debugEmail .= "Redirecting customer... \n";
62
+ return $this->_redirectUser();
63
+ }
64
+
65
+ $this->_debugEmail .= "Parsed response: " . var_export($parsedResponse, true) . "\n";
66
+
67
+ $this->_debugEmail .= "Dispatching custom order processing event... \n";
68
+ Mage::dispatchEvent(
69
+ 'buckaroo3extended_response_custom_processing',
70
+ array(
71
+ 'model' => $this,
72
+ 'order' => $this->getOrder(),
73
+ 'response' => $parsedResponse,
74
+ 'responseobject' => $this->_response,
75
+ )
76
+ );
77
+
78
+ return $this->_requiredAction($parsedResponse);
79
+ }
80
+
81
+ protected function _success()
82
+ {
83
+ $this->sendDebugEmail();
84
+
85
+ // this will never happen, since we are working with a quote
86
+ Mage::throwException('An error occurred while processing the request');
87
+ }
88
+
89
+ protected function _failed()
90
+ {
91
+ $this->_debugEmail .= 'The transaction was unsuccessful. \n';
92
+ $this->_debugEmail .= "Returning response parameters.\n";
93
+ $this->sendDebugEmail();
94
+
95
+ return array(
96
+ 'error' => Mage::helper('buckaroo3extended')->__('Your payment was unsuccesful. Please try again or choose another payment method.'),
97
+ );
98
+ }
99
+
100
+ protected function _error()
101
+ {
102
+ $this->_debugEmail .= "The transaction generated an error. \n";
103
+ $this->_debugEmail .= "Returning response parameters.\n";
104
+ $this->sendDebugEmail();
105
+
106
+ return array(
107
+ 'error' => Mage::helper('buckaroo3extended')->__('A technical error has occurred. Please try again. If this problem persists, please contact the shop owner.'),
108
+ );
109
+ }
110
+
111
+ protected function _rejected()
112
+ {
113
+ $this->_debugEmail .= "The transaction generated an error. \n";
114
+ $this->_debugEmail .= "Returning response parameters.\n";
115
+ $this->sendDebugEmail();
116
+
117
+ return array(
118
+ 'error' => Mage::helper('buckaroo3extended')->__('The payment has been rejected, please try again or select a different paymentmethod.'),
119
+ );
120
+ }
121
+
122
+ protected function _neutral()
123
+ {
124
+ $this->_debugEmail .= "The response is neutral (not successful, not unsuccessful). \n";
125
+ $this->_debugEmail .= "Returning response parameters.\n";
126
+ $this->sendDebugEmail();
127
+
128
+ $parameters = array();
129
+ $responseParameters = $this->getResponse();
130
+
131
+ if(isset($responseParameters->Services->Service->ResponseParameter))
132
+ {
133
+ foreach($responseParameters->Services->Service->ResponseParameter as $responseParameter)
134
+ {
135
+ $parameters[lcfirst($responseParameter->Name)] = $responseParameter->_;
136
+ }
137
+ }
138
+
139
+ return $parameters;
140
+ }
141
+
142
+ protected function _verifyError()
143
+ {
144
+ $this->_debugEmail .= "The transaction's authenticity was not verified. \n";
145
+ $this->_debugEmail .= "Returning response parameters.\n";
146
+ $this->sendDebugEmail();
147
+
148
+ return array(
149
+ 'error' => Mage::helper('buckaroo3extended')->__('We are currently unable to retrieve the status of your transaction. If you do not recieve an e-mail regarding your order within 30 minutes, please contact the shop owner.'),
150
+ );
151
+ }
152
+ }
app/code/community/TIG/Buckaroo3Extended/Model/Soap.php CHANGED
@@ -41,23 +41,24 @@ final class TIG_Buckaroo3Extended_Model_Soap extends TIG_Buckaroo3Extended_Model
41
 
42
  public function __construct($data = array())
43
  {
44
- define(
45
- 'LIB_DIR',
46
- Mage::getBaseDir()
47
- . DS
48
- . 'app'
49
- . DS
50
- . 'code'
51
- . DS
52
- . 'community'
53
- . DS
54
- . 'TIG'
55
- . DS
56
- . 'Buckaroo3Extended'
57
- . DS
58
- . 'lib'
59
- . DS
60
- );
 
61
 
62
  $this->setVars($data['vars']);
63
  $this->setMethod($data['method']);
@@ -129,8 +130,18 @@ final class TIG_Buckaroo3Extended_Model_Soap extends TIG_Buckaroo3Extended_Model
129
 
130
  $TransactionRequest = new Body();
131
  $TransactionRequest->Currency = $this->_vars['currency'];
132
- $TransactionRequest->AmountDebit = round($this->_vars['amountDebit'], 2);
133
- $TransactionRequest->AmountCredit = round($this->_vars['amountCredit'], 2);
 
 
 
 
 
 
 
 
 
 
134
  $TransactionRequest->Invoice = $invoiceNumber;
135
  $TransactionRequest->Order = $this->_vars['orderId'];
136
  $TransactionRequest->Description = $this->_vars['description'];
@@ -220,12 +231,13 @@ final class TIG_Buckaroo3Extended_Model_Soap extends TIG_Buckaroo3Extended_Model
220
 
221
  $client->__SetLocation($location);
222
 
223
- try
224
- {
225
- $response = $client->TransactionRequest($TransactionRequest);
226
- } catch (SoapFault $e) {
227
- $this->logException($e->getMessage());
228
- return $this->_error($client);
 
229
  } catch (Exception $e) {
230
  $this->logException($e->getMessage());
231
  return $this->_error($client);
41
 
42
  public function __construct($data = array())
43
  {
44
+ if(!defined('LIB_DIR')) {
45
+ define('LIB_DIR',
46
+ Mage::getBaseDir()
47
+ . DS
48
+ . 'app'
49
+ . DS
50
+ . 'code'
51
+ . DS
52
+ . 'community'
53
+ . DS
54
+ . 'TIG'
55
+ . DS
56
+ . 'Buckaroo3Extended'
57
+ . DS
58
+ . 'lib'
59
+ . DS
60
+ );
61
+ }
62
 
63
  $this->setVars($data['vars']);
64
  $this->setMethod($data['method']);
130
 
131
  $TransactionRequest = new Body();
132
  $TransactionRequest->Currency = $this->_vars['currency'];
133
+
134
+ if (isset($this->_vars['amountDebit'])) {
135
+ $TransactionRequest->AmountDebit = round($this->_vars['amountDebit'], 2);
136
+ }
137
+ if (isset($this->_vars['amountCredit'])) {
138
+ $TransactionRequest->AmountCredit = round($this->_vars['amountCredit'], 2);
139
+ }
140
+ if (isset($this->_vars['amount'])) {
141
+ $TransactionRequest->Amount = round($this->_vars['amount'], 2);
142
+ }
143
+
144
+
145
  $TransactionRequest->Invoice = $invoiceNumber;
146
  $TransactionRequest->Order = $this->_vars['orderId'];
147
  $TransactionRequest->Description = $this->_vars['description'];
231
 
232
  $client->__SetLocation($location);
233
 
234
+ $requestType = 'TransactionRequest';
235
+ if (!empty($this->_vars['request_type'])) {
236
+ $requestType = $this->_vars['request_type'];
237
+ }
238
+
239
+ try {
240
+ $response = $client->$requestType($TransactionRequest);
241
  } catch (Exception $e) {
242
  $this->logException($e->getMessage());
243
  return $this->_error($client);
app/code/community/TIG/Buckaroo3Extended/controllers/{Adminhtml → BuckarooAdminhtml}/GiftcardController.php RENAMED
@@ -1,28 +1,28 @@
1
  <?php
2
  /**
3
- * ___________ __ __
4
- * \__ ___/____ _/ |_ _____ | |
5
  * | | / _ \\ __\\__ \ | |
6
  * | | | |_| || | / __ \_| |__
7
  * |____| \____/ |__| (____ /|____/
8
- * \/
9
- * ___ __ __
10
- * | | ____ _/ |_ ____ _______ ____ ____ _/ |_
11
  * | | / \\ __\_/ __ \\_ __ \ / \ _/ __ \\ __\
12
- * | || | \| | \ ___/ | | \/| | \\ ___/ | |
13
- * |___||___| /|__| \_____>|__| |___| / \_____>|__|
14
- * \/ \/
15
- * ________
16
- * / _____/_______ ____ __ __ ______
17
- * / \ ___\_ __ \ / _ \ | | \\____ \
18
  * \ \_\ \| | \/| |_| || | /| |_| |
19
- * \______ /|__| \____/ |____/ | __/
20
- * \/ |__|
21
  *
22
  * NOTICE OF LICENSE
23
  *
24
  * This source file is subject to the Creative Commons License.
25
- * It is available through the world-wide-web at this URL:
26
  * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
27
  * If you are unable to obtain it through the world-wide-web, please send an email
28
  * to servicedesk@totalinternetgroup.nl so we can send you a copy immediately.
@@ -36,104 +36,112 @@
36
  * @copyright Copyright (c) 2013 Total Internet Group B.V. (http://www.totalinternetgroup.nl)
37
  * @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
38
  */
39
- class TIG_Buckaroo3Extended_Adminhtml_GiftcardController extends Mage_Adminhtml_Controller_Action
40
  {
41
  protected function _construct()
42
  {
43
  $this->setUsedModuleName('TIG_Buckaroo3Extended');
44
  }
45
-
 
 
 
 
 
 
 
 
46
  protected function _initAction()
47
  {
48
  $this->_title($this->__('System'))
49
  ->_title($this->__('Buckaroo Giftcards'));
50
-
51
  $this->loadLayout()
52
  ->_setActiveMenu('system/buckaroo_giftcards')
53
  ->_addBreadcrumb(
54
- Mage::helper('adminhtml')->__('System'),
55
  Mage::helper('adminhtml')->__('System')
56
  )
57
  ->_addBreadcrumb(
58
- Mage::helper('buckaroo3extended')->__('Giftcards'),
59
  Mage::helper('buckaroo3extended')->__('Giftcards')
60
  );
61
-
62
  return $this;
63
  }
64
-
65
  public function indexAction()
66
  {
67
  $this->_initAction()->renderLayout();
68
-
69
  return $this;
70
  }
71
-
72
  public function newAction()
73
  {
74
  $this->_redirect('*/*/edit');
75
-
76
  return $this;
77
  }
78
-
79
  public function editAction()
80
  {
81
  $giftcard = Mage::getModel('buckaroo3extended/giftcard');
82
  $id = $this->getRequest()->getParam('entity_id');
83
-
84
  if ($id) {
85
  $giftcard->load($id);
86
  }
87
-
88
  Mage::register('current_giftcard', $giftcard);
89
  $this->_initAction()->renderLayout();
90
-
91
  return $this;
92
  }
93
-
94
  public function gridAction()
95
  {
96
  $this->loadLayout()->renderLayout();
97
-
98
  return $this;
99
  }
100
-
101
  public function saveAction()
102
  {
103
  $id = $this->getRequest()->getParam('entity_id');
104
-
105
  $giftcard = Mage::getModel('buckaroo3extended/giftcard');
106
  if ($id) {
107
  $giftcard->load($id);
108
  }
109
-
110
  $data = $this->getRequest()->getParam('giftcard');
111
  if (!is_array($data)){
112
  Mage::getSingleton('adminhtml/session')->addError(
113
  $this->__('There was an error saving your giftcard. please check all fields and try again.')
114
  );
115
  $this->_redirect('*/*/edit', array('entity_id' => $id));
116
-
117
  return $this;
118
  }
119
-
120
  foreach ($data as $field => $value) {
121
  $giftcard->setDataUsingMethod($field, $value);
122
  }
123
-
124
  try {
125
  $giftcard->save();
126
  } catch (Exception $e) {
127
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
128
  $this->_redirect('*/*/edit', array('entity_id' => $id));
129
-
130
  return $this;
131
  }
132
-
133
  Mage::getSingleton('adminhtml/session')->addSuccess(
134
  $this->__('Product was saved successfully.')
135
  );
136
-
137
  $this->_redirect('*/*/index');
138
  return $this;
139
  }
1
  <?php
2
  /**
3
+ * ___________ __ __
4
+ * \__ ___/____ _/ |_ _____ | |
5
  * | | / _ \\ __\\__ \ | |
6
  * | | | |_| || | / __ \_| |__
7
  * |____| \____/ |__| (____ /|____/
8
+ * \/
9
+ * ___ __ __
10
+ * | | ____ _/ |_ ____ _______ ____ ____ _/ |_
11
  * | | / \\ __\_/ __ \\_ __ \ / \ _/ __ \\ __\
12
+ * | || | \| | \ ___/ | | \/| | \\ ___/ | |
13
+ * |___||___| /|__| \_____>|__| |___| / \_____>|__|
14
+ * \/ \/
15
+ * ________
16
+ * / _____/_______ ____ __ __ ______
17
+ * / \ ___\_ __ \ / _ \ | | \\____ \
18
  * \ \_\ \| | \/| |_| || | /| |_| |
19
+ * \______ /|__| \____/ |____/ | __/
20
+ * \/ |__|
21
  *
22
  * NOTICE OF LICENSE
23
  *
24
  * This source file is subject to the Creative Commons License.
25
+ * It is available through the world-wide-web at this URL:
26
  * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
27
  * If you are unable to obtain it through the world-wide-web, please send an email
28
  * to servicedesk@totalinternetgroup.nl so we can send you a copy immediately.
36
  * @copyright Copyright (c) 2013 Total Internet Group B.V. (http://www.totalinternetgroup.nl)
37
  * @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
38
  */
39
+ class TIG_Buckaroo3Extended_BuckarooAdminhtml_GiftcardController extends Mage_Adminhtml_Controller_Action
40
  {
41
  protected function _construct()
42
  {
43
  $this->setUsedModuleName('TIG_Buckaroo3Extended');
44
  }
45
+
46
+ /**
47
+ * @return bool
48
+ */
49
+ protected function _isAllowed()
50
+ {
51
+ return Mage::getSingleton('admin/session')->isAllowed('admin/system/buckaroo_giftcard');
52
+ }
53
+
54
  protected function _initAction()
55
  {
56
  $this->_title($this->__('System'))
57
  ->_title($this->__('Buckaroo Giftcards'));
58
+
59
  $this->loadLayout()
60
  ->_setActiveMenu('system/buckaroo_giftcards')
61
  ->_addBreadcrumb(
62
+ Mage::helper('adminhtml')->__('System'),
63
  Mage::helper('adminhtml')->__('System')
64
  )
65
  ->_addBreadcrumb(
66
+ Mage::helper('buckaroo3extended')->__('Giftcards'),
67
  Mage::helper('buckaroo3extended')->__('Giftcards')
68
  );
69
+
70
  return $this;
71
  }
72
+
73
  public function indexAction()
74
  {
75
  $this->_initAction()->renderLayout();
76
+
77
  return $this;
78
  }
79
+
80
  public function newAction()
81
  {
82
  $this->_redirect('*/*/edit');
83
+
84
  return $this;
85
  }
86
+
87
  public function editAction()
88
  {
89
  $giftcard = Mage::getModel('buckaroo3extended/giftcard');
90
  $id = $this->getRequest()->getParam('entity_id');
91
+
92
  if ($id) {
93
  $giftcard->load($id);
94
  }
95
+
96
  Mage::register('current_giftcard', $giftcard);
97
  $this->_initAction()->renderLayout();
98
+
99
  return $this;
100
  }
101
+
102
  public function gridAction()
103
  {
104
  $this->loadLayout()->renderLayout();
105
+
106
  return $this;
107
  }
108
+
109
  public function saveAction()
110
  {
111
  $id = $this->getRequest()->getParam('entity_id');
112
+
113
  $giftcard = Mage::getModel('buckaroo3extended/giftcard');
114
  if ($id) {
115
  $giftcard->load($id);
116
  }
117
+
118
  $data = $this->getRequest()->getParam('giftcard');
119
  if (!is_array($data)){
120
  Mage::getSingleton('adminhtml/session')->addError(
121
  $this->__('There was an error saving your giftcard. please check all fields and try again.')
122
  );
123
  $this->_redirect('*/*/edit', array('entity_id' => $id));
124
+
125
  return $this;
126
  }
127
+
128
  foreach ($data as $field => $value) {
129
  $giftcard->setDataUsingMethod($field, $value);
130
  }
131
+
132
  try {
133
  $giftcard->save();
134
  } catch (Exception $e) {
135
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
136
  $this->_redirect('*/*/edit', array('entity_id' => $id));
137
+
138
  return $this;
139
  }
140
+
141
  Mage::getSingleton('adminhtml/session')->addSuccess(
142
  $this->__('Product was saved successfully.')
143
  );
144
+
145
  $this->_redirect('*/*/index');
146
  return $this;
147
  }
app/code/community/TIG/Buckaroo3Extended/controllers/NotifyController.php CHANGED
@@ -100,9 +100,14 @@ class TIG_Buckaroo3Extended_NotifyController extends Mage_Core_Controller_Front_
100
  $this->_debugEmail .= "\n/////////// TEST /////////\n";
101
  }
102
 
103
- $this->_order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
 
 
 
 
 
104
 
105
- if (!$this->_order) {
106
  return false;
107
  }
108
 
@@ -117,6 +122,8 @@ class TIG_Buckaroo3Extended_NotifyController extends Mage_Core_Controller_Front_
117
  $module = Mage::getModel('buckaroo3extended/abstract', $this->_debugEmail);
118
  $module->setDebugEmail($this->_debugEmail);
119
  $module->sendDebugEmail();
 
 
120
  return false;
121
  }
122
 
@@ -158,6 +165,7 @@ class TIG_Buckaroo3Extended_NotifyController extends Mage_Core_Controller_Front_
158
 
159
  public function returnAction()
160
  {
 
161
  $postData = $this->getRequest()->getPost();
162
  if (isset($postData['brq_invoicenumber'])) {
163
  $orderId = $postData['brq_invoicenumber'];
@@ -166,27 +174,57 @@ class TIG_Buckaroo3Extended_NotifyController extends Mage_Core_Controller_Front_
166
  return;
167
  }
168
 
169
- $this->_order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
170
-
171
- $this->_paymentCode = $this->_order->getPayment()->getMethod();
172
-
173
- $debugEmail = 'Payment code: ' . $this->_paymentCode . "\n\n";
174
- $debugEmail .= 'POST variables received: ' . var_export($postData, true) . "\n\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
 
176
- /**
177
- * @var TIG_Buckaroo3Extended_Model_Response_Return $module
178
- */
179
- $module = Mage::getModel(
180
- 'buckaroo3extended/response_return',
181
- array(
182
- 'order' => $this->_order,
183
- 'postArray' => $postData,
184
- 'debugEmail' => $debugEmail,
185
- 'method' => $this->_paymentCode,
186
- )
187
- );
 
 
 
 
 
 
 
 
 
188
 
189
- $module->processReturn();
 
190
 
191
  $this->_redirect('');
192
  }
100
  $this->_debugEmail .= "\n/////////// TEST /////////\n";
101
  }
102
 
103
+ if (strpos($orderId, 'quote_') !== false) {
104
+ $quoteId = str_replace('quote_', '', $orderId);
105
+ $this->_order = Mage::getModel('sales/order')->load($quoteId, 'quote_id');
106
+ } else {
107
+ $this->_order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
108
+ }
109
 
110
+ if (!$this->_order || !$this->_order->getId()) {
111
  return false;
112
  }
113
 
122
  $module = Mage::getModel('buckaroo3extended/abstract', $this->_debugEmail);
123
  $module->setDebugEmail($this->_debugEmail);
124
  $module->sendDebugEmail();
125
+
126
+ $this->getResponse()->setHttpResponseCode(503);
127
  return false;
128
  }
129
 
165
 
166
  public function returnAction()
167
  {
168
+
169
  $postData = $this->getRequest()->getPost();
170
  if (isset($postData['brq_invoicenumber'])) {
171
  $orderId = $postData['brq_invoicenumber'];
174
  return;
175
  }
176
 
177
+ if (isset($postData['brq_transaction_method'])
178
+ && $postData['brq_transaction_method'] == 'masterpass'
179
+ && isset($postData['brq_SERVICE_masterpass_Version'])
180
+ && $postData['brq_SERVICE_masterpass_Version'] == 'v6'
181
+ ) {
182
+ /**
183
+ * @var TIG_Buckaroo3Extended_Model_Response_MasterPass $module
184
+ */
185
+ try {
186
+ $module = Mage::getModel(
187
+ 'buckaroo3extended/response_masterPass',
188
+ array(
189
+ 'postArray' => $postData,
190
+ )
191
+ );
192
+
193
+ $redirectData = $module->processReturn();
194
+ } catch(Exception $e) {
195
+ $helper = Mage::helper('buckaroo3extended');
196
+ Mage::getSingleton('checkout/session')->addError(
197
+ $helper->__('Something went wrong while checkout out with MasterPass. Try again.')
198
+ );
199
+ $redirectData['path'] = 'checkout/cart';
200
+ $redirectData['params'] = array();
201
+ }
202
+ $this->_redirect($redirectData['path'], $redirectData['params']);
203
 
204
+ return;
205
+ } else {
206
+ $this->_order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
207
+
208
+ $this->_paymentCode = $this->_order->getPayment()->getMethod();
209
+
210
+ $debugEmail = 'Payment code: ' . $this->_paymentCode . "\n\n";
211
+ $debugEmail .= 'POST variables received: ' . var_export($postData, true) . "\n\n";
212
+
213
+ /**
214
+ * @var TIG_Buckaroo3Extended_Model_Response_Return $module
215
+ */
216
+ $module = Mage::getModel(
217
+ 'buckaroo3extended/response_return',
218
+ array(
219
+ 'order' => $this->_order,
220
+ 'postArray' => $postData,
221
+ 'debugEmail' => $debugEmail,
222
+ 'method' => $this->_paymentCode,
223
+ )
224
+ );
225
 
226
+ $module->processReturn();
227
+ }
228
 
229
  $this->_redirect('');
230
  }
app/code/community/TIG/Buckaroo3Extended/etc/adminhtml.xml CHANGED
@@ -6,7 +6,7 @@
6
  <buckaroo_giftcard translate="title" module="buckaroo3extended">
7
  <title>Buckaroo Giftcards</title>
8
  <sort_order>55</sort_order>
9
- <action>admin_buckaroo3extended/adminhtml_giftcard</action>
10
  </buckaroo_giftcard>
11
  </children>
12
  </system>
6
  <buckaroo_giftcard translate="title" module="buckaroo3extended">
7
  <title>Buckaroo Giftcards</title>
8
  <sort_order>55</sort_order>
9
+ <action>adminhtml/buckarooAdminhtml_giftcard</action>
10
  </buckaroo_giftcard>
11
  </children>
12
  </system>
app/code/community/TIG/Buckaroo3Extended/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <TIG_Buckaroo3Extended>
5
- <version>4.13.0</version>
6
  </TIG_Buckaroo3Extended>
7
  </modules>
8
  <frontend>
@@ -63,13 +63,13 @@
63
  </adminhtml>
64
  <admin>
65
  <routers>
66
- <admin_buckaroo3extended>
67
- <use>admin</use>
68
  <args>
69
- <module>TIG_Buckaroo3Extended</module>
70
- <frontName>admin_buckaroo3extended</frontName>
 
71
  </args>
72
- </admin_buckaroo3extended>
73
  </routers>
74
  </admin>
75
  <global>
@@ -717,6 +717,11 @@
717
  <class>buckaroo3extended/paymentMethods_masterpass_observer</class>
718
  <method>buckaroo3extended_request_addservices</method>
719
  </buckaroo3extended_paymentmethod_observer_masterpass>
 
 
 
 
 
720
  </observers>
721
  </buckaroo3extended_request_addservices>
722
  <buckaroo3extended_request_addcustomvars>
@@ -846,6 +851,11 @@
846
  <class>buckaroo3extended/paymentMethods_masterpass_observer</class>
847
  <method>buckaroo3extended_request_addcustomvars</method>
848
  </buckaroo3extended_paymentmethod_observer_masterpass>
 
 
 
 
 
849
  </observers>
850
  </buckaroo3extended_request_addcustomvars>
851
  <buckaroo3extended_request_setmethod>
@@ -975,6 +985,11 @@
975
  <class>buckaroo3extended/paymentMethods_masterpass_observer</class>
976
  <method>buckaroo3extended_request_setmethod</method>
977
  </buckaroo3extended_paymentmethod_observer_masterpass>
 
 
 
 
 
978
  </observers>
979
  </buckaroo3extended_request_setmethod>
980
  <buckaroo3extended_push_custom_processing>
@@ -1282,6 +1297,13 @@
1282
  <sort_order>210</sort_order>
1283
  <group>buckaroo3extended</group>
1284
  </buckaroo3extended_masterpass>
 
 
 
 
 
 
 
1285
  <buckaroo2012ideal>
1286
  <active>0</active>
1287
  <model>buckaroo3extended/oldPaymentMethods_oldPaymentMethod</model>
@@ -1829,6 +1851,21 @@
1829
  <payment_fee_label>Fee</payment_fee_label>
1830
  <order_email>1</order_email>
1831
  </buckaroo3extended_masterpass>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1832
  </buckaroo>
1833
  <tax>
1834
  <calculation>
2
  <config>
3
  <modules>
4
  <TIG_Buckaroo3Extended>
5
+ <version>4.14.1</version>
6
  </TIG_Buckaroo3Extended>
7
  </modules>
8
  <frontend>
63
  </adminhtml>
64
  <admin>
65
  <routers>
66
+ <adminhtml>
 
67
  <args>
68
+ <modules>
69
+ <buckaroo3extended_admin after="Mage_Adminhtml">TIG_Buckaroo3Extended</buckaroo3extended_admin>
70
+ </modules>
71
  </args>
72
+ </adminhtml>
73
  </routers>
74
  </admin>
75
  <global>
717
  <class>buckaroo3extended/paymentMethods_masterpass_observer</class>
718
  <method>buckaroo3extended_request_addservices</method>
719
  </buckaroo3extended_paymentmethod_observer_masterpass>
720
+ <buckaroo3extended_paymentmethod_observer_masterpass_lightbox>
721
+ <type>Singleton</type>
722
+ <class>buckaroo3extended/paymentMethods_masterpassLightbox_observer</class>
723
+ <method>buckaroo3extended_request_addservices</method>
724
+ </buckaroo3extended_paymentmethod_observer_masterpass_lightbox>
725
  </observers>
726
  </buckaroo3extended_request_addservices>
727
  <buckaroo3extended_request_addcustomvars>
851
  <class>buckaroo3extended/paymentMethods_masterpass_observer</class>
852
  <method>buckaroo3extended_request_addcustomvars</method>
853
  </buckaroo3extended_paymentmethod_observer_masterpass>
854
+ <buckaroo3extended_paymentmethod_observer_masterpass_lightbox>
855
+ <type>Singleton</type>
856
+ <class>buckaroo3extended/paymentMethods_masterpassLightbox_observer</class>
857
+ <method>buckaroo3extended_request_addcustomvars</method>
858
+ </buckaroo3extended_paymentmethod_observer_masterpass_lightbox>
859
  </observers>
860
  </buckaroo3extended_request_addcustomvars>
861
  <buckaroo3extended_request_setmethod>
985
  <class>buckaroo3extended/paymentMethods_masterpass_observer</class>
986
  <method>buckaroo3extended_request_setmethod</method>
987
  </buckaroo3extended_paymentmethod_observer_masterpass>
988
+ <buckaroo3extended_paymentmethod_observer_masterpass_lightbox>
989
+ <type>Singleton</type>
990
+ <class>buckaroo3extended/paymentMethods_masterpassLightbox_observer</class>
991
+ <method>buckaroo3extended_request_setmethod</method>
992
+ </buckaroo3extended_paymentmethod_observer_masterpass_lightbox>
993
  </observers>
994
  </buckaroo3extended_request_setmethod>
995
  <buckaroo3extended_push_custom_processing>
1297
  <sort_order>210</sort_order>
1298
  <group>buckaroo3extended</group>
1299
  </buckaroo3extended_masterpass>
1300
+ <buckaroo3extended_masterpass_lightbox>
1301
+ <active>1</active>
1302
+ <model>buckaroo3extended/paymentMethods_masterpassLightbox_paymentMethod</model>
1303
+ <title>MasterPass</title>
1304
+ <sort_order>210</sort_order>
1305
+ <group>buckaroo3extended</group>
1306
+ </buckaroo3extended_masterpass_lightbox>
1307
  <buckaroo2012ideal>
1308
  <active>0</active>
1309
  <model>buckaroo3extended/oldPaymentMethods_oldPaymentMethod</model>
1851
  <payment_fee_label>Fee</payment_fee_label>
1852
  <order_email>1</order_email>
1853
  </buckaroo3extended_masterpass>
1854
+
1855
+ <buckaroo3extended_masterpass_lightbox>
1856
+ <active>1</active>
1857
+ <mode>0</mode>
1858
+ <title>MasterPass</title>
1859
+ <allowspecific>0</allowspecific>
1860
+ <specificcountry></specificcountry>
1861
+ <order_status_success></order_status_success>
1862
+ <order_status_failed></order_status_failed>
1863
+ <sort_order>200</sort_order>
1864
+ <limit_by_ip>0</limit_by_ip>
1865
+ <allowed_currencies>EUR</allowed_currencies>
1866
+ <payment_fee_label>Fee</payment_fee_label>
1867
+ <order_email>1</order_email>
1868
+ </buckaroo3extended_masterpass_lightbox>
1869
  </buckaroo>
1870
  <tax>
1871
  <calculation>
app/code/community/TIG/Buckaroo3Extended/etc/masterpass.xml ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <masterpass>
3
+ <buckaroo3extended>
4
+ <v06 translate="title" module="buckaroo3extended">
5
+ <model>buckaroo3extended/masterpass_v06</model>
6
+ <title>Buckaroo MasterPass v6</title>
7
+ <options>
8
+ <supported_countries>NL,BE,DE</supported_countries>
9
+ <supported_currencies>EUR,USD</supported_currencies>
10
+ </options>
11
+ </v06>
12
+ </buckaroo3extended>
13
+ </masterpass>
app/design/adminhtml/default/default/layout/TIG/buckaroo3extended.xml CHANGED
@@ -83,29 +83,29 @@
83
  </reference>
84
  </adminhtml_sales_order_creditmemo_updateqty>
85
 
86
- <admin_buckaroo3extended_adminhtml_giftcard_index>
87
  <reference name="content">
88
  <block type="buckaroo3extended/adminhtml_giftcard" name="buckaroo.backend.giftcard"/>
89
  </reference>
90
- </admin_buckaroo3extended_adminhtml_giftcard_index>
91
 
92
- <admin_buckaroo3extended_adminhtml_giftcard_grid>
93
  <block type="core/text_list" name="root" output="toHtml">
94
  <block type="buckaroo3extended/adminhtml_giftcard_grid" name="buckaroo.backend.giftcard.grid"/>
95
  </block>
96
- </admin_buckaroo3extended_adminhtml_giftcard_grid>
97
 
98
- <admin_buckaroo3extended_adminhtml_giftcard_new>
99
  <update handle="editor"/>
100
  <reference name="content">
101
  <block type="buckaroo3extended/adminhtml_giftcard_edit" name="buckaroo.backend.giftcard.edit" />
102
  </reference>
103
- </admin_buckaroo3extended_adminhtml_giftcard_new>
104
 
105
- <admin_buckaroo3extended_adminhtml_giftcard_edit>
106
  <update handle="editor"/>
107
  <reference name="content">
108
  <block type="buckaroo3extended/adminhtml_giftcard_edit" name="buckaroo.backend.giftcard.edit" />
109
  </reference>
110
- </admin_buckaroo3extended_adminhtml_giftcard_edit>
111
  </layout>
83
  </reference>
84
  </adminhtml_sales_order_creditmemo_updateqty>
85
 
86
+ <adminhtml_buckarooadminhtml_giftcard_index>
87
  <reference name="content">
88
  <block type="buckaroo3extended/adminhtml_giftcard" name="buckaroo.backend.giftcard"/>
89
  </reference>
90
+ </adminhtml_buckarooadminhtml_giftcard_index>
91
 
92
+ <adminhtml_buckarooadminhtml_giftcard_grid>
93
  <block type="core/text_list" name="root" output="toHtml">
94
  <block type="buckaroo3extended/adminhtml_giftcard_grid" name="buckaroo.backend.giftcard.grid"/>
95
  </block>
96
+ </adminhtml_buckarooadminhtml_giftcard_grid>
97
 
98
+ <adminhtml_buckarooadminhtml_giftcard_new>
99
  <update handle="editor"/>
100
  <reference name="content">
101
  <block type="buckaroo3extended/adminhtml_giftcard_edit" name="buckaroo.backend.giftcard.edit" />
102
  </reference>
103
+ </adminhtml_buckarooadminhtml_giftcard_new>
104
 
105
+ <adminhtml_buckarooadminhtml_giftcard_edit>
106
  <update handle="editor"/>
107
  <reference name="content">
108
  <block type="buckaroo3extended/adminhtml_giftcard_edit" name="buckaroo.backend.giftcard.edit" />
109
  </reference>
110
+ </adminhtml_buckarooadminhtml_giftcard_edit>
111
  </layout>
app/design/adminhtml/default/default/template/buckaroo3extended/system/config/paypalRegionCheck.phtml CHANGED
@@ -3,10 +3,13 @@
3
  <?php
4
  $paymentActive = Mage::getStoreConfig('buckaroo/buckaroo3extended_paypal/active', Mage::app()->getRequest()->getParam('store'));
5
  $sellerProtectionActive = Mage::getStoreConfig('buckaroo/buckaroo3extended_paypal/sellers_protection', Mage::app()->getRequest()->getParam('store'));
 
6
  ?>
7
- <?php if($paymentActive==0 || $sellerProtectionActive==0): ?>
8
  <?php return $this; ?>
9
  <?php endif; ?>
 
 
10
  <div class="error-msg buckaroo">
11
  <h4>
12
  <?php
@@ -14,15 +17,14 @@
14
  ?>
15
  </h4>
16
  </div>
 
17
  <?php /* Stylesheet not available */ ?>
18
  <style>
19
  .error-msg.buckaroo { margin-bottom:25px; padding:8px 8px 8px 32px; }
20
  .error-msg.buckaroo h4 { margin:0; }
21
  </style>
22
  <?php return $this; ?>
23
- <?php endif; ?>
24
-
25
-
26
  <?php if($this->getIsRegionRequired()): ?>
27
  <?php return $this; ?>
28
  <?php endif; ?>
3
  <?php
4
  $paymentActive = Mage::getStoreConfig('buckaroo/buckaroo3extended_paypal/active', Mage::app()->getRequest()->getParam('store'));
5
  $sellerProtectionActive = Mage::getStoreConfig('buckaroo/buckaroo3extended_paypal/sellers_protection', Mage::app()->getRequest()->getParam('store'));
6
+ $regionIsRequired = $this->getIsRegionRequired();
7
  ?>
8
+ <?php if( $paymentActive == 0 || $sellerProtectionActive == 0 ): ?>
9
  <?php return $this; ?>
10
  <?php endif; ?>
11
+
12
+ <?php if($regionIsRequired && $sellerProtectionActive): ?>
13
  <div class="error-msg buckaroo">
14
  <h4>
15
  <?php
17
  ?>
18
  </h4>
19
  </div>
20
+ <?php endif; ?>
21
  <?php /* Stylesheet not available */ ?>
22
  <style>
23
  .error-msg.buckaroo { margin-bottom:25px; padding:8px 8px 8px 32px; }
24
  .error-msg.buckaroo h4 { margin:0; }
25
  </style>
26
  <?php return $this; ?>
27
+ <?php endif;?>
 
 
28
  <?php if($this->getIsRegionRequired()): ?>
29
  <?php return $this; ?>
30
  <?php endif; ?>
app/design/adminhtml/default/default/template/buckaroo3extended/system/config/supportTab.phtml CHANGED
@@ -63,8 +63,8 @@
63
  <div class="text-box">
64
  <h3><?php echo $_helper->__('Magento &amp; 3rd party version compatibility');?></h3>
65
  <ul>
66
- <li><?php echo $_helper->__('Magento Community Edition version');?> 1.5, 1.6, 1.7, 1.8 &amp; 1.9</li>
67
- <li><?php echo $_helper->__('Magento Enterprise Edition version');?> 1.11,1.12, 1.13 &amp; 1.14</li>
68
  </ul>
69
  <ul>
70
  <li><?php echo $_helper->__('OneStepCheckout version');?> 4.0.7</li>
@@ -120,4 +120,4 @@
120
  </tr>
121
  </table>
122
  </td>
123
- </tr>
63
  <div class="text-box">
64
  <h3><?php echo $_helper->__('Magento &amp; 3rd party version compatibility');?></h3>
65
  <ul>
66
+ <li><?php echo $_helper->__('Magento Community Edition version');?> 1.7, 1.8 &amp; 1.9</li>
67
+ <li><?php echo $_helper->__('Magento Enterprise Edition version');?> 1.12, 1.13 &amp; 1.14</li>
68
  </ul>
69
  <ul>
70
  <li><?php echo $_helper->__('OneStepCheckout version');?> 4.0.7</li>
120
  </tr>
121
  </table>
122
  </td>
123
+ </tr>
app/design/frontend/rwd/default/template/buckaroo3extended/afterpay/checkout/form.phtml ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_code = $this->getMethodCode() ?>
2
+
3
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
4
+
5
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="form-list buckaroo-method buckaroo3extended_input">
6
+ <li>
7
+ <label for="<?php echo $_code;?>_BPE_Customergender" class="required"><?php echo $this->__('Salutation');?>: <em>*</em></label>
8
+ <div class="input-box">
9
+ <select name="<?php echo $_code;?>_BPE_Customergender" class="validate-select validate-number" title="<?php echo $this->__('Salutation');?>" id="<?php echo $_code;?>_BPE_Customergender">
10
+ <option value=''><?php echo $this->__('Select'); ?></option>
11
+ <option value="1" <?php echo ($this->getGender()===1)?'selected':'';?>><?php echo $this->__('Mr.'); ?></option>
12
+ <option value="2" <?php echo ($this->getGender()===2)?'selected':'';?>><?php echo $this->__('Mrs.'); ?></option>
13
+ </select>
14
+ </div>
15
+ </li>
16
+ <li>
17
+ <label><?php echo $this->__('Billing name');?>:</label>
18
+ <div class="input-box">
19
+ <span class="disabled stylefix" id="<?php echo $_code;?>_BPE_Customername" title="<?php echo $this->__('Name');?>"><?php echo $this->getName(); ?></span>
20
+ </div>
21
+ </li>
22
+ <li <?php if ($this->getAddress()->getTelephone() && $this->getAddress()->getTelephone() != '-'): ?>style="display:none;"<?php endif; ?>>
23
+ <label class="required" for="<?php echo $_code;?>_BPE_Customerphone"><?php echo $this->__('Telephone') ?>: <em>*</em></label>
24
+ <div class="input-box">
25
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('Telephone') ?>" name="<?php echo $_code;?>_bpe_customer_phone_number" value="<?php echo $this->getPhoneNumber(); ?>" id="<?php echo $_code;?>_BPE_Customerphone"/>
26
+ </div>
27
+ </li>
28
+ <li>
29
+ <?php
30
+ echo $this->getLayout()->createBlock('buckaroo3extended/customer_widget_dob')
31
+ ->setFieldIdFormat($_code . ':billing:%s')
32
+ ->setFieldNameFormat('payment[' . $_code . '][%s]')
33
+ ->setIsRequired(true)
34
+ ->setPaymentMethodCode($_code)
35
+ ->setDate($this->getCustomer()->getDob())
36
+ ->toHtml();
37
+ ?>
38
+ </li>
39
+
40
+ <?php if($this->getPaymethod() == 'afterpayacceptgiro'):?>
41
+ <li>
42
+ <label for="<?php echo $_code;?>_BPE_customer_account_number" class="required"><?php echo $this->__('Bank account number') ?>: <em>*</em></label>
43
+ <div class="input-box">
44
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('Bank account number') ?>" name="<?php echo $_code;?>_bpe_customer_account_number" value="<?php echo $this->getBankAccount(); ?>" id="<?php echo $_code;?>_BPE_customer_account_number" />
45
+ </div>
46
+ </li>
47
+ <?php endif;?>
48
+
49
+ <?php $currentBusiness = $this->getBusiness(); ?>
50
+
51
+ <?php $currentBusiness = ($this->getPaymethod() == 'afterpaydigiaccept')? $currentBusiness : '1'; ?>
52
+
53
+ <?php if($currentBusiness == '1'): ?>
54
+
55
+ <li>
56
+ <input type="hidden" name="<?php echo $_code;?>_BPE_BusinessSelect" value="1" />
57
+ </li>
58
+
59
+ <?php elseif($currentBusiness == '2'):?>
60
+
61
+ <li>
62
+ <input type="hidden" name="<?php echo $_code;?>_BPE_BusinessSelect" value="2" />
63
+ <div id="b2b-fields">
64
+ <label class="required" for="<?php echo $_code;?>_BPE_CompanyCOCRegistration"><?php echo $this->__('COC Number');?></label>
65
+ <div class="input-box">
66
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CompanyCOCRegistration" id="<?php echo $_code;?>_BPE_CompanyCOCRegistration" value="<?php echo $this->getCompanyCOCRegistration();?>" />
67
+ </div>
68
+ <label class="required" for="<?php echo $_code;?>_BPE_CompanyName"><?php echo $this->__('Company Name');?></label>
69
+ <div class="input-box">
70
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CompanyName" id="<?php echo $_code;?>_BPE_CompanyName" value="<?php echo $this->getCompanyName();?>" />
71
+ </div>
72
+ <label class="required" for="<?php echo $_code;?>_BPE_CostCentre"><?php echo $this->__('Cost Center');?></label>
73
+ <div class="input-box">
74
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CostCentre" id="<?php echo $_code;?>_BPE_CostCentre" value="<?php echo $this->getCostCentre();?>" />
75
+ </div>
76
+ <label class="required" for="<?php echo $_code;?>_BPE_VatNumber"><?php echo $this->__('VAT Number');?></label>
77
+ <div class="input-box">
78
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_VatNumber" id="<?php echo $_code;?>_BPE_VatNumber" value="<?php echo $this->getVatNumber();?>" />
79
+ </div>
80
+ </div>
81
+ </li>
82
+
83
+ <?php elseif($currentBusiness == '3'):?>
84
+
85
+ <li>
86
+ <label for="<?php echo $_code;?>_BPE_BusinessSelect"><?php echo $this->__('Set Business');?>:</label>
87
+ <div class="input-box">
88
+ <select name="<?php echo $_code;?>_BPE_BusinessSelect" class="validate-select validate-number" title="<?php echo $this->__('Set Business');?>" id="<?php echo $_code;?>_BPE_BusinessSelect">
89
+ <option value="1" <?php echo (($this->getBusinessSelect()=='1')?'selected':'') ;?>><?php echo $this->__('B2C');?></option>
90
+ <option value="2" <?php echo (($this->getBusinessSelect()=='2')?'selected':'') ;?>><?php echo $this->__('B2B');?></option>
91
+ </select>
92
+ </div>
93
+ <?php
94
+ $style = '';
95
+ if(is_null($this->getBusinessSelect()) || $this->getBusinessSelect() == '1'){
96
+ $style = ' style="display:none;"';
97
+ }
98
+ ?>
99
+ <div id="b2b-fields"<?php echo $style;?>>
100
+ <label class="required" for="<?php echo $_code;?>_BPE_CompanyCOCRegistration"><?php echo $this->__('COC Number');?></label>
101
+ <div class="input-box">
102
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CompanyCOCRegistration" id="<?php echo $_code;?>_BPE_CompanyCOCRegistration" value="<?php echo $this->getCompanyCoCRegistration();?>" />
103
+ </div>
104
+ <label class="required" for="<?php echo $_code;?>_BPE_CompanyName"><?php echo $this->__('Company Name');?></label>
105
+ <div class="input-box">
106
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CompanyName" id="<?php echo $_code;?>_BPE_CompanyName" value="<?php echo $this->getCompanyName();?>" />
107
+ </div>
108
+ <label class="required" for="<?php echo $_code;?>_BPE_CostCentre"><?php echo $this->__('Cost Center');?></label>
109
+ <div class="input-box">
110
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CostCentre" id="<?php echo $_code;?>_BPE_CostCentre" value="<?php echo $this->getCostCentre();?>" />
111
+ </div>
112
+ <label class="required" for="<?php echo $_code;?>_BPE_VatNumber"><?php echo $this->__('VAT Number');?></label>
113
+ <div class="input-box">
114
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_VatNumber" id="<?php echo $_code;?>_BPE_VatNumber" value="<?php echo $this->getVatNumber();?>" />
115
+ </div>
116
+ </div>
117
+ </li>
118
+
119
+ <?php endif; ?>
120
+
121
+ <li class="tac-accept">
122
+ <div class="input-box agree">
123
+ <input style="float:left;" class="input-checkbox required-entry" type="checkbox" title="<?php echo $this->__('Terms and Conditions') ?>" name="<?php echo $_code;?>_bpe_accept" value="checked" id="<?php echo $_code;?>_BPE_terms_and_conditions" />
124
+ </div>
125
+ <label for="<?php echo $_code;?>_BPE_terms_and_conditions" class="required agree-label">
126
+ <?php echo $this->__('Yes, I accept the %sterms and condition%s for the use of Afterpay.', '<a style="float:none;margin:0;" target="_blank" href="https://www.afterpay.nl/nl/klantenservice/betalingsvoorwaarden/">', '</a>') ?> <em>*</em>
127
+ </label>
128
+ </li>
129
+
130
+ <li>
131
+ <?php echo Mage::helper('buckaroo3extended')->__('Please make sure all fields are filled in correctly before proceeding.')?>
132
+ </li>
133
+ </ul>
134
+ <script type="text/javascript">
135
+ // <![CDATA[
136
+ var paymentCode = '<?php echo $_code;?>';
137
+
138
+ <?php if($currentBusiness == '3'):?>
139
+ $(paymentCode + '_BPE_BusinessSelect').observe('change', function(event){
140
+ if($(paymentCode + '_BPE_BusinessSelect').getValue() == 2){
141
+ $('b2b-fields').show();
142
+ }
143
+
144
+ if($(paymentCode + '_BPE_BusinessSelect').getValue() == 1){
145
+ $('b2b-fields').hide();
146
+ }
147
+ });
148
+ <?php endif;?>
149
+ // ]]>
150
+ </script>
app/design/frontend/rwd/default/template/buckaroo3extended/afterpay2/checkout/form.phtml ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_code = $this->getMethodCode() ?>
2
+
3
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
4
+
5
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="form-list buckaroo-method buckaroo3extended_input">
6
+ <li>
7
+ <label for="<?php echo $_code;?>_BPE_Customergender" class="required"><?php echo $this->__('Salutation');?>: <em>*</em></label>
8
+ <div class="input-box">
9
+ <select name="<?php echo $_code;?>_BPE_Customergender" class="validate-select validate-number" title="<?php echo $this->__('Salutation');?>" id="<?php echo $_code;?>_BPE_Customergender">
10
+ <option value=''><?php echo $this->__('Select'); ?></option>
11
+ <option value="1" <?php echo ($this->getGender()===1)?'selected':'';?>><?php echo $this->__('Mr.'); ?></option>
12
+ <option value="2" <?php echo ($this->getGender()===2)?'selected':'';?>><?php echo $this->__('Mrs.'); ?></option>
13
+ </select>
14
+ </div>
15
+ </li>
16
+ <li>
17
+ <label><?php echo $this->__('Billing name');?>:</label>
18
+ <div class="input-box">
19
+ <span class="disabled stylefix" id="<?php echo $_code;?>_BPE_Customername" title="<?php echo $this->__('Name');?>"><?php echo $this->getName(); ?></span>
20
+ </div>
21
+ </li>
22
+ <li <?php if ($this->getAddress()->getTelephone() && $this->getAddress()->getTelephone() != '-'): ?>style="display:none;"<?php endif; ?>>
23
+ <label class="required" for="<?php echo $_code;?>_BPE_Customerphone"><?php echo $this->__('Telephone') ?>: <em>*</em></label>
24
+ <div class="input-box">
25
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('Telephone') ?>" name="<?php echo $_code;?>_bpe_customer_phone_number" value="<?php echo $this->getPhoneNumber(); ?>" id="<?php echo $_code;?>_BPE_Customerphone"/>
26
+ </div>
27
+ </li>
28
+ <li>
29
+ <?php
30
+ echo $this->getLayout()->createBlock('buckaroo3extended/customer_widget_dob')
31
+ ->setFieldIdFormat($_code . ':billing:%s')
32
+ ->setFieldNameFormat('payment[' . $_code . '][%s]')
33
+ ->setIsRequired(true)
34
+ ->setPaymentMethodCode($_code)
35
+ ->setDate($this->getCustomer()->getDob())
36
+ ->toHtml();
37
+ ?>
38
+ </li>
39
+
40
+ <?php if($this->getPaymethod() == 'afterpayacceptgiro'):?>
41
+ <li>
42
+ <label for="<?php echo $_code;?>_BPE_customer_account_number" class="required"><?php echo $this->__('Bank account number') ?>: <em>*</em></label>
43
+ <div class="input-box">
44
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('Bank account number') ?>" name="<?php echo $_code;?>_bpe_customer_account_number" value="<?php echo $this->getBankAccount(); ?>" id="<?php echo $_code;?>_BPE_customer_account_number" />
45
+ </div>
46
+ </li>
47
+ <?php endif;?>
48
+
49
+
50
+ <?php $currentBusiness = $this->getBusiness(); ?>
51
+
52
+ <?php $currentBusiness = ($this->getPaymethod() == 'afterpaydigiaccept')? $currentBusiness : '1'; ?>
53
+
54
+ <?php if($currentBusiness == '1'): ?>
55
+
56
+ <li>
57
+ <input type="hidden" name="<?php echo $_code;?>_BPE_BusinessSelect" value="1" id="<?php echo $_code;?>_BPE_BusinessSelect"/>
58
+ </li>
59
+
60
+ <?php elseif($currentBusiness == '2'):?>
61
+
62
+ <li>
63
+ <input type="hidden" name="<?php echo $_code;?>_BPE_BusinessSelect" value="2" id="<?php echo $_code;?>_BPE_BusinessSelect"/>
64
+ <div id="b2b-fields">
65
+ <label class="required" for="<?php echo $_code;?>_BPE_CompanyCOCRegistration"><?php echo $this->__('COC Number');?></label>
66
+ <div class="input-box">
67
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CompanyCOCRegistration" id="<?php echo $_code;?>_BPE_CompanyCOCRegistration" value="<?php echo $this->getCompanyCOCRegistration();?>" />
68
+ </div>
69
+ <label class="required" for="<?php echo $_code;?>_BPE_CompanyName"><?php echo $this->__('Company Name');?></label>
70
+ <div class="input-box">
71
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CompanyName" id="<?php echo $_code;?>_BPE_CompanyName" value="<?php echo $this->getCompanyName();?>" />
72
+ </div>
73
+ <label class="required" for="<?php echo $_code;?>_BPE_CostCentre"><?php echo $this->__('Cost Center');?></label>
74
+ <div class="input-box">
75
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CostCentre" id="<?php echo $_code;?>_BPE_CostCentre" value="<?php echo $this->getCostCentre();?>" />
76
+ </div>
77
+ <label class="required" for="<?php echo $_code;?>_BPE_VatNumber"><?php echo $this->__('VAT Number');?></label>
78
+ <div class="input-box">
79
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_VatNumber" id="<?php echo $_code;?>_BPE_VatNumber" value="<?php echo $this->getVatNumber();?>" />
80
+ </div>
81
+ </div>
82
+ </li>
83
+
84
+ <?php elseif($currentBusiness == '3'):?>
85
+
86
+ <li>
87
+ <label for="<?php echo $_code;?>_BPE_BusinessSelect"><?php echo $this->__('Set Business');?>:</label>
88
+ <div class="input-box">
89
+ <select name="<?php echo $_code;?>_BPE_BusinessSelect" class="validate-select validate-number" title="<?php echo $this->__('Set Business');?>" id="<?php echo $_code;?>_BPE_BusinessSelect">
90
+ <option value="1" <?php echo (($this->getBusinessSelect()=='1')?'selected':'') ;?>><?php echo $this->__('B2C');?></option>
91
+ <option value="2" <?php echo (($this->getBusinessSelect()=='2')?'selected':'') ;?>><?php echo $this->__('B2B');?></option>
92
+ </select>
93
+ </div>
94
+ <?php
95
+ $style = '';
96
+ if(is_null($this->getBusinessSelect()) || $this->getBusinessSelect() == '1'){
97
+ $style = ' style="display:none;"';
98
+ }
99
+ ?>
100
+ <div id="b2b-fields"<?php echo $style;?>>
101
+ <label class="required" for="<?php echo $_code;?>_BPE_CompanyCOCRegistration"><?php echo $this->__('COC Number');?></label>
102
+ <div class="input-box">
103
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CompanyCOCRegistration" id="<?php echo $_code;?>_BPE_CompanyCOCRegistration" value="<?php echo $this->getCompanyCoCRegistration();?>" />
104
+ </div>
105
+ <label class="required" for="<?php echo $_code;?>_BPE_CompanyName"><?php echo $this->__('Company Name');?></label>
106
+ <div class="input-box">
107
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CompanyName" id="<?php echo $_code;?>_BPE_CompanyName" value="<?php echo $this->getCompanyName();?>" />
108
+ </div>
109
+ <label class="required" for="<?php echo $_code;?>_BPE_CostCentre"><?php echo $this->__('Cost Center');?></label>
110
+ <div class="input-box">
111
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_CostCentre" id="<?php echo $_code;?>_BPE_CostCentre" value="<?php echo $this->getCostCentre();?>" />
112
+ </div>
113
+ <label class="required" for="<?php echo $_code;?>_BPE_VatNumber"><?php echo $this->__('VAT Number');?></label>
114
+ <div class="input-box">
115
+ <input class="input-text required-entry" type="text" name="<?php echo $_code;?>_BPE_VatNumber" id="<?php echo $_code;?>_BPE_VatNumber" value="<?php echo $this->getVatNumber();?>" />
116
+ </div>
117
+ </div>
118
+ </li>
119
+
120
+ <?php endif; ?>
121
+
122
+ <li class="tac-accept">
123
+ <div class="input-box">
124
+ <input class="input-checkbox required-entry" type="checkbox" title="<?php echo $this->__('Terms and Conditions') ?>" name="<?php echo $_code;?>_bpe_accept" value="checked" id="<?php echo $_code;?>_BPE_terms_and_conditions" />
125
+ </div>
126
+ <label for="<?php echo $_code;?>_BPE_terms_and_conditions" class="required">
127
+ <?php echo $this->__('Yes, I accept the %sterms and condition%s for the use of Afterpay.', '<a style="float:none;margin:0;" target="_blank" href="https://www.afterpay.nl/nl/klantenservice/betalingsvoorwaarden/">', '</a>') ?> <em>*</em>
128
+ </label>
129
+ </li>
130
+
131
+ <li>
132
+ <?php echo Mage::helper('buckaroo3extended')->__('Please make sure all fields are filled in correctly before proceeding.')?>
133
+ </li>
134
+ </ul>
135
+
136
+ <script type="text/javascript">
137
+ var paymentCode = '<?php echo $_code;?>';
138
+
139
+ $(paymentCode + '_BPE_BusinessSelect').observe('change', function(event){
140
+ if($(paymentCode + '_BPE_BusinessSelect').getValue() == 2){
141
+ $('b2b-fields').show();
142
+ }
143
+
144
+ if($(paymentCode + '_BPE_BusinessSelect').getValue() == 1){
145
+ $('b2b-fields').hide();
146
+ }
147
+ });
148
+ </script>
149
+
app/design/frontend/rwd/default/template/buckaroo3extended/amex/checkout/form.phtml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+
4
+ <?php $_code = $this->getMethodCode() ?>
5
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/bancontactmrcash/checkout/form.phtml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <!-- Only needed if there is additional information required.
2
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
3
+
4
+ <?php $_code = $this->getMethodCode() ?>
5
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
6
+ -->
app/design/frontend/rwd/default/template/buckaroo3extended/cartebancaire/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code = $this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/cartebleue/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code = $this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/directdebit/checkout/form.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code=$this->getMethodCode() ?>
4
+ <ul class="form-list" id="payment_form_<?php echo $_code; ?>" style="display:none;" class="buckaroo3extended_input form-list buckaroo-method">
5
+ <li>
6
+ <label for="<?php echo $_code ?>_account_owner" class="required"><?php echo $this->__('Bank account holder') ?>:<em>*</em></label>
7
+ <div class="input-box">
8
+ <input type="text" title="<?php echo $this->__('Bank account holder') ?>" class="input-text required-entry" id="<?php echo $_code ?>_account_owner" name="payment[account_owner]" value="<?php echo $this->getAccountOwner(); ?>" />
9
+ </div>
10
+ </li>
11
+ <li>
12
+ <label for="<?php echo $_code ?>_account_number" class="required"><?php echo $this->__('Bank account number') ?>:<em>*</em></label>
13
+ <div class="input-box">
14
+ <input type="text" title="<?php echo $this->__('Bank account number') ?>" class="input-text required-entry validate-buckaroo-iban" id="<?php echo $_code ?>_account_number" name="payment[account_number]" value="<?php echo $this->getAccountNumber(); ?>" />
15
+ </div>
16
+ </li>
17
+ <?php if($this->getBillingCountry() != 'NL'):?>
18
+ <li>
19
+ <label for="<?php echo $_code ?>_bank_number"><?php echo $this->__('BIC number') ?>:</label>
20
+ <div class="input-box">
21
+ <input type="text" title="<?php echo Mage::helper('buckaroo3extended')->__('BIC number') ?>" class="input-text" id="<?php echo $_code ?>_bank_number" name="payment[bank_number]" value="<?php echo $this->getBankNumber(); ?>" />
22
+ </div>
23
+ </li>
24
+ <?php else:?>
25
+ <input type="hidden" id="<?php echo $_code ?>_bank_number" name="payment[bank_number]" value="" />
26
+ <?php endif;?>
27
+ <li>
28
+ <?php echo Mage::helper('buckaroo3extended')->__("Please enter these fields as they appear on your bank account.") ?>
29
+ </li>
30
+ </ul>
app/design/frontend/rwd/default/template/buckaroo3extended/directdebit/info.phtml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p><strong><?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?></strong></p>
2
+
3
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
4
+ <table>
5
+ <tbody>
6
+ <?php foreach ($_specificInfo as $_label => $_value):?>
7
+ <tr>
8
+ <th><strong><?php echo $this->escapeHtml($_label)?>:</strong></th>
9
+ </tr>
10
+ <tr>
11
+ <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
12
+ </tr>
13
+ <?php endforeach; ?>
14
+ </tbody>
15
+ </table>
16
+ <?php endif;?>
17
+
18
+ <?php if($this->getInfo()->getAdditionalData()): ?>
19
+ <?php if($this->getMandateReference()): ?>
20
+ <p><?php echo $this->__('Mandate reference: %s', $this->escapeHtml($this->getMandateReference())) ?></p>
21
+ <?php endif; ?>
22
+ <?php endif; ?>
23
+
24
+ <?php echo $this->getChildHtml()?>
app/design/frontend/rwd/default/template/buckaroo3extended/empayment/checkout/form.phtml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <fieldset class="form-list buckaroo-method">
4
+ <?php $_code=$this->getMethodCode() ?>
5
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input"></ul>
6
+ </fieldset>
app/design/frontend/rwd/default/template/buckaroo3extended/eps/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code=$this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/giftcards/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code=$this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/giropay/checkout/form.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_session = Mage::getSingleton('checkout/session'); ?>
28
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
29
+
30
+ <?php $_code=$this->getMethodCode() ?>
31
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method">
32
+ <li>
33
+ <label for="<?php echo $_code;?>_BPE_Bic" class="required"><?php echo $this->__('BIC number'); ?>: </label>
34
+ <div class="input-box">
35
+ <input type="text" class="input-text required-entry" title="<?php echo $this->__('BIC number'); ?>" name="<?php echo $_code;?>_BPE_Bic" value="<?php echo $_session->getData($_code . '_BPE_Bic'); ?>" id="<?php echo $_code;?>_BPE_Bic" />
36
+ </div>
37
+ </li>
38
+ </ul>
app/design/frontend/rwd/default/template/buckaroo3extended/ideal/checkout/form.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_session = Mage::getSingleton('checkout/session'); ?>
2
+ <?php $_code = $this->getMethodCode() ?>
3
+ <?php $_value = $_session->getData($_code . '_BPE_Issuer'); ?>
4
+ <?php $_issuerList = $this->getIssuerList();?>
5
+ <?php $validation = ''; ?>
6
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
7
+
8
+
9
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method">
10
+ <li><label class="required"><?php echo $this->__('Please, choose your bank'); ?>: <em>*</em></label></li>
11
+ <?php $i = 0; ?>
12
+ <?php foreach($_issuerList as $issuer => $issuerDetails): ?>
13
+ <li>
14
+ <div class="ideal_container">
15
+ <?php $i++; ?>
16
+ <?php if ($i == count($_issuerList)): ?>
17
+ <?php $validation = "class='validate-one-required-by-name'"; ?>
18
+ <?php endif; ?>
19
+ <label>
20
+ <span class="bank_logo">
21
+ <img src="<?php echo $this->getSkinUrl("images/tig_buckaroo3extended/" . $issuerDetails['logo']);?>"/>
22
+ </span>
23
+ <input type="radio" name="<?php echo $_code;?>_BPE_Issuer" value="<?php echo $issuer; ?>" <?php echo $validation; ?> <?php echo $issuer == $_value ? "checked" : ''; ?>/>
24
+ <span class="bank_name"> <?php echo $this->__($issuerDetails['name']);?></span>
25
+ </label>
26
+ </div>
27
+ </li>
28
+ <?php endforeach; ?>
29
+ </ul>
app/design/frontend/rwd/default/template/buckaroo3extended/maestro/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code = $this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/mastercard/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code = $this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/onlinegiro/checkout/form.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_code=$this->getMethodCode() ?>
2
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
3
+
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method">
5
+ <li>
6
+ <label for="<?php echo $_code;?>_BPE_Customergender" class="required"><?php echo $this->__('Salutation') ?>: <em>*</em></label>
7
+ <div class="input-box">
8
+ <select name="<?php echo $_code;?>_BPE_Customergender" class="validate-select validate-number" id="<?php echo $_code;?>_BPE_Customergender" title="<?php echo $this->__('Salutation') ?>">
9
+ <option value=''><?php echo $this->__('Select'); ?></option>
10
+ <option value="1" <?php echo ($this->getGender()===1)?'selected':'';?>><?php echo $this->__('Mr.'); ?></option>
11
+ <option value="2" <?php echo ($this->getGender()===2)?'selected':'';?>><?php echo $this->__('Mrs.'); ?></option>
12
+ </select>
13
+ </div>
14
+ </li>
15
+
16
+ <li>
17
+ <label for="<?php echo $_code;?>_BPE_Customerfirstname" class="required"><?php echo $this->__('First name') ?>: <em>*</em></label>
18
+ <div class="input-box">
19
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('First name') ?>" name="<?php echo $_code;?>_BPE_Customerfirstname" value="<?php echo $this->getFirstname(); ?>" id="<?php echo $_code;?>_BPE_Customerfirstname"/>
20
+ </div>
21
+ </li>
22
+
23
+ <li>
24
+ <label for="<?php echo $_code;?>_BPE_Customerlastname" class="required"><?php echo $this->__('Last name') ?>: <em>*</em></label>
25
+ <div class="input-box">
26
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('Last name') ?>" name="<?php echo $_code;?>_BPE_Customerlastname" value="<?php echo $this->getLastname(); ?>" id="<?php echo $_code;?>_BPE_Customerlastname"/>
27
+ </div>
28
+ </li>
29
+
30
+ <li>
31
+ <label for="<?php echo $_code;?>_BPE_Customermail" class="required"><?php echo $this->__('E-mail address') ?>: <em>*</em></label>
32
+ <div class="input-box">
33
+ <input class="input-text required-entry validate-email" type="email" title="<?php echo $this->__('E-mail address') ?>" name="<?php echo $_code;?>_BPE_Customermail" value="<?php echo $this->getEmail(); ?>" id="<?php echo $_code;?>_BPE_Customermail"/>
34
+ </div>
35
+ </li>
36
+ <li>
37
+ <?php echo $this->__('You will receive an email with further payment instructions when you place your order.') ?>
38
+ </li>
39
+ </ul>
app/design/frontend/rwd/default/template/buckaroo3extended/paymentguarantee/checkout/form.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $_code = $this->getMethodCode();
4
+
5
+ ?>
6
+
7
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
8
+
9
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method">
10
+ <li>
11
+ <label for="<?php echo $_code;?>_BPE_Customergender" class="required"><?php echo $this->__('Salutation');?>: <em>*</em></label>
12
+ <div class="input-box">
13
+ <select name="<?php echo $_code;?>_BPE_Customergender" class="validate-select validate-number" title="<?php echo $this->__('Salutation');?>" id="<?php echo $_code;?>_BPE_Customergender">
14
+ <option value=''><?php echo $this->__('Select'); ?></option>
15
+ <option value="1" <?php echo ($this->getGender()===1)?'selected':'';?>><?php echo $this->__('Mr.'); ?></option>
16
+ <option value="2" <?php echo ($this->getGender()===2)?'selected':'';?>><?php echo $this->__('Mrs.'); ?></option>
17
+ </select>
18
+ </div>
19
+ </li>
20
+ <li>
21
+ <label><?php echo $this->__('Billing name');?>:</label>
22
+ <div class="input-box">
23
+ <span class="disabled stylefix" id="<?php echo $_code;?>_BPE_Customername" title="<?php echo $this->__('Name');?>"><?php echo $this->getName(); ?></span>
24
+ </div>
25
+ </li>
26
+ <li <?php if ($this->getAddress()->getTelephone() && $this->getAddress()->getTelephone() != '-'): ?>style="display:none;"<?php endif; ?>>
27
+ <label class="required" for="<?php echo $_code;?>_BPE_Customerphone"><?php echo $this->__('Telephone') ?>: <em>*</em></label>
28
+ <div class="input-box">
29
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('Telephone') ?>" name="<?php echo $_code;?>_bpe_customer_phone_number" value="<?php echo $this->getPhoneNumber(); ?>" id="<?php echo $_code;?>_BPE_Customerphone"/>
30
+ </div>
31
+ </li>
32
+ <li>
33
+ <?php
34
+ echo $this->getLayout()
35
+ ->createBlock('buckaroo3extended/customer_widget_dob')
36
+ ->setFieldIdFormat($_code . ':billing:%s')
37
+ ->setFieldNameFormat('payment[' . $_code . '][%s]')
38
+ ->setIsRequired(true)
39
+ ->setPaymentMethodCode($_code)
40
+ ->setDate($this->getCustomer()->getDob())
41
+ ->toHtml();
42
+ ?>
43
+ </li>
44
+ <li>
45
+ <label for="<?php echo $_code;?>_BPE_customer_account_number" class="required"><?php echo $this->__('Bank account number') ?>: <em>*</em></label>
46
+ <div class="input-box">
47
+ <input class="input-text required-entry validate-buckaroo-iban" type="text" title="<?php echo $this->__('Bank account number') ?>" name="<?php echo $_code;?>_bpe_customer_account_number" value="<?php echo $this->getBankAccount(); ?>" id="<?php echo $_code;?>_BPE_customer_account_number" />
48
+ </div>
49
+ </li>
50
+ <li class="tac-accept">
51
+ <div class="input-box agree">
52
+ <input style="float:left;" class="input-checkbox required-entry" type="checkbox" title="<?php echo $this->__('Terms and Conditions') ?>" name="<?php echo $_code;?>_bpe_terms_and_conditions" value="checked" id="<?php echo $_code;?>_BPE_terms_and_conditions" />
53
+ </div>
54
+ <label for="<?php echo $_code;?>_BPE_terms_and_conditions" class="required agree-label">
55
+ <?php echo $this->__('Yes, I accept the %sterms and condition%s for the use of Payment Guarantee.', '<a style="float:none;margin:0;" href="#" id="paymentguarantee_terms_and_conditions_link">', '</a>') ?> <em>*</em>
56
+ </label>
57
+ </li>
58
+ <li>
59
+ <?php echo Mage::helper('buckaroo3extended')->__('Please make sure all fields are filled in correctly before proceeding.')?>
60
+ </li>
61
+ </ul>
62
+ <?php echo $this->getLayout()->createBlock('core/template')->setTemplate('buckaroo3extended/paymentguarantee/termsAndConditions.phtml')->toHtml();?>
app/design/frontend/rwd/default/template/buckaroo3extended/paymentguarantee/termsAndConditions.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * ___________ __ __
4
+ * \__ ___/____ _/ |_ _____ | |
5
+ * | | / _ \\ __\\__ \ | |
6
+ * | | | |_| || | / __ \_| |__
7
+ * |____| \____/ |__| (____ /|____/
8
+ * \/
9
+ * ___ __ __
10
+ * | | ____ _/ |_ ____ _______ ____ ____ _/ |_
11
+ * | | / \\ __\_/ __ \\_ __ \ / \ _/ __ \\ __\
12
+ * | || | \| | \ ___/ | | \/| | \\ ___/ | |
13
+ * |___||___| /|__| \_____>|__| |___| / \_____>|__|
14
+ * \/ \/
15
+ * ________
16
+ * / _____/_______ ____ __ __ ______
17
+ * / \ ___\_ __ \ / _ \ | | \\____ \
18
+ * \ \_\ \| | \/| |_| || | /| |_| |
19
+ * \______ /|__| \____/ |____/ | __/
20
+ * \/ |__|
21
+ *
22
+ * NOTICE OF LICENSE
23
+ *
24
+ * This source file is subject to the Creative Commons License.
25
+ * It is available through the world-wide-web at this URL:
26
+ * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
27
+ * If you are unable to obtain it through the world-wide-web, please send an email
28
+ * to servicedesk@totalinternetgroup.nl so we can send you a copy immediately.
29
+ *
30
+ * DISCLAIMER
31
+ *
32
+ * Do not edit or add to this file if you wish to upgrade this module to newer
33
+ * versions in the future. If you wish to customize this module for your
34
+ * needs please contact servicedesk@totalinternetgroup.nl for more information.
35
+ *
36
+ * @copyright Copyright (c) 2013 Total Internet Group B.V. (http://www.totalinternetgroup.nl)
37
+ * @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
38
+ */
39
+ ?>
40
+ <div id="paymentguarantee_terms_and_conditions">
41
+ <div class="tac-content std">
42
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('buckaroo_intrum_terms_and_conditions')->toHtml();?>
43
+ <a class="button tac-close" id="paymentguarantee_terms_and_conditions_close">
44
+ <span>
45
+ <span><?php echo $this->__('Close'); ?></span>
46
+ </span>
47
+ </a>
48
+ </div>
49
+ </div>
app/design/frontend/rwd/default/template/buckaroo3extended/paypal/checkout/form.phtml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <!-- Only needed if there is additional information required.
2
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
3
+
4
+ <?php $_code=$this->getMethodCode() ?>
5
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
6
+ -->
app/design/frontend/rwd/default/template/buckaroo3extended/payperemail/checkout/form.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $_session = Mage::getSingleton('checkout/session');
3
+ $_code = $this->getMethodCode();
4
+ $gender = $this->getGender();
5
+ $firstname = $this->getFirstname();
6
+ $lastname = $this->getLastname();
7
+ $email = $this->getEmail();
8
+ ?>
9
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
10
+
11
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method">
12
+ <li>
13
+ <label for="<?php echo $_code;?>_BPE_Customergender" class="required"><?php echo $this->__('Salutation') ?>: <em>*</em></label>
14
+ <div class="input-box">
15
+ <select name="<?php echo $_code;?>_BPE_Customergender" class="validate-select validate-number" id="<?php echo $_code;?>_BPE_Customergender" title="<?php echo $this->__('Salutation');?>">
16
+ <option value=''><?php echo $this->__('Select'); ?></option>
17
+ <option value="1" <?php echo ($this->getGender()===1)?'selected':'';?>><?php echo $this->__('Mr.'); ?></option>
18
+ <option value="2" <?php echo ($this->getGender()===2)?'selected':'';?>><?php echo $this->__('Mrs.'); ?></option>
19
+ </select>
20
+ </div>
21
+ </li>
22
+ <li>
23
+ <label for="<?php echo $_code;?>_BPE_Customerfirstname" class="required"><?php echo $this->__('First name') ?>: <em>*</em></label>
24
+ <div class="input-box">
25
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('First name') ?>" name="<?php echo $_code;?>_BPE_Customerfirstname" value="<?php echo $firstname; ?>" id="<?php echo $_code;?>_BPE_Customerfirstname" />
26
+ </div>
27
+ </li>
28
+ <li>
29
+ <label for="<?php echo $_code;?>_BPE_Customerlastname" class="required"><?php echo $this->__('Last name') ?>: <em>*</em></label>
30
+ <div class="input-box">
31
+ <input class="input-text required-entry" type="text" title="<?php echo $this->__('Last name') ?>" name="<?php echo $_code;?>_BPE_Customerlastname" value="<?php echo $lastname; ?>" id="<?php echo $_code;?>_BPE_Customerlastname" />
32
+ </div>
33
+ </li>
34
+ <li>
35
+ <label for="<?php echo $_code;?>_BPE_Customermail" class="required"><?php echo $this->__('E-mail address') ?>: <em>*</em></label>
36
+ <div class="input-box">
37
+ <input class="input-text required-entry validate-email" type="email" title="<?php echo $this->__('E-mail address') ?>" name="<?php echo $_code;?>_BPE_Customermail" value="<?php echo $email; ?>" id="<?php echo $_code;?>_BPE_Customermail" />
38
+ </div>
39
+ </li>
40
+ <li>
41
+ <?php echo $this->__('You will receive an email with further payment instructions when you place your order.') ?>
42
+ </li>
43
+ </ul>
app/design/frontend/rwd/default/template/buckaroo3extended/paysafecard/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code=$this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/sofortueberweisung/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code=$this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/transfer/checkout/form.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_session = Mage::getSingleton('checkout/session'); ?>
2
+ <?php $_code=$this->getMethodCode() ?>
3
+ <?php if (Mage::getStoreConfig('buckaroo/buckaroo3extended_transfer/use_creditmanagement', Mage::app()->getStore()->getStoreId())): ?>
4
+ <?php
5
+ $name = $this->getName();
6
+ $email = $this->getEmail();
7
+
8
+ $gender = $this->getGender();
9
+ $dob = $this->getDob();
10
+ list($DD, $MM, $YYYY) = $dob;
11
+ ?>
12
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
13
+
14
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method">
15
+ <li>
16
+ <label for="<?php echo $_code;?>_BPE_Customergender" class="required"><?php echo $this->__('Salutation');?>: <em>*</em></label>
17
+ <div class="input-box">
18
+ <select name="<?php echo $_code;?>_BPE_Customergender" class="validate-select validate-number" id="<?php echo $_code;?>_BPE_Customergender" title="<?php echo $this->__('Salutation');?>">
19
+ <option value=''><?php echo $this->__('Select'); ?></option>
20
+ <option value="1" <?php echo ($this->getGender()===1)?'selected':'';?>><?php echo $this->__('Mr.'); ?></option>
21
+ <option value="2" <?php echo ($this->getGender()===2)?'selected':'';?>><?php echo $this->__('Mrs.'); ?></option>
22
+ </select>
23
+ </div>
24
+ </li>
25
+ <li>
26
+ <label for="<?php echo $_code;?>_BPE_Customername" class="required"><?php echo $this->__('Name');?>:</label>
27
+ <div class="input-box">
28
+ <span class="disabled stylefix" id="<?php echo $_code;?>_BPE_Customername"><?php echo $name; ?></span>
29
+ </div>
30
+ </li>
31
+ <li>
32
+ <?php
33
+ echo $this->getLayout()
34
+ ->createBlock('buckaroo3extended/customer_widget_dob')
35
+ ->setFieldIdFormat($_code . ':billing:%s')
36
+ ->setFieldNameFormat('payment[' . $_code . '][%s]')
37
+ ->setIsRequired(true)
38
+ ->setPaymentMethodCode($_code)
39
+ ->setDate($this->getCustomer()->getDob())
40
+ ->toHtml();
41
+ ?>
42
+ </li>
43
+ <li>
44
+ <label for="<?php echo $_code ?>_BPE_Customermail" class="required"><?php echo $this->__('E-mail address') ?>: <em>*</em></label>
45
+ <div class="input-box">
46
+ <input class="input-text validate-email required-entry" type="text" title="<?php echo $this->__('E-mail address') ?>" name="<?php echo $_code ?>_BPE_Customermail" id="<?php echo $_code ?>_BPE_Customermail" value="<?php echo $email ?>" />
47
+ </div>
48
+ </li>
49
+ <li>
50
+ <?php echo Mage::helper('buckaroo3extended')->__('Please make sure all fields are filled in correctly before proceeding.'); ?>
51
+ </li>
52
+ </ul>
53
+
54
+ <?php else: ?>
55
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
56
+ <?php $_code = $this->getMethodCode() ?>
57
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none;" class="form-list buckaroo-method">
58
+ <li>
59
+ <?php echo $this->__('You will receive an email with further payment instructions when you place your order.'); ?>
60
+ </li>
61
+ </ul>
62
+ <?php endif; ?>
app/design/frontend/rwd/default/template/buckaroo3extended/visa/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code = $this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/visaelectron/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code = $this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
app/design/frontend/rwd/default/template/buckaroo3extended/vpay/checkout/form.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div id="payment-errors" class="validation-advice" style="display:none;"></div>
2
+
3
+ <?php $_code = $this->getMethodCode() ?>
4
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none" class="buckaroo3extended_input form-list buckaroo-method"></ul>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>tig_buckaroo3extended</name>
4
- <version>4.13.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US">Creative Commons License</license>
7
  <channel>community</channel>
@@ -34,8 +34,15 @@ Payment methods available include:&#xD;
34
  - Vpay&#xD;
35
  &#xD;
36
  Other services offered by this extension include refunds and paymentfee.</description>
37
- <notes>==== 4.13.0 ====&#xD;
38
- &#xFFFC;&#xFFFC;==== Improvements ====&#xD;
 
 
 
 
 
 
 
39
  - Extra invulvelden verwijderd bij offline refunds voor Mr. Cash&#xD;
40
  - Offline refunds bij Mr. Cash ondersteunt nu ook deelrefunds&#xD;
41
  - Aangepaste styling van de betaalmethodes in OSC en OPC&#xD;
@@ -46,17 +53,17 @@ Other services offered by this extension include refunds and paymentfee.</descri
46
  - Fix voor de AfterPay afwijzingsmeldingen&#xD;
47
  - Correcte weergave van betaaltoeslagen onder 1 Euro&#xD;
48
  - De Billing Agreements pagina geeft geen foutmelding meer bij gebruik van de extensie&#xD;
49
- &#xFFFC;&#xD;
50
  ==== 4.12.0 ====&#xD;
51
- &#xFFFC;==== Improvements ====&#xD;
52
  - Tweede AfterPay betaalmethode toegevoegd. Zo kan een merchant zowel de digiaccept variant, als de acceptgiro variant tegelijk gebruiken.&#xD;
53
  &#xD;
54
  ==== Bug fixes ====&#xD;
55
  - Correcte weergave Buckaroo fee in transactionele e-mails&#xD;
56
  - Fix voor custom status bij pending orders&#xD;
57
- &#xFFFC;&#xD;
58
  ==== 4.11.0 ====&#xD;
59
- &#xFFFC;==== New features ====&#xD;
60
  - MasterPass betaalmethode toegevoegd.&#xD;
61
  &#xD;
62
  ==== Improvements ====&#xD;
@@ -89,9 +96,9 @@ Other services offered by this extension include refunds and paymentfee.</descri
89
  ==== Bug fixes ====&#xD;
90
  - Fixed a problem where the order ID would stay reserved after a payment had failed, causing errors.</notes>
91
  <authors><author><name>TIG</name><user>supporttotal</user><email>servicedesk@totalinternetgroup.nl</email></author></authors>
92
- <date>2015-09-03</date>
93
- <time>09:47:49</time>
94
- <contents><target name="magecommunity"><dir name="TIG"><dir name="Buckaroo3Extended"><dir name="Block"><dir name="Adminhtml"><dir name="Giftcard"><dir name="Edit"><file name="Form.php" hash="cec5b5d92f5f710693e4cb8495cfb6a8"/></dir><file name="Edit.php" hash="28d90558574b93a6cb360b7270991016"/><file name="Grid.php" hash="a3d1b809a0a5c88fb3ff9b74d6b3dd5c"/></dir><file name="Giftcard.php" hash="a3937f82be98c507a28b6fcad86313ee"/><dir name="Sales"><dir name="Order"><dir name="Create"><dir name="Totals"><file name="Fee.php" hash="84d71b5c883b67baa84c2df0bcd8142b"/></dir></dir><dir name="Creditmemo"><dir name="Create"><file name="Fee.php" hash="c294febe98243a2c1f0f74417e07d094"/><file name="RefundFields.php" hash="e237034e28f6f0622de8f9b2ded99590"/></dir><dir name="Totals"><file name="Fee.php" hash="9e7ce33537256a4ee24928932a6de670"/></dir></dir><dir name="Invoice"><dir name="Totals"><file name="Fee.php" hash="f96253212645e3873369e69698f2d9d9"/></dir></dir><dir name="Totals"><file name="Fee.php" hash="6864e33af4fa09ef3bdeb35686701623"/></dir></dir></dir><dir name="System"><dir name="Config"><file name="Hint.php" hash="4586b3c5e42706c2bb3099abcf768b20"/><file name="KlarnaCheck.php" hash="4af2d295960ab6b130d5a00679743973"/><file name="Paymentmethodbanner.php" hash="517693650534e8069de9839c0f5f90f4"/><file name="SellersProtectionCheck.php" hash="fc531673aa166098a19b5c8919c1b992"/><file name="Singlehint.php" hash="78f13dec86b716a2fb6e136c4efbd34f"/><file name="SupportTab.php" hash="0bd8666b7428669839b96a05c794f192"/></dir></dir></dir><dir name="Customer"><dir name="Widget"><file name="Dob.php" hash="c0b2de80572d3acf4228c6e04d5a8a50"/></dir></dir><dir name="PaymentFee"><dir name="Checkout"><dir name="Total"><file name="Fee.php" hash="859c52bdb843bd2a5dca69c1a96b9d85"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Totals"><file name="Fee.php" hash="40556128c469edfc7514e8eb46668360"/></dir></dir><dir name="Invoice"><dir name="Totals"><file name="Fee.php" hash="99993c8778754a2aa551a0f263745225"/></dir></dir><dir name="Totals"><file name="Fee.php" hash="f731faca357e5eab220df5c7b0df6d3d"/></dir></dir></dir></dir><dir name="PaymentMethods"><dir name="Afterpay"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="6e3c0bd9eee2fe2be538d221ec96f8f8"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="01a47d3c78466a9efad37d2fecff30f3"/></dir></dir><dir name="Afterpay2"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="89317daa2c708f7a29c515be5381ab80"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="1ae3de4c8e3c9d86a0da556181a1ca20"/></dir></dir><dir name="Amex"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="97996a4a4a6c6b18958147bfcef42de4"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="8dace9e0c5aef7aa47423d37beced0fa"/></dir></dir><dir name="Bancontactmrcash"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="4ecf67c7a2bd57135915105db9d48e39"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="1f7eb6ec2ba19917a46ef9ae877fa453"/></dir></dir><dir name="Cartebancaire"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="5cf43693480003815e8e3b05ac192ab4"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="660156b59b61152aa60d2a5b5b96af89"/></dir></dir><dir name="Cartebleue"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="9f11bef74e08bdf03b3648d216c59de3"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="224854a2564636708415b06a9ac83b08"/></dir></dir><dir name="Checkout"><dir name="Form"><file name="Abstract.php" hash="440290992ee2ac805d6f40e063e02f42"/></dir></dir><dir name="Directdebit"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="8d0f3a1ffd3f2920cb38b7283c8f7a47"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="ed6db2005ec69b7a54e928a0d33e7f00"/></dir><file name="Info.php" hash="dcf3f19dcd8fdcf6db3113439ccfd5b6"/></dir><dir name="Empayment"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="460d4674e572573c5738ce87bf201202"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="ddb8cb90231659f17c5c7ba38ad969b7"/></dir></dir><dir name="Eps"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="a329209f134afe361ef7d9adf957745a"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="01058a7858b1007bc56d2acd08e3274e"/></dir></dir><dir name="Giftcards"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="97996a4a4a6c6b18958147bfcef42de4"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="27eb0ffa3bf234b1326d2618ab479f77"/></dir></dir><dir name="Giropay"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="a384d5ca6369442901387ac5555b061e"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="5956caafb68cb45543a93a02d8d16efa"/></dir></dir><dir name="Ideal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="98506d7cf7339a1a3bd51aff75a2d41d"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="54c8ad9a18ec06e153c645c8864727b5"/></dir></dir><dir name="Maestro"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="7a9476690ad27d5516fb2d094b361626"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="fd5b8435c163c21d889417f2035f6434"/></dir></dir><dir name="Mastercard"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="e1a5f220e48ae8ac0a6f844b16207a51"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="4514ef760ad660a9525fa87e13f068f2"/></dir></dir><dir name="Masterpass"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="f474094f2b38459d29e5d9eaf945a422"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="00cd5f45d68b9253fda9d28ea44ca553"/></dir></dir><dir name="Onlinegiro"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="5ae5ce5ebf3041535bf17f2711a4f445"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="52f89dd09f299949411ba572e20becc0"/></dir></dir><dir name="Paymentguarantee"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="250e5f514cd312e895aaa6926bff353a"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="6b885fd2a46d3fecde873e76941cb1c2"/></dir></dir><dir name="Paypal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="20153fa7827484b096d609bf341c5515"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="41dbb35224e46842c01eeea1b2fa1c2f"/></dir></dir><dir name="Payperemail"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="cf526aa3604fc2e59f74840fb6de3acd"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="a4e6609168127b0200df2c9a200ae8c5"/></dir></dir><dir name="Paysafecard"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="ddbccd2574c89997aaed10b08131782b"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="aa28693fe1c5f3e874efc38b15733ee9"/></dir></dir><dir name="Sofortueberweisung"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="a9953aa93ace25c4615e11ca2f5e06c5"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="85fc73af91aab1b43704cac56539e1b3"/></dir></dir><dir name="Transfer"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="5cb8050c05c683f8661cac7e66a3e9ca"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="1ddf724fa739e6ebb402de143f763106"/></dir></dir><dir name="Visa"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="1d9d4dc8aef79cefdd4682bebdc9b0fb"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="53d775fe383da75293031b8b93019f48"/></dir></dir><dir name="Visaelectron"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="f406d49fd695718e620397fe82f66196"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="3cbb7e02bba4eaa57099e8bd6de91511"/></dir></dir><dir name="Vpay"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="0de8e8b98f01fab7e770f5b419d2ff79"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="2cd464f9298f30249baa85d5e9f8233b"/></dir></dir></dir><dir name="Refund"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="NoOptionsAvailable.php" hash="f40e0935fc520a46d16c6d2d93c65a02"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="4a8a9373500521a9b3c8dd92a536ec87"/></dir><dir name="Model"><file name="Abstract.php" hash="dd6633886345bf5ba19df3781c9e06d4"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Buckaroo"><file name="Certificate.php" hash="81662b088ecdd765c6d3219fae334af1"/><file name="Fee.php" hash="3e98f9441b4ceee3ed10f29590243a6a"/></dir></dir></dir></dir></dir><dir name="Certificate"><file name="Certificate.php" hash="ff3ede1ae2fc24b0fb8657f6262ddcca"/></dir><file name="Certificate.php" hash="4f0c237526e019a188b0abd58820ab2a"/><file name="Giftcard.php" hash="8c3125cece761673aef50307e4f6b398"/><dir name="Mysql4"><file name="Setup.php" hash="fede9dbd2f1b214a12aa98bd895018b9"/></dir><dir name="Observer"><file name="Abstract.php" hash="6ac801a678e59a43bd7c29a76f7bff19"/><file name="BackendOrder.php" hash="4efdbd37d08621f508d0c4b1e81548ec"/></dir><file name="Observer.php" hash="48b3c0744ecad5fbfc6bb87f3aecda85"/><dir name="OldPaymentMethods"><file name="OldPaymentMethod.php" hash="528157a9379be2299d4db7170d59cb4e"/></dir><dir name="PaymentFee"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><dir name="Fee"><file name="Abstract.php" hash="7a735d2cdd496f1ab39b5e7fa39385eb"/></dir><file name="Fee.php" hash="932fd6e5229ea0e03bfc8c4a3cdb08b6"/><file name="FeeTax.php" hash="de53ceeec529fe83d61a440397e5ae8f"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Fee.php" hash="c3c18aedec2ec4f8626643db53c7ac67"/><file name="FeeTax.php" hash="55260378223e3bb0e6daace9388e2e03"/><file name="Subtotal.php" hash="2e44bed3b438dc0a44a4fc5c9bb8b426"/></dir></dir><dir name="Pdf"><dir name="Total"><file name="Fee.php" hash="2f837fd9e9c55a921fd505e0b6b34d1d"/><file name="Grandtotal.php" hash="f31d624fffaa5b35c81ced7a251c5c97"/><file name="Tax.php" hash="f0d2374a156c19a88b37f9d76ad56c55"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><dir name="Fee"><file name="Abstract.php" hash="4d4a5e078ed2fb568ac28ce736321d59"/></dir><file name="Fee.php" hash="0a7ec955f8bfe4b42c3482b53dfaa98c"/><file name="FeeTax.php" hash="970b285c1df9ad676b426946b3b21603"/></dir></dir></dir><file name="Service.php" hash="38d9ea54efba391312d6f3b28686d9e7"/><dir name="System"><dir name="Config"><dir name="Source"><file name="FeeTaxClass.php" hash="13fd7cb66310ce16d3f073ff39d108de"/></dir></dir></dir></dir><dir name="PaymentMethods"><dir name="Afterpay"><file name="Observer.php" hash="c69264282577631e768c897b9ad862de"/><file name="PaymentMethod.php" hash="08f0ead679bf505a1a3db6b580600647"/></dir><dir name="Afterpay2"><file name="Observer.php" hash="fc491fd84036c1b971e8b45b64a8703c"/><file name="PaymentMethod.php" hash="5b2dede30a1f0e5030f6d6d3a8a738f0"/></dir><dir name="Amex"><file name="Observer.php" hash="7d1822fd50bcb7cf0870e25e6f23dc22"/><file name="PaymentMethod.php" hash="76aad7b5b1b5eec3565596a46b0bad92"/></dir><dir name="Bancontactmrcash"><file name="Observer.php" hash="f2ba31f1958a13d579949a46ef79dbf8"/><file name="PaymentMethod.php" hash="03f087c748eb59b4c08f12524f88474b"/></dir><dir name="Cartebancaire"><file name="Observer.php" hash="90dfbb6363648b77667a769928a7d74f"/><file name="PaymentMethod.php" hash="8133e6b1b3f68e879200e233fbd88b68"/></dir><dir name="Cartebleue"><file name="Observer.php" hash="42e6154b3ed81a5c62212b76af94ba8d"/><file name="PaymentMethod.php" hash="f6174e8aaa6b9425ef56096fe31a2279"/></dir><dir name="Directdebit"><file name="Observer.php" hash="d69fea8936a47b872022f8d983e9be4a"/><file name="PaymentMethod.php" hash="49cd22ff14b88cc95b394288c673e5b9"/></dir><dir name="Empayment"><file name="Observer.php" hash="b50935e06c48f1288250df3a89c1937a"/><file name="PaymentMethod.php" hash="d870c837eff76d921251c1ae77f7da91"/></dir><dir name="Eps"><file name="Observer.php" hash="beab5315b271c662b88de70f4c37e437"/><file name="PaymentMethod.php" hash="9fdaac7fe5d631e7433d96e44b0a352c"/></dir><dir name="Giftcards"><file name="Observer.php" hash="48bc3bea6473818ee61bd869aa7db9aa"/><file name="PaymentMethod.php" hash="c13e50817ea4b175459aa00ef55ceb99"/></dir><dir name="Giropay"><file name="Observer.php" hash="150c3f7e14fa48582e79c4de971d77fc"/><file name="PaymentMethod.php" hash="597f7589be437f9cc5543a492c944fb1"/></dir><dir name="Ideal"><file name="Observer.php" hash="e4574f85f52883a2f89dc1364398077a"/><file name="PaymentMethod.php" hash="887eb231ed601e191a8d96c8e1c6f1ea"/></dir><dir name="Maestro"><file name="Observer.php" hash="b5679881bfd06e5c98e6acac05343382"/><file name="PaymentMethod.php" hash="726ab3653211cde3a67d8814ad7fceb2"/></dir><dir name="Mastercard"><file name="Observer.php" hash="99b236f76b4346d6b0059b2b5126cf31"/><file name="PaymentMethod.php" hash="3d84627f57dbe5492e85caf35e4d9834"/></dir><dir name="Masterpass"><file name="Observer.php" hash="15dc442b80c536cad21c18a044785f6b"/><file name="PaymentMethod.php" hash="352549517053d396ef2e13743970932c"/></dir><dir name="Onlinegiro"><file name="Observer.php" hash="d8a90c5c36a45dc5845f3f38d86015e7"/><file name="PaymentMethod.php" hash="8e90b5a32e15865f89219c6304ac7eda"/></dir><file name="PaymentMethod.php" hash="9084b7c8e3ce619df8216693dfaf441c"/><dir name="Paymentguarantee"><file name="Observer.php" hash="82783861718c2ac222106247ef7bc610"/><file name="PaymentMethod.php" hash="c37dceb8dbf9c1a7d83bc1cd6431f1a0"/></dir><dir name="Paypal"><file name="Observer.php" hash="42a860b3cd28d3dae91bf0cdcf6cbf29"/><file name="PaymentMethod.php" hash="4304dd8b85e113512c5c21a5b302ce3e"/></dir><dir name="Payperemail"><file name="Observer.php" hash="76591424a703b18948dd60be7c6e5b12"/><file name="PaymentMethod.php" hash="2fd55a378ddede3897da5dccf642e486"/></dir><dir name="Paysafecard"><file name="Observer.php" hash="5954a4b4bf9dd4febd8d84988e7282b9"/><file name="PaymentMethod.php" hash="771fe27ce89c1451bb03d1fb2b3c569e"/></dir><dir name="Sofortueberweisung"><file name="Observer.php" hash="96a4db03f99ed03bfc91ab3b315cc1da"/><file name="PaymentMethod.php" hash="3ce7b2d7c1ea195122174f6b66de7ac8"/></dir><dir name="Transfer"><file name="Observer.php" hash="eea70837020fcc703d2eb383f7926765"/><file name="PaymentMethod.php" hash="34878422839008d966bb7a86dc67477f"/></dir><dir name="Visa"><file name="Observer.php" hash="80182203018d18c7878b683765e9c6d1"/><file name="PaymentMethod.php" hash="cc082b4d6adfc96bf9a3c8b10500aea0"/></dir><dir name="Visaelectron"><file name="Observer.php" hash="ca9f4a9b94b2c3bd00733df160c4493e"/><file name="PaymentMethod.php" hash="1c6c4206cd80c4fcd0c02fd510d322f4"/></dir><dir name="Vpay"><file name="Observer.php" hash="61d59a900b732bb15f82dacb9a59407f"/><file name="PaymentMethod.php" hash="318085aa11380ca26d8486d3e40ab49c"/></dir></dir><file name="Process.php" hash="c457000e41690596888188b96f704040"/><dir name="Refund"><file name="Creditmemo.php" hash="3da1b8bc9cf6fed2962608366858d0e4"/><file name="Observer.php" hash="5b9ad329867e037eb75c4e287cb96530"/><dir name="Request"><file name="Abstract.php" hash="f61f0ffc429b2f67713525d35b69e3ce"/></dir><dir name="Response"><file name="Abstract.php" hash="497c7bb9a2c51709b30b7eb71caf3ed6"/><file name="Push.php" hash="2a68805f66dcb9d710184b5d4831a168"/></dir><dir name="Sources"><file name="StatusesClosedFailed.php" hash="4972f40ca79890943b064dde78ce4dcd"/><file name="StatusesClosedSuccess.php" hash="ee554ae7199ce719ff3752821a3bdd08"/><file name="StatusesCompleteFailed.php" hash="2cdf858b2802f4c7219d47b3ad74f723"/><file name="StatusesCompleteSuccess.php" hash="82e0c3cc3e5464d52382f5d0c283b3fe"/><file name="StatusesProcessingFailed.php" hash="1e312bcc824623a3346bed6f64f1e170"/><file name="StatusesProcessingSuccess.php" hash="4f5fe2bbb1423bf24b595bb76d489cec"/></dir></dir><dir name="Request"><file name="Abstract.php" hash="af034f13f211b4c2f14ab8b567a6932f"/><file name="Availability.php" hash="0a49991bb4a0eaf028f52798121142a7"/></dir><dir name="Resource"><dir name="Certificate"><file name="Collection.php" hash="793d24a8b45acfd95a86cb56f10c4af9"/></dir><file name="Certificate.php" hash="2944bbd321d00f4530a2ae9f420db461"/><dir name="Giftcard"><file name="Collection.php" hash="3f001857a1b75f42bcbb9af0e9ba8bae"/></dir><file name="Giftcard.php" hash="ce7fe75cca48d71fa78441fb42eb17ff"/><file name="Setup.php" hash="0a1ef7d53f0a597cddbe1ea136cb1b80"/></dir><dir name="Response"><file name="Abstract.php" hash="97a4a0da6732a1a8c0bb9841fd739b59"/><file name="BackendOrder.php" hash="518b73cc70ddca0ec659760e0e9b20bc"/><file name="Push.php" hash="1f2b72532139897643946729791a1b48"/><file name="Return.php" hash="27539258c2c3040b1d24361a6863bc06"/></dir><file name="Soap.php" hash="9a56d584132c26b5b4b1bb950ed52009"/><dir name="Sources"><file name="AcceptgiroDirectdebit.php" hash="635aea382493c1fe9497c02ad50dd5c5"/><dir name="Afterpay"><file name="AvailableCurrencies.php" hash="beb11c20245dc8a624df36fa8d2dc543"/></dir><dir name="Afterpay2"><file name="AvailableCurrencies.php" hash="d98e8ed7f4f65f44ee4d7380b02bbca3"/></dir><file name="Allspecificcountries.php" hash="718960abf74dead25882b4c9aed6748b"/><dir name="Amex"><file name="AvailableCurrencies.php" hash="6240bfa85eba943133c0b2ec5d84e703"/></dir><file name="Availablemethods.php" hash="3990954382e47269fc22fcc2ba9d1db5"/><dir name="Bancontactmrcash"><file name="AvailableCurrencies.php" hash="5d1359f1533582c92d59a50f0d3c3b69"/></dir><file name="BusinessToBusiness.php" hash="7433dd041e659bef9d589500a21edc7e"/><dir name="Cartebancaire"><file name="AvailableCurrencies.php" hash="f7e9ab1829a192ecb553422a95c0ba60"/></dir><dir name="Cartebleue"><file name="AvailableCurrencies.php" hash="05dfd6c7bd932c6db5f38f940c217176"/></dir><file name="Certificates.php" hash="17424773cdbdaef39c5961573bd12e47"/><file name="CultureType.php" hash="b77bac794ad88424f0d8bee4b58e57e8"/><dir name="Directdebit"><file name="AvailableCurrencies.php" hash="942251d7321bc013af0067ae61303a20"/></dir><dir name="Empayment"><file name="AvailableCurrencies.php" hash="e1742054645fab1892d1854bf739b548"/></dir><dir name="Eps"><file name="AvailableCurrencies.php" hash="e13ab7ac7dd535bde24b2441ff6a99a4"/></dir><file name="FeePercentageMode.php" hash="c5f13efdcadfb0ecd58a777bd44405c0"/><dir name="Giftcards"><file name="AvailableCards.php" hash="e7ff41b43fd9735391172a6761ce5beb"/><file name="AvailableCurrencies.php" hash="7430c988592a09f106bd0fbc95c87442"/></dir><dir name="Giropay"><file name="AvailableCurrencies.php" hash="ed685c06165b2eb906665a1992d90a4d"/></dir><dir name="Ideal"><file name="AvailableCurrencies.php" hash="f70ac8b2bf244b48865b3607403e5928"/><file name="ServiceVersion.php" hash="d15b8457484c53045d88f1866cd81b95"/></dir><dir name="Maestro"><file name="AvailableCurrencies.php" hash="e18b47ee64702f9d5d45bdf3a3098f55"/></dir><dir name="Mastercard"><file name="AvailableCurrencies.php" hash="c956e85f9da2a52f00978b02a4184391"/></dir><dir name="Masterpass"><file name="AvailableCurrencies.php" hash="e336bae86456987ce7b26121e157282c"/></dir><dir name="Onlinegiro"><file name="AvailableCurrencies.php" hash="6a4009bd81e02367e13c6493c113cec4"/></dir><file name="PaymentMethodArea.php" hash="2fe7d3978305a9fc533129623bc37ef5"/><dir name="Paymentguarantee"><file name="AvailableCurrencies.php" hash="eaab1072f162a21734ee681a8b01aeb3"/></dir><dir name="Paypal"><file name="AvailableCurrencies.php" hash="551f2f942e34da9a93ee4021e93b65a0"/></dir><dir name="Payperemail"><file name="AvailableCurrencies.php" hash="60bf5c055fb3cefb7b986716f1058f61"/></dir><dir name="Paysafecard"><file name="AvailableCurrencies.php" hash="0fa60d24e1a0a8871d856eab408dc1ea"/></dir><file name="ReminderLevel.php" hash="e37cb0ef83fa54d1f034ebec165fd7f6"/><dir name="Sofortueberweisung"><file name="AvailableCurrencies.php" hash="24ddd8be6ec6bee4471b234dcdebde2a"/></dir><file name="States.php" hash="77145e1431f0377b2c7c6812577aae9f"/><file name="StatusesFailed.php" hash="ca0406c3a0d1964b0e99aac3401d4484"/><file name="StatusesPending.php" hash="af8a6a3b57acea25e924090a37efc765"/><file name="StatusesPendingPayment.php" hash="c708bdeab09d6ed426310fb22c8571aa"/><file name="StatusesSuccess.php" hash="932910d9c8f0ae7debfbdaf72d0fd511"/><file name="TaxClasses.php" hash="b3eac25c3c44b3927f3fd5c42f6a84ab"/><file name="TestLive.php" hash="565c66468270e1dfdd2d71b9c80e7e87"/><dir name="Transfer"><file name="AvailableCurrencies.php" hash="a6f184fe5f8084bcfdb738c810149696"/></dir><dir name="Visa"><file name="AvailableCurrencies.php" hash="6b8c04c59ee273f5dbe75c5994153738"/></dir><dir name="Visaelectron"><file name="AvailableCurrencies.php" hash="4d95dc3ec06176f92ea185d8887807f9"/></dir><dir name="Vpay"><file name="AvailableCurrencies.php" hash="a18fe908ab589fd37e178e64683457d6"/></dir><file name="Yesno.php" hash="b7fd7889636bccfbc1e6db14e804c221"/></dir></dir><dir name="certificate"><file name="Checkout.pem" hash="441f60bb62fdc14434954514b01d0aa3"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="GiftcardController.php" hash="7a117cb306ba0b187a254a01010c6550"/></dir><file name="CheckoutController.php" hash="1cbd06d3bd0175312a7ce17117f8d892"/><file name="NotifyController.php" hash="c534a40adfa72e0c902aaba1b7a3e4ca"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c6726e6a4e6577f832112a30b44bc68c"/><file name="config.xml" hash="1526da31e8517c1c7d2322b50fa746d0"/><file name="system.xml" hash="4a9599a7984eaa8ea67668b60823bec6"/></dir><dir name="lib"><file name="Buckaroo.wsdl" hash="4fc7278e90be66fc8101c699f73b6204"/><file name="Import_1.xsd" hash="32c5184fc8f2010a202b2021e1b7fc00"/><file name="Import_10.xsd" hash="a64b4c201518b512fc6bc1ab78f0102f"/><file name="Import_11.xsd" hash="161e2970900419dc387af04e37f3a8ee"/><file name="Import_12.xsd" hash="146273756bb0a9bfd6ea8f5fba22ee9c"/><file name="Import_13.xsd" hash="1727b36ee762f6b1617c49d3e7597f75"/><file name="Import_14.xsd" hash="815f6849ad9b89b0295ffb48082ff619"/><file name="Import_15.xsd" hash="dc6a0cf5ca0cd6a52c2c0e18b7182f5a"/><file name="Import_16.xsd" hash="6511f38274501935bc847881e9fa27ed"/><file name="Import_17.xsd" hash="3ca8df56825b5a88509138faf79de2f8"/><file name="Import_18.xsd" hash="9be4df50a6bdca4bd196f26d2ae4e429"/><file name="Import_19.xsd" hash="9c4cd9b53bdf09b597e420cb58c32a5c"/><file name="Import_2.xsd" hash="bbeaa3381c5b550d2dfad8c049ba68e8"/><file name="Import_20.xsd" hash="cc7fa2b280b8f2d38da43e9fc7b94f86"/><file name="Import_21.xsd" hash="9ca3b39018c8583aa18ca98340288813"/><file name="Import_22.xsd" hash="dedd6c550d812705832feaaef60c721f"/><file name="Import_23.xsd" hash="c7b8bfae66463e58ce68c7f77eec04a4"/><file name="Import_24.xsd" hash="97ff34ab5da093f868dfd6623d934032"/><file name="Import_25.xsd" hash="52024ab7933277cb56aacc558609e67a"/><file name="Import_3.xsd" hash="dead2627684b2cf45f72f5dd9235738d"/><file name="Import_4.xsd" hash="ad27bf7d8bedc5e44f6a9ef862a05cb5"/><file name="Import_5.xsd" hash="a9c07bdedf700b572b89172e71dac0cd"/><file name="Import_6.xsd" hash="a6b2e2ac238b942b075f8cf186a644ed"/><file name="Import_7.xsd" hash="47193b5224627392508a074dd94c912d"/><file name="Import_8.xsd" hash="d167423bf89d1029a58e78ce4a000c0b"/><file name="Import_9.xsd" hash="52518de0039a5167b6d0bf803916c6e2"/></dir><dir name="sql"><dir name="buckaroo3extended_setup"><file name="mysql4-data-upgrade-4.12.0-4.13.0.php" hash="851354a41d84e5a043547376e4974798"/><file name="mysql4-data-upgrade-4.4.2.0-4.5.0.0.php" hash="3f34113aa093ec80a41c67926bdda27b"/><file name="mysql4-data-upgrade-4.6.1-4.7.0.php" hash="e2ffae63c1533bbe6d12e0e0532866dd"/><file name="mysql4-install-0.1.0.php" hash="60db243184184dd2b8b61adbc92e3032"/><file name="mysql4-upgrade-0.1.0-2.0.2.php" hash="34983df0c6286b761c2e4be9c6cc7952"/><file name="mysql4-upgrade-2.0.2-4.0.0.php" hash="34983df0c6286b761c2e4be9c6cc7952"/><file name="mysql4-upgrade-4.0.3-4.1.0.php" hash="d30fcb21bcd10039a9a77e890cdb519d"/><file name="mysql4-upgrade-4.3.1-4.3.2.php" hash="7affe54620a30f9feb8652c3e3b20696"/><file name="mysql4-upgrade-4.3.3.0-4.4.0.0.php" hash="3f27e188751bcd62c624192a8658c2e8"/><file name="mysql4-upgrade-4.4.0.0-4.4.1.0.php" hash="9353901c8546ed0bd126ee14be081ec6"/><file name="mysql4-upgrade-4.6.1-4.7.0.php" hash="9cfe09a4b22a88390182dd1851d110be"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="TIG_Buckaroo3Extended.xml" hash="6a23faf30df008518782b2d2a828c8a4"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="TIG"><file name="buckaroo3extended.xml" hash="0182e265f42911a3c734be4ec8091c94"/></dir></dir><dir name="template"><dir name="buckaroo3extended"><dir name="directdebit"><file name="info.phtml" hash="d1ba310ae081037271ee78d696db690f"/></dir><dir name="onlinegiro"><dir name="checkout"><file name="form.phtml" hash="997a24214a955aea9b2b19e18c8cb658"/></dir></dir><dir name="payperemail"><dir name="checkout"><file name="form.phtml" hash="5bc3425008dcb754c5b9fa544d88ceac"/></dir></dir><dir name="refund"><dir name="system"><dir name="config"><file name="noOptionsAvailable.phtml" hash="38c734121ab4b8554347c1569e0aae01"/></dir></dir></dir><dir name="sales"><dir name="order"><dir name="create"><file name="js.phtml" hash="3edec4e9d05ac156c3cc3314ceada764"/><dir name="totals"><file name="fee.phtml" hash="9864e20a538296885ae34f772708a90f"/></dir></dir><dir name="creditmemo"><dir name="create"><file name="refund_fields.phtml" hash="a2e1f0c61a7c299b112122e08146da2e"/><dir name="totals"><file name="fee.phtml" hash="6292242b0ff50c1187b2829da815e601"/></dir></dir></dir><dir name="totals"><file name="tax.phtml" hash="4bf6a29c289e42375e3bca41f6495bd9"/></dir></dir></dir><dir name="system"><dir name="config"><file name="hint.phtml" hash="7c107d72d94338010dcfa3e4425f968e"/><file name="klarnaCheck.phtml" hash="69395e036253f21fbb9f3cc6a494930b"/><file name="paymentmethodbanner.phtml" hash="d4d30e0fabe6484e4c2181fa1074ce12"/><file name="paypalRegionCheck.phtml" hash="f0638223fc0fbdc4fb6b25e03c4258f1"/><file name="singlehint.phtml" hash="f4d4e28c7899e15b6692dcceb975ad77"/><file name="supportTab.phtml" hash="007d58dee82e88536f5f11f63c81eb3a"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="TIG"><file name="buckaroo3extended.xml" hash="21bd91c1ec958f1f04e886e42fd51718"/></dir></dir><dir name="template"><dir name="buckaroo3extended"><dir name="afterpay"><dir name="checkout"><file name="form.phtml" hash="184bb82bb0413b53ec851ea76aeb4141"/></dir></dir><dir name="afterpay2"><dir name="checkout"><file name="form.phtml" hash="184bb82bb0413b53ec851ea76aeb4141"/></dir></dir><dir name="amex"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="bancontactmrcash"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="cartebancaire"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="cartebleue"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="checkout"><dir name="total"><file name="buckaroo_fee.phtml" hash="070cdb545d718c890f1b372246a26143"/></dir></dir><dir name="customer"><dir name="widget"><file name="dob.phtml" hash="fe142f7345e1908b8354d20f69023269"/></dir></dir><dir name="directdebit"><dir name="checkout"><file name="form.phtml" hash="8a3809bbc3d5e14d000a0a89206b1f0b"/></dir><file name="info.phtml" hash="f494d2b2d8f27df3a40548b8a5e38a99"/></dir><dir name="empayment"><dir name="checkout"><file name="form.phtml" hash="8ef01960e1c13cb9f249299fca967263"/></dir></dir><dir name="eps"><dir name="checkout"><file name="form.phtml" hash="77e7d2894364dbf959c50480b8242ac9"/></dir></dir><dir name="giftcards"><dir name="checkout"><file name="form.phtml" hash="8ef01960e1c13cb9f249299fca967263"/></dir></dir><dir name="giropay"><dir name="checkout"><file name="form.phtml" hash="1d5f7d7fb64e7adcbcd980daff0dbf5d"/></dir></dir><dir name="ideal"><dir name="checkout"><file name="form.phtml" hash="5994e8bf263928737f392db6cb75a359"/></dir></dir><file name="jquery.phtml" hash="7c274dd682ae4273e7a85a477d7125ae"/><dir name="maestro"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="mastercard"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><file name="oneStepCheckout.phtml" hash="bc07be11bfe81f21a38eb332362932e6"/><dir name="onlinegiro"><dir name="checkout"><file name="form.phtml" hash="8b895e7f56531e3beab809270ae1a175"/></dir></dir><dir name="paymentFee"><dir name="checkout"><file name="fee.phtml" hash="80cfb59b392afa5bdb7d012c4782e8fa"/></dir></dir><dir name="paymentguarantee"><dir name="checkout"><file name="form.phtml" hash="50248bddb9fe74eecfd8fd1e9286bacb"/></dir><file name="termsAndConditions.phtml" hash="6f1fd609fc1baf3a541707f6fbe129f7"/></dir><dir name="paypal"><dir name="checkout"><file name="form.phtml" hash="8ef01960e1c13cb9f249299fca967263"/></dir></dir><dir name="payperemail"><dir name="checkout"><file name="form.phtml" hash="405369f9e2ceec15b76970b9f9ed8dfd"/></dir></dir><dir name="paysafecard"><dir name="checkout"><file name="form.phtml" hash="77e7d2894364dbf959c50480b8242ac9"/></dir></dir><file name="saveData.phtml" hash="523e37b63f6a90ac00307551d7bcf3e4"/><dir name="sofortueberweisung"><dir name="checkout"><file name="form.phtml" hash="77e7d2894364dbf959c50480b8242ac9"/></dir></dir><dir name="transfer"><dir name="checkout"><file name="form.phtml" hash="f88cbbb4f63010bd554c3dd5fb974b36"/></dir></dir><dir name="visa"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="visaelectron"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="vpay"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><dir name="tig_buckaroo3extended"><file name="supportTab.css" hash="697af7a62a046a2ed7fe0c0df309470a"/><file name="system_config_edit.css" hash="0bb88faa152728f3b84c57ba062da4bb"/></dir></dir><dir name="images"><dir name="tig_buckaroo3extended"><file name="buckaroo_large.png" hash="72ddf928560ce583ed36fafb7ccca4d5"/><file name="buckaroo_logo_medium.gif" hash="a7e5eb51b749720f6fc31d3a4234072e"/><file name="buckaroo_small.png" hash="af486c1bda7ed73a3ab756801aa4973d"/><file name="glyph_error.gif" hash="a138b803d772f552aa2e49e1c506edbd"/><file name="glyph_info.gif" hash="40f72d28be63ecf2b6ef44c7ea730104"/><file name="glyph_manual.png" hash="771db63b6ffc9de1c06da564796adc6e"/><file name="glyph_pdf.png" hash="a5ea929f4014a88d7320d0293913ace3"/><file name="glyph_success.gif" hash="465a056a3ba3d94367f51c3c0b751391"/><file name="glyph_warning.gif" hash="fa817cb6d49efb9855942ef2b739fc6c"/><file name="legend.gif" hash="d8fb0642901868d489d31b426f3e3406"/><file name="tig_logo_medium.png" hash="780a6b187a34886a3748abbc2eee42a1"/></dir></dir><dir name="js"><dir name="tig_buckaroo3extended"><file name="jquery-1.4.4.min.js" hash="73a9c334c5ca71d70d092b42064f6476"/></dir><dir name="TIG"><dir name="Buckaroo3Extended"><file name="klarnaCheck.js" hash="4aa9345dc7937b177a0de82e09692c27"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="styles_opc.css" hash="f89a6cbf2832d79041a6689c4b829ff8"/><file name="styles_osc.css" hash="b53917c3b2dd8a733a2824df63519527"/></dir></dir></dir><dir name="images"><dir name="tig_buckaroo3extended"><file name="ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="icon_asn.gif" hash="0fbd9493e65ab774cc6859da47c3c8cc"/><file name="logo_abn_s.gif" hash="eb6d7cd949e6fbf671c43cb83c7c3e17"/><file name="logo_fortis_s.gif" hash="7f1ad68de127101a83e02c2e5af01fa7"/><file name="logo_friesland_s.gif" hash="d9955dc120b7d4216d9bd19b6d8621c0"/><file name="logo_ing_s.gif" hash="e56fa35285496c73565bfdf82d6967fa"/><file name="logo_knab_s.gif" hash="146e995dbede4e2798c278d6da26b9d2"/><file name="logo_lanschot_s.gif" hash="f68ceb355661c41779d716a6ef8dfdf3"/><file name="logo_rabo_s.gif" hash="8df417edaf2410ff574d9d1ed453c0bc"/><file name="logo_sns_s.gif" hash="78462566d91b21feca3930ccf203e1f4"/><file name="logo_triodos.gif" hash="f3dd4d744232ddf4c1700068a6b3a531"/></dir></dir><dir name="js"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="jQuery-1.4.4.min.js" hash="5450efeb34b29f09b681e70d41649a54"/><file name="oneStepCheckout.js" hash="2a5bdfb79b02a77a9476a8f90ae9f7e6"/><file name="paymentGuaranteeTermsAndConditions.js" hash="04ace8a551d70f8fbf005bb1123f7fa4"/><file name="saveData.js" hash="a4d062d5ae0e72f9f3cd44d0112182f7"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="nl_NL"><file name="TIG_Buckaroo3Extended.csv" hash="68391429cd854b88170093dfbd70ae50"/></dir><dir name="en_US"><file name="TIG_Buckaroo3Extended.csv" hash="1238d1d0c4a8e8a8468dfc1d36549c56"/></dir></target></contents>
95
  <compatible/>
96
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
97
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>tig_buckaroo3extended</name>
4
+ <version>4.14.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US">Creative Commons License</license>
7
  <channel>community</channel>
34
  - Vpay&#xD;
35
  &#xD;
36
  Other services offered by this extension include refunds and paymentfee.</description>
37
+ <notes>==== 4.14.1 ====&#xD;
38
+ ==== Improvements ====&#xD;
39
+ - Compatibiliteit met de Magento Patch SUPEE-6788&#xD;
40
+ &#xD;
41
+ ==== Bug fixes ====&#xD;
42
+ - Provincie veld is niet meer verplicht voor PayPal verkopersbescherming bij Nederlandse adressen&#xD;
43
+ &#xD;
44
+ ==== 4.13.0 ====&#xD;
45
+ ==== Improvements ====&#xD;
46
  - Extra invulvelden verwijderd bij offline refunds voor Mr. Cash&#xD;
47
  - Offline refunds bij Mr. Cash ondersteunt nu ook deelrefunds&#xD;
48
  - Aangepaste styling van de betaalmethodes in OSC en OPC&#xD;
53
  - Fix voor de AfterPay afwijzingsmeldingen&#xD;
54
  - Correcte weergave van betaaltoeslagen onder 1 Euro&#xD;
55
  - De Billing Agreements pagina geeft geen foutmelding meer bij gebruik van de extensie&#xD;
56
+ &#xD;
57
  ==== 4.12.0 ====&#xD;
58
+ ==== Improvements ====&#xD;
59
  - Tweede AfterPay betaalmethode toegevoegd. Zo kan een merchant zowel de digiaccept variant, als de acceptgiro variant tegelijk gebruiken.&#xD;
60
  &#xD;
61
  ==== Bug fixes ====&#xD;
62
  - Correcte weergave Buckaroo fee in transactionele e-mails&#xD;
63
  - Fix voor custom status bij pending orders&#xD;
64
+ &#xD;
65
  ==== 4.11.0 ====&#xD;
66
+ ==== New features ====&#xD;
67
  - MasterPass betaalmethode toegevoegd.&#xD;
68
  &#xD;
69
  ==== Improvements ====&#xD;
96
  ==== Bug fixes ====&#xD;
97
  - Fixed a problem where the order ID would stay reserved after a payment had failed, causing errors.</notes>
98
  <authors><author><name>TIG</name><user>supporttotal</user><email>servicedesk@totalinternetgroup.nl</email></author></authors>
99
+ <date>2015-10-28</date>
100
+ <time>15:17:11</time>
101
+ <contents><target name="magecommunity"><dir name="TIG"><dir name="Buckaroo3Extended"><dir name="Block"><dir name="Adminhtml"><dir name="Giftcard"><dir name="Edit"><file name="Form.php" hash="cec5b5d92f5f710693e4cb8495cfb6a8"/></dir><file name="Edit.php" hash="28d90558574b93a6cb360b7270991016"/><file name="Grid.php" hash="a3d1b809a0a5c88fb3ff9b74d6b3dd5c"/></dir><file name="Giftcard.php" hash="a3937f82be98c507a28b6fcad86313ee"/><dir name="Sales"><dir name="Order"><dir name="Create"><dir name="Totals"><file name="Fee.php" hash="84d71b5c883b67baa84c2df0bcd8142b"/></dir></dir><dir name="Creditmemo"><dir name="Create"><file name="Fee.php" hash="c294febe98243a2c1f0f74417e07d094"/><file name="RefundFields.php" hash="e237034e28f6f0622de8f9b2ded99590"/></dir><dir name="Totals"><file name="Fee.php" hash="9e7ce33537256a4ee24928932a6de670"/></dir></dir><dir name="Invoice"><dir name="Totals"><file name="Fee.php" hash="f96253212645e3873369e69698f2d9d9"/></dir></dir><dir name="Totals"><file name="Fee.php" hash="6864e33af4fa09ef3bdeb35686701623"/></dir></dir></dir><dir name="System"><dir name="Config"><file name="Hint.php" hash="4586b3c5e42706c2bb3099abcf768b20"/><file name="KlarnaCheck.php" hash="4af2d295960ab6b130d5a00679743973"/><file name="Paymentmethodbanner.php" hash="517693650534e8069de9839c0f5f90f4"/><file name="SellersProtectionCheck.php" hash="fc531673aa166098a19b5c8919c1b992"/><file name="Singlehint.php" hash="78f13dec86b716a2fb6e136c4efbd34f"/><file name="SupportTab.php" hash="0bd8666b7428669839b96a05c794f192"/></dir></dir></dir><dir name="Customer"><dir name="Widget"><file name="Dob.php" hash="c0b2de80572d3acf4228c6e04d5a8a50"/></dir></dir><dir name="PaymentFee"><dir name="Checkout"><dir name="Total"><file name="Fee.php" hash="859c52bdb843bd2a5dca69c1a96b9d85"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Totals"><file name="Fee.php" hash="40556128c469edfc7514e8eb46668360"/></dir></dir><dir name="Invoice"><dir name="Totals"><file name="Fee.php" hash="99993c8778754a2aa551a0f263745225"/></dir></dir><dir name="Totals"><file name="Fee.php" hash="f731faca357e5eab220df5c7b0df6d3d"/></dir></dir></dir></dir><dir name="PaymentMethods"><dir name="Afterpay"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="6e3c0bd9eee2fe2be538d221ec96f8f8"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="01a47d3c78466a9efad37d2fecff30f3"/></dir></dir><dir name="Afterpay2"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="89317daa2c708f7a29c515be5381ab80"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="1ae3de4c8e3c9d86a0da556181a1ca20"/></dir></dir><dir name="Amex"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="97996a4a4a6c6b18958147bfcef42de4"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="8dace9e0c5aef7aa47423d37beced0fa"/></dir></dir><dir name="Bancontactmrcash"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="4ecf67c7a2bd57135915105db9d48e39"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="1f7eb6ec2ba19917a46ef9ae877fa453"/></dir></dir><dir name="Cartebancaire"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="5cf43693480003815e8e3b05ac192ab4"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="660156b59b61152aa60d2a5b5b96af89"/></dir></dir><dir name="Cartebleue"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="9f11bef74e08bdf03b3648d216c59de3"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="224854a2564636708415b06a9ac83b08"/></dir></dir><dir name="Checkout"><dir name="Form"><file name="Abstract.php" hash="ca58bdd7d2e9e99735527eef123d3fa4"/></dir></dir><dir name="Directdebit"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="8d0f3a1ffd3f2920cb38b7283c8f7a47"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="ed6db2005ec69b7a54e928a0d33e7f00"/></dir><file name="Info.php" hash="dcf3f19dcd8fdcf6db3113439ccfd5b6"/></dir><dir name="Empayment"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="460d4674e572573c5738ce87bf201202"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="ddb8cb90231659f17c5c7ba38ad969b7"/></dir></dir><dir name="Eps"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="a329209f134afe361ef7d9adf957745a"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="01058a7858b1007bc56d2acd08e3274e"/></dir></dir><dir name="Giftcards"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="97996a4a4a6c6b18958147bfcef42de4"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="27eb0ffa3bf234b1326d2618ab479f77"/></dir></dir><dir name="Giropay"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="a384d5ca6369442901387ac5555b061e"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="5956caafb68cb45543a93a02d8d16efa"/></dir></dir><dir name="Ideal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="98506d7cf7339a1a3bd51aff75a2d41d"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="54c8ad9a18ec06e153c645c8864727b5"/></dir></dir><dir name="Maestro"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="7a9476690ad27d5516fb2d094b361626"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="fd5b8435c163c21d889417f2035f6434"/></dir></dir><dir name="Mastercard"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="e1a5f220e48ae8ac0a6f844b16207a51"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="4514ef760ad660a9525fa87e13f068f2"/></dir></dir><dir name="Masterpass"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="f474094f2b38459d29e5d9eaf945a422"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="00cd5f45d68b9253fda9d28ea44ca553"/></dir></dir><dir name="Onlinegiro"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="5ae5ce5ebf3041535bf17f2711a4f445"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="52f89dd09f299949411ba572e20becc0"/></dir></dir><dir name="Paymentguarantee"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="250e5f514cd312e895aaa6926bff353a"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="6b885fd2a46d3fecde873e76941cb1c2"/></dir></dir><dir name="Paypal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="20153fa7827484b096d609bf341c5515"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="41dbb35224e46842c01eeea1b2fa1c2f"/></dir></dir><dir name="Payperemail"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="cf526aa3604fc2e59f74840fb6de3acd"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="a4e6609168127b0200df2c9a200ae8c5"/></dir></dir><dir name="Paysafecard"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="ddbccd2574c89997aaed10b08131782b"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="aa28693fe1c5f3e874efc38b15733ee9"/></dir></dir><dir name="Sofortueberweisung"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="a9953aa93ace25c4615e11ca2f5e06c5"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="85fc73af91aab1b43704cac56539e1b3"/></dir></dir><dir name="Transfer"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="5cb8050c05c683f8661cac7e66a3e9ca"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="1ddf724fa739e6ebb402de143f763106"/></dir></dir><dir name="Visa"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="1d9d4dc8aef79cefdd4682bebdc9b0fb"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="53d775fe383da75293031b8b93019f48"/></dir></dir><dir name="Visaelectron"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="f406d49fd695718e620397fe82f66196"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="3cbb7e02bba4eaa57099e8bd6de91511"/></dir></dir><dir name="Vpay"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Advancedbtn.php" hash="0de8e8b98f01fab7e770f5b419d2ff79"/></dir></dir></dir><dir name="Checkout"><file name="Form.php" hash="2cd464f9298f30249baa85d5e9f8233b"/></dir></dir></dir><dir name="Refund"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="NoOptionsAvailable.php" hash="f40e0935fc520a46d16c6d2d93c65a02"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="52dcedb162abe6fe2dd122f22fc08a38"/><file name="StateCodes.php" hash="b2c6d80d88c652415341c1babede7c57"/></dir><dir name="Model"><file name="Abstract.php" hash="47b7460f1bb83391d1f0438a3b78b3d9"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Buckaroo"><file name="Certificate.php" hash="81662b088ecdd765c6d3219fae334af1"/><file name="Fee.php" hash="3e98f9441b4ceee3ed10f29590243a6a"/></dir></dir></dir></dir></dir><dir name="Certificate"><file name="Certificate.php" hash="ff3ede1ae2fc24b0fb8657f6262ddcca"/></dir><file name="Certificate.php" hash="4f0c237526e019a188b0abd58820ab2a"/><file name="Giftcard.php" hash="8c3125cece761673aef50307e4f6b398"/><dir name="Masterpass"><file name="V06.php" hash="b1d34af77b257b0dd56962751dddc2f7"/></dir><dir name="Mysql4"><file name="Setup.php" hash="fede9dbd2f1b214a12aa98bd895018b9"/></dir><dir name="Observer"><file name="Abstract.php" hash="8b055989bfbc887cbf0b10ca695d528e"/><file name="BackendOrder.php" hash="4efdbd37d08621f508d0c4b1e81548ec"/></dir><file name="Observer.php" hash="48b3c0744ecad5fbfc6bb87f3aecda85"/><dir name="OldPaymentMethods"><file name="OldPaymentMethod.php" hash="528157a9379be2299d4db7170d59cb4e"/></dir><dir name="PaymentFee"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><dir name="Fee"><file name="Abstract.php" hash="7a735d2cdd496f1ab39b5e7fa39385eb"/></dir><file name="Fee.php" hash="932fd6e5229ea0e03bfc8c4a3cdb08b6"/><file name="FeeTax.php" hash="de53ceeec529fe83d61a440397e5ae8f"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Fee.php" hash="c3c18aedec2ec4f8626643db53c7ac67"/><file name="FeeTax.php" hash="55260378223e3bb0e6daace9388e2e03"/><file name="Subtotal.php" hash="2e44bed3b438dc0a44a4fc5c9bb8b426"/></dir></dir><dir name="Pdf"><dir name="Total"><file name="Fee.php" hash="2f837fd9e9c55a921fd505e0b6b34d1d"/><file name="Grandtotal.php" hash="f31d624fffaa5b35c81ced7a251c5c97"/><file name="Tax.php" hash="f0d2374a156c19a88b37f9d76ad56c55"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><dir name="Fee"><file name="Abstract.php" hash="4d4a5e078ed2fb568ac28ce736321d59"/></dir><file name="Fee.php" hash="0a7ec955f8bfe4b42c3482b53dfaa98c"/><file name="FeeTax.php" hash="970b285c1df9ad676b426946b3b21603"/></dir></dir></dir><file name="Service.php" hash="38d9ea54efba391312d6f3b28686d9e7"/><dir name="System"><dir name="Config"><dir name="Source"><file name="FeeTaxClass.php" hash="13fd7cb66310ce16d3f073ff39d108de"/></dir></dir></dir></dir><dir name="PaymentMethods"><dir name="Afterpay"><file name="Observer.php" hash="c69264282577631e768c897b9ad862de"/><file name="PaymentMethod.php" hash="08f0ead679bf505a1a3db6b580600647"/></dir><dir name="Afterpay2"><file name="Observer.php" hash="fc491fd84036c1b971e8b45b64a8703c"/><file name="PaymentMethod.php" hash="5b2dede30a1f0e5030f6d6d3a8a738f0"/></dir><dir name="Amex"><file name="Observer.php" hash="7d1822fd50bcb7cf0870e25e6f23dc22"/><file name="PaymentMethod.php" hash="76aad7b5b1b5eec3565596a46b0bad92"/></dir><dir name="Bancontactmrcash"><file name="Observer.php" hash="d3c84086400e2f58a7b16b428ef56b4d"/><file name="PaymentMethod.php" hash="03f087c748eb59b4c08f12524f88474b"/></dir><dir name="Cartebancaire"><file name="Observer.php" hash="90dfbb6363648b77667a769928a7d74f"/><file name="PaymentMethod.php" hash="8133e6b1b3f68e879200e233fbd88b68"/></dir><dir name="Cartebleue"><file name="Observer.php" hash="42e6154b3ed81a5c62212b76af94ba8d"/><file name="PaymentMethod.php" hash="f6174e8aaa6b9425ef56096fe31a2279"/></dir><dir name="Directdebit"><file name="Observer.php" hash="d69fea8936a47b872022f8d983e9be4a"/><file name="PaymentMethod.php" hash="49cd22ff14b88cc95b394288c673e5b9"/></dir><dir name="Empayment"><file name="Observer.php" hash="b50935e06c48f1288250df3a89c1937a"/><file name="PaymentMethod.php" hash="d870c837eff76d921251c1ae77f7da91"/></dir><dir name="Eps"><file name="Observer.php" hash="beab5315b271c662b88de70f4c37e437"/><file name="PaymentMethod.php" hash="9fdaac7fe5d631e7433d96e44b0a352c"/></dir><dir name="Giftcards"><file name="Observer.php" hash="3fff3090241dee02cc181562ccc0be98"/><file name="PaymentMethod.php" hash="c13e50817ea4b175459aa00ef55ceb99"/></dir><dir name="Giropay"><file name="Observer.php" hash="150c3f7e14fa48582e79c4de971d77fc"/><file name="PaymentMethod.php" hash="597f7589be437f9cc5543a492c944fb1"/></dir><dir name="Ideal"><file name="Observer.php" hash="6e3fe42e721da075efa8911a83626596"/><file name="PaymentMethod.php" hash="887eb231ed601e191a8d96c8e1c6f1ea"/></dir><dir name="Maestro"><file name="Observer.php" hash="b5679881bfd06e5c98e6acac05343382"/><file name="PaymentMethod.php" hash="726ab3653211cde3a67d8814ad7fceb2"/></dir><dir name="Mastercard"><file name="Observer.php" hash="99b236f76b4346d6b0059b2b5126cf31"/><file name="PaymentMethod.php" hash="3d84627f57dbe5492e85caf35e4d9834"/></dir><dir name="Masterpass"><file name="Observer.php" hash="ba554ffffe8ec4480736d18f0020b4be"/><file name="PaymentMethod.php" hash="352549517053d396ef2e13743970932c"/></dir><dir name="MasterpassLightbox"><file name="Observer.php" hash="cfef79e6bb2c9d9c487f0ec087085182"/><file name="PaymentMethod.php" hash="0bbdfcaf60690820bf5833d020786a1a"/></dir><dir name="Onlinegiro"><file name="Observer.php" hash="d8a90c5c36a45dc5845f3f38d86015e7"/><file name="PaymentMethod.php" hash="8e90b5a32e15865f89219c6304ac7eda"/></dir><file name="PaymentMethod.php" hash="6348e1a3623b5001514e89433b5a43be"/><dir name="Paymentguarantee"><file name="Observer.php" hash="82783861718c2ac222106247ef7bc610"/><file name="PaymentMethod.php" hash="c37dceb8dbf9c1a7d83bc1cd6431f1a0"/></dir><dir name="Paypal"><file name="Observer.php" hash="42a860b3cd28d3dae91bf0cdcf6cbf29"/><file name="PaymentMethod.php" hash="4304dd8b85e113512c5c21a5b302ce3e"/></dir><dir name="Payperemail"><file name="Observer.php" hash="76591424a703b18948dd60be7c6e5b12"/><file name="PaymentMethod.php" hash="2fd55a378ddede3897da5dccf642e486"/></dir><dir name="Paysafecard"><file name="Observer.php" hash="5954a4b4bf9dd4febd8d84988e7282b9"/><file name="PaymentMethod.php" hash="771fe27ce89c1451bb03d1fb2b3c569e"/></dir><dir name="Sofortueberweisung"><file name="Observer.php" hash="96a4db03f99ed03bfc91ab3b315cc1da"/><file name="PaymentMethod.php" hash="3ce7b2d7c1ea195122174f6b66de7ac8"/></dir><dir name="Transfer"><file name="Observer.php" hash="eea70837020fcc703d2eb383f7926765"/><file name="PaymentMethod.php" hash="34878422839008d966bb7a86dc67477f"/></dir><dir name="Visa"><file name="Observer.php" hash="80182203018d18c7878b683765e9c6d1"/><file name="PaymentMethod.php" hash="cc082b4d6adfc96bf9a3c8b10500aea0"/></dir><dir name="Visaelectron"><file name="Observer.php" hash="ca9f4a9b94b2c3bd00733df160c4493e"/><file name="PaymentMethod.php" hash="1c6c4206cd80c4fcd0c02fd510d322f4"/></dir><dir name="Vpay"><file name="Observer.php" hash="61d59a900b732bb15f82dacb9a59407f"/><file name="PaymentMethod.php" hash="318085aa11380ca26d8486d3e40ab49c"/></dir></dir><file name="Process.php" hash="c457000e41690596888188b96f704040"/><dir name="Refund"><file name="Creditmemo.php" hash="3da1b8bc9cf6fed2962608366858d0e4"/><file name="Observer.php" hash="5b9ad329867e037eb75c4e287cb96530"/><dir name="Request"><file name="Abstract.php" hash="f61f0ffc429b2f67713525d35b69e3ce"/></dir><dir name="Response"><file name="Abstract.php" hash="497c7bb9a2c51709b30b7eb71caf3ed6"/><file name="Push.php" hash="2a68805f66dcb9d710184b5d4831a168"/></dir><dir name="Sources"><file name="StatusesClosedFailed.php" hash="4972f40ca79890943b064dde78ce4dcd"/><file name="StatusesClosedSuccess.php" hash="ee554ae7199ce719ff3752821a3bdd08"/><file name="StatusesCompleteFailed.php" hash="2cdf858b2802f4c7219d47b3ad74f723"/><file name="StatusesCompleteSuccess.php" hash="82e0c3cc3e5464d52382f5d0c283b3fe"/><file name="StatusesProcessingFailed.php" hash="1e312bcc824623a3346bed6f64f1e170"/><file name="StatusesProcessingSuccess.php" hash="4f5fe2bbb1423bf24b595bb76d489cec"/></dir></dir><dir name="Request"><file name="Abstract.php" hash="05750d6a206e1edd636e8fbd9f81426c"/><file name="Availability.php" hash="0a49991bb4a0eaf028f52798121142a7"/><file name="Quote.php" hash="be0df87844e191275fcfd03047d6289c"/><file name="QuoteFinal.php" hash="f827a4953d6adc0d8681970351ffda84"/></dir><dir name="Resource"><dir name="Certificate"><file name="Collection.php" hash="793d24a8b45acfd95a86cb56f10c4af9"/></dir><file name="Certificate.php" hash="2944bbd321d00f4530a2ae9f420db461"/><dir name="Giftcard"><file name="Collection.php" hash="3f001857a1b75f42bcbb9af0e9ba8bae"/></dir><file name="Giftcard.php" hash="ce7fe75cca48d71fa78441fb42eb17ff"/><file name="Setup.php" hash="0a1ef7d53f0a597cddbe1ea136cb1b80"/></dir><dir name="Response"><file name="Abstract.php" hash="93b24628a7be96d8a0e4744425e9d0ac"/><file name="BackendOrder.php" hash="518b73cc70ddca0ec659760e0e9b20bc"/><file name="MasterPass.php" hash="dab1fab67ec634d50252e7bcc66b02e5"/><file name="Push.php" hash="eabd99045449e90c89672c87dcb113d3"/><file name="Quote.php" hash="919b23d4b4363e770ed1a4902ed92c10"/><file name="Return.php" hash="27539258c2c3040b1d24361a6863bc06"/></dir><file name="Soap.php" hash="bb1702e70454dfdd8ba14b44711dc989"/><dir name="Sources"><file name="AcceptgiroDirectdebit.php" hash="635aea382493c1fe9497c02ad50dd5c5"/><dir name="Afterpay"><file name="AvailableCurrencies.php" hash="beb11c20245dc8a624df36fa8d2dc543"/></dir><dir name="Afterpay2"><file name="AvailableCurrencies.php" hash="d98e8ed7f4f65f44ee4d7380b02bbca3"/></dir><file name="Allspecificcountries.php" hash="718960abf74dead25882b4c9aed6748b"/><dir name="Amex"><file name="AvailableCurrencies.php" hash="6240bfa85eba943133c0b2ec5d84e703"/></dir><file name="Availablemethods.php" hash="3990954382e47269fc22fcc2ba9d1db5"/><dir name="Bancontactmrcash"><file name="AvailableCurrencies.php" hash="5d1359f1533582c92d59a50f0d3c3b69"/></dir><file name="BusinessToBusiness.php" hash="7433dd041e659bef9d589500a21edc7e"/><dir name="Cartebancaire"><file name="AvailableCurrencies.php" hash="f7e9ab1829a192ecb553422a95c0ba60"/></dir><dir name="Cartebleue"><file name="AvailableCurrencies.php" hash="05dfd6c7bd932c6db5f38f940c217176"/></dir><file name="Certificates.php" hash="17424773cdbdaef39c5961573bd12e47"/><file name="CultureType.php" hash="b77bac794ad88424f0d8bee4b58e57e8"/><dir name="Directdebit"><file name="AvailableCurrencies.php" hash="942251d7321bc013af0067ae61303a20"/></dir><dir name="Empayment"><file name="AvailableCurrencies.php" hash="e1742054645fab1892d1854bf739b548"/></dir><dir name="Eps"><file name="AvailableCurrencies.php" hash="e13ab7ac7dd535bde24b2441ff6a99a4"/></dir><file name="FeePercentageMode.php" hash="c5f13efdcadfb0ecd58a777bd44405c0"/><dir name="Giftcards"><file name="AvailableCards.php" hash="e7ff41b43fd9735391172a6761ce5beb"/><file name="AvailableCurrencies.php" hash="7430c988592a09f106bd0fbc95c87442"/></dir><dir name="Giropay"><file name="AvailableCurrencies.php" hash="ed685c06165b2eb906665a1992d90a4d"/></dir><dir name="Ideal"><file name="AvailableCurrencies.php" hash="f70ac8b2bf244b48865b3607403e5928"/><file name="ServiceVersion.php" hash="d15b8457484c53045d88f1866cd81b95"/></dir><dir name="Maestro"><file name="AvailableCurrencies.php" hash="e18b47ee64702f9d5d45bdf3a3098f55"/></dir><dir name="Mastercard"><file name="AvailableCurrencies.php" hash="c956e85f9da2a52f00978b02a4184391"/></dir><dir name="Masterpass"><file name="AvailableCurrencies.php" hash="e336bae86456987ce7b26121e157282c"/></dir><dir name="Onlinegiro"><file name="AvailableCurrencies.php" hash="6a4009bd81e02367e13c6493c113cec4"/></dir><file name="PaymentMethodArea.php" hash="2fe7d3978305a9fc533129623bc37ef5"/><dir name="Paymentguarantee"><file name="AvailableCurrencies.php" hash="eaab1072f162a21734ee681a8b01aeb3"/></dir><dir name="Paypal"><file name="AvailableCurrencies.php" hash="551f2f942e34da9a93ee4021e93b65a0"/></dir><dir name="Payperemail"><file name="AvailableCurrencies.php" hash="60bf5c055fb3cefb7b986716f1058f61"/></dir><dir name="Paysafecard"><file name="AvailableCurrencies.php" hash="0fa60d24e1a0a8871d856eab408dc1ea"/></dir><file name="ReminderLevel.php" hash="e37cb0ef83fa54d1f034ebec165fd7f6"/><dir name="Sofortueberweisung"><file name="AvailableCurrencies.php" hash="24ddd8be6ec6bee4471b234dcdebde2a"/></dir><file name="States.php" hash="77145e1431f0377b2c7c6812577aae9f"/><file name="StatusesFailed.php" hash="ca0406c3a0d1964b0e99aac3401d4484"/><file name="StatusesPending.php" hash="af8a6a3b57acea25e924090a37efc765"/><file name="StatusesPendingPayment.php" hash="c708bdeab09d6ed426310fb22c8571aa"/><file name="StatusesSuccess.php" hash="932910d9c8f0ae7debfbdaf72d0fd511"/><file name="TaxClasses.php" hash="b3eac25c3c44b3927f3fd5c42f6a84ab"/><file name="TestLive.php" hash="565c66468270e1dfdd2d71b9c80e7e87"/><dir name="Transfer"><file name="AvailableCurrencies.php" hash="a6f184fe5f8084bcfdb738c810149696"/></dir><dir name="Visa"><file name="AvailableCurrencies.php" hash="6b8c04c59ee273f5dbe75c5994153738"/></dir><dir name="Visaelectron"><file name="AvailableCurrencies.php" hash="4d95dc3ec06176f92ea185d8887807f9"/></dir><dir name="Vpay"><file name="AvailableCurrencies.php" hash="a18fe908ab589fd37e178e64683457d6"/></dir><file name="Yesno.php" hash="b7fd7889636bccfbc1e6db14e804c221"/></dir></dir><dir name="certificate"><file name="Checkout.pem" hash="441f60bb62fdc14434954514b01d0aa3"/></dir><dir name="controllers"><dir name="BuckarooAdminhtml"><file name="GiftcardController.php" hash="5765e2d0040b99d44e22c9fd1827fada"/></dir><file name="CheckoutController.php" hash="1cbd06d3bd0175312a7ce17117f8d892"/><file name="NotifyController.php" hash="1459dd86582340f596a260273911c742"/></dir><dir name="etc"><file name="adminhtml.xml" hash="cdf9286c052532056b1cc8ced7b6bf8e"/><file name="config.xml" hash="da0b249200d430032328a88d55417694"/><file name="masterpass.xml" hash="025bbcb407a45ac231fff82c58b647ee"/><file name="system.xml" hash="4a9599a7984eaa8ea67668b60823bec6"/></dir><dir name="lib"><file name="Buckaroo.wsdl" hash="4fc7278e90be66fc8101c699f73b6204"/><file name="Import_1.xsd" hash="32c5184fc8f2010a202b2021e1b7fc00"/><file name="Import_10.xsd" hash="a64b4c201518b512fc6bc1ab78f0102f"/><file name="Import_11.xsd" hash="161e2970900419dc387af04e37f3a8ee"/><file name="Import_12.xsd" hash="146273756bb0a9bfd6ea8f5fba22ee9c"/><file name="Import_13.xsd" hash="1727b36ee762f6b1617c49d3e7597f75"/><file name="Import_14.xsd" hash="815f6849ad9b89b0295ffb48082ff619"/><file name="Import_15.xsd" hash="dc6a0cf5ca0cd6a52c2c0e18b7182f5a"/><file name="Import_16.xsd" hash="6511f38274501935bc847881e9fa27ed"/><file name="Import_17.xsd" hash="3ca8df56825b5a88509138faf79de2f8"/><file name="Import_18.xsd" hash="9be4df50a6bdca4bd196f26d2ae4e429"/><file name="Import_19.xsd" hash="9c4cd9b53bdf09b597e420cb58c32a5c"/><file name="Import_2.xsd" hash="bbeaa3381c5b550d2dfad8c049ba68e8"/><file name="Import_20.xsd" hash="cc7fa2b280b8f2d38da43e9fc7b94f86"/><file name="Import_21.xsd" hash="9ca3b39018c8583aa18ca98340288813"/><file name="Import_22.xsd" hash="dedd6c550d812705832feaaef60c721f"/><file name="Import_23.xsd" hash="c7b8bfae66463e58ce68c7f77eec04a4"/><file name="Import_24.xsd" hash="97ff34ab5da093f868dfd6623d934032"/><file name="Import_25.xsd" hash="52024ab7933277cb56aacc558609e67a"/><file name="Import_3.xsd" hash="dead2627684b2cf45f72f5dd9235738d"/><file name="Import_4.xsd" hash="ad27bf7d8bedc5e44f6a9ef862a05cb5"/><file name="Import_5.xsd" hash="a9c07bdedf700b572b89172e71dac0cd"/><file name="Import_6.xsd" hash="a6b2e2ac238b942b075f8cf186a644ed"/><file name="Import_7.xsd" hash="47193b5224627392508a074dd94c912d"/><file name="Import_8.xsd" hash="d167423bf89d1029a58e78ce4a000c0b"/><file name="Import_9.xsd" hash="52518de0039a5167b6d0bf803916c6e2"/></dir><dir name="sql"><dir name="buckaroo3extended_setup"><file name="mysql4-data-upgrade-4.12.0-4.13.0.php" hash="851354a41d84e5a043547376e4974798"/><file name="mysql4-data-upgrade-4.4.2.0-4.5.0.0.php" hash="3f34113aa093ec80a41c67926bdda27b"/><file name="mysql4-data-upgrade-4.6.1-4.7.0.php" hash="e2ffae63c1533bbe6d12e0e0532866dd"/><file name="mysql4-install-0.1.0.php" hash="60db243184184dd2b8b61adbc92e3032"/><file name="mysql4-upgrade-0.1.0-2.0.2.php" hash="34983df0c6286b761c2e4be9c6cc7952"/><file name="mysql4-upgrade-2.0.2-4.0.0.php" hash="34983df0c6286b761c2e4be9c6cc7952"/><file name="mysql4-upgrade-4.0.3-4.1.0.php" hash="d30fcb21bcd10039a9a77e890cdb519d"/><file name="mysql4-upgrade-4.3.1-4.3.2.php" hash="7affe54620a30f9feb8652c3e3b20696"/><file name="mysql4-upgrade-4.3.3.0-4.4.0.0.php" hash="3f27e188751bcd62c624192a8658c2e8"/><file name="mysql4-upgrade-4.4.0.0-4.4.1.0.php" hash="9353901c8546ed0bd126ee14be081ec6"/><file name="mysql4-upgrade-4.6.1-4.7.0.php" hash="9cfe09a4b22a88390182dd1851d110be"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="TIG_Buckaroo3Extended.xml" hash="6a23faf30df008518782b2d2a828c8a4"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="TIG"><file name="buckaroo3extended.xml" hash="32b7c8ba8355c05fb69d758325db0dc6"/></dir></dir><dir name="template"><dir name="buckaroo3extended"><dir name="directdebit"><file name="info.phtml" hash="d1ba310ae081037271ee78d696db690f"/></dir><dir name="onlinegiro"><dir name="checkout"><file name="form.phtml" hash="997a24214a955aea9b2b19e18c8cb658"/></dir></dir><dir name="payperemail"><dir name="checkout"><file name="form.phtml" hash="5bc3425008dcb754c5b9fa544d88ceac"/></dir></dir><dir name="refund"><dir name="system"><dir name="config"><file name="noOptionsAvailable.phtml" hash="38c734121ab4b8554347c1569e0aae01"/></dir></dir></dir><dir name="sales"><dir name="order"><dir name="create"><file name="js.phtml" hash="3edec4e9d05ac156c3cc3314ceada764"/><dir name="totals"><file name="fee.phtml" hash="9864e20a538296885ae34f772708a90f"/></dir></dir><dir name="creditmemo"><dir name="create"><file name="refund_fields.phtml" hash="a2e1f0c61a7c299b112122e08146da2e"/><dir name="totals"><file name="fee.phtml" hash="6292242b0ff50c1187b2829da815e601"/></dir></dir></dir><dir name="totals"><file name="tax.phtml" hash="4bf6a29c289e42375e3bca41f6495bd9"/></dir></dir></dir><dir name="system"><dir name="config"><file name="hint.phtml" hash="7c107d72d94338010dcfa3e4425f968e"/><file name="klarnaCheck.phtml" hash="69395e036253f21fbb9f3cc6a494930b"/><file name="paymentmethodbanner.phtml" hash="d4d30e0fabe6484e4c2181fa1074ce12"/><file name="paypalRegionCheck.phtml" hash="170712863a97ce788da8a2c059077b4f"/><file name="singlehint.phtml" hash="f4d4e28c7899e15b6692dcceb975ad77"/><file name="supportTab.phtml" hash="d5d73d9111ea1b93716c69ae799d4819"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="TIG"><file name="buckaroo3extended.xml" hash="21bd91c1ec958f1f04e886e42fd51718"/></dir></dir><dir name="template"><dir name="buckaroo3extended"><dir name="afterpay"><dir name="checkout"><file name="form.phtml" hash="184bb82bb0413b53ec851ea76aeb4141"/></dir></dir><dir name="afterpay2"><dir name="checkout"><file name="form.phtml" hash="184bb82bb0413b53ec851ea76aeb4141"/></dir></dir><dir name="amex"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="bancontactmrcash"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="cartebancaire"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="cartebleue"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="checkout"><dir name="total"><file name="buckaroo_fee.phtml" hash="070cdb545d718c890f1b372246a26143"/></dir></dir><dir name="customer"><dir name="widget"><file name="dob.phtml" hash="fe142f7345e1908b8354d20f69023269"/></dir></dir><dir name="directdebit"><dir name="checkout"><file name="form.phtml" hash="8a3809bbc3d5e14d000a0a89206b1f0b"/></dir><file name="info.phtml" hash="f494d2b2d8f27df3a40548b8a5e38a99"/></dir><dir name="empayment"><dir name="checkout"><file name="form.phtml" hash="8ef01960e1c13cb9f249299fca967263"/></dir></dir><dir name="eps"><dir name="checkout"><file name="form.phtml" hash="77e7d2894364dbf959c50480b8242ac9"/></dir></dir><dir name="giftcards"><dir name="checkout"><file name="form.phtml" hash="8ef01960e1c13cb9f249299fca967263"/></dir></dir><dir name="giropay"><dir name="checkout"><file name="form.phtml" hash="1d5f7d7fb64e7adcbcd980daff0dbf5d"/></dir></dir><dir name="ideal"><dir name="checkout"><file name="form.phtml" hash="5994e8bf263928737f392db6cb75a359"/></dir></dir><file name="jquery.phtml" hash="7c274dd682ae4273e7a85a477d7125ae"/><dir name="maestro"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="mastercard"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><file name="oneStepCheckout.phtml" hash="bc07be11bfe81f21a38eb332362932e6"/><dir name="onlinegiro"><dir name="checkout"><file name="form.phtml" hash="8b895e7f56531e3beab809270ae1a175"/></dir></dir><dir name="paymentFee"><dir name="checkout"><file name="fee.phtml" hash="80cfb59b392afa5bdb7d012c4782e8fa"/></dir></dir><dir name="paymentguarantee"><dir name="checkout"><file name="form.phtml" hash="50248bddb9fe74eecfd8fd1e9286bacb"/></dir><file name="termsAndConditions.phtml" hash="6f1fd609fc1baf3a541707f6fbe129f7"/></dir><dir name="paypal"><dir name="checkout"><file name="form.phtml" hash="8ef01960e1c13cb9f249299fca967263"/></dir></dir><dir name="payperemail"><dir name="checkout"><file name="form.phtml" hash="405369f9e2ceec15b76970b9f9ed8dfd"/></dir></dir><dir name="paysafecard"><dir name="checkout"><file name="form.phtml" hash="77e7d2894364dbf959c50480b8242ac9"/></dir></dir><file name="saveData.phtml" hash="523e37b63f6a90ac00307551d7bcf3e4"/><dir name="sofortueberweisung"><dir name="checkout"><file name="form.phtml" hash="77e7d2894364dbf959c50480b8242ac9"/></dir></dir><dir name="transfer"><dir name="checkout"><file name="form.phtml" hash="f88cbbb4f63010bd554c3dd5fb974b36"/></dir></dir><dir name="visa"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="visaelectron"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir><dir name="vpay"><dir name="checkout"><file name="form.phtml" hash="8de16790a79cd0f57aaa1e281915faa4"/></dir></dir></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="buckaroo3extended"><dir name="afterpay"><dir name="checkout"><file name="form.phtml" hash="bd336fae384e871e678257e2cd554417"/></dir></dir><dir name="afterpay2"><dir name="checkout"><file name="form.phtml" hash="1fdca173bbf8f2afce5c6682fb2e3b20"/></dir></dir><dir name="amex"><dir name="checkout"><file name="form.phtml" hash="489ab613e6035a0df55d64570c296873"/></dir></dir><dir name="bancontactmrcash"><dir name="checkout"><file name="form.phtml" hash="fc71bc66b3ce270b5f7d3f27edd64cad"/></dir></dir><dir name="cartebancaire"><dir name="checkout"><file name="form.phtml" hash="889a0b99aff44ddde4218a9f436b6543"/></dir></dir><dir name="cartebleue"><dir name="checkout"><file name="form.phtml" hash="733b3a75405d26a5ee080d73b534d52f"/></dir></dir><dir name="directdebit"><dir name="checkout"><file name="form.phtml" hash="445fb805e9ebc539ffe1727d4831f87e"/></dir><file name="info.phtml" hash="f494d2b2d8f27df3a40548b8a5e38a99"/></dir><dir name="empayment"><dir name="checkout"><file name="form.phtml" hash="8ef01960e1c13cb9f249299fca967263"/></dir></dir><dir name="eps"><dir name="checkout"><file name="form.phtml" hash="677ef0a2383d31130c30e431dfa072a6"/></dir></dir><dir name="giftcards"><dir name="checkout"><file name="form.phtml" hash="677ef0a2383d31130c30e431dfa072a6"/></dir></dir><dir name="giropay"><dir name="checkout"><file name="form.phtml" hash="eb814a8ed955ef8cc9b5ee48284f3fae"/></dir></dir><dir name="ideal"><dir name="checkout"><file name="form.phtml" hash="0af09a938c81a157f11798c410fd3920"/></dir></dir><dir name="maestro"><dir name="checkout"><file name="form.phtml" hash="889a0b99aff44ddde4218a9f436b6543"/></dir></dir><dir name="mastercard"><dir name="checkout"><file name="form.phtml" hash="889a0b99aff44ddde4218a9f436b6543"/></dir></dir><dir name="onlinegiro"><dir name="checkout"><file name="form.phtml" hash="2e90ffaaadd1668b819f8a3b50ffcf3b"/></dir></dir><dir name="paymentguarantee"><dir name="checkout"><file name="form.phtml" hash="eba82b9ecb5b0801003983fff7cce4ff"/></dir><file name="termsAndConditions.phtml" hash="6f1fd609fc1baf3a541707f6fbe129f7"/></dir><dir name="paypal"><dir name="checkout"><file name="form.phtml" hash="6fa92b1eb2fb616a99fd1f9d2bc4e141"/></dir></dir><dir name="payperemail"><dir name="checkout"><file name="form.phtml" hash="86bfa57da0f868d99b2d3038bb2fe802"/></dir></dir><dir name="paysafecard"><dir name="checkout"><file name="form.phtml" hash="677ef0a2383d31130c30e431dfa072a6"/></dir></dir><dir name="sofortueberweisung"><dir name="checkout"><file name="form.phtml" hash="677ef0a2383d31130c30e431dfa072a6"/></dir></dir><dir name="transfer"><dir name="checkout"><file name="form.phtml" hash="f657a32ca139023e812720fa9821702e"/></dir></dir><dir name="visa"><dir name="checkout"><file name="form.phtml" hash="733b3a75405d26a5ee080d73b534d52f"/></dir></dir><dir name="visaelectron"><dir name="checkout"><file name="form.phtml" hash="889a0b99aff44ddde4218a9f436b6543"/></dir></dir><dir name="vpay"><dir name="checkout"><file name="form.phtml" hash="889a0b99aff44ddde4218a9f436b6543"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><dir name="tig_buckaroo3extended"><file name="supportTab.css" hash="697af7a62a046a2ed7fe0c0df309470a"/><file name="system_config_edit.css" hash="0bb88faa152728f3b84c57ba062da4bb"/></dir></dir><dir name="images"><dir name="tig_buckaroo3extended"><file name="buckaroo_large.png" hash="72ddf928560ce583ed36fafb7ccca4d5"/><file name="buckaroo_logo_medium.gif" hash="a7e5eb51b749720f6fc31d3a4234072e"/><file name="buckaroo_small.png" hash="af486c1bda7ed73a3ab756801aa4973d"/><file name="glyph_error.gif" hash="a138b803d772f552aa2e49e1c506edbd"/><file name="glyph_info.gif" hash="40f72d28be63ecf2b6ef44c7ea730104"/><file name="glyph_manual.png" hash="771db63b6ffc9de1c06da564796adc6e"/><file name="glyph_pdf.png" hash="a5ea929f4014a88d7320d0293913ace3"/><file name="glyph_success.gif" hash="465a056a3ba3d94367f51c3c0b751391"/><file name="glyph_warning.gif" hash="fa817cb6d49efb9855942ef2b739fc6c"/><file name="legend.gif" hash="d8fb0642901868d489d31b426f3e3406"/><file name="tig_logo_medium.png" hash="780a6b187a34886a3748abbc2eee42a1"/></dir></dir><dir name="js"><dir name="tig_buckaroo3extended"><file name="jquery-1.4.4.min.js" hash="73a9c334c5ca71d70d092b42064f6476"/></dir><dir name="TIG"><dir name="Buckaroo3Extended"><file name="klarnaCheck.js" hash="4aa9345dc7937b177a0de82e09692c27"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="styles_opc.css" hash="f89a6cbf2832d79041a6689c4b829ff8"/><file name="styles_osc.css" hash="b53917c3b2dd8a733a2824df63519527"/></dir></dir></dir><dir name="images"><dir name="tig_buckaroo3extended"><file name="ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="icon_asn.gif" hash="0fbd9493e65ab774cc6859da47c3c8cc"/><file name="logo_abn_s.gif" hash="eb6d7cd949e6fbf671c43cb83c7c3e17"/><file name="logo_fortis_s.gif" hash="7f1ad68de127101a83e02c2e5af01fa7"/><file name="logo_friesland_s.gif" hash="d9955dc120b7d4216d9bd19b6d8621c0"/><file name="logo_ing_s.gif" hash="e56fa35285496c73565bfdf82d6967fa"/><file name="logo_knab_s.gif" hash="146e995dbede4e2798c278d6da26b9d2"/><file name="logo_lanschot_s.gif" hash="f68ceb355661c41779d716a6ef8dfdf3"/><file name="logo_rabo_s.gif" hash="8df417edaf2410ff574d9d1ed453c0bc"/><file name="logo_sns_s.gif" hash="78462566d91b21feca3930ccf203e1f4"/><file name="logo_triodos.gif" hash="f3dd4d744232ddf4c1700068a6b3a531"/></dir></dir><dir name="js"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="jQuery-1.4.4.min.js" hash="5450efeb34b29f09b681e70d41649a54"/><file name="oneStepCheckout.js" hash="2a5bdfb79b02a77a9476a8f90ae9f7e6"/><file name="paymentGuaranteeTermsAndConditions.js" hash="04ace8a551d70f8fbf005bb1123f7fa4"/><file name="saveData.js" hash="a4d062d5ae0e72f9f3cd44d0112182f7"/></dir></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="css"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="styles_opc.css" hash="f89a6cbf2832d79041a6689c4b829ff8"/><file name="styles_osc.css" hash="c7609d8546a9dcaf545abcd8c5e11657"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="nl_NL"><file name="TIG_Buckaroo3Extended.csv" hash="68391429cd854b88170093dfbd70ae50"/></dir><dir name="en_US"><file name="TIG_Buckaroo3Extended.csv" hash="1238d1d0c4a8e8a8468dfc1d36549c56"/></dir></target></contents>
102
  <compatible/>
103
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
104
  </package>
skin/frontend/rwd/default/css/TIG/Buckaroo3Extended/styles_opc.css ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Form */
2
+ #checkout-step-payment .buckaroo-method label { font-weight:normal; float:none; }
3
+ #checkout-step-payment .buckaroo-method select { width:auto; }
4
+ #checkout-step-payment .buckaroo-method ul.form-list { padding:0; }
5
+ #checkout-step-payment .buckaroo-method .input-box { float:none !important; }
6
+
7
+ #checkout-step-payment .buckaroo-method .customer-dob .dob-day input.input-text,
8
+ #checkout-step-payment .buckaroo-method .customer-dob .dob-month input.input-text { width:46px !important; }
9
+ #checkout-step-payment .buckaroo-method .customer-dob .dob-year input.input-text { width:134px !important; }
10
+
11
+ #checkout-step-payment .buckaroo-method .ideal_container {height:20px;}
12
+ #checkout-step-payment .buckaroo-method label { display:block; float:none; margin-bottom:2px; text-align:left !important; }
13
+ #checkout-step-payment .buckaroo-method label img { height:15px; width:auto; margin-top:1px; display:block;}
14
+ #checkout-step-payment .buckaroo-method label .bank_logo {display:block; height:17px; width: 40px; float: left;}
15
+ #checkout-step-payment .buckaroo-method label input {float: left;}
16
+ #checkout-step-payment .buckaroo-method label span.bank_name {display:block; height:17px; width:120px; margin-left: 5px; line-height: 1.2; float: left;}
17
+
18
+ #checkout-step-payment .buckaroo-method .input-box .disabled { display:block; background:#f2f2f2; border:1px solid #b6b6b6; color:#999; padding:2px; height:15px; width:254px; line-height:16px; overflow:hidden; white-space:nowrap; }
19
+ #checkout-step-payment .buckaroo-method .input-box .disabled.stylefix { height:auto; padding:8px;}
20
+
21
+ /* Payment Guarantee Terms & Conditions */
22
+ #checkout-step-payment #payment_form_buckaroo3extended_paymentguarantee .tac-accept .input-checkbox { float:left; }
23
+ #checkout-step-payment #payment_form_buckaroo3extended_paymentguarantee .tac-accept label { margin:-2px 0 0 5px; }
24
+ #checkout-step-payment #payment_form_buckaroo3extended_paymentguarantee .tac-accept .input-checkbox.validation-failed { margin-bottom:18px; }
25
+ #checkout-step-payment #payment_form_buckaroo3extended_paymentguarantee .tac-accept #advice-required-entry-buckaroo3extended_paymentguarantee_BPE_terms_and_conditions { position:absolute; margin-top:17px; }
26
+
27
+ #checkout-step-payment #paymentguarantee_terms_and_conditions { display:none; }
28
+ #checkout-step-payment #paymentguarantee_terms_and_conditions { position:fixed; width:100%; height:100%; top:0; left:0; background:rgba(0, 0, 0, .35); z-index:100; }
29
+
30
+ #checkout-step-payment #paymentguarantee_terms_and_conditions .tac-content { position:fixed; background:#fff; width:310px; height:auto; left:50%; top:30px; margin-left:-155px; padding:8px 8px 12px; border: 1px solid #b6b6b6; z-index:200; }
31
+
32
+ #checkout-step-payment #paymentguarantee_terms_and_conditions .tac-close { float:right; }
33
+
34
+ #checkout-step-payment #paymentguarantee_terms_and_conditions a.button { text-decoration:none !important; cursor:pointer !important; background:none !important; }
35
+ #checkout-step-payment #paymentguarantee_terms_and_conditions a.button span { display:block; height:19px; border:1px solid #de5400; background:#f18200; padding:0 8px; font:bold 12px/19px Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#fff; }
36
+ #checkout-step-payment #paymentguarantee_terms_and_conditions a.button span span { border:0; padding:0; }
skin/frontend/rwd/default/css/TIG/Buckaroo3Extended/styles_osc.css ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Form */
2
+
3
+ #onestepcheckout-form .buckaroo-method select { width:auto !important; }
4
+ #onestepcheckout-form .buckaroo-method input.input-text { /*width:220px !important;*/ }
5
+
6
+ #onestepcheckout-form .buckaroo-method .dob-month input.input-text { width:46px !important; }
7
+ #onestepcheckout-form .buckaroo-method .dob-day input.input-text { width:46px !important; }
8
+ #onestepcheckout-form .buckaroo-method .dob-year input.input-text { width:100px !important; }
9
+
10
+ #onestepcheckout-form .buckaroo-method .ideal_container {height:20px;}
11
+ #onestepcheckout-form .buckaroo-method label { display:block; float:none; margin-bottom:2px; text-align:left !important; }
12
+ #onestepcheckout-form .buckaroo-method label img { height:15px; width:auto; margin-top:1px; display:block;}
13
+ #onestepcheckout-form .buckaroo-method label .bank_logo {display:block; height:17px; width: 40px; float: left;}
14
+ #onestepcheckout-form .buckaroo-method label input {float: left;}
15
+ #onestepcheckout-form .buckaroo-method label span.bank_name {display:block; height:17px; width:120px; margin-left: 5px; line-height: 1.2; float: left;}
16
+
17
+ #onestepcheckout-form .buckaroo-method .disabled { display:block; background:#f2f2f2; border:1px solid #b6b6b6; color:#999; padding:2px; width:220px; height:15px; line-height:16px; overflow:hidden; white-space:nowrap; }
18
+ #onestepcheckout-form .buckaroo-method .stylefix { height:auto; padding:15px; width: 100%; max-width:250px;}
19
+
20
+ #onestepcheckout-form .buckaroo-method ul li:first-child { padding-top:5px; }
21
+
22
+ /* Payment Guarantee Terms & Conditions */
23
+ /*#onestepcheckout-form #payment_form_buckaroo3extended_paymentguarantee .tac-accept .input-box { width:auto !important; }*/
24
+ /*#onestepcheckout-form #payment_form_buckaroo3extended_paymentguarantee .tac-accept .input-box input { float:left; margin:3px 4px 0 0; }*/
25
+ /*#onestepcheckout-form #payment_form_buckaroo3extended_paymentguarantee .tac-accept label { display:inline; float:none; }*/
26
+ /*#onestepcheckout-form #payment_form_buckaroo3extended_paymentguarantee .tac-accept label.required em { position:static; float:none; }*/
27
+ /*#onestepcheckout-form #payment_form_buckaroo3extended_paymentguarantee .tac-accept .validation-advice { padding:3px 0 6px 17px; background-position:2px 3px; }*/
28
+
29
+ #onestepcheckout-form .buckaroo-method .tac-accept .input-box.agree { width:auto !important;float:left!important; }
30
+ #onestepcheckout-form .buckaroo-method .tac-accept .input-box input { float:left; margin:3px 4px 0 0; }
31
+ #onestepcheckout-form .buckaroo-method .tac-accept label.agree-label { display:inline; float:left; width:90%; clear:right; margin-left:5px; }
32
+ #onestepcheckout-form .buckaroo-method .tac-accept label.required em { position:static; float:none; }
33
+ #onestepcheckout-form .buckaroo-method .tac-accept .validation-advice { padding:3px 0 6px 17px; background-position:2px 3px; }
34
+
35
+ #onestepcheckout-form #payment_form_buckaroo3extended_paymentguarantee .tac-accept label.agree-label {width:215px;}
36
+
37
+ #onestepcheckout-form #paymentguarantee_terms_and_conditions { display:none; }
38
+ #onestepcheckout-form #paymentguarantee_terms_and_conditions { position:fixed; width:100%; height:100%; top:0; left:0; background:rgba(0, 0, 0, .35); z-index:100; }
39
+ #onestepcheckout-form #paymentguarantee_terms_and_conditions .tac-content { position:fixed; background:#fff; width:310px; height:auto; left:50%; top:30px; margin-left:-155px; padding:8px 8px 12px; border: 1px solid #b6b6b6; z-index:200; }
40
+ #onestepcheckout-form #paymentguarantee_terms_and_conditions .tac-close { float:right; }
41
+
42
+ #onestepcheckout-form #paymentguarantee_terms_and_conditions a.button { text-decoration:none !important; cursor:pointer !important; background:none !important; }
43
+ #onestepcheckout-form #paymentguarantee_terms_and_conditions a.button span { display:block; height:19px; border:1px solid #de5400; background:#f18200; padding:0 8px; font:bold 12px/19px Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#fff; }
44
+ #onestepcheckout-form #paymentguarantee_terms_and_conditions a.button span span { border:0; padding:0; }
45
+
46
+ /* -------------------------------------------- *
47
+ * Payment Methods
48
+ */
49
+
50
+ .payment-methods {
51
+ margin-bottom: 20px !important;
52
+ }
53
+
54
+ .payment-methods dt {
55
+ padding: 0px 0 !important;
56
+ margin: 5px !important;
57
+ }
58
+
59
+ .payment-methods dd {
60
+ margin-top:10px !important;
61
+ margin-right:15px;
62
+ padding-top: 0px !important;
63
+ background: #f5f5f5 !important;
64
+ }
65
+
66
+ .payment-methods .form-list {
67
+ position: relative !important;
68
+ max-width: 100% !important;
69
+ padding: 20px 30px 15px 10px !important;
70
+ margin: 0 0 15px 0 !important;
71
+ background: none !important;
72
+ border: 0 !important;
73
+ }
74
+
75
+ .payment-methods .form-list:before {
76
+ display: none !important;
77
+ }
78
+
79
+ .payment-methods .form-list:after {
80
+ display: none !important;
81
+ }
82
+
83
+ .payment-methods .form-list li:last-child {
84
+ margin-bottom: 0 !important;
85
+ }
86
+
87
+ #radiogroup-container label{
88
+ margin-top:10px;
89
+ }
90
+
91
+ #radiogroup-container input[type="radio"]{
92
+ margin-right:15px;
93
+ }
94
+
95
+ #payment_form_ccsave a.cvv-what-is-this{
96
+ margin-left: 0 !important;
97
+ }