skip to Main Content

Paypal api – PayPal Orders v2: Request is not well-formed, syntactically incorrect, or violates schema

I am trying to use PayPal API. Here is the reference of Curl usage: https://developer.paypal.com/docs/api/orders/v2/ After searching in google, I found a link that shows a similar error: but, no hints given to fix it. https://www.paypal-community.com/t5/REST-APIs/Request-is-not-well-formed-syntactically-incorrect-or-violates/td-p/2090480 I have following code…

VIEW QUESTION

Use Laravel 7 HTTP client and OAuth Subscriber – Twitter API

I'm actually using Guzzle and Guzzle OAuth Subscriber https://github.com/guzzle/oauth-subscriber to post a tweet via the Twitter api. My code looks like this : $stack = HandlerStack::create(); $middleware = new Oauth1([ 'consumer_key' => config('services.twitter.client_id'), 'consumer_secret' => config('services.twitter.client_secret'), 'token' => $this->user->twitter->token, 'token_secret'…

VIEW QUESTION

IDN conversion failed – Shopify

I built a system with laravel-admin and guzzle. I send api requests to Shopify with Guzzle and everything works fine on my local environment. However, when I try to create a product in production , it gives me this error.…

VIEW QUESTION

GuzzleHttp and Memcached key

I'm playing around with the GuzzleHttp client, GuzzleCacheMiddleware and Memcached. The setup is calling the same url with different parameters. This results in one! memcached hit, so I think the memcached key is created from the url and only the…

VIEW QUESTION

Shopify api variant option title set on a post

According to the Shopify documentation you can post a product variant like so: "variant" => [ "title" => "Guzman", "price" => "44.90", "sku" => "160011", "position" => 1, "inventory_policy" => "continue", "compare_at_price" => null, "fulfillment_service" => "manual", "inventory_management" => "shopify",…

VIEW QUESTION

magento 1.9 library guzzlehttp

I have a problem with Magento 1.9 when I attach the guzzlehttp library to a call: $this->client = new GuzzleHttpClient (); return Mage::log($this->client); I am getting: Warning: include(): Failed opening 'GuzzleHttpClient.php' for inclusion (include_path='...') in /../lib/Varien/Autoload.php on line 94. Any…

VIEW QUESTION
Back To Top
Search