Skip to content

Commit 15a65b2

Browse files
authored
Merge pull request #524 from skyverge/ch60861/make-detailed-decline-messages-default-enabled
Enable detailed messages by default
2 parents 3a2c8cb + 7e86d7a commit 15a65b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

woocommerce/payment-gateway/class-sv-wc-payment-gateway.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,12 +1303,12 @@ public function init_form_fields() {
13031303

13041304
// add "detailed customer decline messages" option if the feature is supported
13051305
if ( $this->supports( self::FEATURE_DETAILED_CUSTOMER_DECLINE_MESSAGES ) ) {
1306-
$this->form_fields['enable_customer_decline_messages'] = array(
1306+
$this->form_fields['enable_customer_decline_messages'] = [
13071307
'title' => esc_html__( 'Detailed Decline Messages', 'woocommerce-plugin-framework' ),
13081308
'type' => 'checkbox',
13091309
'label' => esc_html__( 'Check to enable detailed decline messages to the customer during checkout when possible, rather than a generic decline message.', 'woocommerce-plugin-framework' ),
1310-
'default' => 'no',
1311-
);
1310+
'default' => 'yes',
1311+
];
13121312
}
13131313

13141314
// debug mode

0 commit comments

Comments
 (0)