shipping
shipping copied to clipboard
PHP shipping API library (USPS, UPS, and FedEx)
fixed: cost should be decimal not an integer
Can you share a working example of live StubFedex returning realtime data from Fedex API My code sample ``` require_once('vendor/autoload.php'); use pdt256\Shipping\Fedex; use pdt256\Shipping\RateRequest; use pdt256\Shipping\Shipment; use pdt256\Shipping\Package; $shipment =...
I am getting the error as below ``` pdt256\Shipping\RateRequest\RequestException: Operation timed out after 1000 milliseconds with 0 out of 0 bytes received in file ``` I feel it may be...
When the shipping provider's api fails to return a response or returns an empty string, the DOMDocument is throwing a warning and I am unable to catch this in my...
Just want to suggest using that library to do the assertions/validations of input instead of creating your own. If you are interested, I might be able to do a PR...
Convert the following request to use value objects. ``` php $ups = new UPS\Rate([ 'prod' => FALSE, 'accessKey' => 'XXXX', 'userId' => 'XXXX', 'password' => 'XXXX', 'shipperNumber' => 'XXXX', 'shipment'...