Fix state check

This commit is contained in:
inpsyde-maticluznar 2024-10-16 13:42:27 +02:00
parent 17fd55d3c0
commit 910bffed03
No known key found for this signature in database
GPG key ID: D005973F231309F6

View file

@ -60,7 +60,7 @@ class LocalAlternativePaymentMethodsModule implements ServiceModule, ExtendingMo
*/
function ( $methods ) use ( $c ) {
$onboarding_state = $c->get( 'onboarding.state' );
if ( $onboarding_state->current_state() >= State::STATE_START ) {
if ( $onboarding_state->current_state() === State::STATE_START ) {
return $methods;
}