Skip to content

Commit a017285

Browse files
authored
Merge pull request #179 from paynl/feature/PLUG-4847
PLUG-4847 - Add Gift for Good
2 parents 4680eb6 + b3bf886 commit a017285

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

assets/logos/432.png

1.95 KB
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
3+
/**
4+
* @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace
5+
* @phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6+
* @phpcs:disable PSR1.Methods.CamelCapsMethodName
7+
*/
8+
9+
class PPMFWC_Gateway_Giftforgood extends PPMFWC_Gateway_Abstract
10+
{
11+
/**
12+
* @return string
13+
*/
14+
public static function getId()
15+
{
16+
return 'pay_gateway_giftforgood';
17+
}
18+
19+
/**
20+
* @return string
21+
*/
22+
public static function getName()
23+
{
24+
return 'Gift for Good';
25+
}
26+
27+
/**
28+
* @return integer
29+
*/
30+
public static function getOptionId()
31+
{
32+
return 4773;
33+
}
34+
}

includes/classes/PPMFWC/Gateways.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ private static function getAvailableWoocomStatus($default, $excludeStates = arra
8787
'PPMFWC_Gateway_Blik',
8888
'PPMFWC_Gateway_BloemenCadeaukaart',
8989
'PPMFWC_Gateway_Boekenbon',
90+
'PPMFWC_Gateway_Boekencadeau',
9091
'PPMFWC_Gateway_Brite',
9192
'PPMFWC_Gateway_Cartasi',
9293
'PPMFWC_Gateway_Capayable',
@@ -110,6 +111,7 @@ private static function getAvailableWoocomStatus($default, $excludeStates = arra
110111
'PPMFWC_Gateway_Flyingblueplus',
111112
'PPMFWC_Gateway_Focum',
112113
'PPMFWC_Gateway_Gezondheidsbon',
114+
'PPMFWC_Gateway_Giftforgood',
113115
'PPMFWC_Gateway_Giropay',
114116
'PPMFWC_Gateway_Givacard',
115117
'PPMFWC_Gateway_Googlepay',
@@ -122,6 +124,7 @@ private static function getAvailableWoocomStatus($default, $excludeStates = arra
122124
'PPMFWC_Gateway_Klarna',
123125
'PPMFWC_Gateway_Klarnakp',
124126
'PPMFWC_Gateway_Kunstencultuurkaart',
127+
'PPMFWC_Gateway_Leescadeaukaart',
125128
'PPMFWC_Gateway_Maestro',
126129
'PPMFWC_Gateway_Mastercard',
127130
'PPMFWC_Gateway_Mbway',

0 commit comments

Comments
 (0)