MolliePluginOptions
Configuration options for the Mollie payments plugin.
vendureHost
stringThe host of your Vendure server, e.g. 'https://my-vendure.io'.
This is used by Mollie to send webhook events to the Vendure server
enabledPaymentMethodsParams
( injector: Injector, ctx: RequestContext, order: Order | null, ) => AdditionalEnabledPaymentMethodsParams | Promise<AdditionalEnabledPaymentMethodsParams>v2.2.0Provide additional parameters to the Mollie enabled payment methods API call. By default,
the plugin will already pass the resource parameter.
For example, if you want to provide a locale and billingCountry for the API call, you can do so like this:
Note: The order argument is possibly null, this could happen when you fetch the available payment methods
before the order is created.
Example
immediateCapture
booleanImmediate capture mode for pay-later methods like Klarna.
Setting this option will make the plugin ignore the immediateCapture option in the createMolliePaymentIntent mutation.
The default is true, unless set otherwise as input in the createMolliePaymentIntent mutation.
disableWebhookProcessing
booleanv3.6.0Disable the processing of incoming Mollie webhooks.
Handle with care! This will keep orders in 'AddingItems' state if you don't manually process the Mollie payments via the syncMolliePaymentStatus mutation.