Skip to content

Commit

Permalink
Add support for TWINT.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Feb 12, 2024
1 parent 828f846 commit e4b482b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ function () {
$payment_method_sofort->add_support( 'recurring' );

$this->register_payment_method( $payment_method_sofort );

// TWINT.
$this->register_payment_method( new PaymentMethod( PaymentMethods::TWINT ) );
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/MethodTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class MethodTransformer {
WordPressMethod::IN3 => MollieMethod::IN3,
WordPressMethod::KBC => MollieMethod::KBC,
WordPressMethod::BELFIUS => MollieMethod::BELFIUS,
WordPressMethod::TWINT => MollieMethod::TWINT,
];

/**
Expand Down

0 comments on commit e4b482b

Please sign in to comment.