From ae37e5d78d686b0f11a03c71a21fa14154cdadd3 Mon Sep 17 00:00:00 2001 From: Charles FOURNIER Date: Fri, 19 Aug 2022 13:17:24 +0200 Subject: [PATCH 1/2] Bugfix CreateCustomerProfileFromTransactionResponse does not exist --- .../CreateCustomerProfileFromTransactionController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php b/lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php index 76fc7538..d3f61328 100644 --- a/lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php +++ b/lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php @@ -8,7 +8,7 @@ class CreateCustomerProfileFromTransactionController extends ApiOperationBase { public function __construct(AnetApiRequestType $request) { - $responseType = 'net\authorize\api\contract\v1\CreateCustomerProfileFromTransactionResponse'; + $responseType = 'net\authorize\api\contract\v1\CreateCustomerPaymentProfileResponse'; parent::__construct($request, $responseType); } @@ -18,4 +18,4 @@ protected function validateRequest() //validate non-required fields of $this->apiRequest-> } -} \ No newline at end of file +} From eb40e6f7338ab2e2c5cd3992aeab4bfd4630a80e Mon Sep 17 00:00:00 2001 From: Charles FOURNIER Date: Fri, 19 Aug 2022 17:52:36 +0200 Subject: [PATCH 2/2] BugFix --- .../CreateCustomerProfileFromTransactionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php b/lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php index d3f61328..f0b51ac0 100644 --- a/lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php +++ b/lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php @@ -8,7 +8,7 @@ class CreateCustomerProfileFromTransactionController extends ApiOperationBase { public function __construct(AnetApiRequestType $request) { - $responseType = 'net\authorize\api\contract\v1\CreateCustomerPaymentProfileResponse'; + $responseType = 'net\authorize\api\contract\v1\CreateCustomerProfileResponse'; parent::__construct($request, $responseType); }