From 8d3f361241c49ffcffa841f1335cf74047326d0f Mon Sep 17 00:00:00 2001 From: Giorgos Adam Date: Tue, 15 Aug 2017 15:32:41 +0200 Subject: [PATCH] Use v2 endpoints for directory lookup --- src/Adyen/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Adyen/Client.php b/src/Adyen/Client.php index 5a73f3a8b..b99c143b7 100644 --- a/src/Adyen/Client.php +++ b/src/Adyen/Client.php @@ -12,8 +12,8 @@ class Client const USER_AGENT_SUFFIX = "adyen-php-api-library/"; const ENDPOINT_TEST = "https://pal-test.adyen.com"; const ENDPOINT_LIVE = "https://pal-live.adyen.com"; - const ENPOINT_TEST_DIRECTORY_LOOKUP = "https://test.adyen.com/hpp/directory.shtml"; - const ENPOINT_LIVE_DIRECTORY_LOOKUP = "https://live.adyen.com/hpp/directory.shtml"; + const ENPOINT_TEST_DIRECTORY_LOOKUP = "https://test.adyen.com/hpp/directory/v2.shtml"; + const ENPOINT_LIVE_DIRECTORY_LOOKUP = "https://live.adyen.com/hpp/directory/v2.shtml"; const API_VERSION = "v25"; /**