Support Services

Forte Checkout - Hide Attributes

To make these parameters editable, required, or hidden, pass the parameter suffixed with attr and one or more of the following attributes: 

Attribute

Description

Example

edit

Makes the field editable for the customer

a. billing_name_attr="edit"
b. billing_name_attr="edit,required"

required

Makes the field required for the customer

a. billing_postal_code_attr="required"
b. billing_postal_code_attr="edit,required"

hide

Hides the field from the customer; however, Checkout passes the parameter with the transaction behind the scenes. This attribute cannot be combined with the edit or required attributes.

billing_name_attr="hide"



Example:

<button id='button4' api_login_id=<?php echo $api_login_id; ?>
 version_number=<?php echo $version_number; ?>
 callback="oncallback"
 allowed_methods="echeck"
 method=”sale”
 total_amount="1.00"
 utc_time=<?php echo $utc; ?>
 signature=<?php echo $hash; ?>
 order_number=<?php echo $order_number; ?>
 collect_shipping_address="true"
 shipping_country_attr="hide"
 shipping_email_address_attr="hide"
 shipping_phone_number_attr="hide"
>Pay now</button>


Alternative

You can also try setting the following parameter: “collect_shipping_address” to “False” , and this will disable the shipping entry for your customers.

 

For the country, please let us know if you are using the following: billing_country=“US”


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.