Reply
Member
Posts: 3
Registered: ‎04-10-2021

CreateCustomerProfileFromTransactionResponse not found

Hello, I recently update authorizenet php sdk to version 2.0.2. But when I execute the function :

 

$controller = new AnetController\CreateCustomerProfileFromTransactionController($request);
 $response = $controller->executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::PRODUCTION);
 
It is showing error class not found : CreateCustomerProfileFromTransactionResponse
 
So when i checked inside the CreateCustomerProfileFromTransactionController code, I found that it is calling : 

$responseType = 'net\authorize\api\contract\v1\CreateCustomerProfileFromTransactionResponse';
parent::__construct($request, $responseType);
 
But the class CreateCustomerProfileFromTransactionResponse is not in the path. So it seems to be a bug. Please fix this ASAP. Or please let me know if I am mistaken
 
 
Member
Posts: 3
Registered: ‎04-10-2021

Re: CreateCustomerProfileFromTransactionResponse not found

Any help???

Highlighted
Member
Posts: 2
Registered: ‎05-14-2021

Re: CreateCustomerProfileFromTransactionResponse not found

Same problem here!

Member
Posts: 1
Registered: ‎05-13-2020

Re: CreateCustomerProfileFromTransactionResponse not found

Same issue here. I posted a quick fix here on this github issue but still have not recieved a response yet there either. 

 

Someone please help!

 

https://github.com/AuthorizeNet/sdk-php/issues/105

Regular Contributor
Posts: 81
Registered: ‎05-29-2015

Re: CreateCustomerProfileFromTransactionResponse not found

[ Edited ]

I think they made a change.  The correct Response is now "createCustomerProfileResponse".  Maybe they can put a note like getTransactionListForCustomerRequest.  They seem to be combining similar calls.