I found a workaround that seems to fix the issue: I added the following
code to getHosted.php file: $setting4 = new AnetAPI\SettingType();
$setting4->setSettingName("hostedPaymentBillingAddressOptions");
$setting4->setSettingValue("{\"show\": true, \...