UNPKG

@mirahi/vendure-adyen-dropin-plugin

Version:

A Vendure plugin to integrate the Adyen payment provider to your server. This plugin only handles the flow for a drop-in integration on your storefront.

31 lines (30 loc) 1.23 kB
export declare class AdyenPlugin { static options: AdyenPluginOptions; /** * @description * Initialize the Adyen payment plugin. * @param environment Either 'LIVE' or 'TEST' (default: 'TEST') * @param basicAuthCredendials.username (Optional) Username for Basic Auth of the Adyen webhook * @param basicAuthCredendials.password (Optional) Password for Basic Auth of the Adyen webhook * @param hmacKey (Optional) HMAC key for validating the webhook signature * @param paymentMethodCode (Optional) The unique code you use for this payment method (default: "payment-adyen") */ static init(options?: AdyenPluginOptions): typeof AdyenPlugin; } export declare type AdyenPluginOptions = { /** Either 'LIVE' or 'TEST' (default: 'TEST') */ environment?: "LIVE" | "TEST"; /** (Optional) Credentials for Basic Auth of the Adyen webhook. */ basicAuthCredendials?: { username: string; password: string; }; /** (Optional) HMAC key for validating the webhook signature. */ hmacKey?: string; paymentMethodCode?: string; }; declare module "@vendure/core" { interface CustomOrderFields { adyenPluginPaymentMethodCode?: string; } }