Skip to content

[FEATURE] Provide DisplayEvent enum (and ReferenceID enum) #1465

@naseemkullah

Description

@naseemkullah

Currently doing the following, would be nice if the SDK provided a DisplayEvent enum and optionally a ReferenceId parser.
Placing more importance on the DisplayEventEnum.

  const parsedEventParams = new URLSearchParams(
    decryptedEvent.SaleToPOIRequest?.DisplayRequest?.DisplayOutput[0]?.OutputContent?.PredefinedContent?.ReferenceID,
  );

  // https://docs.adyen.com/point-of-sale/design-your-integration/notifications/display-notifications/#display-notification-types
  parsedEventParams.get('event');

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions