From 07c3923661093ea9390f2c82ef37b51c4e97bb86 Mon Sep 17 00:00:00 2001 From: Jeferson L Date: Mon, 1 Jul 2024 17:48:55 -0300 Subject: [PATCH 1/3] Fix:Alterada URL para rodar o request via Hub --- src/PagarmeApiSDKClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PagarmeApiSDKClient.php b/src/PagarmeApiSDKClient.php index 6075532..2694d2a 100644 --- a/src/PagarmeApiSDKClient.php +++ b/src/PagarmeApiSDKClient.php @@ -381,5 +381,5 @@ private function getGlobalErrors(): array * * @var array */ - private const ENVIRONMENT_MAP = [Environment::PRODUCTION => [Server::DEFAULT_ => 'https://api.pagar.me/core/v5']]; + private const ENVIRONMENT_MAP = [Environment::PRODUCTION => [Server::DEFAULT_ => 'https://hubapi.pagar.me/core/v5']]; } From e01900bf495b474620b06a659d942b8e40b90e9b Mon Sep 17 00:00:00 2001 From: Jeferson L Date: Tue, 2 Jul 2024 11:59:18 -0300 Subject: [PATCH 2/3] Fix:Ajuste composer.json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 177b00b..f1eda88 100644 --- a/composer.json +++ b/composer.json @@ -1,13 +1,13 @@ { - "name": "pagarme/pagarme-php-sdk", - "description": "Pagarme API", + "name": "doocacommerce/pagarmehub-php-sdk", + "description": "Fork do Projeto para utilizarmos o Hub da Pagar.me", "type": "library", "keywords": [ "PagarmeApiSDK", "API", "SDK" ], - "homepage": "https://github.com/pagarme/", + "homepage": "https://github.com/DoocaCommerce/", "license": [ "MIT" ], From f7918483ab9e6dde7e53d3898daa8fc8b761d211 Mon Sep 17 00:00:00 2001 From: Jeferson L Date: Tue, 2 Jul 2024 17:20:48 -0300 Subject: [PATCH 3/3] Fix:Altera autoload PagarmeHubApiSDKLib --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f1eda88..4685524 100644 --- a/composer.json +++ b/composer.json @@ -31,12 +31,12 @@ }, "autoload": { "psr-4": { - "PagarmeApiSDKLib\\": "src/" + "PagarmeHubApiSDKLib\\": "src/" } }, "autoload-dev": { "psr-4": { - "PagarmeApiSDKLib\\Tests\\": "tests/" + "PagarmeHubApiSDKLib\\Tests\\": "tests/" } }, "scripts": {