Pay_NL - Version 3.3.16

Version Notes

Fixed tax issues
Built logging into starting transaction
Billink now asks for birthdate and company data

Download this release

Release Info

Developer Andy Pieters
Extension Pay_NL
Version 3.3.16
Comparing to
See all releases


Code changes from version 3.3.15 to 3.3.16

app/code/community/Pay/Payment/Block/Form/Billink.php CHANGED
@@ -1,8 +1,39 @@
1
  <?php
2
 
3
- class Pay_Payment_Block_Form_Billink extends Pay_Payment_Block_Form_Abstract {
4
 
5
  protected $paymentMethodId = Pay_Payment_Model_Paymentmethod_Billink::OPTION_ID;
6
  protected $paymentMethodName = 'Billink';
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  }
1
  <?php
2
 
3
+ class Pay_Payment_Block_Form_Billink extends Mage_Payment_Block_Form {
4
 
5
  protected $paymentMethodId = Pay_Payment_Model_Paymentmethod_Billink::OPTION_ID;
6
  protected $paymentMethodName = 'Billink';
7
 
8
+ protected function _construct() {
9
+
10
+ // $bankSelectType = Mage::getStoreConfig('payment/pay_payment_ideal/bank_select_type', Mage::app()->getStore());
11
+ $showIcons = Mage::getStoreConfig('pay_payment/general/show_icons', Mage::app()->getStore());
12
+ $iconSize = Mage::getStoreConfig('pay_payment/general/icon_size', Mage::app()->getStore());
13
+
14
+ $enablePersonal = Mage::getStoreConfig('payment/pay_payment_billink/ask_data_personal', Mage::app()->getStore());
15
+ $enableBusiness = Mage::getStoreConfig('payment/pay_payment_billink/ask_data_business', Mage::app()->getStore());
16
+
17
+ if(strpos($iconSize, 'x') === false){
18
+ $iconSize = $iconSize.'x'.$iconSize;
19
+ }
20
+
21
+ $mark = Mage::getConfig()->getBlockClassName('core/template');
22
+ $mark = new $mark;
23
+ $mark->setTemplate('pay/payment/mark.phtml')
24
+ ->setPaymentMethodImageSrc('https://www.pay.nl/images/payment_profiles/'.$iconSize.'/'.$this->paymentMethodId.'.png')
25
+ ->setPaymentMethodName('Billink');
26
+
27
+ if($enablePersonal == 1 || $enableBusiness == 1){
28
+ $template = $this->setTemplate('pay/payment/form/billink.phtml');
29
+ } else {
30
+ $template = $this->setTemplate('pay/payment/form/default.phtml');
31
+ }
32
+
33
+ if($showIcons){
34
+ $template->setMethodLabelAfterHtml($mark->toHtml());
35
+ }
36
+ return parent::_construct();
37
+ }
38
+
39
  }
app/code/community/Pay/Payment/Helper/Data.php CHANGED
@@ -326,16 +326,23 @@ class Pay_Payment_Helper_Data extends Mage_Core_Helper_Abstract
326
  return $output;
327
  }
328
 
329
- public static function calculateTaxClass($amountInclTax, $taxAmount)
330
  {
331
- $taxClasses = array(
332
  0 => 'N',
333
  6 => 'L',
334
  21 => 'H'
335
  );
336
- $amountExclTax = $amountInclTax - $taxAmount;
337
- $taxRate = ($taxAmount / $amountExclTax) * 100;
338
- $normalizedTaxRate = self::nearest($taxRate, array_keys($taxClasses));
339
- return($taxClasses[$normalizedTaxRate]);
 
 
 
 
 
 
 
340
  }
341
  }
326
  return $output;
327
  }
328
 
329
+ public static function getTaxCodeFromRate($taxRate)
330
  {
331
+ $taxClasses = array(
332
  0 => 'N',
333
  6 => 'L',
334
  21 => 'H'
335
  );
336
+ $nearestTaxRate = self::nearest($taxRate, array_keys($taxClasses));
337
+
338
+ return($taxClasses[$nearestTaxRate]);
339
+ }
340
+
341
+ public static function calculateTaxClass($amountInclTax, $taxAmount)
342
+ {
343
+ $amountExclTax = $amountInclTax - $taxAmount;
344
+ $taxRate = ($taxAmount / $amountExclTax) * 100;
345
+
346
+ return self::getTaxCodeFromRate($taxRate);
347
  }
348
  }
app/code/community/Pay/Payment/Model/Paymentmethod.php CHANGED
@@ -18,6 +18,7 @@ class Pay_Payment_Model_Paymentmethod extends Mage_Payment_Model_Method_Abstract
18
  return $this->_paymentOptionId;
19
  }
20
 
 
21
 
22
  public function refund(Varien_Object $payment, $amount) {
23
  $payment instanceof Mage_Sales_Model_Order_Payment;
18
  return $this->_paymentOptionId;
19
  }
20
 
21
+
22
 
23
  public function refund(Varien_Object $payment, $amount) {
24
  $payment instanceof Mage_Sales_Model_Order_Payment;
app/code/community/Pay/Payment/Model/Paymentmethod/Billink.php CHANGED
@@ -4,5 +4,58 @@ class Pay_Payment_Model_Paymentmethod_Billink extends Pay_Payment_Model_Paymentm
4
  protected $_paymentOptionId = 1672;
5
  protected $_code = 'pay_payment_billink';
6
  protected $_formBlockType = 'pay_payment/form_billink';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
8
 
4
  protected $_paymentOptionId = 1672;
5
  protected $_code = 'pay_payment_billink';
6
  protected $_formBlockType = 'pay_payment/form_billink';
7
+
8
+
9
+ public function assignData($data) {
10
+ $store = Mage::app()->getStore();
11
+
12
+ $session = Mage::getSingleton('checkout/session');
13
+ /* @var $session Mage_Checkout_Model_Session */
14
+ $session->setBillinkAgree(0);
15
+ $session->setBirthdayDay('');
16
+ $session->setBirthdayMonth('');
17
+ $session->setBirthdayYear('');
18
+ $session->setKvknummer('');
19
+
20
+
21
+ $enablePersonal = Mage::getStoreConfig('payment/pay_payment_billink/ask_data_personal', Mage::app()->getStore());
22
+ $enableBusiness = Mage::getStoreConfig('payment/pay_payment_billink/ask_data_business', Mage::app()->getStore());
23
+ if($enablePersonal == 0 && $enableBusiness == 0){
24
+ return parent::assignData($data);
25
+ }
26
+
27
+ if (!($data instanceof Varien_Object)) {
28
+ $data = new Varien_Object($data);
29
+ }
30
+
31
+ if($data->getBillinkAgree() == 1){
32
+ $session->setBillinkAgree(1);
33
+ } else {
34
+ $session->setBillinkAgree(0);
35
+ Mage::throwException(Mage::helper('payment')->__('Om met billink te betalen, moet je akkoord gaan met de voorwaarden'));
36
+ }
37
+
38
+ if($enablePersonal == 1 && ($enableBusiness == 0 || $data->getTypeOrder() == 'p')){
39
+ if ($data->getBirthdayDay()) {
40
+ $birthdayDay = $data->getBirthdayDay();
41
+ $session->setBirthdayDay($birthdayDay);
42
+ }
43
+ if ($data->getBirthdayMonth()) {
44
+ $birthdayMonth = $data->getBirthdayMonth();
45
+ $session->setBirthdayMonth($birthdayMonth);
46
+ }
47
+ if ($data->getBirthdayYear()) {
48
+ $birthdayYear = $data->getBirthdayYear();
49
+ $session->setBirthdayYear($birthdayYear);
50
+ }
51
+ }
52
+ if($enableBusiness == 1 && ($enablePersonal == 0 || $data->getTypeOrder() == 'b')){
53
+ if($data->getKvknummer()){
54
+ $kvknummer = $data->getKvknummer();
55
+ $session->setKvknummer($kvknummer);
56
+ }
57
+ }
58
+ return $this;
59
+ }
60
  }
61
 
app/code/community/Pay/Payment/Model/Paymentmethod/Ideal.php CHANGED
@@ -11,11 +11,7 @@ class Pay_Payment_Model_Paymentmethod_Ideal extends Pay_Payment_Model_Paymentmet
11
  public function __construct() {
12
  $store = Mage::app()->getStore();
13
  $bankSelectType = $store->getConfig('payment/pay_payment_ideal/bank_select_type');
14
- // $bankSelectType = Mage::getStoreConfig('payment/pay_payment_ideal/bank_select_type', Mage::app()->getStore());
15
- // if($bankSelectType == 'none'){
16
- // $this->_formBlockType = 'payment/form';
17
- // }
18
- //
19
  parent::__construct();
20
  }
21
 
11
  public function __construct() {
12
  $store = Mage::app()->getStore();
13
  $bankSelectType = $store->getConfig('payment/pay_payment_ideal/bank_select_type');
14
+
 
 
 
 
15
  parent::__construct();
16
  }
17
 
app/code/community/Pay/Payment/Model/Sales/Order/Creditmemo/Total/Paymentcharge.php CHANGED
@@ -22,7 +22,6 @@ class Pay_Payment_Model_Sales_Order_Creditmemo_Total_Paymentcharge extends Mage_
22
  $request->setStore(Mage::app()->getStore());
23
  $rate = $taxCalculationModel->getRate($request->setProductClassId($taxClass));
24
 
25
-
26
 
27
  if ($rate > 0) {
28
  $baseChargeTax = round($creditmemo->getBasePaymentCharge() / (1+($rate / 100)) * ($rate/100), 2);
22
  $request->setStore(Mage::app()->getStore());
23
  $rate = $taxCalculationModel->getRate($request->setProductClassId($taxClass));
24
 
 
25
 
26
  if ($rate > 0) {
27
  $baseChargeTax = round($creditmemo->getBasePaymentCharge() / (1+($rate / 100)) * ($rate/100), 2);
app/code/community/Pay/Payment/controllers/CheckoutController.php CHANGED
@@ -3,10 +3,12 @@
3
  class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
4
 
5
  public function redirectAction() {
 
6
  $helper = Mage::helper('pay_payment');
7
  $session = Mage::getSingleton('checkout/session');
8
  /* @var $session Mage_Checkout_Model_Session */
9
  if ($session->getLastRealOrderId()) {
 
10
  $orderId = $session->getLastRealOrderId();
11
  $order = Mage::getModel('sales/order')->loadByIncrementId($session->getLastRealOrderId());
12
  /* @var $order Mage_Sales_Model_Order */
@@ -14,11 +16,25 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
14
 
15
  $store = Mage::app()->getStore();
16
 
17
-
18
  if ($order->getId()) {
 
19
  $optionId = $session->getOptionId();
20
  $optionSubId = $session->getOptionSubId();
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  $serviceId = Mage::getStoreConfig('pay_payment/general/serviceid', Mage::app()->getStore());
23
 
24
  $apiToken = Mage::getStoreConfig('pay_payment/general/apitoken', Mage::app()->getStore());
@@ -34,7 +50,6 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
34
  $api->setExtra2($order->getCustomerEmail());
35
 
36
  if ($sendOrderData == 1) {
37
-
38
  $itemsTotal = 0;
39
 
40
  $items = $order->getItemsCollection();
@@ -42,11 +57,11 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
42
  /* @var $item Mage_Sales_Model_Order_Item */
43
  $productId = $item->getId();
44
  $description = $item->getName();
45
- $price = $item->getPriceInclTax();
46
  $taxAmount = $item->getTaxAmount();
47
  $quantity = $item->getQtyOrdered();
48
 
49
- $taxClass= $helper->calculateTaxClass($price,$taxAmount);
50
 
51
  $price = round($price * 100);
52
 
@@ -74,8 +89,19 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
74
  }
75
  $extraFee = $order->getPaymentCharge();
76
  if ($extraFee != 0) {
 
 
 
 
 
 
 
 
77
  $itemsTotal += round($extraFee * 100);
78
- $api->addProduct('0', Mage::getStoreConfig('pay_payment/general/text_payment_charge', Mage::app()->getStore()), round($extraFee * 100), 1, 'H');
 
 
 
79
  }
80
 
81
  $arrEnduser = array();
@@ -83,7 +109,16 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
83
 
84
  $arrEnduser['gender'] = substr($order->getCustomerGender(), 0, 1);
85
 
86
- $arrEnduser['dob'] = $order->getCustomerDob();
 
 
 
 
 
 
 
 
 
87
  $arrEnduser['emailAddress'] = $order->getCustomerEmail();
88
  $billingAddress = $order->getBillingAddress();
89
 
@@ -93,6 +128,8 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
93
  $arrEnduser['initials'] = substr($shippingAddress->getFirstname(), 0, 1);
94
  $arrEnduser['lastName'] = substr($shippingAddress->getLastname(), 0, 30);
95
 
 
 
96
  $streetName = "";
97
  $streetNumber = "";
98
  $matches = array();
@@ -122,8 +159,6 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
122
  $addressFull = str_replace("\n", ' ', $addressFull);
123
  $addressFull = str_replace("\r", ' ', $addressFull);
124
 
125
-
126
-
127
  list($address, $housenumber) = $helper->splitAddress($addressFull);
128
 
129
  $arrEnduser['invoiceAddress']['streetName'] = $address;
@@ -149,13 +184,17 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
149
 
150
  $api->setExchangeUrl(Mage::getUrl('pay_payment/order/exchange'));
151
  $api->setOrderId($order->getIncrementId());
 
152
  if (!empty($optionSubId)) {
153
  $api->setPaymentOptionSubId($optionSubId);
154
  }
155
  try {
 
156
 
157
  $resultData = $api->doRequest();
 
158
  } catch (Exception $e) {
 
159
  // Reset previous errors
160
  Mage::getSingleton('checkout/session')->getMessages(true);
161
 
@@ -197,6 +236,8 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
197
 
198
  $transactionId = $resultData['transaction']['transactionId'];
199
 
 
 
200
  $transaction->setData(
201
  array(
202
  'transaction_id' => $transactionId,
@@ -230,7 +271,13 @@ class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
230
  }
231
 
232
  Mage::app()->getResponse()->setRedirect($url);
 
 
 
233
  }
 
 
 
234
  }
235
  }
236
 
3
  class Pay_Payment_CheckoutController extends Mage_Core_Controller_Front_Action {
4
 
5
  public function redirectAction() {
6
+ Mage::log('Starting transaction',null,'paynl.log');
7
  $helper = Mage::helper('pay_payment');
8
  $session = Mage::getSingleton('checkout/session');
9
  /* @var $session Mage_Checkout_Model_Session */
10
  if ($session->getLastRealOrderId()) {
11
+ Mage::log('Order found in session, orderId: '.$session->getLastRealOrderId(),null,'paynl.log');
12
  $orderId = $session->getLastRealOrderId();
13
  $order = Mage::getModel('sales/order')->loadByIncrementId($session->getLastRealOrderId());
14
  /* @var $order Mage_Sales_Model_Order */
16
 
17
  $store = Mage::app()->getStore();
18
 
 
19
  if ($order->getId()) {
20
+ Mage::log('Order loaded from session, orderId: '.$session->getLastRealOrderId(),null,'paynl.log');
21
  $optionId = $session->getOptionId();
22
  $optionSubId = $session->getOptionSubId();
23
 
24
+ //TODO: deze gegevens ook posten
25
+ $kvknummer = $session->getKvknummer();
26
+ $companyname = $order->getBillingAddress()->getCompany();
27
+
28
+ $birthdayDay= $session->getBirthdayDay();
29
+ $birthdayMonth = $session->getBirthdayMonth();
30
+ $birthdayYear = $session->getBirthdayYear();
31
+ $birthdate = '';
32
+
33
+ if(!empty($birthdayDay) && !empty($birthdayMonth) && !empty($birthdayYear)){
34
+ $birthdate = $birthdayDay.'-'.$birthdayMonth.'-'.$birthdayYear;
35
+ }
36
+
37
+
38
  $serviceId = Mage::getStoreConfig('pay_payment/general/serviceid', Mage::app()->getStore());
39
 
40
  $apiToken = Mage::getStoreConfig('pay_payment/general/apitoken', Mage::app()->getStore());
50
  $api->setExtra2($order->getCustomerEmail());
51
 
52
  if ($sendOrderData == 1) {
 
53
  $itemsTotal = 0;
54
 
55
  $items = $order->getItemsCollection();
57
  /* @var $item Mage_Sales_Model_Order_Item */
58
  $productId = $item->getId();
59
  $description = $item->getName();
60
+ $price = $item->getPriceInclTax();
61
  $taxAmount = $item->getTaxAmount();
62
  $quantity = $item->getQtyOrdered();
63
 
64
+ $taxClass= $helper->calculateTaxClass($price,$taxAmount/$quantity);
65
 
66
  $price = round($price * 100);
67
 
89
  }
90
  $extraFee = $order->getPaymentCharge();
91
  if ($extraFee != 0) {
92
+ $code = $payment->getMethod();
93
+ $taxClass = $helper->getPaymentChargeTaxClass($code);
94
+
95
+ $taxCalculationModel = Mage::getSingleton('tax/calculation');
96
+ $request = $taxCalculationModel->getRateRequest($order->getShippingAddress(), $order->getBillingAddress());
97
+ $request->setStore(Mage::app()->getStore());
98
+ $rate = $taxCalculationModel->getRate($request->setProductClassId($taxClass));
99
+
100
  $itemsTotal += round($extraFee * 100);
101
+
102
+ $taxCode = $helper->getTaxCodeFromRate($rate);
103
+
104
+ $api->addProduct('0', Mage::getStoreConfig('pay_payment/general/text_payment_charge', Mage::app()->getStore()), round($extraFee * 100), 1, $taxCode);
105
  }
106
 
107
  $arrEnduser = array();
109
 
110
  $arrEnduser['gender'] = substr($order->getCustomerGender(), 0, 1);
111
 
112
+ if(empty($birthdate)){
113
+ $birthdate = $order->getCustomerDob();
114
+ if(!empty($birthdate)){
115
+ $birthdate = substr($birthdate, 0, strpos($birthdate, ' '));
116
+ list($year,$month,$day) = explode('-', $birthdate);
117
+ $birthdate = $day.'-'.$month.'-'.$year;
118
+ }
119
+ }
120
+
121
+ $arrEnduser['dob'] = $birthdate;
122
  $arrEnduser['emailAddress'] = $order->getCustomerEmail();
123
  $billingAddress = $order->getBillingAddress();
124
 
128
  $arrEnduser['initials'] = substr($shippingAddress->getFirstname(), 0, 1);
129
  $arrEnduser['lastName'] = substr($shippingAddress->getLastname(), 0, 30);
130
 
131
+ $arrEnduser['phoneNumber'] = substr($shippingAddress->getTelephone(), 0, 30);
132
+
133
  $streetName = "";
134
  $streetNumber = "";
135
  $matches = array();
159
  $addressFull = str_replace("\n", ' ', $addressFull);
160
  $addressFull = str_replace("\r", ' ', $addressFull);
161
 
 
 
162
  list($address, $housenumber) = $helper->splitAddress($addressFull);
163
 
164
  $arrEnduser['invoiceAddress']['streetName'] = $address;
184
 
185
  $api->setExchangeUrl(Mage::getUrl('pay_payment/order/exchange'));
186
  $api->setOrderId($order->getIncrementId());
187
+
188
  if (!empty($optionSubId)) {
189
  $api->setPaymentOptionSubId($optionSubId);
190
  }
191
  try {
192
+ Mage::log('Calling Pay api to start transaction',null,'paynl.log');
193
 
194
  $resultData = $api->doRequest();
195
+
196
  } catch (Exception $e) {
197
+ Mage::log("Creating transaction failed, Exception: ".$e->getMessage(),null,'paynl.log');
198
  // Reset previous errors
199
  Mage::getSingleton('checkout/session')->getMessages(true);
200
 
236
 
237
  $transactionId = $resultData['transaction']['transactionId'];
238
 
239
+ Mage::log('Transaction started, transactionId: '.$transactionId,null,'paynl.log');
240
+
241
  $transaction->setData(
242
  array(
243
  'transaction_id' => $transactionId,
271
  }
272
 
273
  Mage::app()->getResponse()->setRedirect($url);
274
+ } else {
275
+ // loading order failed
276
+ Mage::log('Error: OrderId found in session but loading the order failed, orderId:'.$session->getLastRealOrderId(), null, 'paynl.log');
277
  }
278
+ } else {
279
+ // no orderId in session
280
+ Mage::log('Error: No order found in the session, so i cannot create a payment', null, 'paynl.log');
281
  }
282
  }
283
 
app/code/community/Pay/Payment/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Pay_Payment>
5
- <version>3.3.14</version>
6
  </Pay_Payment>
7
  </modules>
8
 
@@ -439,6 +439,8 @@
439
  <order_status>pending_payment</order_status>
440
  <order_status_success>processing</order_status_success>
441
  <send_mail>success</send_mail>
 
 
442
  </pay_payment_billink>
443
  <pay_payment_givacard>
444
  <active>0</active>
2
  <config>
3
  <modules>
4
  <Pay_Payment>
5
+ <version>3.3.15</version>
6
  </Pay_Payment>
7
  </modules>
8
 
439
  <order_status>pending_payment</order_status>
440
  <order_status_success>processing</order_status_success>
441
  <send_mail>success</send_mail>
442
+ <ask_data_personal>0</ask_data_personal>
443
+ <ask_data_business>0</ask_data_business>
444
  </pay_payment_billink>
445
  <pay_payment_givacard>
446
  <active>0</active>
app/code/community/Pay/Payment/etc/system.xml CHANGED
@@ -427,6 +427,7 @@
427
  <show_in_website>1</show_in_website>
428
  <show_in_store>1</show_in_store>
429
  </min_order_total>
 
430
  <max_order_total translate="label">
431
  <depends>
432
  <active>1</active>
@@ -439,6 +440,32 @@
439
  <show_in_website>1</show_in_website>
440
  <show_in_store>1</show_in_store>
441
  </max_order_total>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
442
  <allowspecific translate="label">
443
  <depends>
444
  <active>1</active>
@@ -446,7 +473,7 @@
446
  <label>Beschikbaarheid per land</label>
447
  <frontend_type>allowspecific</frontend_type>
448
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
449
- <sort_order>7</sort_order>
450
  <show_in_default>1</show_in_default>
451
  <show_in_website>1</show_in_website>
452
  <show_in_store>1</show_in_store>
@@ -459,7 +486,7 @@
459
  <label>Toegestane landen</label>
460
  <frontend_type>multiselect</frontend_type>
461
  <source_model>adminhtml/system_config_source_country</source_model>
462
- <sort_order>8</sort_order>
463
  <show_in_default>1</show_in_default>
464
  <show_in_website>1</show_in_website>
465
  <show_in_store>1</show_in_store>
@@ -473,7 +500,7 @@
473
  <comment>De status die een order moet krijgen bij het toevoegen</comment>
474
  <frontend_type>select</frontend_type>
475
  <source_model>pay_payment/source_status_pendingPayment</source_model>
476
- <sort_order>9</sort_order>
477
  <show_in_default>1</show_in_default>
478
  <show_in_website>1</show_in_website>
479
  <show_in_store>1</show_in_store>
@@ -486,7 +513,7 @@
486
  <comment>De status die een order moet krijgen na succesvolle betaling</comment>
487
  <frontend_type>select</frontend_type>
488
  <source_model>pay_payment/source_status_processing</source_model>
489
- <sort_order>10</sort_order>
490
  <show_in_default>1</show_in_default>
491
  <show_in_website>1</show_in_website>
492
  <show_in_store>1</show_in_store>
427
  <show_in_website>1</show_in_website>
428
  <show_in_store>1</show_in_store>
429
  </min_order_total>
430
+
431
  <max_order_total translate="label">
432
  <depends>
433
  <active>1</active>
440
  <show_in_website>1</show_in_website>
441
  <show_in_store>1</show_in_store>
442
  </max_order_total>
443
+ <ask_data_personal translate="label">
444
+ <depends>
445
+ <active>1</active>
446
+ </depends>
447
+ <label>Persoonlijk inschakelen</label>
448
+ <comment>Geboortedatum vragen, zodat persoonlijke bestellingen rechtstreeks worden doorgestuurd zonder tussenscherm</comment>
449
+ <frontend_type>select</frontend_type>
450
+ <source_model>adminhtml/system_config_source_yesno</source_model>
451
+ <sort_order>7</sort_order>
452
+ <show_in_default>1</show_in_default>
453
+ <show_in_website>1</show_in_website>
454
+ <show_in_store>1</show_in_store>
455
+ </ask_data_personal>
456
+ <!-- <ask_data_business translate="label"> Uitgeschakeld, omdat de api deze nog niet accepteert
457
+ <depends>
458
+ <active>1</active>
459
+ </depends>
460
+ <label>Zakelijk inschakelen</label>
461
+ <comment>Bedrijfsgegven vragen, zodat zakelijke bestellingen rechtstreeks worden doorgestuurd zonder tussenscherm</comment>
462
+ <frontend_type>select</frontend_type>
463
+ <source_model>adminhtml/system_config_source_yesno</source_model>
464
+ <sort_order>8</sort_order>
465
+ <show_in_default>1</show_in_default>
466
+ <show_in_website>1</show_in_website>
467
+ <show_in_store>1</show_in_store>
468
+ </ask_data_business>-->
469
  <allowspecific translate="label">
470
  <depends>
471
  <active>1</active>
473
  <label>Beschikbaarheid per land</label>
474
  <frontend_type>allowspecific</frontend_type>
475
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
476
+ <sort_order>9</sort_order>
477
  <show_in_default>1</show_in_default>
478
  <show_in_website>1</show_in_website>
479
  <show_in_store>1</show_in_store>
486
  <label>Toegestane landen</label>
487
  <frontend_type>multiselect</frontend_type>
488
  <source_model>adminhtml/system_config_source_country</source_model>
489
+ <sort_order>10</sort_order>
490
  <show_in_default>1</show_in_default>
491
  <show_in_website>1</show_in_website>
492
  <show_in_store>1</show_in_store>
500
  <comment>De status die een order moet krijgen bij het toevoegen</comment>
501
  <frontend_type>select</frontend_type>
502
  <source_model>pay_payment/source_status_pendingPayment</source_model>
503
+ <sort_order>11</sort_order>
504
  <show_in_default>1</show_in_default>
505
  <show_in_website>1</show_in_website>
506
  <show_in_store>1</show_in_store>
513
  <comment>De status die een order moet krijgen na succesvolle betaling</comment>
514
  <frontend_type>select</frontend_type>
515
  <source_model>pay_payment/source_status_processing</source_model>
516
+ <sort_order>12</sort_order>
517
  <show_in_default>1</show_in_default>
518
  <show_in_website>1</show_in_website>
519
  <show_in_store>1</show_in_store>
app/design/frontend/base/default/template/pay/payment/form/billink.phtml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $_code = $this->getMethodCode();
3
+ $session = Mage::getSingleton('checkout/session');
4
+ $dobDay = $session->getBirthdayDay();
5
+ $dobMonth = $session->getBirthdayMonth();
6
+ $dobYear = $session->getBirthdayYear();
7
+
8
+ $enablePersonal = Mage::getStoreConfig('payment/pay_payment_billink/ask_data_personal',
9
+ Mage::app()->getStore());
10
+ $enableBusiness = Mage::getStoreConfig('payment/pay_payment_billink/ask_data_business',
11
+ Mage::app()->getStore());
12
+ $this instanceof Pay_Payment_Block_Form_Billink;
13
+ ?>
14
+
15
+
16
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
17
+
18
+ <?php
19
+ if ($enablePersonal == 1 && $enableBusiness == 1) {
20
+ ?>
21
+ Type bestelling
22
+ <li>
23
+ </li>
24
+ <li>
25
+ <input onchange="jQuery('#paynl-data-personal').show();jQuery('#paynl-data-business').hide();" type="radio" name="payment[type_order]" id="type_order_p" value="p" /> <label for="type_order_p">Persoonlijk</label><br />
26
+ <input onchange="jQuery('#paynl-data-personal').hide();jQuery('#paynl-data-business').show();" type="radio" name="payment[type_order]" id="type_order_b" value="b" /> <label for="type_order_b">Zakelijk</label>
27
+ </li>
28
+ <?php
29
+ }
30
+ if ($enablePersonal == 1) {
31
+ ?>
32
+ <div <?php echo $enableBusiness == 1?'style="display:none;"':''; ?> id="paynl-data-personal">
33
+ <li>Geboortedatum</li>
34
+ <li>
35
+ <div class="input-box customer-dob">
36
+ <div class="dob-day">
37
+ <input type="text" id="day" name="payment[birthday_day]" value="<?= $dobDay ?>" title="Day" class="input-text">
38
+ <label for="day">DD</label>
39
+ </div><div class="dob-month">
40
+ <input type="text" id="month" name="payment[birthday_month]" value="<?= $dobMonth ?>" title="Month" class="input-text">
41
+ <label for="month">MM</label>
42
+ </div><div class="dob-year">
43
+ <input type="text" id="year" name="payment[birthday_year]" value="<?= $dobYear ?>" title="Year" class="input-text" autocomplete="off">
44
+ <label for="year">YYYY</label>
45
+ </div>
46
+ </li>
47
+ <br />
48
+ </div>
49
+ <?php } ?>
50
+ <?php if ($enableBusiness == 1) { ?>
51
+ <div <?php echo $enablePersonal == 1?'style="display:none;"':''; ?> id="paynl-data-business">
52
+ <li>
53
+ KVK nummer
54
+ </li>
55
+ <li>
56
+ <div class="input-box">
57
+ <input type="text" name="payment[kvknummer]" />
58
+ </div>
59
+ </li>
60
+ </div>
61
+ <?php } ?>
62
+ <li class="input-box">
63
+ <input id="billink_agree" type="checkbox" value="1" name="payment[billink_agree]" /> <label for="billink_agree">Ik ga akkoord met de</label> <a target="new" href="http://billink.nl/voorwaarden/gebruikersvoorwaarden.pdf">betalingsvoorvaarden</a>
64
+ </li>
65
+
66
+ </ul>
67
+ <div>
68
+ <?php echo $this->getMethod()->getConfigData('message'); ?>
69
+ </div>
package.xml CHANGED
@@ -1,23 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pay_NL</name>
4
- <version>3.3.15</version>
5
  <stability>stable</stability>
6
  <license>Pay</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Betaalmethoden van pay.nl</summary>
10
  <description>Magento plugin voor betaalmethoden van pay.nl</description>
11
- <notes>Added paymentmethods:&#xD;
12
- - Billink&#xD;
13
- - Givacard&#xD;
14
- - Wijncadeau&#xD;
15
- &#xD;
16
- Now correctly calculating tax class for individual products</notes>
17
  <authors><author><name>Andy Pieters</name><user>andy</user><email>andy@pay.nl</email></author></authors>
18
- <date>2015-10-13</date>
19
- <time>16:23:59</time>
20
- <contents><target name="mageetc"><dir name="modules"><file name="Pay_Payment.xml" hash="e468e2b4ffbcfd6d53b4148ba787ce60"/></dir></target><target name="magecommunity"><dir name="Pay"><dir name="Payment"><dir name="Block"><dir name="Adminhtml"><file name="Paymentmethods.php" hash="8eebafc1aa0fb994be725695b661eb24"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="bf5deb4dc4d69a022a6dc89cd2bbedb6"/></dir><dir name="Invoice"><file name="Totals.php" hash="2c7c9b69c81c6adfaaeef287c30e00b5"/></dir><file name="Totals.php" hash="fedc53370050950d0aa662ab9d787067"/></dir><file name="Totals.php" hash="19de7752700c1dd3fdb6aa5260a6037f"/></dir></dir><dir name="Form"><file name="Abstract.php" hash="b816451bc2a7a0a974d60e1943748f65"/><file name="Afterpay.php" hash="36b91eb26de891d4c3b1d5aa5dec218d"/><file name="Billink.php" hash="970dbae9c68bcefb4b35522c5cb572d9"/><file name="Bitcoin.php" hash="0166a2776a146ebd392fdd309545f22c"/><file name="Cartebleue.php" hash="7eced991f8c43f1152d60f30da029545"/><file name="Cashticket.php" hash="2fc82af9d173d47d52bb063e229dc242"/><file name="Clickandbuy.php" hash="0655928d713274969e4f48f027d83ceb"/><file name="Ebon.php" hash="94895b8a43e5460cd87393158930f1de"/><file name="Fashioncheque.php" hash="c3d7c03236a284375f4e90550a9f971c"/><file name="Gezondheidsbon.php" hash="c68e3ccd375edc232b3c883f24e2e076"/><file name="Giropay.php" hash="b5b31c012f9709de283190625d8d382b"/><file name="Givacard.php" hash="edbbd1f6edfb63f0ee5bc6f3424db6f7"/><file name="Ideal.php" hash="8faecb47fa7c3f22d3db78700d7d46ef"/><file name="Incasso.php" hash="d03f0751fa03f9c0b83bbbc44e89347e"/><file name="Maestro.php" hash="9bec2d268627f75d9414e82e802b0e3d"/><file name="Minitixsms.php" hash="8aa896bcf033264052136e73b814e3a9"/><file name="Mistercash.php" hash="0ff378a748e113662e9914bac9157f76"/><file name="Mybank.php" hash="97c7a976f2024ad280f870b132c014a1"/><file name="Overboeking.php" hash="f90062c3261c9c03e6e271aac319bb0b"/><file name="Paypal.php" hash="06b51c201d904600f686ed8f521aee7b"/><file name="Paysafecard.php" hash="1627a3b2dabe52b3c394e5b358aca1ff"/><file name="Podiumkadokaart.php" hash="59574267968597d2507ec2dc739913b2"/><file name="Postepay.php" hash="7604cbb32a0d9c016138d26dc9049950"/><file name="Sofortbanking.php" hash="a5444f8448ad9ba046633f64055b9229"/><file name="Telefoon.php" hash="2b55a9a26c9b3fffa39c69f23791663e"/><file name="Visamastercard.php" hash="29a2b43d8b3317b2717437229a233535"/><file name="Webshopgiftcard.php" hash="d30dcb81bdf88c771c007b3d5eee7ca8"/><file name="Wijncadeau.php" hash="c60388ef8b38da2c49b60a6b3345b85d"/><file name="Yourgift.php" hash="428c3826a1db8d1b2c1e0025ba499893"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="55a5dd228545841516a07b016dab4b69"/></dir><dir name="Invoice"><file name="Totals.php" hash="128bf5ff3d15777c8e5155d9b02e3083"/></dir><file name="Totals.php" hash="4207c463975da6c627ec64342b12a966"/></dir></dir></dir><file name="Exception.php" hash="e37d40cde6f992a1859ac884d03b8a68"/><dir name="Helper"><dir name="Api"><file name="Exception.php" hash="e778e6f4d48751c67439986ba8f8f4d2"/><file name="Getservice.php" hash="4b253fdd4b1dad1a349db0070d3ab9e3"/><file name="Info.php" hash="7448d46dff3132c0432c197b062c33b5"/><file name="Ispayserverip.php" hash="b23177ec96b1df4c5a01533474c02b25"/><file name="Refund.php" hash="0ff894fa96984a5103d85cdc17d4e5bd"/><file name="Start.php" hash="ceaf0374fbcdd55375661d5d45c52cc1"/></dir><file name="Api.php" hash="84590f7359aeebc85c10bd1eb8f41ae3"/><file name="Data.php" hash="747fdfa6ad544879a359821670f83212"/><file name="Order.php" hash="dd08ab7387866cb1ca3c48f3f4285f00"/><file name="Total.php" hash="1808042bc1deb7705149fa65f0f40dfc"/><file name="cacert.pem" hash="9f92a0d9f605e227ae068e605f4c86fa"/></dir><dir name="Model"><dir name="Backend"><file name="Trim.php" hash="6b7a087bcb1eb3e59d0a1485d58f9474"/></dir><dir name="Mysql4"><dir name="Option"><file name="Collection.php" hash="be852304b8d076d318d2a7419eddbae0"/></dir><file name="Option.php" hash="f04ee616b02622a760cd1751a7dcbb6e"/><dir name="Optionsub"><file name="Collection.php" hash="ec00aa2b0917036a18f54ff2e2ba2969"/></dir><file name="Optionsub.php" hash="015f67fc2a3188ff323ed34ec4ade23c"/><dir name="Transaction"><file name="Collection.php" hash="f9ddf980a76f3720483daf8a5f8128de"/></dir><file name="Transaction.php" hash="89a819b949e597ddccc69b743ca333f1"/></dir><file name="Option.php" hash="0fa27f41fb8ddbf6d852b9d768ccf69a"/><file name="Optionsub.php" hash="0d308c2f81e3d3a8f702280db0825b8a"/><dir name="Paymentmethod"><file name="Afterpay.php" hash="5b206eaa1121f497bf895e88caf0b372"/><file name="Billink.php" hash="8861c536992f1f94f0cf373ccd8ab3b0"/><file name="Bitcoin.php" hash="5875964cb346b501e9879aeaed93e451"/><file name="Cartebleue.php" hash="a59df70ad867fc44df0484c9ec7e272e"/><file name="Cashticket.php" hash="87919d87330d729c22a13f8341d98c85"/><file name="Clickandbuy.php" hash="a1004d9355938288b8e195a8629d236a"/><file name="Directebankingat.php" hash="18a4d70a5301e58a91cb4159fa7b001a"/><file name="Directebankingbe.php" hash="699fbaa9a801042177ef91d98c1becd1"/><file name="Directebankingch.php" hash="a8abd78d9bc27371d52c895a358c58a1"/><file name="Directebankingde.php" hash="4348a7be2f4a0e23586f2c89fa1309cc"/><file name="Directebankinggb.php" hash="b3d784ec6abfebe77fb64bdf9695c4b5"/><file name="Directebankingnl.php" hash="ec728809ec02fe9df14b5933ad1088a1"/><file name="Ebon.php" hash="d735fd1c4883636b1f48134284d17e7f"/><file name="Fashioncheque.php" hash="0a8ea50d8aa3f860d89a7a4a99206fbd"/><file name="Fasterpay.php" hash="90dc91a5dfb85c61dc27595d34cebf0f"/><file name="Gezondheidsbon.php" hash="d2490a622ba4201371e2554ecacdfda1"/><file name="Giropay.php" hash="aef2b9ea0719db78f3fe7e8e706ec1e6"/><file name="Givacard.php" hash="469eb4739576953097df96462e36623b"/><file name="Ideal.php" hash="c3ab0230de874397faf3034ccc474acb"/><file name="Incasso.php" hash="84bea7e306041780659747ca532dbebc"/><file name="Maestro.php" hash="926adfabfd8c800b3ee7ce50c2389701"/><file name="Minitixsms.php" hash="b995dbb76c954d7c876b0e6e74873344"/><file name="Mistercash.php" hash="0a7334fc8416d084957c7103379c3fd1"/><file name="Mybank.php" hash="cf3ab88a3cc0c06324dd77b74835f5dd"/><file name="Overboeking.php" hash="005fa154adc595b69b9bd0ff266f170c"/><file name="Paypal.php" hash="682a705b49abd74f931f49f4f7f3509b"/><file name="Paysafecard.php" hash="57bfbf08a7ff0336fdbcf4e2c2a31586"/><file name="Podiumkadokaart.php" hash="01e9e5684c76e9fa3e6d0cddb99f3cd6"/><file name="Postepay.php" hash="501c4e521a0519099e3927f7135b5761"/><file name="Sofortbanking.php" hash="bc3369d92fdf8a135df7dd0a52069275"/><file name="Telefoon.php" hash="1bd414dd92e0dc514734329f2c07245f"/><file name="Visamastercard.php" hash="4fb0bc907cda4a1cda65414398811bba"/><file name="Webshopgiftcard.php" hash="ba5d906b4869adfc039085545f951575"/><file name="Wijncadeau.php" hash="74356192462c83413529d2d74723e9bb"/><file name="Yourgift.php" hash="9df14b2895dfbe72ba70cdad9e97f357"/></dir><file name="Paymentmethod.php" hash="5690b0e4d3bdd576d09d377dc8f3672a"/><dir name="Paypal"><file name="Cart.php" hash="47d871bcebd4a715fc6ccad3605320ae"/></dir><dir name="Resource"><file name="Setup.php" hash="b05f67067f71ab4eab29797335ad872a"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Paymentcharge.php" hash="c750eb57757563fb482865fb04aae916"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Paymentcharge.php" hash="3c8dd146681d1ea112e0a7f2ddced349"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Paymentcharge.php" hash="e8b1377601e0a976e8364f07980a3a08"/></dir></dir></dir></dir><dir name="Source"><file name="Iconsize.php" hash="f571dd3324ec8d6fc3d1bbc09fe551ab"/><file name="Language.php" hash="aa337e74eca5d87c38461426beeedb9f"/><dir name="Paymentmethod"><file name="Active.php" hash="98b291e9a187375e53fb0b974c384643"/><dir name="Afterpay"><file name="Active.php" hash="bc291ce6a8d930c0d23bc0fc7e1535fa"/></dir><dir name="Billink"><file name="Active.php" hash="425961339d0138bd8ff67fb6cca66526"/></dir><dir name="Bitcoin"><file name="Active.php" hash="ba9b82b31ab670acaa85e5a0e8ce281d"/></dir><dir name="Cartebleue"><file name="Active.php" hash="aee9324f68fcd2e505ac0397e4a9fa84"/></dir><dir name="Cashticket"><file name="Active.php" hash="a60048889f821d93853380f30e743a60"/></dir><dir name="Clickandbuy"><file name="Active.php" hash="2a5efe0dbebc29d50f2ba34a45052c8c"/></dir><dir name="Directebankingat"><file name="Active.php" hash="9ebddffba370c63a1e3ca3790a88f10a"/></dir><dir name="Directebankingbe"><file name="Active.php" hash="3ad0680220a37af16ebbbe499bef520d"/></dir><dir name="Directebankingch"><file name="Active.php" hash="61d1b9807d91dff421a39770ab66b95f"/></dir><dir name="Directebankingde"><file name="Active.php" hash="c38d36a8ad456bb53f8b63eacffc3f48"/></dir><dir name="Directebankinggb"><file name="Active.php" hash="395793113a0d49ed5c04c10e269b70fb"/></dir><dir name="Directebankingnl"><file name="Active.php" hash="ed7ee95235cb82f426f95ddd15c2dce0"/></dir><dir name="Ebon"><file name="Active.php" hash="8cd705149115373c8e88f4cc9b0f699e"/></dir><dir name="Fashioncheque"><file name="Active.php" hash="526973e9ff555b90c3bce4bb39f67229"/></dir><dir name="Fasterpay"><file name="Active.php" hash="25a186f88f38f6b8cf5a32028ed52a51"/></dir><dir name="Gezondheidsbon"><file name="Active.php" hash="656eb99e2af61d3648b1c636391a4476"/></dir><dir name="Giropay"><file name="Active.php" hash="0be69b719ebaf5fdf73410aedca2a21c"/></dir><dir name="Givacard"><file name="Active.php" hash="d7d3575bbd9c192f763956be66bd31c6"/></dir><dir name="Ideal"><file name="Active.php" hash="ff261498816bc57ef22175ef0d1ab212"/><file name="Selecttype.php" hash="69a3c2408ad31e0bb8d1f89c05207593"/></dir><dir name="Incasso"><file name="Active.php" hash="f70f04cac575720b7ecfab8d32f7d2f3"/></dir><dir name="Maestro"><file name="Active.php" hash="82a4748c78309ce19fd260921ed56a2d"/></dir><dir name="Minitixsms"><file name="Active.php" hash="f22609b6c023e867febc6a86483c5507"/></dir><dir name="Mistercash"><file name="Active.php" hash="f4ea8b494e139ee47b83319e973b3814"/></dir><dir name="Mybank"><file name="Active.php" hash="cd82545f460c268002052292963227fe"/></dir><dir name="Overboeking"><file name="Active.php" hash="85f6b86a12fcb59629aa73ced4e71c27"/></dir><dir name="Paypal"><file name="Active.php" hash="aceebd18fc86e403c2d05e8c2f711319"/></dir><dir name="Paysafecard"><file name="Active.php" hash="efe1ca8eb43f0d7cc612c3e1e0351a10"/></dir><dir name="Podiumkadokaart"><file name="Active.php" hash="5aaeb99d5c11b40b312487660a656328"/></dir><dir name="Postepay"><file name="Active.php" hash="ae5bc39eca34f74b557ba3d55dded5c7"/></dir><dir name="Sofortbanking"><file name="Active.php" hash="3569b0bc1f49da829843dadcbff5d9d9"/></dir><dir name="Telefoon"><file name="Active.php" hash="2a1bbcc9a6bed03402560838c3aeff68"/></dir><dir name="Visamastercard"><file name="Active.php" hash="f3e49192a0600437af59e9f3bc396c40"/></dir><dir name="Webshopgiftcard"><file name="Active.php" hash="e71770baa1ada4466cce57270df5e7bb"/></dir><dir name="Wijncadeau"><file name="Active.php" hash="9494fb7cd2326cac12fd9012621612ac"/></dir><dir name="Yourgift"><file name="Active.php" hash="6bdf62622be0610595fa54b02d494a7f"/></dir></dir><file name="Sendmail.php" hash="bf86ddde71b89ea6e3dfb434c3996f33"/><dir name="Status"><file name="PendingPayment.php" hash="9358466304af44f3a22f77fec7630be1"/><file name="Processing.php" hash="aea6f58cfb750a93f03ae4b435c59766"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Chargetype.php" hash="2734bce1efc0b62ea81d7a13770a1b19"/></dir></dir></dir><file name="Transaction.php" hash="ce1b9930a60aca5aa955bb9731d427b3"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="5f2efc35a62dc1cd97543678586629b3"/><file name="OrderController.php" hash="98f8a9e353ef91b3e133c315b82f9078"/></dir><dir name="etc"><file name="config.xml" hash="1c27dfdc67b508fd2162b84c9a8efd97"/><file name="system.xml" hash="34799a646ff1e6bd2476bf89c53819f1"/></dir><dir name="sql"><dir name="pay_payment_setup"><file name="install-3.1.2.8.php" hash="a4a612c1afe0177ccd7b0bb0240a75d8"/><file name="upgrade-3.0.0-3.1.0.php" hash="8453d90bcc7b4647346112b44614cb16"/><file name="upgrade-3.1.2.2-3.1.2.4.php" hash="275444fa9b201b3f3010480b1645b5f0"/><file name="upgrade-3.1.2.7-3.1.2.8.php" hash="12b4a2bdbeff5ae0b27a1219f219193a"/><file name="upgrade-3.2.1-3.2.2.php" hash="59c84113d622db24d09de5e8639a7660"/><file name="upgrade-3.2.13-3.2.14.php" hash="27851a61541141d919ef4466aec40b38"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="pay"><dir name="payment"><dir name="form"><file name="default.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="ideal.phtml" hash="429f09f1b1c911f9179b435c7013d973"/><file name="idealSelect.phtml" hash="6478b90f77a4e549bc600d80a31f6b9f"/></dir><file name="mark.phtml" hash="ab61d728f0d237a34f78300554d8ba0f"/></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="pay_payment"><file name="logo.png" hash="b45a2ccf5e85a713b786d85c1059afee"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.1.0</min><max>5.6.99</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pay_NL</name>
4
+ <version>3.3.16</version>
5
  <stability>stable</stability>
6
  <license>Pay</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Betaalmethoden van pay.nl</summary>
10
  <description>Magento plugin voor betaalmethoden van pay.nl</description>
11
+ <notes>Fixed tax issues&#xD;
12
+ Built logging into starting transaction&#xD;
13
+ Billink now asks for birthdate and company data</notes>
 
 
 
14
  <authors><author><name>Andy Pieters</name><user>andy</user><email>andy@pay.nl</email></author></authors>
15
+ <date>2015-11-24</date>
16
+ <time>11:28:46</time>
17
+ <contents><target name="mageetc"><dir name="modules"><file name="Pay_Payment.xml" hash="e468e2b4ffbcfd6d53b4148ba787ce60"/></dir></target><target name="magecommunity"><dir name="Pay"><dir name="Payment"><dir name="Block"><dir name="Adminhtml"><file name="Paymentmethods.php" hash="8eebafc1aa0fb994be725695b661eb24"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="bf5deb4dc4d69a022a6dc89cd2bbedb6"/></dir><dir name="Invoice"><file name="Totals.php" hash="2c7c9b69c81c6adfaaeef287c30e00b5"/></dir><file name="Totals.php" hash="fedc53370050950d0aa662ab9d787067"/></dir><file name="Totals.php" hash="19de7752700c1dd3fdb6aa5260a6037f"/></dir></dir><dir name="Form"><file name="Abstract.php" hash="b816451bc2a7a0a974d60e1943748f65"/><file name="Afterpay.php" hash="36b91eb26de891d4c3b1d5aa5dec218d"/><file name="Billink.php" hash="d4c4ce03df61de72cb223d523d7b95b8"/><file name="Bitcoin.php" hash="0166a2776a146ebd392fdd309545f22c"/><file name="Cartebleue.php" hash="7eced991f8c43f1152d60f30da029545"/><file name="Cashticket.php" hash="2fc82af9d173d47d52bb063e229dc242"/><file name="Clickandbuy.php" hash="0655928d713274969e4f48f027d83ceb"/><file name="Ebon.php" hash="94895b8a43e5460cd87393158930f1de"/><file name="Fashioncheque.php" hash="c3d7c03236a284375f4e90550a9f971c"/><file name="Gezondheidsbon.php" hash="c68e3ccd375edc232b3c883f24e2e076"/><file name="Giropay.php" hash="b5b31c012f9709de283190625d8d382b"/><file name="Givacard.php" hash="edbbd1f6edfb63f0ee5bc6f3424db6f7"/><file name="Ideal.php" hash="8faecb47fa7c3f22d3db78700d7d46ef"/><file name="Incasso.php" hash="d03f0751fa03f9c0b83bbbc44e89347e"/><file name="Maestro.php" hash="9bec2d268627f75d9414e82e802b0e3d"/><file name="Minitixsms.php" hash="8aa896bcf033264052136e73b814e3a9"/><file name="Mistercash.php" hash="0ff378a748e113662e9914bac9157f76"/><file name="Mybank.php" hash="97c7a976f2024ad280f870b132c014a1"/><file name="Overboeking.php" hash="f90062c3261c9c03e6e271aac319bb0b"/><file name="Paypal.php" hash="06b51c201d904600f686ed8f521aee7b"/><file name="Paysafecard.php" hash="1627a3b2dabe52b3c394e5b358aca1ff"/><file name="Podiumkadokaart.php" hash="59574267968597d2507ec2dc739913b2"/><file name="Postepay.php" hash="7604cbb32a0d9c016138d26dc9049950"/><file name="Sofortbanking.php" hash="a5444f8448ad9ba046633f64055b9229"/><file name="Telefoon.php" hash="2b55a9a26c9b3fffa39c69f23791663e"/><file name="Visamastercard.php" hash="29a2b43d8b3317b2717437229a233535"/><file name="Webshopgiftcard.php" hash="d30dcb81bdf88c771c007b3d5eee7ca8"/><file name="Wijncadeau.php" hash="c60388ef8b38da2c49b60a6b3345b85d"/><file name="Yourgift.php" hash="428c3826a1db8d1b2c1e0025ba499893"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="55a5dd228545841516a07b016dab4b69"/></dir><dir name="Invoice"><file name="Totals.php" hash="128bf5ff3d15777c8e5155d9b02e3083"/></dir><file name="Totals.php" hash="4207c463975da6c627ec64342b12a966"/></dir></dir></dir><file name="Exception.php" hash="e37d40cde6f992a1859ac884d03b8a68"/><dir name="Helper"><dir name="Api"><file name="Exception.php" hash="e778e6f4d48751c67439986ba8f8f4d2"/><file name="Getservice.php" hash="4b253fdd4b1dad1a349db0070d3ab9e3"/><file name="Info.php" hash="7448d46dff3132c0432c197b062c33b5"/><file name="Ispayserverip.php" hash="b23177ec96b1df4c5a01533474c02b25"/><file name="Refund.php" hash="0ff894fa96984a5103d85cdc17d4e5bd"/><file name="Start.php" hash="ceaf0374fbcdd55375661d5d45c52cc1"/></dir><file name="Api.php" hash="84590f7359aeebc85c10bd1eb8f41ae3"/><file name="Data.php" hash="0c739c24a428993d03a95f2262226a02"/><file name="Order.php" hash="dd08ab7387866cb1ca3c48f3f4285f00"/><file name="Total.php" hash="1808042bc1deb7705149fa65f0f40dfc"/><file name="cacert.pem" hash="9f92a0d9f605e227ae068e605f4c86fa"/></dir><dir name="Model"><dir name="Backend"><file name="Trim.php" hash="6b7a087bcb1eb3e59d0a1485d58f9474"/></dir><dir name="Mysql4"><dir name="Option"><file name="Collection.php" hash="be852304b8d076d318d2a7419eddbae0"/></dir><file name="Option.php" hash="f04ee616b02622a760cd1751a7dcbb6e"/><dir name="Optionsub"><file name="Collection.php" hash="ec00aa2b0917036a18f54ff2e2ba2969"/></dir><file name="Optionsub.php" hash="015f67fc2a3188ff323ed34ec4ade23c"/><dir name="Transaction"><file name="Collection.php" hash="f9ddf980a76f3720483daf8a5f8128de"/></dir><file name="Transaction.php" hash="89a819b949e597ddccc69b743ca333f1"/></dir><file name="Option.php" hash="0fa27f41fb8ddbf6d852b9d768ccf69a"/><file name="Optionsub.php" hash="0d308c2f81e3d3a8f702280db0825b8a"/><dir name="Paymentmethod"><file name="Afterpay.php" hash="5b206eaa1121f497bf895e88caf0b372"/><file name="Billink.php" hash="da1b66a16797edbb8f1f27a4a89bfa41"/><file name="Bitcoin.php" hash="5875964cb346b501e9879aeaed93e451"/><file name="Cartebleue.php" hash="a59df70ad867fc44df0484c9ec7e272e"/><file name="Cashticket.php" hash="87919d87330d729c22a13f8341d98c85"/><file name="Clickandbuy.php" hash="a1004d9355938288b8e195a8629d236a"/><file name="Directebankingat.php" hash="18a4d70a5301e58a91cb4159fa7b001a"/><file name="Directebankingbe.php" hash="699fbaa9a801042177ef91d98c1becd1"/><file name="Directebankingch.php" hash="a8abd78d9bc27371d52c895a358c58a1"/><file name="Directebankingde.php" hash="4348a7be2f4a0e23586f2c89fa1309cc"/><file name="Directebankinggb.php" hash="b3d784ec6abfebe77fb64bdf9695c4b5"/><file name="Directebankingnl.php" hash="ec728809ec02fe9df14b5933ad1088a1"/><file name="Ebon.php" hash="d735fd1c4883636b1f48134284d17e7f"/><file name="Fashioncheque.php" hash="0a8ea50d8aa3f860d89a7a4a99206fbd"/><file name="Fasterpay.php" hash="90dc91a5dfb85c61dc27595d34cebf0f"/><file name="Gezondheidsbon.php" hash="d2490a622ba4201371e2554ecacdfda1"/><file name="Giropay.php" hash="aef2b9ea0719db78f3fe7e8e706ec1e6"/><file name="Givacard.php" hash="469eb4739576953097df96462e36623b"/><file name="Ideal.php" hash="7b432b983efefd3baccaa939450de0bb"/><file name="Incasso.php" hash="84bea7e306041780659747ca532dbebc"/><file name="Maestro.php" hash="926adfabfd8c800b3ee7ce50c2389701"/><file name="Minitixsms.php" hash="b995dbb76c954d7c876b0e6e74873344"/><file name="Mistercash.php" hash="0a7334fc8416d084957c7103379c3fd1"/><file name="Mybank.php" hash="cf3ab88a3cc0c06324dd77b74835f5dd"/><file name="Overboeking.php" hash="005fa154adc595b69b9bd0ff266f170c"/><file name="Paypal.php" hash="682a705b49abd74f931f49f4f7f3509b"/><file name="Paysafecard.php" hash="57bfbf08a7ff0336fdbcf4e2c2a31586"/><file name="Podiumkadokaart.php" hash="01e9e5684c76e9fa3e6d0cddb99f3cd6"/><file name="Postepay.php" hash="501c4e521a0519099e3927f7135b5761"/><file name="Sofortbanking.php" hash="bc3369d92fdf8a135df7dd0a52069275"/><file name="Telefoon.php" hash="1bd414dd92e0dc514734329f2c07245f"/><file name="Visamastercard.php" hash="4fb0bc907cda4a1cda65414398811bba"/><file name="Webshopgiftcard.php" hash="ba5d906b4869adfc039085545f951575"/><file name="Wijncadeau.php" hash="74356192462c83413529d2d74723e9bb"/><file name="Yourgift.php" hash="9df14b2895dfbe72ba70cdad9e97f357"/></dir><file name="Paymentmethod.php" hash="f770763cef6470f9c94980921a44978a"/><dir name="Paypal"><file name="Cart.php" hash="47d871bcebd4a715fc6ccad3605320ae"/></dir><dir name="Resource"><file name="Setup.php" hash="b05f67067f71ab4eab29797335ad872a"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Paymentcharge.php" hash="07f417d8a332e45f7d04bbb31d2d24b0"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Paymentcharge.php" hash="3c8dd146681d1ea112e0a7f2ddced349"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Paymentcharge.php" hash="e8b1377601e0a976e8364f07980a3a08"/></dir></dir></dir></dir><dir name="Source"><file name="Iconsize.php" hash="f571dd3324ec8d6fc3d1bbc09fe551ab"/><file name="Language.php" hash="aa337e74eca5d87c38461426beeedb9f"/><dir name="Paymentmethod"><file name="Active.php" hash="98b291e9a187375e53fb0b974c384643"/><dir name="Afterpay"><file name="Active.php" hash="bc291ce6a8d930c0d23bc0fc7e1535fa"/></dir><dir name="Billink"><file name="Active.php" hash="425961339d0138bd8ff67fb6cca66526"/></dir><dir name="Bitcoin"><file name="Active.php" hash="ba9b82b31ab670acaa85e5a0e8ce281d"/></dir><dir name="Cartebleue"><file name="Active.php" hash="aee9324f68fcd2e505ac0397e4a9fa84"/></dir><dir name="Cashticket"><file name="Active.php" hash="a60048889f821d93853380f30e743a60"/></dir><dir name="Clickandbuy"><file name="Active.php" hash="2a5efe0dbebc29d50f2ba34a45052c8c"/></dir><dir name="Directebankingat"><file name="Active.php" hash="9ebddffba370c63a1e3ca3790a88f10a"/></dir><dir name="Directebankingbe"><file name="Active.php" hash="3ad0680220a37af16ebbbe499bef520d"/></dir><dir name="Directebankingch"><file name="Active.php" hash="61d1b9807d91dff421a39770ab66b95f"/></dir><dir name="Directebankingde"><file name="Active.php" hash="c38d36a8ad456bb53f8b63eacffc3f48"/></dir><dir name="Directebankinggb"><file name="Active.php" hash="395793113a0d49ed5c04c10e269b70fb"/></dir><dir name="Directebankingnl"><file name="Active.php" hash="ed7ee95235cb82f426f95ddd15c2dce0"/></dir><dir name="Ebon"><file name="Active.php" hash="8cd705149115373c8e88f4cc9b0f699e"/></dir><dir name="Fashioncheque"><file name="Active.php" hash="526973e9ff555b90c3bce4bb39f67229"/></dir><dir name="Fasterpay"><file name="Active.php" hash="25a186f88f38f6b8cf5a32028ed52a51"/></dir><dir name="Gezondheidsbon"><file name="Active.php" hash="656eb99e2af61d3648b1c636391a4476"/></dir><dir name="Giropay"><file name="Active.php" hash="0be69b719ebaf5fdf73410aedca2a21c"/></dir><dir name="Givacard"><file name="Active.php" hash="d7d3575bbd9c192f763956be66bd31c6"/></dir><dir name="Ideal"><file name="Active.php" hash="ff261498816bc57ef22175ef0d1ab212"/><file name="Selecttype.php" hash="69a3c2408ad31e0bb8d1f89c05207593"/></dir><dir name="Incasso"><file name="Active.php" hash="f70f04cac575720b7ecfab8d32f7d2f3"/></dir><dir name="Maestro"><file name="Active.php" hash="82a4748c78309ce19fd260921ed56a2d"/></dir><dir name="Minitixsms"><file name="Active.php" hash="f22609b6c023e867febc6a86483c5507"/></dir><dir name="Mistercash"><file name="Active.php" hash="f4ea8b494e139ee47b83319e973b3814"/></dir><dir name="Mybank"><file name="Active.php" hash="cd82545f460c268002052292963227fe"/></dir><dir name="Overboeking"><file name="Active.php" hash="85f6b86a12fcb59629aa73ced4e71c27"/></dir><dir name="Paypal"><file name="Active.php" hash="aceebd18fc86e403c2d05e8c2f711319"/></dir><dir name="Paysafecard"><file name="Active.php" hash="efe1ca8eb43f0d7cc612c3e1e0351a10"/></dir><dir name="Podiumkadokaart"><file name="Active.php" hash="5aaeb99d5c11b40b312487660a656328"/></dir><dir name="Postepay"><file name="Active.php" hash="ae5bc39eca34f74b557ba3d55dded5c7"/></dir><dir name="Sofortbanking"><file name="Active.php" hash="3569b0bc1f49da829843dadcbff5d9d9"/></dir><dir name="Telefoon"><file name="Active.php" hash="2a1bbcc9a6bed03402560838c3aeff68"/></dir><dir name="Visamastercard"><file name="Active.php" hash="f3e49192a0600437af59e9f3bc396c40"/></dir><dir name="Webshopgiftcard"><file name="Active.php" hash="e71770baa1ada4466cce57270df5e7bb"/></dir><dir name="Wijncadeau"><file name="Active.php" hash="9494fb7cd2326cac12fd9012621612ac"/></dir><dir name="Yourgift"><file name="Active.php" hash="6bdf62622be0610595fa54b02d494a7f"/></dir></dir><file name="Sendmail.php" hash="bf86ddde71b89ea6e3dfb434c3996f33"/><dir name="Status"><file name="PendingPayment.php" hash="9358466304af44f3a22f77fec7630be1"/><file name="Processing.php" hash="aea6f58cfb750a93f03ae4b435c59766"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Chargetype.php" hash="2734bce1efc0b62ea81d7a13770a1b19"/></dir></dir></dir><file name="Transaction.php" hash="ce1b9930a60aca5aa955bb9731d427b3"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="3d41353b0a155c524d699f1a95df6326"/><file name="OrderController.php" hash="98f8a9e353ef91b3e133c315b82f9078"/></dir><dir name="etc"><file name="config.xml" hash="de14d68cd8d09cb3d8e9cf22011971d5"/><file name="system.xml" hash="280be7731de5a47e045bf7d17059f325"/></dir><dir name="sql"><dir name="pay_payment_setup"><file name="install-3.1.2.8.php" hash="a4a612c1afe0177ccd7b0bb0240a75d8"/><file name="upgrade-3.0.0-3.1.0.php" hash="8453d90bcc7b4647346112b44614cb16"/><file name="upgrade-3.1.2.2-3.1.2.4.php" hash="275444fa9b201b3f3010480b1645b5f0"/><file name="upgrade-3.1.2.7-3.1.2.8.php" hash="12b4a2bdbeff5ae0b27a1219f219193a"/><file name="upgrade-3.2.1-3.2.2.php" hash="59c84113d622db24d09de5e8639a7660"/><file name="upgrade-3.2.13-3.2.14.php" hash="27851a61541141d919ef4466aec40b38"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="pay"><dir name="payment"><dir name="form"><file name="billink.phtml" hash="a4c3097315b8f60520bb006b88316f78"/><file name="default.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="ideal.phtml" hash="429f09f1b1c911f9179b435c7013d973"/><file name="idealSelect.phtml" hash="6478b90f77a4e549bc600d80a31f6b9f"/></dir><file name="mark.phtml" hash="ab61d728f0d237a34f78300554d8ba0f"/></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="pay_payment"><file name="logo.png" hash="b45a2ccf5e85a713b786d85c1059afee"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>5.6.99</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
20
  </package>