Fix the name of 'pay later' check for mapped locations

This commit is contained in:
Narek Zakarian 2025-02-26 17:00:55 +04:00
parent 26bc7ce02c
commit 7e1277e4ff
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -208,7 +208,7 @@ class StylingSettingsMapHelper {
$enabled_locations = array();
$locations = array_flip( $this->locations_map() );
foreach ( $styling_models as $model ) {
if ( ! $model->enabled || ! in_array( 'paylater', $model->methods, true ) ) {
if ( ! $model->enabled || ! in_array( 'pay-later', $model->methods, true ) ) {
continue;
}