Skip to content

Commit

Permalink
Merge pull request #466 from Adyen/ITT-433-hotfix
Browse files Browse the repository at this point in the history
(Hotfix Main)[ITT-433] Fix paymentLinks endpoint URL builder
  • Loading branch information
jillingk authored Mar 30, 2023
2 parents e0d66e0 + 3ac5df3 commit bd5fb6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is the officially supported PHP library for using Adyen's APIs.

[![version](https://img.shields.io/badge/version-14.0.0-blue.svg)](https://docs.adyen.com/development-resources/libraries)
[![version](https://img.shields.io/badge/version-14.0.1-blue.svg)](https://docs.adyen.com/development-resources/libraries)

## Integration
The library supports all APIs under the following services:
Expand Down
8 changes: 4 additions & 4 deletions src/Adyen/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class Client
{
const LIB_VERSION = "14.0.0";
const LIB_VERSION = "14.0.1";
const LIB_NAME = "adyen-php-api-library";
const USER_AGENT_SUFFIX = "adyen-php-api-library/";
const ENDPOINT_TEST = "https://pal-test.adyen.com";
Expand All @@ -33,7 +33,7 @@ class Client
const ENDPOINT_TERMINAL_CLOUD_LIVE = "https://terminal-api-live.adyen.com";
const ENDPOINT_TERMINAL_CLOUD_US_LIVE = "https://terminal-api-live-us.adyen.com";
const ENDPOINT_TERMINAL_CLOUD_AU_LIVE = "https://terminal-api-live-au.adyen.com";
const ENDPOINT_CHECKOUT_TEST = "https://checkout-test.adyen.com/checkout";
const ENDPOINT_CHECKOUT_TEST = "https://checkout-test.adyen.com";
const ENDPOINT_CHECKOUT_LIVE_SUFFIX = "-checkout-live.adyenpayments.com/checkout";
const ENDPOINT_PROTOCOL = "https://";
const ENDPOINT_NOTIFICATION_TEST = "https://cal-test.adyen.com/cal/services/Notification";
Expand All @@ -48,8 +48,8 @@ class Client
const ENDPOINT_CUSTOMER_AREA_LIVE = "https://ca-live.adyen.com";
const ENDPOINT_HOP_TEST = "https://cal-test.adyen.com/cal/services/Hop";
const ENDPOINT_HOP_LIVE = "https://cal-live.adyen.com/cal/services/Hop";
const MANAGEMENT_API_TEST = "https://management-test.adyen.com/";
const MANAGEMENT_API_LIVE = "https://management-live.adyen.com/";
const MANAGEMENT_API_TEST = "https://management-test.adyen.com";
const MANAGEMENT_API_LIVE = "https://management-live.adyen.com";
const MANAGEMENT_API = "v1";

/**
Expand Down
4 changes: 1 addition & 3 deletions src/Adyen/Service/AbstractResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ public function __construct(
$this->allowApplicationInfoPOS = $allowApplicationInfoPOS;
$this->checkoutEndpoint = $service->getClient()->getConfig()->get('endpointCheckout') . '/'
. $service->getClient()->getApiCheckoutVersion();
$this->managementEndpoint = $service->getClient()->getConfig()->get('endpointManagementApi')
$this->managementEndpoint = $service->getClient()->getConfig()->get('endpointManagementApi') . '/'
. $service->getClient()->getManagementApiVersion();
$this->checkoutEndpoint = $service->getClient()->getConfig()->get('endpointCheckout')
. $service->getClient()->getApiCheckoutVersion();
}

/**
Expand Down

0 comments on commit bd5fb6b

Please sign in to comment.