laravel5-woocommerce-api-client
laravel5-woocommerce-api-client copied to clipboard
Laravel 5 wrapper for the Woocommerce REST API
_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...
In some cases the webserver only return lowercase headers which leads to an error being thrown when the pagination tries to index the array with headers. This adds methods to...
Hi, How can I get the validation response with 422 http code if the validation is not correct while making post request. Example: `$data = [ 'email' => 'john.doecom', //incorrect...
Hi, how update variants? $fields = [ 'regular_price' => '100' ]; $method = 'products/'.$productId.'/variations/'.$variationId; $response = Woocommerce::put($method, $fields); $productId is a parent_id $variationId is a id of variant $params =...
local.ERROR: Syntax error {"exception":"[object] (Automattic\\WooCommerce\\HttpClient\\HttpClientException(code: 404): Syntax error at / var/www/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php:346) [stacktrace] #0 /var/www/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php(385): Automattic\\WooCommerce\\HttpClient\\HttpClient->processResponse() #1 /var/www/vendor/automattic/woocommerce/src/WooCommerce/Client.php(82): Automattic\\WooCommerce\\HttpClient\\HttpClient->request('products/attrib...', 'GET' , Array, Array) #2 /var/www/vendor/pixelpeter/laravel5-woocommerce-api-client/src/WoocommerceClient.php(58): Automattic\\WooCommerce\\Client->get('products/attrib...', Array)#3 /var/www/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Pixelpeter\\Woocommerce\\WoocommerceClient->get('products/attrib...') #4 /var/www/app/Console/Commands/ConnWoo.php(42):...
How to use multiple APIs of multiple websites in a project ? Help me!
Hi friends. I want to fetch all orders and put them in array but this code returns : Undefined index: X-WP-TotalPages ``` $params = [ 'per_page' => 100, 'page' =>...
Updates the requirements on [satooshi/php-coveralls](https://github.com/php-coveralls/php-coveralls) to permit the latest version. Release notes *Sourced from [satooshi/php-coveralls's releases](https://github.com/php-coveralls/php-coveralls/releases).* > ## v2.2.0 > ### Enhancement > > - [#269](https://github-redirect.dependabot.com/php-coveralls/php-coveralls/pull/269) Add possibility to change...
Hi friends. I just want to know if there's a way to save the order to the database once an order passed on woocomerce . Regards
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. Changelog *Sourced from [phpunit/phpunit's changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-8.3.md).* > ## [8.3.3] - 2019-08-03 > > ### Fixed > > * Fixed [#3781](https://github-redirect.dependabot.com/sebastianbergmann/phpunit/pull/3781): `MockBuilder::addMethods()`...