Skip to content

Commit a17071f

Browse files
committed
Use null statement descriptor when empty in account summary API
1 parent fec56a5 commit a17071f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/class-wc-rest-stripe-account-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function get_account_summary() {
112112
$statement_descriptor = $account['settings']['payments']['statement_descriptor'];
113113
}
114114
if ( empty( $statement_descriptor ) ) {
115-
$statement_descriptor = WC_Stripe_Helper::clean_statement_descriptor( get_bloginfo( 'name' ) );
115+
$statement_descriptor = null;
116116
}
117117

118118
return new WP_REST_Response(

0 commit comments

Comments
 (0)