Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Looking for /ssl folder that does not exist now that class is in /deprecated/shared folder #340

@loriemoffitt

Description

@loriemoffitt

When I updated from version 1.9.7 to version 1.9.8 my AuthorizeNet unit tests started failing. After tracing the code I found the problem to be with the fact that some classes were now deprecated and in the /deprecated/shared folder. The AuthorizeNetRequest.php class has the following line:

curl_setopt($curl_request, CURLOPT_CAINFO, dirname(dirname(__FILE__)) . '/ssl/cert.pem');

but reference to the /ssl folder causes curl_execute to throw an exception because the /ssl folder does not exist in the new /deprecated folder. Moving the /ssl folder to the /deprecated folder solved the problem and allowed the tests to complete successfully.

curl_setopt($curl_request, CURLOPT_CAINFO, dirname(dirname(__FILE__)) . '/ssl/cert.pem');

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-prIssue has a PR associated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions