Skip to content

[Bug]: getResultOfPaymentSession parameters are mandatory #1479

@gcatanese

Description

@gcatanese

Description

The parameters of getResultOfPaymentSession are optional, however the OpenAPI specification indicates that they are mandatory

Steps to reproduce

See PR #1475 for the details

Actual behavior

Method signature is

public async getResultOfPaymentSession(sessionId: string, sessionResult?: string, requestOptions?: IRequest.Options): Promise<SessionResultResponse> {

Expected behavior

Method signature should be

public async getResultOfPaymentSession(sessionId: string, sessionResult: string, requestOptions?: IRequest.Options): Promise<SessionResultResponse> {

Code snippet or screenshots (if applicable)

No response

Adyen Node API Library version

v25.0.0

Node.js version

18

NPM version

No response

Operating System

macOS

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions