AfterShip / aftership-sdk-php

The PHP SDK of AfterShip API
65 stars 46 forks source link

create tracking with slugs in array #39

Closed booni3 closed 7 years ago

booni3 commented 7 years ago

I am having some issues submitting a list of potential slugs in an array format (submitting just a single one works fine).

using,

$trackings->create($tracknum, $params); and $params['slug'] = array('dpd, 'dpd-uk');

I am getting is a 4012 / Cannot detect courier. Activate courier at https://secure.aftership.com/settings/courier

I can submit a single tracker and it accepts it so I know the courier has been activated. Is the syntax wrong or am I using this incorrectly?

hans-lizihan commented 7 years ago

hi @lambooni, i have checked the code and i think the array of slug has been sent to api. could you please kindly send your username to my email (hans@aftership.com)? i will try to follow up~

hans-lizihan commented 7 years ago

closing this, it's an API issue that is being resolved, not the sdk issue.