Skip to content

Commit

Permalink
Merge pull request #1 from paynl/feature/PLUG-952
Browse files Browse the repository at this point in the history
feature/PLUG-952
  • Loading branch information
woutse authored May 25, 2022
2 parents 97b32a1 + d43aafe commit 8da6d35
Show file tree
Hide file tree
Showing 27 changed files with 405 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_afterpayinternational.php
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';
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_applepay.php
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';
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_creditclick.php
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';
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_dankort.php
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';
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_eps.php
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';
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_googlepay.php
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';
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_payconiq.php
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';
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_przelewy24.php
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';
5 changes: 5 additions & 0 deletions modules/gateways/callback/paynl_trustly.php
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 modules/gateways/paynl/src/Gateway/AfterpayInternational.php
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;
}
}
18 changes: 18 additions & 0 deletions modules/gateways/paynl/src/Gateway/Applepay.php
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;
}
}
18 changes: 18 additions & 0 deletions modules/gateways/paynl/src/Gateway/CreditClick.php
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;
}
}
18 changes: 18 additions & 0 deletions modules/gateways/paynl/src/Gateway/Dankort.php
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;
}
}
18 changes: 18 additions & 0 deletions modules/gateways/paynl/src/Gateway/Eps.php
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;
}
}
18 changes: 18 additions & 0 deletions modules/gateways/paynl/src/Gateway/Googlepay.php
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;
}
}
18 changes: 18 additions & 0 deletions modules/gateways/paynl/src/Gateway/Payconiq.php
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;
}
}
18 changes: 18 additions & 0 deletions modules/gateways/paynl/src/Gateway/Przelewy24.php
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;
}
}
18 changes: 18 additions & 0 deletions modules/gateways/paynl/src/Gateway/Trustly.php
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;
}
}
22 changes: 22 additions & 0 deletions modules/gateways/paynl_afterpayinternational.php
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);
}
22 changes: 22 additions & 0 deletions modules/gateways/paynl_applepay.php
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);
}
22 changes: 22 additions & 0 deletions modules/gateways/paynl_creditclick.php
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);
}
22 changes: 22 additions & 0 deletions modules/gateways/paynl_dankort.php
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);
}
22 changes: 22 additions & 0 deletions modules/gateways/paynl_eps.php
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);
}
22 changes: 22 additions & 0 deletions modules/gateways/paynl_googlepay.php
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);
}
22 changes: 22 additions & 0 deletions modules/gateways/paynl_payconiq.php
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);
}
Loading

0 comments on commit 8da6d35

Please sign in to comment.