diff --git a/api/v3/Order.php b/api/v3/Order.php index 0bef6bef79e78b5561ecb2c6adac6d15d9d05ee9..400bef6f1274c6d0cca95acf039026117b6d7f85 100644 --- a/api/v3/Order.php +++ b/api/v3/Order.php @@ -304,6 +304,8 @@ function _civicrm_api3_order_delete_spec(array &$params) { */ function _order_create_wrangle_membership_params(array &$membershipParams) { $fields = Membership::getFields(FALSE)->execute()->indexBy('name'); + // Ensure this legacy parameter is not true. + $membershipParams['skipStatusCal'] = FALSE; foreach ($fields as $fieldName => $field) { $customFieldName = 'custom_' . ($field['custom_field_id'] ?? NULL); if ($field['type'] === ['Custom'] && isset($membershipParams[$customFieldName])) {