diff --git a/composer.json b/composer.json index fe58039..fd402d6 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "buckaroo/laravel", "description": "Laravel Wrapper package for Buckaroo Payments Gateway", "license": "MIT", - "version": "2.0.0", + "version": "2.0.1", "authors": [ { "name": "Buckaroo", diff --git a/src/Http/Requests/ReplyHandlerRequest.php b/src/Http/Requests/ReplyHandlerRequest.php index 6f5a6ef..d535ce1 100644 --- a/src/Http/Requests/ReplyHandlerRequest.php +++ b/src/Http/Requests/ReplyHandlerRequest.php @@ -30,7 +30,7 @@ public function authorize(): bool protected function validateBody() { return Buckaroo::api()->validateBody( - (!empty($_POST)) ? $_POST : $this->getContent(), + $this->all(), $this->header('Authorization') ?? '', route('buckaroo.push') );