JS API Reference

Interface: PaymentServiceEvents

payment/service.PaymentServiceEvents

Table of contents

Properties

Properties

error

error: (err: Error) => void

Triggered when the service encounters an issue in an "asynchronous sub-process" (like accepting payments) that should be notified to the caller

Param

The error raised during an asynchronous process executed by the PaymentService

Type declaration

▸ (err): void

Triggered when the service encounters an issue in an "asynchronous sub-process" (like accepting payments) that should be notified to the caller

Parameters
NameTypeDescription
errErrorThe error raised during an asynchronous process executed by the PaymentService
Returns

void

Defined in

src/payment/service.ts:19