From e14138f1d8c88f42d4f6750ab9c4a86a31ef6b2f Mon Sep 17 00:00:00 2001 From: Sujip Thapa Date: Mon, 2 Jan 2017 17:08:49 +0545 Subject: [PATCH] guzzle 5.* --- README.md | 2 +- composer.json | 2 +- src/Service/HttpService.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7751ec9..fa5c4c7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **PayPal Instant Payment Notification Listener driver for PHP** -[![StyleCI](https://styleci.io/repos/77810461/shield?branch=master)](https://styleci.io/repos/77810461) +[![StyleCI](https://styleci.io/repos/77828329/shield?branch=master)](https://styleci.io/repos/77828329) [![Build Status](https://travis-ci.org/sudiptpa/paypal-ipn.svg?branch=master)](https://travis-ci.org/sudiptpa/paypal-ipn) [![Latest Stable Version](https://poser.pugx.org/sudiptpa/paypal-ipn/v/stable)](https://packagist.org/packages/sudiptpa/paypal-ipn) [![Total Downloads](https://poser.pugx.org/sudiptpa/paypal-ipn/downloads)](https://packagist.org/packages/sudiptpa/paypal-ipn) diff --git a/composer.json b/composer.json index 68f9afd..e038099 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require":{ "php": ">=5.5", - "guzzlehttp/guzzle":"6.*", + "guzzlehttp/guzzle":"5.*", "symfony/event-dispatcher":"~2.0|~3.0" }, "require-dev":{ diff --git a/src/Service/HttpService.php b/src/Service/HttpService.php index 7a41a9e..8bd97e0 100644 --- a/src/Service/HttpService.php +++ b/src/Service/HttpService.php @@ -44,7 +44,7 @@ public function verifyIpnMessage(IPNMessage $message) try { $response = $this->httpClient->post( $this->serviceEndpoint, - ['form_params' => $requestBody] + ['body' => $requestBody] ); } catch (Exception $e) { throw new ServiceException($e->getMessage());