You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
Hi I am new to this API. I quickly setup up your example for international delivery without duty but I am getting Call to a member function isSuccessful() on boolean
Any ideas?
I am using it with PHP 7.2 with Laravel 7.11.0 on Windows 10 Xampp.
Edit:
I should also say that my endpooint from DHL is https://express.api.dhl.com/mydhlapi/test/ instead of https://wsbexpress.dhl.com/rest/sndpt/ and the docs refers to shipment instead of ShipmentRequest as in your vendor file https://github.com/alex-LE/dhl-express-php-sdk/blob/master/src/ShipmentRequest.php
I have tried both yours and my endpoint with both shipment and ShipmentRequest
i left the company i build this for a few months ago. Unfortunately i don't have any environment to test anything.
I build this SDK for v1.1 of the MYDHL API.
Is there a newer version? As you url is different, it looks like they changed something.
When you use my endpoint, the credentials seems to be wrong.
I'm not sure if there is a new version as I have only just been given access to the api. It's still in private invitation only. I was sent a copy of their own SDK but alas it was a year old! I've tried to get access to the repo from my representitive, but not had any luck so far. I guess until is becomes public we'll have to code it our selves.
Edit: I just checked the version and we are apparently still on DHL EXPRESS - MYDHL API v 1.1.0
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi I am new to this API. I quickly setup up your example for international delivery without duty but I am getting
Call to a member function isSuccessful() on boolean
Any ideas?
I am using it with PHP 7.2 with Laravel 7.11.0 on Windows 10 Xampp.
Edit:
I should also say that my endpooint from DHL is
https://express.api.dhl.com/mydhlapi/test/
instead ofhttps://wsbexpress.dhl.com/rest/sndpt/
and the docs refers toshipment
instead ofShipmentRequest
as in your vendor filehttps://github.com/alex-LE/dhl-express-php-sdk/blob/master/src/ShipmentRequest.php
I have tried both yours and my endpoint with both
shipment
andShipmentRequest
with your endpoint
https://wsbexpress.dhl.com/rest/sndpt/ShipmentRequest
with my endpoint
https://express.api.dhl.com/mydhlapi/test/ShipmentRequest
with my endpoint
https://express.api.dhl.com/mydhlapi/test/shipments
from here https://developer.dhl.com/api-reference/dhl-express-mydhl-api#reference-docs-section%create-shipment
The text was updated successfully, but these errors were encountered: