1 | <?php |
||
2 | /** |
||
3 | * Direct Debit mandate via Bancontact gateway |
||
4 | * |
||
5 | * @author Pronamic <[email protected]> |
||
6 | * @copyright 2005-2022 Pronamic |
||
7 | * @license GPL-3.0-or-later |
||
8 | * @package Pronamic\WordPress\Pay\Extensions\MemberPress |
||
9 | */ |
||
10 | |||
11 | namespace Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways; |
||
12 | |||
13 | use Pronamic\WordPress\Pay\Core\PaymentMethods; |
||
14 | use Pronamic\WordPress\Pay\Plugin; |
||
15 | |||
16 | /** |
||
17 | * WordPress pay MemberPress Direct Debit mandate via Bancontact gateway |
||
18 | * |
||
19 | * @author Reüel van der Steege |
||
20 | * @version 3.1.0 |
||
21 | * @since 1.0.6 |
||
22 | */ |
||
23 | class DirectDebitBancontactGateway extends Gateway { |
||
24 | /** |
||
25 | * Constructs and initialize credit card gateway. |
||
26 | */ |
||
27 | public function __construct() { |
||
28 | parent::__construct( 'MeprDirectDebitBancontactGateway', PaymentMethods::DIRECT_DEBIT_BANCONTACT ); |
||
29 | |||
30 | // Capabilities. |
||
31 | $this->capabilities = array( |
||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||
32 | 'process-payments', |
||
33 | 'create-subscriptions', |
||
34 | 'cancel-subscriptions', |
||
35 | 'update-subscriptions', |
||
36 | 'subscription-trial-payment', |
||
37 | ); |
||
38 | } |
||
39 | } |
||
40 |