Closed jakovec closed 2 years ago
@jakovec Please submit a pull request for the fix you described.
@jakovec I also had the same problem, in the examples there is no need to base64_encode the file content
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
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.