@bigcommerce/checkout-sdk / MolliePaymentInitializeOptions
A set of options that are required to initialize the Mollie payment method.
Once Mollie payment is initialized, credit card form fields are provided by the payment provider as IFrames, these will be inserted into the current page. These options provide a location and styling for each of the form fields.
service.initializePayment({
methodId: 'mollie',
mollie: {
containerId: 'container',
cardNumberId: '',
cardHolderId: '',
cardCvcId: '',
cardExpiryId: '',
styles : {
base: {
color: '#fff'
}
}
}
});
• cardCvcId: string
The location to insert Mollie Component
• cardExpiryId: string
The location to insert Mollie Component
• cardHolderId: string
The location to insert Mollie Component
• cardNumberId: string
The location to insert Mollie Component
• Optional
containerId: string
ContainerId is use in Mollie for determined either its showing or not the container, because when Mollie has Vaulted Instruments it gets hide, and shows an error because can't mount Provider Components
• Optional
form: default
Hosted Form Validation Options
• styles: object
A set of styles required for the mollie components
• Optional
unsupportedMethodMessage: string
▸ disableButton(disabled
): void
Name | Type |
---|---|
disabled |
boolean |
void