includes/class-wc-gateway-stripe.php 1 location
|
@@ 271-273 (lines=3) @@
|
268 |
|
|
269 |
|
$this->elements_form(); |
270 |
|
|
271 |
|
if ( apply_filters( 'wc_stripe_display_save_payment_method_checkbox', $display_tokenization ) && ! is_add_payment_method_page() && ! isset( $_GET['change_payment_method'] ) ) { // wpcs: csrf ok. |
272 |
|
|
273 |
|
$this->save_payment_method_checkbox(); |
274 |
|
} |
275 |
|
|
276 |
|
do_action( 'wc_stripe_cards_payment_fields', $this->id ); |
includes/payment-methods/class-wc-gateway-stripe-sepa.php 1 location
|
@@ 287-289 (lines=3) @@
|
284 |
|
|
285 |
|
$this->form(); |
286 |
|
|
287 |
|
if ( apply_filters( 'wc_stripe_display_save_payment_method_checkbox', $display_tokenization ) && ! is_add_payment_method_page() && ! isset( $_GET['change_payment_method'] ) ) { |
288 |
|
$this->save_payment_method_checkbox(); |
289 |
|
} |
290 |
|
|
291 |
|
do_action( 'wc_stripe_sepa_payment_fields', $this->id ); |
292 |
|
|