cancel
Showing results for 
Search instead for 
Did you mean: 

hostedProfileBillingAddressOptions showNone not working with traditional hosted forms?

I added the new hostedProfileBillingAddressOptions=showNone option to my getHostedProfilePage request:

 

<getHostedProfilePageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
    <merchantAuthentication>
        <name>*</name>
        <transactionKey>*</transactionKey>
    </merchantAuthentication>
    <customerProfileId>*</customerProfileId>
    <hostedProfileSettings>
        <setting>
            <settingName>hostedProfileIFrameCommunicatorUrl</settingName>
            <settingValue>https://localhost:8443/cis/contentx/IframeCommunicator.html</settingValue>
        </setting>
        <setting>
            <settingName>hostedProfilePageBorderVisible</settingName>
            <settingValue>false</settingValue>
        </setting>
        <setting>
            <settingName>hostedProfileCardCodeRequired</settingName>
            <settingValue>true</settingValue>
        </setting>
        <setting>
            <settingName>hostedProfileBillingAddressOptions</settingName>
            <settingValue>showNone</settingValue>
        </setting>
    </hostedProfileSettings>
</getHostedProfilePageRequest>

However, the displayed hosted form still shows the entire "Billing Information" section.

 

I am not using the Accept.js api, but the older "contentx" IFrame hosted form with the https://*.authorize.net/profile/ url.   Is the hostedProfileBillingAddressOptions=showNone option available for the /profile/ hosted form?

 

mkienenb
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

We need to make that clearer in the documentation.  The new parameters only work with the new /customer hosted pages.

 

It should be a very simple move over to new hosted pages, to test in sandbox simple use the /customer url.

 

 

View solution in original post

brianmc
Administrator Administrator
Administrator
2 REPLIES 2

We need to make that clearer in the documentation.  The new parameters only work with the new /customer hosted pages.

 

It should be a very simple move over to new hosted pages, to test in sandbox simple use the /customer url.

 

 

brianmc
Administrator Administrator
Administrator

That's actually what I did after I asked the question -- I replaced /profile/ with /customer/, and it does seem to be working.