Default payment method
It is possible to initialize Payment Brick with a payment option already open. To configure a default payment method, use the configuration below.
settings = {
...,
customization: {
...,
visual: {
...,
defaultPaymentOption: {
walletForm: true,
// creditCardForm: true,
// debitCardForm: true,
// savedCardForm: 'card id sent in the initialization',
// ticketForm: true,
},
},
}
}
const customization = {
visual: {
defaultPaymentOption: {
walletForm: true,
// creditCardForm: true,
// debitCardForm: true,
// savedCardForm: 'card id sent in the initialization',
// ticketForm: true,
},
}
};