You can set additional configuration on the Drop-in configuration.
Configuration parameters
Parameter name | Description |
---|---|
shopperInformation |
Prefilled shopper information. |
localizationParameters |
Localization parameters, like custom placeholders in other languages. |
allowsSkippingPaymentList |
If you support only one non-instant payment method, set to true to disable showing the list of payment methods in the app view. Default: false. |
allowPreselectedPaymentView |
Show the preselected stored payment method in the app view. Default: true. |
The following example shows how to set an optional configuration parameter:
let dropInConfiguration = DropInComponent.Configuration(adyenContext: adyenContext)
//Optional configuration to disable showing the preselected stored payment method.
dropInConfiguration.allowsSkippingPaymentList = true
Methods
These additional methods are required for additional use cases of Drop-in.
Method name | Description |
---|---|
didSubmit |
Make a /payments request. |
handlerForPayments |
Returns a handler to make a payments request. |
didProvide |
Make a /payments/details request. |
handlerForAdditionalDetails |
Returns a handler to make a request to submit additional details. |