dansmaculotte / colissimo-php

PHP SDK for Colissimo Web Services
MIT License
4 stars 6 forks source link

Is generateLabel method soon to be implemented ? #2

Open JeremyDulon opened 5 years ago

JeremyDulon commented 5 years ago

Hey !

I was surfing through colissimo solutions on github and I was wondering if the generatedLabel method of your project would be implemented soon ?

Best Regards, Lykaos

gaelreyrol commented 5 years ago

Hi @JeremyDulon,

The method is actually partially implemented because I didn't had the occasion to use it in a real example that could allow to me correctly implement it.

However I can push it into an other branch so you can play with it !

JeremyDulon commented 5 years ago

Thanks for your reply,

I would love that !

gaelreyrol commented 5 years ago

Oups I thought I didn't published it but I did, it is just not documented !

JeremyDulon commented 5 years ago

Does it work though ? There's a bit of comments in the code but I was a bit troubled by the types of paramters for the fonction (They're declared as string, and labelled with ToDo, so I thought it wasn't done yet)

gaelreyrol commented 5 years ago

Well you are right, don't look at the phpdocs for now. I think the method might work but you have to provide the right arguments to it.

Refer to Colissimo Documentation here.

gaelreyrol commented 5 years ago

@JeremyDulon Did you succeed to use the method ?

JeremyDulon commented 5 years ago

@Zevran Actually I was about to get in touch with you because I'm getting a weird "Fault occurred while processing", with no clue about why it's not working. I've been working for 3 hours on it with no success. Any idea ?

The error comes from zend-soap Client class at line 1170.

gaelreyrol commented 5 years ago

I tried today and got the same result, I need to go deeper and eventually to check the rest api if it is working.

JeremyDulon commented 5 years ago

Hey ! Did you find any kind of a clue ?

gaelreyrol commented 5 years ago

Not at all, I didn't had the time to go deeper I am sorry :(

JeremyDulon commented 5 years ago

Hey !

Did you have time go into this ? I will be trying to work on this in a while, so I'm checking if there's something new that I could rely on the move forward.

gaelreyrol commented 5 years ago

Oups I missed your comment. I still didn't had the time to explore. Maybe you can try with the Rest API instead of the Soap Interface ?

VincentDugard commented 4 years ago

Hello,

I will need to use the postage service soon, do you have a work in progress somewhere that I can use ? I saw that you don't have implemented this service yet with REST interface.

gaelreyrol commented 4 years ago

Hi @Adrillex, I am sorry but we didn't had the use-case internally so there is nothing going on this subject.