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.

13 lines (12 loc) 536 B
import { AdyenService } from "./adyen.service"; import type { Notification as WebhookBody } from "@adyen/api-library/lib/src/typings/notification/models"; import type { AdyenPluginOptions } from "./adyen.plugin"; export declare class AdyenController { private adyenService; private options; private hmacValidator; constructor(adyenService: AdyenService, options: AdyenPluginOptions); webhook(basicAuthHeader: unknown, body: WebhookBody): Promise<string | void>; private isBasicAuthed; private hmacIsValid; }