-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jornPay/master
Added paymentMethods Cashly, SprayPay, Wechat Pay
- Loading branch information
Showing
17 changed files
with
141 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
upload/admin/controller/extension/payment/paynl_cashly.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
upload/admin/controller/extension/payment/paynl_spraypay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
upload/admin/controller/extension/payment/paynl_wechatpay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
upload/admin/language/en-gb/extension/payment/paynl_cashly.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - Cashly'; |
4 changes: 4 additions & 0 deletions
4
upload/admin/language/en-gb/extension/payment/paynl_spraypay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - SprayPay'; |
4 changes: 4 additions & 0 deletions
4
upload/admin/language/en-gb/extension/payment/paynl_wechatpay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
upload/admin/language/nl-nl/extension/payment/paynl_cashly.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - Cashly'; |
4 changes: 4 additions & 0 deletions
4
upload/admin/language/nl-nl/extension/payment/paynl_spraypay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - SprayPay'; |
4 changes: 4 additions & 0 deletions
4
upload/admin/language/nl-nl/extension/payment/paynl_wechatpay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
upload/catalog/controller/extension/payment/paynl_cashly.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
upload/catalog/controller/extension/payment/paynl_spraypay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
upload/catalog/controller/extension/payment/paynl_wechatpay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
upload/catalog/model/extension/payment/paynl_wechatpay.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} | ||
} | ||
?> |