Skip to content

Commit

Permalink
Update Client.php (#716)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
seahshaocheng authored Dec 9, 2024
1 parent 88b0ac7 commit 5b5a72e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Adyen/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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://";
Expand Down
1 change: 1 addition & 0 deletions src/Adyen/Region.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
}

0 comments on commit 5b5a72e

Please sign in to comment.