highsidelabs / walmart-api-php

PHP SDK for Walmart's Marketplace Partner, Content Provider, and 1P Supplier APIs.
https://highsidelabs.co
BSD 3-Clause "New" or "Revised" License
25 stars 21 forks source link

ClientID and ClientSecret #3

Closed loveisbluenova closed 1 year ago

loveisbluenova commented 1 year ago

ClientID and ClientSecret are not exist in Walmart CA. I can get only consumerID and privateKey. How can use this package without ClientID and ClientSecret?

jlevers commented 1 year ago

Thanks for surfacing this issue. I don't have credentials outside the US, so I didn't realize that other marketplaces don't use the client ID or client secret at all. I've fixed this issue in v0.4.0 by moving those values from required Configuration constructor parameters to optional keys to the $options array passed to the constructor. Note that the $options array is now the only parameter to the Configuration constructor.