A Braintree Drop-In Request
- allowVaultCardOverride
- applePayDisabled
- cardDisabled
- cardholderNameStatus
- maskCardNumber
- maskSecurityCode
- paypalDisabled
- threeDSecureRequest
- vaultCard
- vaultCardDefaultValue
- vaultManager
• Optional
allowVaultCardOverride: boolean
- true shows save card CheckBox to allow user to choose whether or not to vault their card.
- false does not show Save Card CheckBox.
Default value is false.
• Optional
applePayDisabled: boolean
Use this parameter to disable Apple Pay.
Otherwise if Apple Pay is correctly configured, Apple Pay will appear as a selection in the Payment Method options.
• Optional
cardDisabled: boolean
If set to true, disables Card in Drop-in. Default value is false.
• Optional
cardholderNameStatus: CardFormFieldStatus
Sets the Cardholder Name field status, which is how it will behave in CardForm.
Default is DISABLED.
• Optional
maskCardNumber: boolean
True to mask the card number when the field is not focused.
See com.braintreepayments.cardform.view.CardEditText for more details.
Android only.
• Optional
maskSecurityCode: boolean
true to mask the security code during input. Defaults to false.
• Optional
paypalDisabled: boolean
Set to true to hide the PayPal option even if enabled for your account.
Defaults to false. Set to true to hide the PayPal option even if enabled for your account.
• Optional
threeDSecureRequest: Request
• Optional
vaultCard: boolean
Whether or not to vault the card upon tokenization.
Can only be applied when initializing the Braintree client with a client token that was generated with a customer ID.
When set to false
with allowVaultCardOverride
set to false
, then cards will not be vaulted.
Defaults to true
• Optional
vaultCardDefaultValue: boolean
the default value used to determine if Drop-in should vault the customer's card.
This setting can be overwritten by the customer if the save card checkbox is visible using setAllowVaultCardOverride(boolean)
If the save card CheckBox is shown, and default vault value is true: the save card CheckBox will appear pre-checked. If the save card CheckBox is shown, and default vault value is false: the save card Checkbox will appear un-checked. If the save card CheckBox is not shown, and default vault value is true: card always vaults. If the save card CheckBox is not shown, and default vault value is false: card never vaults.
This value is true by default.
• Optional
vaultManager: boolean
true to allow customers to manage their vaulted payment methods.
Defaults to false.