Skip to content

net\authorize\api\contract\v1\CreateCustomerProfileFromTransactionResponse does not exist #423

Closed
@efitz16

Description

@efitz16

The file lib/net/authorize/api/controller/CreateCustomerProfileFromTransactionController.php uses the response type net\authorize\api\contract\v1\CreateCustomerProfileFromTransactionResponse, but a corresponding file does not exist in lib/net/authorize/api/contract/v1.

Changing the line $responseType = 'net\authorize\api\contract\v1\CreateCustomerProfileFromTransactionResponse'; to $responseType = 'net\authorize\api\contract\v1\CreateCustomerProfileResponse'; fixes the issue. I cannot submit a pull request for this file according to your contributors's guide.

I found this error by trying to implement the code found in your sample code. $controller = new AnetController\CreateCustomerProfileFromTransactionController($request); throws an error: Fatal error: Class 'net\authorize\api\contract\v1\CreateCustomerProfileFromTransactionResponse' not found. This was previously discussed in a closed issue.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions