Skip to content

Commit

Permalink
Merge pull request #1 from jornPay/master
Browse files Browse the repository at this point in the history
Added paymentMethods Cashly, SprayPay, Wechat Pay
  • Loading branch information
Andy Pieters authored Jun 25, 2018
2 parents 81c0332 + 6c5091f commit 051f3ce
Show file tree
Hide file tree
Showing 17 changed files with 141 additions and 0 deletions.
13 changes: 13 additions & 0 deletions upload/admin/controller/extension/payment/paynl_cashly.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ControllerExtensionPaymentPaynlCashly extends Pay_Controller_Admin {
protected $_paymentOptionId = 1981;
protected $_paymentMethodName = 'paynl_cashly';

protected $_defaultLabel = 'Cashly';


}
13 changes: 13 additions & 0 deletions upload/admin/controller/extension/payment/paynl_spraypay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ControllerExtensionPaymentPaynlSpraypay extends Pay_Controller_Admin {
protected $_paymentOptionId = 1987;
protected $_paymentMethodName = 'paynl_spraypay';

protected $_defaultLabel = 'SprayPay';


}
13 changes: 13 additions & 0 deletions upload/admin/controller/extension/payment/paynl_wechatpay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ControllerExtensionPaymentPaynlWechatpay extends Pay_Controller_Admin {
protected $_paymentOptionId = 1978;
protected $_paymentMethodName = 'paynl_wechatpay';

protected $_defaultLabel = 'Wechat Pay';


}
3 changes: 3 additions & 0 deletions upload/admin/language/en-gb/extension/payment/paynl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
'capayable',
'capayablegespreid',
'cartebleue',
'cashly',
'fashioncheque',
'fashiongiftcard',
'focum',
Expand All @@ -63,9 +64,11 @@
'podiumkadokaart',
'postepay',
'sofortbanking',
'spraypay',
'visamastercard',
'vvvgiftcard',
'webshopgiftcard',
'wechatpay',
'wijncadeau',
'yehhpay',
'yourgift'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - Cashly';
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - SprayPay';
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - Wechat Pay';
3 changes: 3 additions & 0 deletions upload/admin/language/nl-nl/extension/payment/paynl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
'capayable',
'capayablegespreid',
'cartebleue',
'cashly',
'fashioncheque',
'fashiongiftcard',
'focum',
Expand All @@ -66,9 +67,11 @@
'podiumkadokaart',
'postepay',
'sofortbanking',
'spraypay',
'visamastercard',
'vvvgiftcard',
'webshopgiftcard',
'wechatpay',
'wijncadeau',
'yehhpay',
'yourgift'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - Cashly';
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - SprayPay';
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - Wechat Pay';
11 changes: 11 additions & 0 deletions upload/catalog/controller/extension/payment/paynl_cashly.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ControllerExtensionPaymentPaynlcashly extends Pay_Controller_Payment {
protected $_paymentOptionId = 1981;
protected $_paymentMethodName = 'paynl_cashly';


}
11 changes: 11 additions & 0 deletions upload/catalog/controller/extension/payment/paynl_spraypay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ControllerExtensionPaymentPaynlspraypay extends Pay_Controller_Payment {
protected $_paymentOptionId = 1987;
protected $_paymentMethodName = 'paynl_spraypay';


}
11 changes: 11 additions & 0 deletions upload/catalog/controller/extension/payment/paynl_wechatpay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ControllerExtensionPaymentPaynlwechatpay extends Pay_Controller_Payment {
protected $_paymentOptionId = 1978;
protected $_paymentMethodName = 'paynl_wechatpay';


}
13 changes: 13 additions & 0 deletions upload/catalog/model/extension/payment/paynl_cashly.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ModelExtensionPaymentPaynlCashly extends Pay_Model {
protected $_paymentMethodName = 'paynl_cashly';

public function getLabel(){
return parent::getLabel();
}
}
?>
13 changes: 13 additions & 0 deletions upload/catalog/model/extension/payment/paynl_spraypay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ModelExtensionPaymentPaynlSpraypay extends Pay_Model {
protected $_paymentMethodName = 'paynl_spraypay';

public function getLabel(){
return parent::getLabel();
}
}
?>
13 changes: 13 additions & 0 deletions upload/catalog/model/extension/payment/paynl_wechatpay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir.'/Pay/Autoload.php';

require_once $autoload;
class ModelExtensionPaymentPaynlWechatpay extends Pay_Model {
protected $_paymentMethodName = 'paynl_wechatpay';

public function getLabel(){
return parent::getLabel();
}
}
?>

0 comments on commit 051f3ce

Please sign in to comment.