vendure-plugin-nowpayments
Version:
A cryptocurrency payment gateway plugin for Vendure that integrates with NOWPayments.io, enabling your store to accept payments in Bitcoin, Ethereum, and 100+ other cryptocurrencies.
17 lines • 986 B
TypeScript
import { Response } from 'express';
import { RequestContextService, OrderService, PaymentMethodService, ChannelService, TransactionalConnection } from '@vendure/core';
import type { Request } from 'express';
import { NOWPaymentsService } from './nowpayments.service';
import { NOWPaymentsIPNData } from './types';
export declare class NOWPaymentsController {
private nowPaymentsService;
private requestContextService;
private orderService;
private paymentMethodService;
private channelService;
private connection;
constructor(nowPaymentsService: NOWPaymentsService, requestContextService: RequestContextService, orderService: OrderService, paymentMethodService: PaymentMethodService, channelService: ChannelService, connection: TransactionalConnection);
handleIpn(body: NOWPaymentsIPNData, signature: string | undefined, request: Request, res: Response): Promise<void>;
private getPaymentMethod;
}
//# sourceMappingURL=nowpayments.controller.d.ts.map