Skip to content

Commit 5630a05

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 32b48ef + 5904ddd commit 5630a05

3 files changed

Lines changed: 45 additions & 1 deletion

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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_CreditCardsGrouped extends PPMFWC_Gateway_Abstract
10+
{
11+
/**
12+
* @return string
13+
*/
14+
public static function getId()
15+
{
16+
return 'pay_gateway_creditcardsgrouped';
17+
}
18+
19+
/**
20+
* @return string
21+
*/
22+
public static function getName()
23+
{
24+
return 'Credit- & Debitcards';
25+
}
26+
27+
/**
28+
* @return integer
29+
*/
30+
public static function getOptionId()
31+
{
32+
return 11;
33+
}
34+
35+
/**
36+
* @return integer
37+
*/
38+
public static function getImagePathName()
39+
{
40+
return 'CNP.png';
41+
}
42+
43+
}

includes/classes/PPMFWC/Gateways.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ private static function getAvailableWoocomStatus($default, $excludeStates = arra
192192
'PPMFWC_Gateway_YourGreenGiftCard',
193193
'PPMFWC_Gateway_Yehhpay',
194194
'PPMFWC_Gateway_GiftCardsGrouped',
195+
'PPMFWC_Gateway_CreditCardsGrouped',
195196
);
196197

197198
/**

woocommerce-payment-paynl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function ppmfwc_registerBlockScripts()
149149
}
150150
$payGateways[] = array(
151151
'paymentMethodId' => $gateway_id,
152-
'title' => $gateway->get_title(),
152+
'title' => html_entity_decode($gateway->get_title()),
153153
'description' => $gateway->description,
154154
'image_path' => $gateway->getIcon(),
155155
'issuers' => $gateway->getIssuers(),

0 commit comments

Comments
 (0)