make sure set variable is implemented! (https://github.com/woocommerce/woocommerce-blocks/pull/2580)
This commit is contained in:
parent
9f0bf26ac3
commit
926a46b31e
|
@ -119,7 +119,7 @@ final class Stripe extends AbstractPaymentMethodType {
|
|||
// https://github.com/woocommerce/woocommerce-gateway-stripe/blob/master/includes/class-wc-gateway-stripe.php#L95 .
|
||||
// See https://github.com/woocommerce/woocommerce-gateway-stripe/blob/ad19168b63df86176cbe35c3e95203a245687640/includes/class-wc-gateway-stripe.php#L271 and
|
||||
// https://github.com/woocommerce/woocommerce/wiki/Payment-Token-API .
|
||||
return apply_filters( 'wc_stripe_display_save_payment_method_checkbox', filter_var( $this->settings['saved_cards'], FILTER_VALIDATE_BOOLEAN ) );
|
||||
return apply_filters( 'wc_stripe_display_save_payment_method_checkbox', filter_var( $saved_cards, FILTER_VALIDATE_BOOLEAN ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue