Skip to content

Commit d1a9910

Browse files
authored
Drops auth. and capture feature flag (#5158)
* Drops auth. and capture feature flag Unveil Auth. and Capture improvements. Given the capture later option is enabled, merchants will see: - Uncaptured tab in Transactions page. - List of uncaptured payments under the same tab. - Capture support in the payment details page.
1 parent b4d593f commit d1a9910

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: add
3+
4+
Enable the improvements to the authorization and capture workflow, that were hidden behind a feature flag.

includes/class-wc-payments-features.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public static function is_woopay_express_checkout_enabled() {
161161
* @return bool
162162
*/
163163
public static function is_auth_and_capture_enabled() {
164-
return '1' === get_option( self::AUTH_AND_CAPTURE_FLAG_NAME, '0' );
164+
return '1' === get_option( self::AUTH_AND_CAPTURE_FLAG_NAME, '1' );
165165
}
166166

167167
/**

0 commit comments

Comments
 (0)