Skip to content

[Bug]: Invalid Live URL generated for possdk session request #759

@hammat

Description

@hammat

Description

The setup for Live environment creates a wrong URL.

Steps to reproduce

Hi,

We are using the v19 tag; the code is the same on the latest tag.

Make a call to \Adyen\Service\PosMobileApi::createCommunicationSession using the Live environment.

Actual behavior

The PosMobileService is building an invalid live URL: https://{prefix}.adyenpayments.com/checkout/checkout/possdk/v68/sessions.

=> double mention of checkout in the path.

Expected behavior

The URL for the Live environment should be https://{prefix}.adyenpayments.com/checkout/possdk/v68/sessions as stated in the documentation.

Code snippet or screenshots (if applicable)

No response

Adyen PHP API Library version

19

PHP version

8.3

Operating System

Linux

Additional context

The dotnet package had the same behavior here: Adyen/adyen-dotnet-api-library#1041

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