We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f02adb commit b4e214cCopy full SHA for b4e214c
includes/payment-methods/class-wc-stripe-upe-payment-gateway.php
@@ -121,7 +121,7 @@ public function __construct() {
121
$this->maybe_init_pre_orders();
122
123
$main_settings = get_option( 'woocommerce_stripe_settings' );
124
- $this->title = $this->get_option( 'title_upe' );
+ $this->title = ! empty( $this->get_option( 'title_upe' ) ) ? $this->get_option( 'title_upe' ) : $this->form_fields['title_upe']['default'];
125
$this->description = '';
126
$this->enabled = $this->get_option( 'enabled' );
127
$this->saved_cards = 'yes' === $this->get_option( 'saved_cards' );
0 commit comments