diff --git a/src/MercadoPago/Entities/OAuth.php b/src/MercadoPago/Entities/OAuth.php index ace021d1..f32fe5f2 100644 --- a/src/MercadoPago/Entities/OAuth.php +++ b/src/MercadoPago/Entities/OAuth.php @@ -106,7 +106,7 @@ class OAuth extends Entity */ public function getAuthorizationURL($app_id, $redirect_uri){ $county_id = strtolower(SDK::getCountryId()); - return "https://auth.mercadopago.com.${county_id}/authorization?client_id=${app_id}&response_type=code&platform_id=mp&redirect_uri=${redirect_uri}"; + return "https://auth.mercadopago.com.{$county_id}/authorization?client_id={$app_id}&response_type=code&platform_id=mp&redirect_uri={$redirect_uri}"; } diff --git a/src/MercadoPago/Entity.php b/src/MercadoPago/Entity.php index fd85923d..465c4638 100755 --- a/src/MercadoPago/Entity.php +++ b/src/MercadoPago/Entity.php @@ -7,6 +7,7 @@ * * @package MercadoPago */ +#[\AllowDynamicProperties] abstract class Entity { /**