Skip to content

Transaction ID not being returned by deliver method #16

Description

@deanlaw

Laravel 12, php 8.4.19, guzzlehttp 7.12.1. Deliver method works, and the fax is deliverd, but the transaction id is null, so there is no way to track the status.

$client = new Interfax\Client(['username' => '...', 'password' => '...']);
$fax = $client->deliver([
    'faxNumber' => '+442086090368',
    'file' => __DIR__ . '/../tests/Interfax/test.pdf'
]);

$transactionId = $fax->id; 

The $transactionId value is null. It appears that the returned Location Header is not being properly parsed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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