Skip to content

[Bug]: Unable to verify address using carrier "ups" in version 7.4 of SDK #386

@sfriel

Description

@sfriel

Software Version

7.4

Language Version

8.0.20

Operating System

aws linux

What happened?

Unable to use "verify_carrier" for address validation in this version.

Any chance you could port the fix you introduced in subsequent versions to 7.4?

from: https://github.com/EasyPost/easypost-php/blob/master/lib/EasyPost/Service/AddressService.php
if (isset($params['verify_carrier'])) {
$verifyCarrier = $params['verify_carrier'];
unset($params['verify_carrier']);
$wrappedParams['verify_carrier'] = $verifyCarrier;
}

What was expected?

Expected that the verify_carrier param would be correctly sent to the api endpoint

Sample Code

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssue is being researched

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions