Comments (4)
why there is no answer :(
Maybe ETSY is not popular.
I tried with another method like
$tracking_url = 'https://openapi.etsy.com/v2/private/shops/'.$shopid.'/receipts/'.$receiptid.'/tracking'; $data = $client->oauth->fetch($tracking_url,$paramsent,OAUTH_HTTP_METHOD_POST,array('Content-Type' => 'application/x-www-form-urlencoded')); $json = $client->oauth->getLastResponse();
Above way also return the error:
object(OAuthException)#107 (9) { ["message":protected]=> string(73) "Invalid auth/bad request (got a 403, expected HTTP/1.1 20X or a redirect)" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(403) ["file":protected]=> string(57) "xxx/public_html/etsy/tracking.php" ["line":protected]=> int(75) ["trace":"Exception":private]=> array(1) { [0]=> array(6) { ["file"]=> string(57) "xxx/public_html/etsy/tracking.php" ["line"]=> int(75) ["function"]=> string(5) "fetch" ["class"]=> string(5) "OAuth" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(79) "https://openapi.etsy.com/v2/private/shops/xxxx/receipts/xxxxxxx/tracking" [1]=> array(1) { ["params"]=> array(3) { [0]=> string(0) "" [1]=> string(22) "9400110898849000577676" [2]=> string(4) "usps" } } [2]=> string(4) "POST" [3]=> array(1) { ["Content-Type"]=> string(33) "application/x-www-form-urlencoded" } } } } ["previous":"Exception":private]=> NULL ["lastResponse"]=> string(407) "oauth_problem=signature_invalid&debug_sbs=POST&https%3A%2F%2Fopenapi.etsy.com%2Fv2%2Fprivate%2Fshops%2Fxxxx%2Freceipts%2Fxxx0%2Ftracking&oauth_consumer_key%3xxxd%26oauth_nonce%3Dxxxfa52.11725177%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1501056298%26oauth_token%3D1xxx9e1ce25%26oauth_version%3D1.0%26params%3Dusps" ["debugInfo"]=> NULL }
from etsy-php.
Any Update?
from etsy-php.
@crystallove Did you manage to solve that or have another workaround?
from etsy-php.
I am also having a problem creating a product on esty, "Invalid auth / bad request (got a 400, expected HTTP / 1.1 20X or a redirect)"
I think because I run the implementation in localhost with http so I can't post the data up
from etsy-php.
Related Issues (20)
- Issues with updating inventory HOT 2
- Etsy API question HOT 2
- Time not accepted in params HOT 8
- Probleam in creatingListing HOT 5
- array(string), validation HOT 1
- Checking Permission Scopes After Authentication
- uploadListingImage leads to Exception HOT 10
- scripts/auth-setup.php throws EtsyRequestException HOT 4
- Error while OAuth process HOT 1
- Error when running PHPunit
- updateInventory() fails with no variations/combinations HOT 2
- not all params to be used are in function prepareParameters in EtsyApi.php
- OAuth configuration script - missing oauth module?! HOT 5
- submitTracking error 411 Length Required HOT 2
- Invalid auth/bad request (got a 400, expected HTTP/1.1 20X or a redirect): Array ( ) Expected param 'tracking_code'. HOT 1
- updateInventory fails with multiple values in price_on_property, quantity_on_property, and sku_on_property
- How to get access token and secret?
- The requested redirect URL is not permitted. HOT 1
- Error State is required
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 etsy-php.