From ab68e68a79a018ecad6720d757823d1918ad3c92 Mon Sep 17 00:00:00 2001 From: Brandon Sharp Date: Tue, 17 Jan 2023 16:31:53 -0500 Subject: [PATCH] Update ChargebackRetrieval.php The slash is supplied in the getChargebackByCaseId method (Line 54), but not in the getRetrievalResponse method (Line 96). The getRetrievalResponse method works with the proposed change. --- cnp/sdk/ChargebackRetrieval.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cnp/sdk/ChargebackRetrieval.php b/cnp/sdk/ChargebackRetrieval.php index 5b8e545..ec0e9b4 100644 --- a/cnp/sdk/ChargebackRetrieval.php +++ b/cnp/sdk/ChargebackRetrieval.php @@ -93,7 +93,7 @@ public function getChargebacksbyArn($arn) private function getRetrievalResponse($parameters) { $urlSuffix = self::SERVICE_ROUTE; - $prefix = "?"; + $prefix = "/?"; foreach ($parameters as $key => $value) { $urlSuffix .= $prefix . $key . "=" . $value; $prefix = "&";