Reply
Member
Posts: 8
Registered: ‎02-25-2020
Accepted Solution

Hiding the "Company" field in the Accept Customer Hosted Form

I am adding payment profiles to an existing customer profile using the Accept Customer Hosted Form. When I display the form for adding a payment profile, it displays the expected payment method and billing fields.

 

One of the billing fields, "Company," is not relevant to our application and we want to hide it.

I tried setting hostedProfileBillingAddressOptions to showNone, but of course that hides all billing fields, which is not what we want. I also navigated to sandbox.authorize.net-->Account-->Settings-->Payment Form-->Form Fields and unchecked the Company field's View, Edit, and Required columns. Doing so had no effect.

 

Is there a way to hide only the Company field, while leaving the other billing fields present?


Accepted Solutions
Solution
Accepted by topic author EarlGray47
‎02-05-2021 07:30 AM
Member
Posts: 8
Registered: ‎02-25-2020

Re: Hiding the "Company" field in the Accept Customer Hosted Form

It appears that it is not possible to hide individual fields in the billing options section. The billing options section can be either shown entirely or hidden entirely.

 

Related forum post here.

View solution in original post


All Replies
Solution
Accepted by topic author EarlGray47
‎02-05-2021 07:30 AM
Member
Posts: 8
Registered: ‎02-25-2020

Re: Hiding the "Company" field in the Accept Customer Hosted Form

It appears that it is not possible to hide individual fields in the billing options section. The billing options section can be either shown entirely or hidden entirely.

 

Related forum post here.