Skip to content

Commit

Permalink
Add EPS payment method.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Jul 17, 2023
1 parent 3044d53 commit c6912de
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/EpsGateway.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
/**
* EPS gateway
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\RestrictContentPro
*/

namespace Pronamic\WordPress\Pay\Extensions\RestrictContentPro;

use Pronamic\WordPress\Pay\Core\PaymentMethods;

/**
* EPS gateway
*
* @author Reüel van der Steege
* @version 4.3.6
* @since 4.3.6
*/
class EpsGateway extends Gateway {
/**
* Gateway id.
*
* @var string
*/
protected $id = 'pronamic_pay_eps';

/**
* Payment method.
*
* @var string
*/
protected $payment_method = PaymentMethods::EPS;
}
1 change: 1 addition & 0 deletions src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ private function get_gateways() {
'pronamic_pay_direct_debit_bancontact' => DirectDebitBancontactGateway::class,
'pronamic_pay_direct_debit_ideal' => DirectDebitIDealGateway::class,
'pronamic_pay_direct_debit_sofort' => DirectDebitSofortGateway::class,
'pronamic_pay_eps' => EpsGateway::class,
'pronamic_pay_ideal' => IDealGateway::class,
'pronamic_pay_giropay' => GiropayGateway::class,
'pronamic_pay_paypal' => PayPalGateway::class,
Expand Down

0 comments on commit c6912de

Please sign in to comment.