Skip to content

Commit

Permalink
Use the PAY_FOR_ORDER_FLOW constant
Browse files Browse the repository at this point in the history
  • Loading branch information
hsingyuc committed Sep 27, 2023
1 parent c847a78 commit 4953b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-payments-features.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public static function should_use_stripe_billing() {
* @return bool
*/
public static function is_pay_for_order_flow_enabled() {
return '1' === get_option( '_wcpay_feature_pay_for_order_flow', '0' );
return '1' === get_option( self::PAY_FOR_ORDER_FLOW, '0' );
}

/**
Expand Down

0 comments on commit 4953b3b

Please sign in to comment.