From d44b0c4f3236f269b9b87a2b34e114d7973e6613 Mon Sep 17 00:00:00 2001 From: Mai Ngo Date: Mon, 23 Jun 2025 13:21:07 -0400 Subject: [PATCH 1/2] RG-5478 Added new GW request params and reason code for Apple Pay Support --- src/GatewayChecksum.php | 4 ++-- src/GatewayCodes.php | 1 + src/GatewayRequest.php | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/GatewayChecksum.php b/src/GatewayChecksum.php index ae7393e..b9a4675 100644 --- a/src/GatewayChecksum.php +++ b/src/GatewayChecksum.php @@ -10,9 +10,9 @@ class GatewayChecksum { - private const VERSION = "P8.24"; + private const VERSION = "P8.25"; public static $checksum = ""; - public static $baseChecksum = "4083159b0e3c9517259dedcf545fe851"; + public static $baseChecksum = "446aab8088c4921c707137b52e6db646"; public static $versionNo = GatewayChecksum::VERSION; ////////////////////////////////////////////////////////////////////// diff --git a/src/GatewayCodes.php b/src/GatewayCodes.php index 40e905e..d2b0da5 100644 --- a/src/GatewayCodes.php +++ b/src/GatewayCodes.php @@ -220,4 +220,5 @@ class GatewayCodes { const REASON_MISSING_CUSTOMER_PHONE = 467; const REASON_INVALID_CUSTOMER_IP = 468; const REASON_MISSING_CUSTOMER_IP = 469; + const REASON_INVALID_APPLE_PAY_TOKEN = 471; } diff --git a/src/GatewayRequest.php b/src/GatewayRequest.php index f23ead6..beecb91 100644 --- a/src/GatewayRequest.php +++ b/src/GatewayRequest.php @@ -770,6 +770,11 @@ static function GOOGLE_PAY_TOKEN() return "GOOGLEPAYTOKEN"; } + static function APPLE_PAY_TOKEN() + { + return "APPLEPAYTOKEN"; + } + static function LANGUAGE() { return "LANGUAGE"; From 8d65102bee00aee055576839ad4f018c21a619fd Mon Sep 17 00:00:00 2001 From: Mai Ngo Date: Wed, 25 Jun 2025 13:24:09 -0400 Subject: [PATCH 2/2] RG-5478 Added new GW request params and reason code for Apple Pay Support --- src/GatewayChecksum.php | 4 ++-- src/GatewayCodes.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GatewayChecksum.php b/src/GatewayChecksum.php index 99821c2..c936a62 100644 --- a/src/GatewayChecksum.php +++ b/src/GatewayChecksum.php @@ -10,9 +10,9 @@ class GatewayChecksum { - private const VERSION = "P8.25"; + private const VERSION = "P8.26"; public static $checksum = ""; - public static $baseChecksum = "ebc10b96a0e6018ddb8ab1300cb28f4c"; + public static $baseChecksum = "300c1a6729e583d5ece26c4d29cbddac"; public static $versionNo = GatewayChecksum::VERSION; ////////////////////////////////////////////////////////////////////// diff --git a/src/GatewayCodes.php b/src/GatewayCodes.php index 6d7068a..04301f3 100644 --- a/src/GatewayCodes.php +++ b/src/GatewayCodes.php @@ -221,5 +221,5 @@ class GatewayCodes { const REASON_MISSING_CUSTOMER_PHONE = 467; const REASON_INVALID_CUSTOMER_IP = 468; const REASON_MISSING_CUSTOMER_IP = 469; - const REASON_INVALID_APPLE_PAY_TOKEN = 471; + const REASON_INVALID_APPLE_PAY_TOKEN = 470; }