Skip to content

Commit 7aac0fb

Browse files
committed
Add support for Adyen payment method Open banking / PaybyBank
See #41
1 parent 78e8356 commit 7aac0fb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/Gateway.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public function __construct( Config $config ) {
8282
$this->register_payment_method( new PaymentMethod( PaymentMethods::KLARNA_PAY_OVER_TIME ) );
8383
$this->register_payment_method( new PaymentMethod( PaymentMethods::MB_WAY ) );
8484
$this->register_payment_method( new PaymentMethod( PaymentMethods::MOBILEPAY ) );
85+
$this->register_payment_method( new PaymentMethod( PaymentMethods::PAY_BY_BANK ) );
8586
$this->register_payment_method( new PaymentMethod( PaymentMethods::PAYPAL ) );
8687
$this->register_payment_method( new PaymentMethod( PaymentMethods::SOFORT ) );
8788
$this->register_payment_method( new PaymentMethod( PaymentMethods::SWISH ) );

src/PaymentMethodType.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@ class PaymentMethodType {
179179
*/
180180
const MULTIBANCO = 'multibanco';
181181

182+
/**
183+
* Constant for the 'PaybyBank' payment method type.
184+
*
185+
* @link https://www.adyen.com/nl_NL/betaalmethoden/open-banking
186+
* @var string
187+
*/
188+
const PAYBYBANK = 'paybybank';
189+
182190
/**
183191
* Constant for the 'PayPal' payment method type.
184192
*
@@ -244,6 +252,7 @@ class PaymentMethodType {
244252
PaymentMethods::MAESTRO => self::MAESTRO,
245253
PaymentMethods::MB_WAY => self::MB_WAY,
246254
PaymentMethods::MOBILEPAY => self::MOBILEPAY,
255+
PaymentMethods::PAY_BY_BANK => self::PAYBYBANK,
247256
PaymentMethods::PAYPAL => self::PAYPAL,
248257
PaymentMethods::SOFORT => self::DIRECT_EBANKING,
249258
PaymentMethods::SWISH => self::SWISH,

0 commit comments

Comments
 (0)