@@ -1023,9 +1023,9 @@ |
||
1023 | 1023 | ), |
1024 | 1024 | ); |
1025 | 1025 | |
1026 | - if ( ! empty( $this->get_option( 'statement_descriptor' ) ) ) { |
|
1027 | - $request['statement_descriptor'] = WC_Stripe_Helper::clean_statement_descriptor( str_replace( "'", '', $this->get_option( 'statement_descriptor' ) ) ); |
|
1028 | - } |
|
1026 | + if ( ! empty( $this->get_option( 'statement_descriptor' ) ) ) { |
|
1027 | + $request['statement_descriptor'] = WC_Stripe_Helper::clean_statement_descriptor( str_replace( "'", '', $this->get_option( 'statement_descriptor' ) ) ); |
|
1028 | + } |
|
1029 | 1029 | |
1030 | 1030 | $intent = WC_Stripe_API::request( $request, 'payment_intents' ); |
1031 | 1031 |