-
ach-account-name :boolean
-
determines if ach-account-name field is shown on payment popup for ach
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-ach-account-name", false);
Clearent.payButton({
"show-ach-account-name": false
});
-
ach-account-name-label :string
-
text to appear above ach Name on account field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-name-label","Enter Name on account below");
Clearent.payButton({
"ach-account-name-label": "Enter Name on account below"
});
-
ach-account-name-missing-error :string
-
message to show when name on account is missing (ACH transactions).
Type:
- Since:
-
- Default Value:
-
- "Name on account is missing"
Examples
Clearent.setProperty("ach-account-name-missing-error", "Please enter name on account");
Clearent.payButton({
"ach-account-name-missing-error": "Please enter name on account"
});
-
ach-account-name-placeholder :string
-
text to appear in account name input field when value has not yet been entered; account name input is shown if value has been set when displaying payment form
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-name-placeholder","Enter name on account");
Clearent.payButton({
"ach-account-name-placeholder": "Enter name on account"
});
-
-
tooltip to appear when hovering over or focused on ach-account-name input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-name-tooltip","Enter name associated with this account");
Clearent.payButton({
"ach-account-name-tooltip": "Enter name associated with this account"
});
-
ach-account-number-invalid-error :string
-
message to show when account number is invalid.
Type:
- Since:
-
- Default Value:
-
- "Account number must be 1 to 17 digits"
Examples
Clearent.setProperty("ach-account-number-invalid-error", "Please enter a valid account number");
Clearent.payButton({
"ach-account-number-invalid-error": "Please enter a valid account number"
});
-
ach-account-number-label :string
-
text to appear above ach account number field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-number-label","Enter account number below");
Clearent.payButton({
"ach-account-number-label": "Enter account number below"
});
-
ach-account-number-missing-error :string
-
message to show when account number is missing (ACH transactions).
Type:
- Since:
-
- Default Value:
-
- "Account number is missing"
Examples
Clearent.setProperty("ach-account-number-missing-error", "Please enter account number");
Clearent.payButton({
"ach-account-number-missing-error": "Please enter account number"
});
-
ach-account-number-placeholder :string
-
text to appear in account number input field when value has not yet been entered; account number input is shown if value has been set when displaying payment form
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-number-placeholder","Enter account number");
Clearent.payButton({
"ach-account-number-placeholder": "Enter account number"
});
-
-
tooltip to appear when hovering over or focused on ach-account-number input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-number-tooltip","Enter account number as it appears on your checking/savings account");
Clearent.payButton({
"ach-routing-account-tooltip": "Enter account number as it appears on your checking/savings account"
});
-
ach-account-type-label :string
-
text to appear above ach account type selector when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-type-label","Select account type");
Clearent.payButton({
"ach-account-type-label": "Select account type"
});
-
ach-account-type-missing-error :string
-
message to show when account type is missing.
Type:
- Since:
-
- Default Value:
-
- "Account type is not selected"
Examples
Clearent.setProperty("ach-account-type-missing-error", "Please select account type");
Clearent.payButton({
"ach-account-type-missing-error": "Please select account type"
});
-
ach-account-type-placeholder :string
-
text to appear in ach account type selector when state value has not yet been selected
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-type-placeholder","Select account type");
Clearent.payButton({
"ach-account-type-placeholder": "Select account type"
});
-
-
tooltip to appear when hovering over or focused on ach-account-type selector
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-account-type-tooltip","Enter amount in $xx.xx format");
Clearent.payButton({
"ach-account-type-tooltip": "Enter amount in $xx.xx format"
});
-
ach-amount-label :string
-
text to appear above ach amount input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("ach-amount-label","Enter amount below");
Clearent.payButton({
"ach-amount-label": "Enter amount below"
});
-
ach-amount-placeholder :string
-
text to appear in amount input field when amount value has not yet been entered; amount input is shown if amount has not been set when displaying payment form
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("ach-amount-placeholder","Enter donation amount");
Clearent.payButton({
"ach-amount-placeholder": "Enter donation amount"
});
-
-
tooltip to appear when hovering over or focused on ach-amount input field; amount input is shown if amount has not been set when displaying payment form
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("ach-amount-tooltip","Enter amount in $xx.xx format");
Clearent.payButton({
"ach-amount-tooltip": "Enter amount in $xx.xx format"
});
-
ach-check-number-label :string
-
text to appear above ach check number selector when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-check-number-label","Enter check number below");
Clearent.payButton({
"ach-check-number-label": "Enter check number below"
});
-
ach-check-number-missing-error :string
-
message to show when check number is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Check number is missing"
Examples
Clearent.setProperty("ach-check-number-missing-error", "Please enter check number");
Clearent.payButton({
"ach-check-number-missing-error": "Please enter check number"
});
-
ach-check-number-placeholder :string
-
text to appear in check number input field when value has not yet been entered; check number input is shown if value has been set when displaying payment form
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-check-number-placeholder","Enter check number");
Clearent.payButton({
"ach-check-number-placeholder": "Enter check number"
});
-
ach-check-number-required :boolean
-
Determines if check-number field is required.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-check-number-required",true);
Clearent.payButton({
"ach-check-number-required": true
});
-
-
tooltip to appear when hovering over or focused on ach-check-number input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-check-number-tooltip","Enter check number");
Clearent.payButton({
"ach-check-account-tooltip": "Enter check number"
});
-
ach-description-placeholder :string
-
text to appear in the ACH Description input field (when saving ACH payment method) when ACH Description value has not yet been entered
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("ach-description-placeholder","ACH nickname");
Clearent.payButton({
"ach-description-placeholder": "ACH nickname"
});
-
-
tooltip to appear when focused on ACH description input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("ach-description-tooltip","Enter a nickname for this ACH payment method");
Clearent.payButton({
"ach-description-tooltip": "Enter a nickname for this ACH payment method"
});
-
ach-routing-number-invalid-error :string
-
message to show when routing number is invalid (ACH transactions).
Type:
- Since:
-
- Default Value:
-
- "Routing number must be 9 digits"
Examples
Clearent.setProperty("ach-routing-number-invalid-error", "Please enter a valid routing number");
Clearent.payButton({
"ach-routing-number-invalid-error": "Please enter a valid routing number"
});
-
ach-routing-number-label :string
-
text to appear above ach routing number field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-routing-number-label","Enter routing number below");
Clearent.payButton({
"ach-routing-number-label": "Enter routing number below"
});
-
ach-routing-number-missing-error :string
-
message to show when routing number is missing (ACH transactions).
Type:
- Since:
-
- Default Value:
-
- "Routing number is missing"
Examples
Clearent.setProperty("ach-routing-number-missing-error", "Please enter routing number");
Clearent.payButton({
"ach-routing-number-missing-error": "Please enter routing number"
});
-
ach-routing-number-placeholder :string
-
text to appear in routing number input field when value has not yet been entered; routing number input is shown if value has been set when displaying payment form
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-routing-number-placeholder","Enter routing number");
Clearent.payButton({
"ach-routing-number-placeholder": "Enter routing number"
});
-
-
tooltip to appear when hovering over or focused on ach-routing-number input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("ach-routing-number-tooltip","Enter router number as it appears on your checking/savings account");
Clearent.payButton({
"ach-routing-number-tooltip": "Enter router number as it appears on your checking/savings account"
});
-
ach-terms-not-accepted-error :string
-
message to show when ACH terms and conditions have not been accepted.
Type:
- Since:
-
- Default Value:
-
- "Check number is missing"
Examples
Clearent.setProperty("ach-terms-not-accepted-error", "You must accept ACH terms to continue");
Clearent.payButton({
"ach-terms-not-accepted-error": "You must accept ACH terms to continue"
});
-
ach-validate-account-invalid-error :string
-
message to show when validate account is invalid (ACH transactions).
Type:
- Since:
-
- Default Value:
-
- "ACH Account validation failed"
Examples
Clearent.setProperty("ach-validate-account-invalid-error", "Please check bank details");
Clearent.payButton({
"ach-validate-account-invalid-error": "Please check bank details"
});
-
add-payment-button-text :string
-
text to appear on the button that launches the add payment method form. This
is used when request-type is token-only.
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("add-payment-button-text","Add new payment method");
Clearent.payButton({
"add-payment-button-text": "Add new payment method"
});
-
address2-label :string
-
text to appear above billing address2, street address2 input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("address-label2","Enter Street Address2 below");
Clearent.payButton({
"address-label": "Enter Street Address2 below"
});
-
address2-placeholder :string
-
text to appear in billing address2, address input field when address value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("address-placeholder","Street2 name and number");
Clearent.payButton({
"address-placeholder": "Street2 name and number"
});
-
-
tooltip to appear when focused on billing address, address input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("address2-tooltip","Enter billing address");
Clearent.payButton({
"address-tooltip": "Enter billing address2"
});
-
address-label :string
-
text to appear above billing address, street address input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("address-label","Enter Street Address below");
Clearent.payButton({
"address-label": "Enter Street Address below"
});
-
address-missing-error :string
-
message to show when billing street address is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Address required and street address is missing"
Examples
Clearent.setProperty("address-missing-error", "Please enter billing street address");
Clearent.payButton({
"address-missing-error": "Please enter billing street address"
});
-
address-placeholder :string
-
text to appear in billing address, address input field when address value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("address-placeholder","Street name and number");
Clearent.payButton({
"address-placeholder": "Street name and number"
});
-
-
tooltip to appear when focused on billing address, address input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("address-tooltip","Enter billing address");
Clearent.payButton({
"address-tooltip": "Enter billing address"
});
-
amount :string
-
sale transaction amount
Type:
Examples
Clearent.setProperty("amount","88.50");
Clearent.payButton({
"amount": "88.50"
});
-
amount-invalid-error :string
-
message to show when amount is invalid.
Type:
- Since:
-
- Default Value:
-
- "Amount is not valid; Please include two decimal places (ex 1.00). Do not include $ symbol."
Examples
Clearent.setProperty("amount-invalid-error", "Please enter valid amount; ex 2.55");
Clearent.payButton({
"amount-invalid-error": "Please enter valid amount; ex 2.55"
});
-
amount-label :string
-
text to appear above amount input field when show-labels is turned on
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("amount-label","Enter amount below");
Clearent.payButton({
"amount-label": "Enter amount below"
});
-
amount-missing-error :string
-
message to show when amount is missing.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("amount-missing-error", "Please enter amount");
Clearent.payButton({
"amount-missing-error": "Please enter amount"
});
-
amount-placeholder :string
-
text to appear in amount input field when amount value has not yet been entered; amount input is shown if amount has not been set when displaying payment form
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("amount-placeholder","Enter donation amount");
Clearent.payButton({
"amount-placeholder": "Enter donation amount"
});
-
-
tooltip to appear when hovering over or focused on amount input field; amount input is shown if amount has not been set when displaying payment form
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("amount-tooltip","Enter amount in $xx.xx format");
Clearent.payButton({
"amount-tooltip": "Enter amount in $xx.xx format"
});
-
apple-pay-amount-label :string
-
text to appear alongside total amount in the Apple payment sheet. If the value is an empty string, the label defaults to merchant DBA.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("apple-pay-amount-label", "Sasha's Mustard Shop");
Clearent.payButton({
"apple-pay-amount-label": "Sasha's Mustard Shop"
});
-
apple-pay-payment-session-error-message :string
-
text to appear in the popup when an Apple Pay session fails to be established.
Type:
- Since:
-
- Default Value:
-
- "We were unable to establish an Apple Pay session for your payment transaction. Please try again or complete your order by entering your card details."
Examples
Clearent.setProperty("apple-pay-payment-session-error-message", "We were unable to establish an Apple Pay session for your payment transaction. Please try again or complete your order by entering your card details.");
Clearent.payButton({
"apple-pay-payment-session-error-message": "We were unable to establish an Apple Pay session for your payment transaction. Please try again or complete your order by entering your card details."
});
-
apple-pay-transaction-error-message :string
-
text to appear in the popup when an Apple Pay transaction was unsuccessful.
Type:
- Since:
-
- Default Value:
-
- "We are unable to process your Apple Pay transaction. Please try again or complete your order by entering your card details below. If the problem persists, please contact us."
Examples
Clearent.setProperty("apple-pay-transaction-error-message", "We are unable to process your Apple Pay transaction. Please try again or complete your order by entering your card details below. If the problem persists, please contact us.");
Clearent.payButton({
"apple-pay-transaction-error-message": "We are unable to process your Apple Pay transaction. Please try again or complete your order by entering your card details below. If the problem persists, please contact us."
});
-
billing-address :object
-
Optional property to set the billing address. If billing address fields are shown, this property is used to pre-populate the fields.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("billing-address",
{
"first-name":"John",
"last-name":"Backus",
"street":"123 Billing St.",
"city":"Richmond",
"state":"MO",
"zip":"85284",
"phone":"314-555-1212"
});
Clearent.payButton({
"billing-address":{
"first-name":"John",
"last-name":"Backus",
"street":"123 Billing St.",
"city":"Richmond",
"state":"MO",
"zip":"85284",
"phone":"314-555-1212"
}
});
-
billing-address-label :string
-
text to appear above the billing-address section of the payment form
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("billing-address-label","Address");
Clearent.payButton({
"billing-address-label": "Address"
});
-
billing-zip :string
-
Optional property to set a zip code. If zip code field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("billing-zip","85284");
Clearent.payButton({
"billing-zip": "85284"
});
-
billing-zip-length-error :string
-
message to show when billing zip is over 10 chars.
Type:
- Since:
-
- Default Value:
-
- "Zip code can not be more than 10 characters"
Examples
Clearent.setProperty("billing-zip-length-error", "Zip code is to long");
Clearent.payButton({
"billing-zip-length-error": "Zip code is to long"
});
-
cancel-button-text :string
-
text to appear on the payment popup form's cancel button
Type:
- Default Value:
-
Examples
Clearent.setProperty("cancel-button-text","Continue Shopping");
Clearent.payButton({
"cancel-button-text": "Continue Shopping"
});
-
card :string
-
last four digits of user-entered card number; (returns null if payment request has not yet been submitted)
Type:
Example
let card = Clearent.getProperty("card");
-
card-acceptance-label :string
-
text to appear in front of the image showing accepted cards (Visa, MasterCard, American Express, Discover, Diners Club, JCB).
Type:
- Default Value:
-
Examples
Clearent.setProperty("card-acceptance-label","We proudly accept");
Clearent.payButton({
"card-acceptance-label": "We proudly accept"
});
-
card-description-label :string
-
text to appear above card description input field when show-labels is true
and the save card checkbox is selected
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("card-description-label", "Card Description");
Clearent.payButton({
"card-description-label": "Card Description"
});
-
card-description-placeholder :string
-
text to appear in the Card Description input field (when saving card) when Card Description value has not yet been entered
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("card-description-placeholder","Card nickname");
Clearent.payButton({
"card-description-placeholder": "Card nickname"
});
-
-
tooltip to appear when focused on card description input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("card-description-tooltip","Enter a nickname for this card");
Clearent.payButton({
"card-description-tooltip": "Enter a nickname for this card"
});
-
card-invalid-error :string
-
message to show when card number is invalid.
Type:
- Since:
-
- Default Value:
-
- "Card number is not valid"
Examples
Clearent.setProperty("card-invalid-error", "Please enter a valid card number");
Clearent.payButton({
"card-invalid-error": "Please enter a valid card number"
});
-
card-label :string
-
text to appear above card number input field when show-labels is turned on
Type:
- Default Value:
-
Examples
Clearent.setProperty("card-label","Enter card number below");
Clearent.payButton({
"card-label": "Enter card number below"
});
-
card-missing-error :string
-
message to show when card number is missing.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("card-missing-error", "Please enter card number");
Clearent.payButton({
"card-missing-error": "Please enter card number"
});
-
card-placeholder :string
-
text to appear in card input field when card value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("card-placeholder","Enter card number");
Clearent.payButton({
"card-placeholder": "Enter card number"
});
-
card-token-only
-
- Deprecated:
-
- See:
-
-
-
tooltip to appear when hovering over or focused on card number input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("card-tooltip","Enter card number as it appears on your card");
Clearent.payButton({
"card-tooltip": "Enter card number as it appears on your card"
});
-
check-field :string
-
Used to prevent duplicate payments. Determines if HPP should check a specific field before allowing transaction to continue.
For example, if check-field is set to invoice and a transaction with the same invoice number and amount has been paid, the original transaction will be
returned and no new transaction will be attempted. If this option is used, a unique value must be provided for the field name specified.
For example, if check-field is set to order-id, then a unique order-id must be provided with the original transaction, and the same order-id must be
provided with subsequent transaction attempts.
The field used for check-field must be set with setProperty() and should not be exposed to end user as it could be changed and would
no longer provide a match when searching for duplicate transactions.
Possible values for check-field: "invoice" (other fields deprecated).
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("check-field": "invoice");
Clearent.setProperty("invoice", "a12345");
Clearent.payButton({
"check-field": "invoice",
"invoice": "a12345"
});
-
check-field-mid :boolean
-
Used to prevent duplicate payments. Used in tandem with check-field. Determines if HPP should check a specific field across the merchant level before allowing transaction to continue.
For example, if check-field is set to invoice and check-field-mid is set to true and a transaction with the same invoice number and amount has been paid by any terminal belonging to the same merchant, the original transaction will be
returned and no new transaction will be attempted. If this option is used, a unique value must be provided for check-field and the field name specified.
For example, if check-field-mid is set to true, then check-field must be provided with the original transaction, and the corresponding field (refer to check-field)
provided with subsequent transaction attempts.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("check-field-mid", true);
Clearent.setProperty("check-field", "invoice");
Clearent.setProperty("invoice", "a12345");
Clearent.payButton({
"check-field-mid": true,
"check-field": "invoice",
"invoice": "a12345"
});
-
city-label :string
-
text to appear above billing address, city input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("city-label","Enter City below");
Clearent.payButton({
"city-label": "Enter City below"
});
-
city-missing-error :string
-
message to show when billing city is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Address required and city is missing"
Examples
Clearent.setProperty("city-missing-error", "Please enter billing city");
Clearent.payButton({
"city-missing-error": "Please enter billing city"
});
-
city-placeholder :string
-
text to appear in billing address city input field when city value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("city-placeholder","Enter city");
Clearent.payButton({
"city-placeholder": "Enter city"
});
-
-
tooltip to appear when focused on billing address city input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("city-tooltip","Enter city of your billing address");
Clearent.payButton({
"city-tooltip": "Enter city of your billing address"
});
-
close-button-text :string
-
text to appear on the payment popup form's close button after successful transaction
Type:
- Default Value:
-
Examples
Clearent.setProperty("close-button-text","Return to Page");
Clearent.payButton({
"close-button-text": "Return to Page"
});
-
Optional property to set a comments value that will be stored with the transaction. This is a displayed field when
using Clearent's Virtual Terminal to research transaction data. If comments field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("comments","This is my comment");
Clearent.payButton({
"comments": "This is my comment"
});
-
text to appear above comments input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("comments-label","Enter Comments below");
Clearent.payButton({
"comments-label": "Enter Comments below"
});
-
message to show when comments is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Comments required and is missing"
Examples
Clearent.setProperty("comments-missing-error", "Please enter comments");
Clearent.payButton({
"comments-missing-error": "Please enter comments"
});
-
default text to appear in comments input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("comments-placeholder","Enter comments");
Clearent.payButton({
"comments-placeholder": "Enter comments"
});
-
tooltip to appear when hovering over or focused on comments input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("comments-tooltip","Enter comments");
Clearent.payButton({
"comments-tooltip": "Enter comments"
});
-
customer-id :string
-
Optional property to set a customer-id that will be stored with the transaction. This is a searchable field when
using Clearent's Virtual Terminal to research transaction data. If customer-id field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("customer-id","a12345");
Clearent.payButton({
"customer-id": "a12345"
});
-
customer-id-label :string
-
text to appear above customer id input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("customer-id-label","Enter Customer ID below");
Clearent.payButton({
"customer-id-label": "Enter Customer ID below"
});
-
customer-id-missing-error :string
-
message to show when customer id is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Customer-id required and is missing"
Examples
Clearent.setProperty("customer-id-missing-error", "Please enter customer id");
Clearent.payButton({
"customer-id-missing-error": "Please enter customer id"
});
-
customer-id-placeholder :string
-
default text to appear in customer-id input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("customer-id-placeholder","Enter Customer ID");
Clearent.payButton({
"customer-id-placeholder": "Enter Customer ID"
});
-
-
tooltip to appear when hovering over or focused on customer-id input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("customer-id-tooltip","Enter Customer ID");
Clearent.payButton({
"customer-id-tooltip": "Enter Customer ID"
});
-
cvc-invalid-error :string
-
message to show when card security code is invalid.
Type:
- Since:
-
- Default Value:
-
- "CSC length is not valid for card type"
Examples
Clearent.setProperty("cvc-invalid-error", "Please enter valid CSC");
Clearent.payButton({
"cvc-invalid-error": "Please enter valid CSC"
});
-
cvc-label :string
-
text to appear above CVC input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("cvc-label","Enter Card Security Code below");
Clearent.payButton({
"cvc-label": "Enter Card Security Code below"
});
-
cvc-missing-error :string
-
message to show when card security code is missing and configured as required (default).
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("cvc-missing-error", "Please enter CSC");
Clearent.payButton({
"cvc-missing-error": "Please enter CSC"
});
-
cvc-placeholder :string
-
text to appear in CVC input field when CVC value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("cvc-placeholder","card security code");
Clearent.payButton({
"cvc-placeholder": "card security code"
});
-
cvc-required :boolean
-
determines if user must enter a value for cvc input
Type:
- Default Value:
-
Examples
Clearent.setProperty("cvc-required", false);
Clearent.payButton({
"cvc-required": false
});
-
-
tooltip to appear when hovering over or focused on card cvc input field
Type:
- Default Value:
-
- Enter security code found on back of Visa/Mastercard/Discover or front of American Express.
Examples
Clearent.setProperty("cvc-tooltip","Enter security code from your card");
Clearent.payButton({
"cvc-tooltip": "Enter security code from your card"
});
-
description :string
-
Optional property to set an description value that will be stored with the transaction. This is a searchable field when
using Clearent's Virtual Terminal to research transaction data. If description field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("description","Payment for venue rental");
Clearent.payButton({
"description": "Payment for venue rental"
});
-
description-label :string
-
text to appear above description input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("description-label","Enter Description below");
Clearent.payButton({
"description-label": "Enter Description below"
});
-
description-missing-error :string
-
message to show when description is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Description required and is missing"
Examples
Clearent.setProperty("description-missing-error", "Please enter description");
Clearent.payButton({
"description-missing-error": "Please enter description"
});
-
description-placeholder :string
-
default text to appear in description input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("description-placeholder","Enter description");
Clearent.payButton({
"description-placeholder": "Enter description"
});
-
-
tooltip to appear when hovering over or focused on description input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("description-tooltip","Enter description");
Clearent.payButton({
"description-tooltip": "Enter description"
});
-
dob-year :string
-
Optional property to set an dob-year that will be stored with the transaction.
If dob-year field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("dob-year","1999");
Clearent.payButton({
"dob-year": "1999"
});
-
dob-year-invalid-error :string
-
message to show when date of birth year is invalid.
Type:
- Since:
-
- Default Value:
-
- "Date of birth year is not valid (check for spaces or invalid characters)"
Examples
Clearent.setProperty("dob-year-invalid-error", "Please enter a valid email address");
Clearent.payButton({
"dob-year-invalid-error": "Please enter a valid date of birth year"
});
-
dob-year-label :string
-
text to appear above customer year of birth input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("dob-year-label","Enter customer year of birth below");
Clearent.payButton({
"email-address-label": "Enter customer year of birth below"
});
-
dob-year-missing-error :string
-
message to show when date of birth year is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Customer year of birth required and is missing"
Examples
Clearent.setProperty("dob-year-missing-error", "Please enter date of birth year");
Clearent.payButton({
"dob-year-missing-error": "Please enter date of birth year"
});
-
dob-year-placeholder :string
-
default text to appear in dob-year input field
Type:
- Since:
-
- Default Value:
-
- Enter customer year of birth
- See:
-
Examples
Clearent.setProperty("dob-year-placeholder","Customer year of birth");
Clearent.payButton({
"dob-year-placeholder": "Customer year of birth"
});
-
-
tooltip to appear when hovering over or focused on dob-year input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("dob-year-tooltip","Enter date of birth year");
Clearent.payButton({
"dob-year-tooltip": "Customer year of birth"
});
-
email-address :string
-
Optional property to set an email-address that will be stored with the transaction.
If email-address field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("email-address","bob.smith@example.com");
Clearent.payButton({
"email-address": "bob.smith@example.com"
});
-
email-address-invalid-error :string
-
message to show when email address is invalid.
Type:
- Since:
-
- Default Value:
-
- "Email address is not valid (check for spaces or invalid characters)"
Examples
Clearent.setProperty("email-address-invalid-error", "Please enter a valid email address");
Clearent.payButton({
"email-address-invalid-error": "Please enter a valid email address"
});
-
email-address-label :string
-
text to appear above Email Address input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("email-address-label","Enter Email Address below");
Clearent.payButton({
"email-address-label": "Enter Email Address below"
});
-
email-address-missing-error :string
-
message to show when email address is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Email address required and is missing"
Examples
Clearent.setProperty("email-address-missing-error", "Please enter email address");
Clearent.payButton({
"email-address-missing-error": "Please enter email address"
});
-
email-address-placeholder :string
-
default text to appear in email-address input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("email-address-placeholder","Enter email address");
Clearent.payButton({
"email-address-placeholder": "Enter email address"
});
-
-
tooltip to appear when hovering over or focused on email-address input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("email-address-tooltip","Enter email address");
Clearent.payButton({
"email-address-tooltip": "Enter email address"
});
-
email-receipt-option-text :string
-
text to show next to "Send a receipt by email" option checkbox
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("email-receipt-option-text","Email my receipt to:");
Clearent.payButton({
"email-receipt-option-text": "Email my receipt to:"
});
-
enable-ach :boolean
-
enables the option for the customer to pay with online-check.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("enable-ach", true);
Clearent.payButton({
"enable-ach": true
});
-
entry-label-manual :string
-
Label for choosing manual entry (choosing to use manual entry when use-mobile-reader is enabled)
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("entry-label-manual", "Manual Entry");
Clearent.payButton({
"entry-label-manual": "Manual Entry"
});
-
entry-label-mobile :string
-
Label for choosing mobile reader card entry (choosing to use mobile entry when use-mobile-reader is enabled)
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("entry-label-mobile", "Mobile Card Reader");
Clearent.payButton({
"entry-label-mobile": "Mobile Card Reader"
});
-
error-message :string
-
text to appear in the popup when transaction was unsuccessful.
Type:
- Default Value:
-
- We were unable to process your payment. Please verify your payment details and try again or contact us to complete your order..
Examples
Clearent.setProperty("error-message","We were unable to process your payment. Please contact us to complete your order..");
Clearent.payButton({
"error-message": "We were unable to process your payment. Please contact us to complete your order.."
});
-
exp-date-invalid-error :string
-
message to show when expiration date is invalid.
Type:
- Since:
-
- Default Value:
-
- "Expiration date is not valid or expired. Please enter as MMYY."
Examples
Clearent.setProperty("exp-date-invalid-error", "Please enter expiration date as MMYY");
Clearent.payButton({
"exp-date-invalid-error": "Please enter expiration date as MMYY"
});
-
exp-date-label :string
-
text to appear above Expiration Date input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- Expiration Date (MM / YY)
- See:
-
Examples
Clearent.setProperty("exp-date-label","Enter Expiration Date below");
Clearent.payButton({
"exp-date-label": "Enter Expiration Date below"
});
-
exp-date-missing-error :string
-
message to show when card expiration date is missing.
Type:
- Since:
-
- Default Value:
-
- "Expiration date is missing"
Examples
Clearent.setProperty("exp-date-missing-error", "Please enter expiration date");
Clearent.payButton({
"exp-date-missing-error": "Please enter expiration date"
});
-
exp-date-placeholder :string
-
text to appear in expiration date input field when expiration date value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("exp-date-placeholder","mm/yy");
Clearent.payButton({
"exp-date-placeholder": "mm/yy"
});
-
-
tooltip to appear when hovering over or focused on card expiration date input field
Type:
- Default Value:
-
- Enter 2-digit expiration month and 2-digit expiration year
Examples
Clearent.setProperty("exp-date-tooltip","Enter card expiration date in MM/YY format");
Clearent.payButton({
"exp-date-tooltip": "Enter card expiration date in MM/YY format"
});
-
first-name-label :string
-
text to appear above billing address, first name input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("first-name-label","Enter first name on card below");
Clearent.payButton({
"first-name-label": "Enter first name on card below"
});
-
first-name-missing-error :string
-
message to show when billing first name is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Address required and first name is missing"
Examples
Clearent.setProperty("first-name-missing-error", "Please enter billing first name");
Clearent.payButton({
"first-name-missing-error": "Please enter billing first name"
});
-
first-name-placeholder :string
-
text to appear in billing address, first name input field when first name has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("first-name-placeholder","First name");
Clearent.payButton({
"first-name-placeholder": "First name"
});
-
-
tooltip to appear when focused on billing address first name input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("first-name-tooltip","Enter first name exactly as it appears on your card");
Clearent.payButton({
"first-name-tooltip": "Enter name exactly as it appears on your card"
});
-
heading-text :string
-
text to appear in the header section of the payment popup form
Type:
- Default Value:
-
- Enter Payment Information
Examples
Clearent.setProperty("heading-text","ACME Cogs and Widgets");
Clearent.payButton({
"heading-text": "ACME Cogs and Widgets"
});
-
invalid-message :string
-
text to appear in the error bar when invalid form entries are found.
Type:
- Default Value:
-
- Please correct invalid entries.
Examples
Clearent.setProperty("invalid-message","Fix errors below and try again.");
Clearent.payButton({
"invalid-message": "Fix errors below and try again."
});
-
invoice :string
-
Optional property to set an invoice that will be stored with the transaction. This is a searchable field when
using Clearent's Virtual Terminal to research transaction data. If invoice field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("invoice","a12345");
Clearent.payButton({
"invoice": "a12345"
});
-
invoice-label :string
-
text to appear above invoice input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("invoice-label","Enter Invoice below");
Clearent.payButton({
"invoice-label": "Enter Invoice below"
});
-
invoice-missing-error :string
-
message to show when invoice is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Invoice required and is missing"
Examples
Clearent.setProperty("invoice-missing-error", "Please enter invoice");
Clearent.payButton({
"invoice-missing-error": "Please enter invoice"
});
-
invoice-placeholder :string
-
default text to appear in invoice input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("invoice-placeholder","Enter Invoice");
Clearent.payButton({
"invoice-placeholder": "Enter Invoice"
});
-
-
tooltip to appear when hovering over or focused on invoice input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("invoice-tooltip","Enter Invoice");
Clearent.payButton({
"invoice-tooltip": "Enter Invoice"
});
-
last-name-label :string
-
text to appear above billing address, last name input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("last-name-label","Enter last name on card below");
Clearent.payButton({
"last-name-label": "Enter last name on card below"
});
-
last-name-missing-error :string
-
message to show when billing last name is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Address required and last name is missing"
Examples
Clearent.setProperty("last-name-missing-error", "Please enter billing last name");
Clearent.payButton({
"last-name-missing-error": "Please enter billing last name"
});
-
last-name-placeholder :string
-
text to appear in billing address, last name input field when last name has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("last-name-placeholder","Last name");
Clearent.payButton({
"last-name-placeholder": "Last name"
});
-
-
tooltip to appear when focused on billing address last name input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("last-name-tooltip","Enter last name exactly as it appears on your card");
Clearent.payButton({
"last-name-tooltip": "Enter name exactly as it appears on your card"
});
-
mask-entry :boolean
-
Masks entry of Card Number, Expiration Date, Card Security Code, Routing Number and Account number fields.
When the field has focus you can see the data, when the field loses focus, the data is obfuscated.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("mask-entry", false);
Clearent.payButton({
"mask-entry": false
});
-
merchant-logo-url :string
-
For Paylink only. If populated with proper url, will show the desired logo at top of page.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("merchant-logo-url", "https://logo.url");
Clearent.payButton({
"merchant-logo-url": "https://logo.url"
});
-
merchant-name :string
-
text to replace generic "the merchant" in the ACH Terms and Conditions. Also shows as the * merchant name below the logo and above the header text in the Paylink view when using Paylink
funcitonality.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("merchant-name", "Merchant Name");
Clearent.payButton({
"merchant-name": "Merchant Name"
});
-
mobile-cancel-url :string
-
if mobile payment is canceled, the mobile application will attempt to launch this url in the default
configured browser on the mobile device. This can be used to redirect user to merchant site after a canceled transaction.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("mobile-cancel-url", "https://my-company/cancel-page");
Clearent.payButton({
"mobile-cancel-url": "https://my-company/cancel-page"
});
-
mobile-success-url :string
-
if mobile payment is successful, the mobile application will attempt to launch this url in the default
configured browser on the mobile device. This can be used to redirect user to merchant site after a successful transaction.
Type:
- Since:
-
- 1.2019.06.25
* @example
Clearent.setProperty("mobile-success-url", "https://my-company/success-page");
- Default Value:
-
- See:
-
Example
Clearent.payButton({
"mobile-success-url": "https://my-company/success-page"
});
-
order-id :string
-
Optional property to set an order id that will be stored with the transaction. This is a searchable field when
using Clearent's Virtual Terminal to research transaction data. If order-id field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("order-id","a12345");
Clearent.payButton({
"order-id": "a12345"
});
-
order-id-label :string
-
text to appear above Order ID input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("order-id-label","Enter Order ID below");
Clearent.payButton({
"order-id-label": "Enter Order ID below"
});
-
order-id-missing-error :string
-
message to show when order id is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Order-id required and is missing"
Examples
Clearent.setProperty("order-id-missing-error", "Please enter order id");
Clearent.payButton({
"order-id-missing-error": "Please enter order id"
});
-
order-id-placeholder :string
-
default text to appear in order-id input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("order-id-placeholder","Enter Order ID");
Clearent.payButton({
"order-id-placeholder": "Enter Order ID"
});
-
-
tooltip to appear when hovering over or focused on order-id input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("order-id-tooltip","Enter Order ID");
Clearent.payButton({
"order-id-tooltip": "Enter Order ID"
});
-
-
The id or element reference of the element that the "Pay Now" button will be instantiated within. The newly created
button is added as the last child of the specified element. If omitted, the "Pay Now" button will be instantiated at the location
of the Clearent.payButton() method call.
Type:
- Default Value:
-
Examples
Clearent.setProperty("pay-button-parent","paymentDiv");
Clearent.setProperty("pay-button-parent",document.getElementById("payment-div"));
Clearent.payButton({
"pay-button-parent":"paymentDiv"
});
Clearent.payButton({
"pay-button-parent":document.getElementById("payment-div")
});
-
pay-button-text :string
-
text to appear on the button that launches the payment popup form
Type:
- Default Value:
-
Examples
Clearent.setProperty("pay-button-text","Show Payment Form");
Clearent.payButton({
"pay-button-text": "Show Payment Form"
});
-
paylink-cancel-button-text :string
-
enables the option for the customer to pay with online-check.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("paylink-cancel-button-text", "Continue Shopping");
Clearent.payButton({
"paylink-cancel-button-text": "Continue Shopping"
});
-
payment-label-ach :string
-
Label for choosing check payment when ach is enabled
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("payment-label-ach", "Checking account");
Clearent.payButton({
"payment-label-ach": "Checking account"
});
-
payment-label-credit :string
-
Label for choosing credit payment when ach is enabled
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("payment-label-credit", "Pay by Card");
Clearent.payButton({
"payment-label-credit": "Pay by Card"
});
-
payment-method-heading-text :string
-
text to appear above the payment section of the payment popup form, which includes card fields
and possibly digital wallet options.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("payment-method-heading-text", "Payment");
Clearent.payButton({
"payment-method-heading-text": "Payment"
});
-
phone-label :string
-
text to appear above billing address, phone input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("phone-label","Enter phone number below");
Clearent.payButton({
"phone-label": "Enter Phone below"
});
-
phone-missing-error :string
-
message to show when billing phone is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Phone required is missing"
Examples
Clearent.setProperty("phone-missing-error", "Please enter billing phone");
Clearent.payButton({
"phone-missing-error": "Please enter billing phone"
});
-
phone-placeholder :string
-
text to appear in billing address phone input field when phone number value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("phone-placeholder","Phone code");
Clearent.payButton({
"phone-placeholder": "Phone number"
});
-
-
tooltip to appear when focused on billing address phone code input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("phone-tooltip","Enter your billing phone number");
Clearent.payButton({
"phone-tooltip": "Enter your billing phone number"
});
-
pk :string
-
public key
Type:
- Default Value:
-
Examples
Clearent.setProperty("pk","abcdefg123456");
Clearent.payButton({
"pk": "abcdefg123456"
});
-
purchase-order :string
-
Optional property to set a purchase-order that will be stored with the transaction. This is a searchable field when
using Clearent's Virtual Terminal to research transaction data. If purchase-order field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("purchase-order","a12345");
Clearent.payButton({
"purchase-order": "a12345"
});
-
purchase-order-label :string
-
text to appear above Purchase Order input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("purchase-order-label","Enter Purchase Order below");
Clearent.payButton({
"purchase-order-label": "Enter Purchase Order below"
});
-
purchase-order-missing-error :string
-
message to show when purchase order is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Purchase-order required and is missing"
Examples
Clearent.setProperty("purchase-order-missing-error", "Please enter purchase order");
Clearent.payButton({
"purchase-order-missing-error": "Please enter purchase order"
});
-
purchase-order-placeholder :string
-
default text to appear in purchase-order input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("purchase-order-placeholder","Enter Purchase Order");
Clearent.payButton({
"purchase-order-placeholder": "Enter Purchase Order"
});
-
-
tooltip to appear when hovering over or focused on purchase-order input field
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("purchase-order-tooltip","Enter Purchase Order");
Clearent.payButton({
"purchase-order-tooltip": "Enter Purchase Order"
});
-
read-only-amount :boolean
-
determines if amount field can be modified by the user.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("read-only-amount", true);
Clearent.payButton({
"read-only-amount": true
});
-
read-only-sales-tax-amount :boolean
-
determines if sales-tax-amount field can be modified by the user.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("read-only-sales-tax-amount", true);
Clearent.payButton({
"read-only-sales-tax-amount": true
});
-
read-only-tip-amount :boolean
-
determines if tip-amount field can be modified by the user.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("read-only-tip-amount", true);
Clearent.payButton({
"read-only-tip-amount": true
});
-
request-type :string
-
Type of transaction to run; SALE, AUTH or TOKEN-ONLY. AUTH will show as successful payments to the user but will have type:"AUTH"
in the transaction response. AUTH must be captured before they drop off to ensure payment to merchant.
Type:
- Default Value:
-
Examples
Clearent.setProperty("request-type", "AUTH");
Clearent.payButton({
"request-type": "AUTH"
});
-
require-ach-account-name :boolean
-
determines if ach-account-name field is required on payment popup ach-account-name will display automatically; default value of true
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-ach-account-name", false);
Clearent.payButton({
"require-ach-account-name": false
});
-
require-billing-address :boolean
-
determines if billing address is shown and required on payment popup; if set to true you do not
need to set show-billing-address property
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-billing-address", true);
Clearent.payButton({
"require-billing-address": true
});
-
require-billing-zip :boolean
-
determines if billing zip is shown and required on payment popup; if set to true you do not
need to set show-billing-zip property
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-billing-zip", true);
Clearent.payButton({
"require-billing-zip": true
});
-
require-card-inquiry :boolean
-
determines if card inquiry is performed when creating a token. If true, a card-inquiry fee may apply. If false, no inquiry is performed but card is not guaranteed to be valid and future transactions with token may fail. This applies only to token-only requests. It does not apply to AUTH or SALE with create-token requests.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("require-card-inquiry", true);
Clearent.payButton({
"require-card-inquiry": true
});
-
determines if comments field is shown and required on payment popup; if set to true you do not need to set show-comments property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-comments", true);
Clearent.payButton({
"require-comments": true
});
-
require-customer-id :boolean
-
determines if customer-id field is shown and required on payment popup; if set to true you do not need to set show-customer-id property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-customer-id", true);
Clearent.payButton({
"require-customer-id": true
});
-
require-description :boolean
-
determines if description field is shown and required on payment popup; if set to true you do not need to set show-description property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-description", true);
Clearent.payButton({
"require-description": true
});
-
require-dob-year :boolean
-
determines if dob-year field is shown and required on payment popup; if set to true you do not need to set show-dob-year property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-dob-year", true);
Clearent.payButton({
"require-dob-year": true
});
-
require-email-address :boolean
-
determines if email-address field is shown and required on payment popup; if set to true you do not need to set show-email-address property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-email-address", true);
Clearent.payButton({
"require-email-address": true
});
-
require-invoice :boolean
-
determines if invoice field is shown and required on payment popup; if set to true you do not need to set show-invoice property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-invoice", true);
Clearent.payButton({
"require-invoice": true
});
-
require-order-id :boolean
-
determines if order-id is shown and required on payment popup; if set to true you do not need to set show-order-id property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-order-id", true);
Clearent.payButton({
"require-order-id": true
});
-
require-phone :boolean
-
determines if billing phone number is required. If require-billing-address or show-billing-address are true, the phone number will not be required by default. You must set this field to true to require the customer to enter a billing phone number
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-billing-address", true);
Clearent.setProperty("require-phone", true);
Clearent.payButton({
"require-billing-address": true,
"require-phone": true
});
-
require-purchase-order :boolean
-
determines if purchase-order field is shown and required on payment popup; if set to true you do not need to set show-purchase-order property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-purchase-order", true);
Clearent.payButton({
"require-purchase-order": true
});
-
require-sales-tax :boolean
-
determines if sales-tax-amount field is shown and required on payment popup; if set to true you do not need to set show-sales-tax property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-sales-tax", true);
Clearent.payButton({
"require-sales-tax": true
});
-
require-shipping-address :boolean
-
determines if shipping address is shown and required on payment popup; if set to true you do not need to set show-shipping-address property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-shipping-address", true);
Clearent.payButton({
"require-shipping-address": true
});
-
require-shipping-phone :boolean
-
determines if shipping phone number is required. If require-shipping-address or show-shipping-address are true, the phone number will not be required by default. You must set this field to true to require the customer to enter a shipping phone number
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-shipping-address", true);
Clearent.setProperty("require-shipping-phone", true);
Clearent.payButton({
"require-shipping-address": true,
"require-shipping-phone": true
});
-
require-tip-amount :boolean
-
determines if tip-amount field is shown and required on payment popup; if set to true you do not need to set show-tip-amount property
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("require-tip-amount", true);
Clearent.payButton({
"require-tip-amount": true
});
-
sales-tax-amount :string
-
sale tax amount for transaction; If sales-tax-amount field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
Examples
Clearent.setProperty("sales-tax-amount","3.51");
Clearent.payButton({
"sales-tax-amount": "3.51"
});
-
sales-tax-invalid-error :string
-
message to show when sales tax amount is invalid.
Type:
- Since:
-
- Default Value:
-
- "Sales tax amount is not valid; Please include two decimal places (ex 1.00). Do not include $ symbol."
Examples
Clearent.setProperty("sales-tax-invalid-error", "Please enter valid sales tax amount; ex 2.55");
Clearent.payButton({
"sales-tax-invalid-error": "Please enter valid sales tax amount; ex 2.55"
});
-
sales-tax-label :string
-
text to appear above sales tax amount input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("sales-tax-label","Enter sales tax amount");
Clearent.payButton({
"sales-tax-label": "Enter sales tax amount"
});
-
sales-tax-missing-error :string
-
message to show when sales-tax is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Sales tax amount required and is missing"
Examples
Clearent.setProperty("sales-tax-missing-error", "Please enter sales tax");
Clearent.payButton({
"sales-tax-missing-error": "Please enter sales tax"
});
-
sales-tax-placeholder :string
-
text to appear in sales-tax-amount input field when sales-tax-amount value has not yet been entered.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("sales-tax-placeholder","Enter sales tax amount");
Clearent.payButton({
"sales-tax-placeholder": "Enter sales tax amount"
});
-
-
tooltip to appear when hovering over or focused on sales-tax-amount input field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("sales-tax-tooltip","Enter sales tax in $xx.xx format");
Clearent.payButton({
"amount-tooltip": "Enter sales tax in $xx.xx format"
});
-
save-ach-option-text :string
-
text to show next to "save this ach account" option checkbox when show-save-card-option is true
Type:
- Default Value:
-
- Save this account for future use
- See:
-
Examples
Clearent.setProperty("save-ach-option-text","Save this account");
Clearent.payButton({
"save-ach-option-text": "Save this account"
});
-
save-card-option-text :string
-
text to show next to "save this card" option checkbox when show-save-card-option is true
Type:
- Default Value:
-
- Save this card for future use
- See:
-
Examples
Clearent.setProperty("save-card-option-text","Save this card");
Clearent.payButton({
"save-card-option-text": "Save this card"
});
-
save-card-zip-missing-error :string
-
message to show when saving a card and zip code is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("save-card-zip-missing-error", "Please enter a zip code");
Clearent.payButton({
"save-card-zip-missing-error": "Please enter a zip code"
});
-
shipping-address :object
-
Optional property to set the shipping address. If shipping address fields are shown, this property is used to pre-populate the fields.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("shipping-address",
{
"first-name":"John",
"last-name":"Backus",
"street":"123 Billing St.",
"city":"Richmond",
"state":"MO",
"zip":"85284",
"phone":"314-555-1212"
});
Clearent.payButton({
"shipping-address":{
"first-name":"John",
"last-name":"Backus",
"street":"123 Billing St.",
"city":"Richmond",
"state":"MO",
"zip":"85284",
"phone":"314-555-1212"
}
});
-
shipping-address-label :string
-
text to appear above the shipping-address section of the payment form
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-address-label","Delivery Address");
Clearent.payButton({
"shipping-address-label": "Delivery Address"
});
-
shipping-address-missing-error :string
-
message to show when shipping street address is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Shipping address required and street address is missing"
Examples
Clearent.setProperty("shipping-address-missing-error", "Please enter shipping street address");
Clearent.payButton({
"shipping-address-missing-error": "Please enter shipping street address"
});
-
shipping-address-placeholder :string
-
text to appear in shipping address, address input field when address value has not yet been entered
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-address-placeholder","Street name and number");
Clearent.payButton({
"shipping-address-placeholder": "Street name and number"
});
-
-
tooltip to appear when focused on shipping address, address input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-address-tooltip","Enter shipping address");
Clearent.payButton({
"shipping-address-tooltip": "Enter shipping address"
});
-
shipping-city-label :string
-
text to appear above shipping address, city input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-city-label","Enter city below");
Clearent.payButton({
"shipping-city-label": "Enter city below"
});
-
shipping-city-missing-error :string
-
message to show when shipping city is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Shipping address required and city is missing"
Examples
Clearent.setProperty("shipping-city-missing-error", "Please enter shipping city");
Clearent.payButton({
"shipping-city-missing-error": "Please enter shipping city"
});
-
shipping-city-placeholder :string
-
text to appear in shipping address city input field when city value has not yet been entered
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-city-placeholder","Enter city");
Clearent.payButton({
"shipping-city-placeholder": "Enter city"
});
-
-
tooltip to appear when focused on shipping address city input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-city-tooltip","Enter city of your shipping address");
Clearent.payButton({
"shipping-city-tooltip": "Enter city of your shipping address"
});
-
shipping-first-name-label :string
-
text to appear above shipping address, first name input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-first-name-label","Enter first name below");
Clearent.payButton({
"shipping-first-name-label": "Enter first name below"
});
-
shipping-first-name-missing-error :string
-
message to show when shipping first name is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Shipping address required and first name is missing"
Examples
Clearent.setProperty("shipping-first-name-missing-error", "Please enter shipping first name");
Clearent.payButton({
"shipping-first-name-missing-error": "Please enter shipping first name"
});
-
shipping-first-name-placeholder :string
-
text to appear in shipping address first name input field when first name has not yet been entered
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-first-name-placeholder","First name");
Clearent.payButton({
"shipping-first-name-placeholder": "First name"
});
-
-
tooltip to appear when focused on shipping address first name input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-first-name-tooltip","Enter first name exactly as it appears on your card");
Clearent.payButton({
"shipping-first-name-tooltip": "Enter name exactly as it appears on your card"
});
-
shipping-last-name-label :string
-
text to appear above shipping address, last name input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-last-name-label","Enter last name below");
Clearent.payButton({
"shipping-last-name-label": "Enter last name below"
});
-
shipping-last-name-missing-error :string
-
message to show when shipping last name is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Shipping address required and last name is missing"
Examples
Clearent.setProperty("shipping-last-name-missing-error", "Please enter shipping last name");
Clearent.payButton({
"shipping-last-name-missing-error": "Please enter shipping last name"
});
-
shipping-last-name-placeholder :string
-
text to appear in shipping address last name input field when last name has not yet been entered
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-last-name-placeholder","Last name");
Clearent.payButton({
"shipping-last-name-placeholder": "Last name"
});
-
-
tooltip to appear when focused on shipping address last name input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-last-name-tooltip","Enter last name");
Clearent.payButton({
"shipping-last-name-tooltip": "Enter last name"
});
-
shipping-phone-label :string
-
text to appear above shipping address, phone input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-phone-label","Enter phone number below");
Clearent.payButton({
"shipping-phone-label": "Enter Phone below"
});
-
shipping-phone-missing-error :string
-
message to show when shipping phone is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Shipping phone required and is missing"
Examples
Clearent.setProperty("shipping-phone-missing-error", "Please enter shipping phone");
Clearent.payButton({
"shipping-phone-missing-error": "Please enter shipping phone"
});
-
shipping-phone-placeholder :string
-
text to appear in shipping address phone input field when phone number value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("shipping-phone-placeholder","Phone code");
Clearent.payButton({
"shipping-phone-placeholder": "Phone number"
});
-
-
tooltip to appear when focused on shipping address phone code input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("shipping-phone-tooltip","Enter your shipping phone number");
Clearent.payButton({
"shipping-phone-tooltip": "Enter your shipping phone number"
});
-
shipping-state-label :string
-
text to appear above shipping address, state dropdown field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-state-label","Enter state below");
Clearent.payButton({
"shipping-state-label": "Enter state below"
});
-
shipping-state-missing-error :string
-
message to show when shipping state is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Shipping address required and state is missing"
Examples
Clearent.setProperty("shipping-state-missing-error", "Please enter shipping state");
Clearent.payButton({
"shipping-state-missing-error": "Please enter shipping state"
});
-
shipping-state-placeholder :string
-
text to appear in shipping address state selector when state value has not yet been selected
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-state-placeholder","Select state");
Clearent.payButton({
"shipping-state-placeholder": "Select state"
});
-
-
tooltip to appear when focused on shipping address state input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-state-tooltip","Select state");
Clearent.payButton({
"shipping-state-tooltip": "Select state"
});
-
shipping-street-address-label :string
-
text to appear above shipping address, street address input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-street-address-label","Enter street address below");
Clearent.payButton({
"shipping-street-address-label": "Enter street address below"
});
-
shipping-zip-label :string
-
text to appear above shipping address, zip input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-zip-label","Enter zip below");
Clearent.payButton({
"shipping-zip-label": "Enter zip below"
});
-
shipping-zip-missing-error :string
-
message to show when shipping zip is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Shipping address required and zip is missing"
Examples
Clearent.setProperty("shipping-zip-missing-error", "Please enter shipping zip");
Clearent.payButton({
"shipping-zip-missing-error": "Please enter shipping zip"
});
-
shipping-zip-placeholder :string
-
text to appear in shipping address zip code input field when zip code value has not yet been entered
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-zip-placeholder","Zip code");
Clearent.payButton({
"shipping-zip-placeholder": "Zip code"
});
-
-
tooltip to appear when focused on shipping address zip code input field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("shipping-zip-tooltip","Enter your shipping zip/postal code");
Clearent.payButton({
"shipping-zip-tooltip": "Enter your shipping zip/postal code"
});
-
show-ach-check-number :boolean
-
determines if ach-check-number field is shown on payment popup. by default the value is true
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-ach-check-number", false);
Clearent.payButton({
"show-ach-check-number": false
});
-
show-address2 :boolean
-
determines if address2 field is shown on payment popup; default value of false; optional field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("show-address2", true);
Clearent.payButton({
"show-address2": true
});
-
show-apple-pay :boolean
-
determines if Apple Pay button is displayed on the payment popup form. Note: for Apple Pay button to show, the merchant/integrator
must still be registered for Apple Pay for Web.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("show-apple-pay", false);
Clearent.payButton({
"show-apple-pay": false
});
-
show-billing-address :boolean
-
determines if billing address is shown on payment popup
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-billing-address", true);
Clearent.payButton({
"show-billing-address": true
});
-
show-billing-zip :boolean
-
determines if billing zip is shown on payment popup
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-billing-zip", true);
Clearent.payButton({
"show-billing-zip": true
});
-
-
adds horizontal rules between sections of the card form.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("show-card-form-dividers", true);
Clearent.payButton({
"show-card-form-dividers": true
});
-
determines if comments field is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-comments", true);
Clearent.payButton({
"show-comments": true
});
-
show-customer-id :boolean
-
determines if customer-id field is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-customer-id", true);
Clearent.payButton({
"show-customer-id": true
});
-
show-description :boolean
-
determines if description field is shown on payment popup. Description field is used for
card description also and is therefore not available when using show-save-card-option.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-description", true);
Clearent.payButton({
"show-description": true
});
-
show-dob-year :boolean
-
determines if dob-year field is shown on payment popup for ach
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-dob-year", true);
Clearent.payButton({
"show-dob-year": true
});
-
show-email-address :boolean
-
determines if email-address field is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-email-address", true);
Clearent.payButton({
"show-email-address": true
});
-
show-email-receipt-option :boolean
-
determines if "Send a receipt by email" option checkbox is available on the payment popup form
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("show-email-receipt-option", false);
Clearent.payButton({
"show-email-receipt-option": false
});
-
show-inline :boolean
-
Shows the payment form inline instead of as a modal popup form.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("show-inline","true");
Clearent.payButton({
"show-inline": "true"
});
-
show-invoice :boolean
-
determines if invoice field is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-invoice", true);
Clearent.payButton({
"show-invoice": true
});
-
show-labels :boolean
-
Shows labels above entry fields.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("show-labels","true");
Clearent.payButton({
"show-labels": "true"
});
-
show-order-id :boolean
-
determines if order-id is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-order-id", true);
Clearent.payButton({
"show-order-id": true
});
-
show-purchase-order :boolean
-
determines if purchase-order field is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-purchase-order", true);
Clearent.payButton({
"show-purchase-order": true
});
-
show-sales-tax :boolean
-
determines if sales-tax-amount field is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-sales-tax", true);
Clearent.payButton({
"show-sales-tax": true
});
-
show-save-card-option :boolean
-
determines if "save this card" option checkbox is available on the payment popup form
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-save-card-option", true);
Clearent.payButton({
"show-save-card-option": true
});
-
show-shipping-address :boolean
-
determines if shipping address is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-shipping-address", true);
Clearent.payButton({
"show-shipping-address": true
});
-
show-swipe-option :boolean
-
shows a user option to swipe card. Card swipe devices must be connected to the user's device as a keyboard emulator.
Contact your Clearent representative for supported swipe readers.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-swipe-option",true);
Clearent.payButton({
"show-swipe-option": true
});
-
show-tip-amount :boolean
-
determines if tip-amount field is shown on payment popup
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("show-tip-amount", true);
Clearent.payButton({
"show-tip-amount": true
});
-
state-dropdown :boolean
-
determines if billing/shipping state field is a dropdown of US states (true) or a free-form entry field (false)
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("state-dropdown",false);
Clearent.payButton({
"state-dropdown": false
});
-
state-label :string
-
text to appear above billing address, state dropdown field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("state-label","Enter State below");
Clearent.payButton({
"state-label": "Enter State below"
});
-
state-missing-error :string
-
message to show when billing state is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Address required and state is missing"
Examples
Clearent.setProperty("state-missing-error", "Please enter billing state");
Clearent.payButton({
"state-missing-error": "Please enter billing state"
});
-
state-placeholder :string
-
text to appear in billing address state selector when state value has not yet been selected
Type:
- Default Value:
-
Examples
Clearent.setProperty("state-placeholder","Select state");
Clearent.payButton({
"state-placeholder": "Select state"
});
-
-
tooltip to appear when focused on billing address state input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("state-tooltip","Select state");
Clearent.payButton({
"state-tooltip": "Select state"
});
-
submit-pay-button-text :string
-
text to appear on the payment popup form's submit button; {$} is replaced with $ sign and amount at runtime (if set)
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("submit-pay-button-text","Make payment of {$}");
Clearent.payButton({
"submit-pay-button-text": "Make payment of {$}"
});
outputs (assume amount == 22.50):
payment form submit button with text: "Make payment of $22.50"
-
submit-pay-method-button-text :string
-
text to appear on the add payment method popup form's submit button. This is
used when request-type is token-only
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("submit-pay-method-button-text","Save Payment Method");
Clearent.payButton({
"submit-pay-method-button-text": "Save Payment Method"
});
-
success-message :string
-
text to appear in the popup when transaction is successful.
Type:
- Default Value:
-
Examples
Clearent.setProperty("success-message","Payment accepted.");
Clearent.payButton({
"success-message": "Payment accepted."
});
-
summary-heading-text :string
-
text to appear above the required section of the payment popup form, which includes
subtotal, sales tax, tip amount, and email address (for receipt).
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("summary-heading-text", "Summary");
Clearent.payButton({
"summary-heading-text": "Summary"
});
-
swipe-button-text :string
-
when show-swipe-option is true, a button is displayed to initiate a card swipe.
This option sets the text of that button.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("swipe-button-text","Swipe");
Clearent.payButton({
"swipe-button-text": "Swipe"
});
-
tip-amount :string
-
tip amount for transaction; If tip-amount field is shown, this property is used to pre-populate the field.
Type:
- Since:
-
Examples
Clearent.setProperty("tip-amount","3.51");
Clearent.payButton({
"tip-amount": "3.51"
});
-
tip-amount-invalid-error :string
-
message to show when tip amount is invalid.
Type:
- Since:
-
- Default Value:
-
- "Tip amount is not valid; Please include two decimal places (ex 1.00). Do not include $ symbol."
Examples
Clearent.setProperty("tip-amount-invalid-error", "Please enter valid tip amount; ex 2.55");
Clearent.payButton({
"tip-amount-invalid-error": "Please enter valid tip amount; ex 2.55"
});
-
tip-amount-label :string
-
text to appear above tip amount input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("tip-amount-label","Enter tip amount below");
Clearent.payButton({
"tip-amount-label": "Enter tip amount below"
});
-
tip-amount-missing-error :string
-
message to show when tip amount is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("tip-amount-missing-error", "Please enter tip amount");
Clearent.payButton({
"tip-amount-missing-error": "Please enter tip amount"
});
-
tip-amount-placeholder :string
-
text to appear in tip-amount input field when tip-amount value has not yet been entered.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("tip-amount-placeholder","Enter tip amount");
Clearent.payButton({
"tip-amount-placeholder": "Enter tip amount"
});
-
-
tooltip to appear when hovering over or focused on tip-amount-amount input field.
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("tip-amount-tooltip","Enter tip in $xx.xx format");
Clearent.payButton({
"amount-tooltip": "Enter tip in $xx.xx format"
});
-
-
Determines how tooltips are show;
hover = show when mouse hovers a field with a defined tooltip;
focus = show when a field with a defined tooltip gets focus;
none = tooltips are not shown on any fields even if tooltip is defined for field
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("tooltip-mode","hover");
Clearent.payButton({
"tooltip-mode": "hover"
});
-
total-amount-label :string
-
text to appear above total amount calculation when show-labels is turned on and payment type is card and
at least two of the following are shown on the payment form: amount, sales tax amount, tip amount.
Type:
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("total-amount-label","Total amount");
Clearent.payButton({
"amount-label": "Total amount"
});
-
-
track-format of swiper to be used. This field is required when using card swipes.
Contact your Clearent representative for supported swipe readers.
Supported formats include: MAGTEK, IDTECH, TRACK2
Type:
- Since:
-
- Default Value:
-
- See:
-
Examples
Clearent.setProperty("track-format","MAGTEK");
Clearent.payButton({
"track-format": "MAGTEK"
});
-
use-external-terminal :boolean
-
determines if transaction will be completed with an external terminal device; device must have been previously configured by Clearent.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("use-external-terminal", true);
Clearent.payButton({
"use-external-terminal": true
});
-
use-mobile-reader :boolean
-
shows mobile reader option so user can optionally complete the transaction using
Clearent's mobile app using mobile audio-jack or bluetooth card reader. When set to true,
using mobile reader is the default option.
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("use-mobile-reader", true);
Clearent.payButton({
"use-mobile-reader": true
});
-
use-terminal-service-fee-setting :boolean
-
determines if HPP should apply a service fee to the transaction based on the terminal settings
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("use-terminal-service-fee-setting", true);
Clearent.payButton({
"use-terminal-service-fee-setting": true
});
-
validate-account :boolean
-
use to enable or disable validate account for ach
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("validate-account", true);
Clearent.payButton({
"validate-account": true;
});
-
zip-label :string
-
text to appear above billing address, zip input field when show-labels is turned on
Type:
- Since:
-
- Default Value:
-
Examples
Clearent.setProperty("zip-label","Enter Zip below");
Clearent.payButton({
"zip-label": "Enter Zip below"
});
-
zip-missing-error :string
-
message to show when billing zip is missing and configured as required.
Type:
- Since:
-
- Default Value:
-
- "Address required and zip is missing"
Examples
Clearent.setProperty("zip-missing-error", "Please enter billing zip");
Clearent.payButton({
"zip-missing-error": "Please enter billing zip"
});
-
zip-placeholder :string
-
text to appear in billing address zip code input field when zip code value has not yet been entered
Type:
- Default Value:
-
Examples
Clearent.setProperty("zip-placeholder","Zip code");
Clearent.payButton({
"zip-placeholder": "Zip code"
});
-
-
tooltip to appear when focused on billing address zip code input field
Type:
- Default Value:
-
Examples
Clearent.setProperty("zip-tooltip","Enter your billing zip/postal code");
Clearent.payButton({
"zip-tooltip": "Enter your billing zip/postal code"
});