return 0 unless &{$err_code}("Future switching between prepaid and post-paid billing profiles is not supported (" . $profile->name . ").",$billing_profiles_field);
}
}else{
$prepaid = $profile->prepaid;
}
#if (defined $prepaid) {
# if ($profile->prepaid != $prepaid) {
# return 0 unless &{$err_code}("Future switching between prepaid and post-paid billing profiles is not supported (" . $profile->name . ").",$billing_profiles_field);
# }
#} else {
# $prepaid = $profile->prepaid;
#}
# TODO: what about changed product, do we allow it?