-
Notifications
You must be signed in to change notification settings - Fork 2
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 paynl/feature/PLUG-952
feature/PLUG-952
- Loading branch information
Showing
27 changed files
with
405 additions
and
0 deletions.
There are no files selected for viewing
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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.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,5 @@ | ||
<?php | ||
// Detect module name from filename. | ||
$gatewayModuleName = basename(__FILE__, '.php'); | ||
|
||
include __DIR__.'/paynl.php'; |
18 changes: 18 additions & 0 deletions
18
modules/gateways/paynl/src/Gateway/AfterpayInternational.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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class AfterpayInternational extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'Afterpay International'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 2561; | ||
} | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class Applepay extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'Applepay'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 2277; | ||
} | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class CreditClick extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'CreditClick'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 2107; | ||
} | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class Dankort extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'Dankort'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 1939; | ||
} | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class Eps extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'EPS Uberweisung'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 2062; | ||
} | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class Googlepay extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'Googlepay'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 2558; | ||
} | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class Payconiq extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'Payconiq'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 2379; | ||
} | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class Przelewy24 extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'Przelewy24'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 2151; | ||
} | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Paynl\Whmcs\Gateway; | ||
|
||
|
||
use Paynl\Whmcs\Gateway; | ||
|
||
class Trustly extends Gateway | ||
{ | ||
public static function getName() | ||
{ | ||
return 'Trustly'; | ||
} | ||
public static function getPaymentProfileId() | ||
{ | ||
return 2718; | ||
} | ||
} |
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,22 @@ | ||
<?php | ||
if (!defined("WHMCS")) { | ||
die("This file cannot be accessed directly"); | ||
} | ||
|
||
require_once __DIR__."/paynl/vendor/autoload.php"; | ||
|
||
function paynl_afterpayinternational_MetaData(){ | ||
return \Paynl\Whmcs\Gateway\AfterpayInternational::getMetaData(); | ||
} | ||
|
||
function paynl_afterpayinternational_config(){ | ||
return \Paynl\Whmcs\Gateway\AfterpayInternational::getConfig(); | ||
} | ||
|
||
function paynl_afterpayinternational_link($params){ | ||
return \Paynl\Whmcs\Gateway\AfterpayInternational::getLink($params); | ||
} | ||
|
||
function paynl_afterpayinternational_refund($params){ | ||
return \Paynl\Whmcs\Gateway\AfterpayInternational::refund($params); | ||
} |
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,22 @@ | ||
<?php | ||
if (!defined("WHMCS")) { | ||
die("This file cannot be accessed directly"); | ||
} | ||
|
||
require_once __DIR__."/paynl/vendor/autoload.php"; | ||
|
||
function paynl_applepay_MetaData(){ | ||
return \Paynl\Whmcs\Gateway\Applepay::getMetaData(); | ||
} | ||
|
||
function paynl_applepay_config(){ | ||
return \Paynl\Whmcs\Gateway\Applepay::getConfig(); | ||
} | ||
|
||
function paynl_applepay_link($params){ | ||
return \Paynl\Whmcs\Gateway\Applepay::getLink($params); | ||
} | ||
|
||
function paynl_applepay_refund($params){ | ||
return \Paynl\Whmcs\Gateway\Applepay::refund($params); | ||
} |
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,22 @@ | ||
<?php | ||
if (!defined("WHMCS")) { | ||
die("This file cannot be accessed directly"); | ||
} | ||
|
||
require_once __DIR__."/paynl/vendor/autoload.php"; | ||
|
||
function paynl_creditclick_MetaData(){ | ||
return \Paynl\Whmcs\Gateway\CreditClick::getMetaData(); | ||
} | ||
|
||
function paynl_creditclick_config(){ | ||
return \Paynl\Whmcs\Gateway\CreditClick::getConfig(); | ||
} | ||
|
||
function paynl_creditclick_link($params){ | ||
return \Paynl\Whmcs\Gateway\CreditClick::getLink($params); | ||
} | ||
|
||
function paynl_creditclick_refund($params){ | ||
return \Paynl\Whmcs\Gateway\CreditClick::refund($params); | ||
} |
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,22 @@ | ||
<?php | ||
if (!defined("WHMCS")) { | ||
die("This file cannot be accessed directly"); | ||
} | ||
|
||
require_once __DIR__."/paynl/vendor/autoload.php"; | ||
|
||
function paynl_dankort_MetaData(){ | ||
return \Paynl\Whmcs\Gateway\Dankort::getMetaData(); | ||
} | ||
|
||
function paynl_dankort_config(){ | ||
return \Paynl\Whmcs\Gateway\Dankort::getConfig(); | ||
} | ||
|
||
function paynl_dankort_link($params){ | ||
return \Paynl\Whmcs\Gateway\Dankort::getLink($params); | ||
} | ||
|
||
function paynl_dankort_refund($params){ | ||
return \Paynl\Whmcs\Gateway\Dankort::refund($params); | ||
} |
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,22 @@ | ||
<?php | ||
if (!defined("WHMCS")) { | ||
die("This file cannot be accessed directly"); | ||
} | ||
|
||
require_once __DIR__."/paynl/vendor/autoload.php"; | ||
|
||
function paynl_eps_MetaData(){ | ||
return \Paynl\Whmcs\Gateway\Eps::getMetaData(); | ||
} | ||
|
||
function paynl_eps_config(){ | ||
return \Paynl\Whmcs\Gateway\Eps::getConfig(); | ||
} | ||
|
||
function paynl_eps_link($params){ | ||
return \Paynl\Whmcs\Gateway\Eps::getLink($params); | ||
} | ||
|
||
function paynl_eps_refund($params){ | ||
return \Paynl\Whmcs\Gateway\Eps::refund($params); | ||
} |
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,22 @@ | ||
<?php | ||
if (!defined("WHMCS")) { | ||
die("This file cannot be accessed directly"); | ||
} | ||
|
||
require_once __DIR__."/paynl/vendor/autoload.php"; | ||
|
||
function paynl_googlepay_MetaData(){ | ||
return \Paynl\Whmcs\Gateway\Googlepay::getMetaData(); | ||
} | ||
|
||
function paynl_googlepay_config(){ | ||
return \Paynl\Whmcs\Gateway\Googlepay::getConfig(); | ||
} | ||
|
||
function paynl_googlepay_link($params){ | ||
return \Paynl\Whmcs\Gateway\Googlepay::getLink($params); | ||
} | ||
|
||
function paynl_googlepay_refund($params){ | ||
return \Paynl\Whmcs\Gateway\Googlepay::refund($params); | ||
} |
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,22 @@ | ||
<?php | ||
if (!defined("WHMCS")) { | ||
die("This file cannot be accessed directly"); | ||
} | ||
|
||
require_once __DIR__."/paynl/vendor/autoload.php"; | ||
|
||
function paynl_payconiq_MetaData(){ | ||
return \Paynl\Whmcs\Gateway\Payconiq::getMetaData(); | ||
} | ||
|
||
function paynl_payconiq_config(){ | ||
return \Paynl\Whmcs\Gateway\Payconiq::getConfig(); | ||
} | ||
|
||
function paynl_payconiq_link($params){ | ||
return \Paynl\Whmcs\Gateway\Payconiq::getLink($params); | ||
} | ||
|
||
function paynl_payconiq_refund($params){ | ||
return \Paynl\Whmcs\Gateway\Payconiq::refund($params); | ||
} |
Oops, something went wrong.