You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: includes/payment-methods/class-wc-stripe-upe-payment-method-bacs-debit.php
+17-9
Original file line number
Diff line number
Diff line change
@@ -30,18 +30,14 @@ public function __construct() {
30
30
$this->accept_only_domestic_payment = true;
31
31
$this->label = __( 'Bacs Direct Debit', 'woocommerce-gateway-stripe' );
32
32
$this->description = __( 'Bacs Direct Debit enables customers in the UK to pay by providing their bank account details.', 'woocommerce-gateway-stripe' );
33
+
$this->supports[] = 'tokenization';
33
34
34
35
// Check if subscriptions are enabled and add support for them.
35
36
$this->maybe_init_subscriptions();
36
37
37
38
// Add support for pre-orders.
38
39
$this->maybe_init_pre_orders();
39
40
40
-
// Remove Bacs from the “Add Payment Method” page for now, as its implementation will be handled later.
41
-
if ( is_wc_endpoint_url( 'add-payment-method' ) ) {
42
-
unset( $this->supports['tokenization'] );
43
-
}
44
-
45
41
$this->maybe_hide_bacs_payment_gateway();
46
42
}
47
43
@@ -105,7 +101,8 @@ public function maybe_hide_bacs_payment_gateway() {
0 commit comments