Comments (3)
Yes, i confirm, this will output a green label:
$shipmentDetails = new DHL_ShipmentDetails($credentials->getEpk(10) . '5301');
while this wont create one:
$shipmentDetails = new DHL_ShipmentDetails($credentials->getEpk(10) . '5302');
But it's still a documentation problem, as on their API knowledge base the GoGreen is still inside (you need a login to view this):
https://entwickler.dhl.de/group/ep/wsapis/geschaeftskundenversand/operationen/createshipmentorder/ioreference
GoGreen is defined in this list:
from dhl-php-sdk.
I'm sorry but DHL didn't implement this right now... They just add this value to set this but it won't do anything...
You can read my Post in the DHL-Forums about this: https://entwickler.dhl.de/group/ep/foren/-/message_boards/message/3222944
The answer of my Problem was: (German)
Außerdem ist GoGreen nicht (mehr) über die API zu (de-) aktivieren. Das kann evtl. im Kundenportal eingestellt werden, oder muss vom GK-Vertrieb eingestellt werden.
Translated
You cannot en/diable GoGreen via the API (anymore). You may can set that in your Costomer Settings or you have to ask your DHL Contact Partner.
Hope that helps
from dhl-php-sdk.
My guess is that all EPKs ending with "01" create that green label, but not sure!
No, this is wrong. My company used 01 the first time and we don't get the GoGreen-Label because we don't have set this up. And we didn't get a GoGreen label even if we're using 01. But you will always get this with the DHL-Test Account, which was confusing for me in the first place...
But it's still a documentation problem, as on their API knowledge base the GoGreen is still inside (you need a login to view this):
Yeah I know the Documentation... As they say, may they implement that in later Versions that's why I also added this here. The Documentation of them is not the best to be honest^^ They should at least Note that this is unusable...
from dhl-php-sdk.
Related Issues (20)
- Remove redundant Code in BusinessShipment.php
- Unauthorized HOT 6
- validateShipment returning statuscode 1 or 0 on refresh HOT 3
- Cases with wrong weak_warning StatusCode HOT 1
- How to create a multi-package-sending? HOT 2
- Geschäftskundenversand-API 3.0 HOT 15
- Geschäftskundenversand-API 3.0 - shipmentNumber HOT 1
- labelFormat Option HOT 5
- GoGreen used in Version 3? HOT 7
- how to connect to production mode using provided credentials HOT 1
- [INFO] about "doManifest" HOT 2
- PHP Version HOT 2
- Exception in extension function java.lang.IllegalArgumentException: is not known
- Endpoints for .com? HOT 1
- returnLabel is empty HOT 5
- SECURITY_VIOLATION HOT 4
- Release of Version HOT 3
- Stuff to fix until 3.0 is fully supported HOT 1
- Encoding: object has no 'ShipmentOrder' property HOT 2
- Failure: Unauthorized HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dhl-php-sdk.