JeremyDunn / php-fedex-api-wrapper

This library provides a fluid interface for constructing requests to the FedEx web service API.
269 stars 184 forks source link

upload-documents.php example issue #120

Closed jakovec closed 2 years ago

jakovec commented 5 years ago

When setting DocumentContent on UploadDocumentsRequest() there is no need (orherwise FedEx will receive damaged document content) to base64_encode the file content as it is encoded somewhere else in the code (or on FedEx request reception).

Not sure where this happens but after comparing requests log with FedEx specialist on the phone we've found out that only NOT base64 encoded documentContent in my script will be decoded fine on FedEx side.

JeremyDunn commented 4 years ago

@jakovec Please submit a pull request for the fix you described.

Destronom commented 3 years ago

@jakovec I also had the same problem, in the examples there is no need to base64_encode the file content

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.