From 5b5a72e4ef77ad1c159476744f6d7d9db902f271 Mon Sep 17 00:00:00 2001 From: Mark Seah Shao Cheng Date: Mon, 9 Dec 2024 20:42:43 +0800 Subject: [PATCH] Update Client.php (#716) * Update Client.php Include APSE LIVE ENDPOINT for cloud terminal integration as per Adyen documentation. https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/#live-endpoints * Update Region.php include APSE constant in region --- src/Adyen/Client.php | 1 + src/Adyen/Region.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Adyen/Client.php b/src/Adyen/Client.php index 108020e1f..4971f358b 100644 --- a/src/Adyen/Client.php +++ b/src/Adyen/Client.php @@ -30,6 +30,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_TERMINAL_CLOUD_APSE_LIVE = "https://terminal-api-live-apse.adyen.com"; const ENDPOINT_CHECKOUT_TEST = "https://checkout-test.adyen.com"; const ENDPOINT_CHECKOUT_LIVE_SUFFIX = "-checkout-live.adyenpayments.com/checkout"; const ENDPOINT_PROTOCOL = "https://"; diff --git a/src/Adyen/Region.php b/src/Adyen/Region.php index d70b5ea43..514ade420 100644 --- a/src/Adyen/Region.php +++ b/src/Adyen/Region.php @@ -20,5 +20,6 @@ class Region self::EU => Client::ENDPOINT_TERMINAL_CLOUD_LIVE, self::US => Client::ENDPOINT_TERMINAL_CLOUD_US_LIVE, self::AU => Client::ENDPOINT_TERMINAL_CLOUD_AU_LIVE, + self::APSE => Client::ENDPOINT_TERMINAL_CLOUD_APSE_LIVE, ]; }