diff --git a/README.md b/README.md index 382313a7..98fda723 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ First time using Mercado Pago? Create your [Mercado Pago account](https://www.me 2. Install PHP SDK for MercadoPago running in command line: ``` -composer require "mercadopago/dx-php:3.0.3" +composer require "mercadopago/dx-php:3.0.4" ``` > You can also run _composer require "mercadopago/dx-php:2.6.2"_ for PHP7.1 or _composer require "mercadopago/dx-php:1.12.6"_ for PHP5.6. diff --git a/src/MercadoPago/MercadoPagoConfig.php b/src/MercadoPago/MercadoPagoConfig.php index 0956ea18..3d43a7f7 100644 --- a/src/MercadoPago/MercadoPagoConfig.php +++ b/src/MercadoPago/MercadoPagoConfig.php @@ -10,7 +10,7 @@ class MercadoPagoConfig { /** @var string Mercado Pago SDK version. */ - public static string $CURRENT_VERSION = "3.0.3"; + public static string $CURRENT_VERSION = "3.0.4"; /** @var string Mercado Pago Base URL */ public static string $BASE_URL = "https://api.mercadopago.com"; diff --git a/src/MercadoPago/Resources/MerchantOrder/Payer.php b/src/MercadoPago/Resources/MerchantOrder/Payer.php index 516add4e..28944b6d 100644 --- a/src/MercadoPago/Resources/MerchantOrder/Payer.php +++ b/src/MercadoPago/Resources/MerchantOrder/Payer.php @@ -9,4 +9,7 @@ class Payer /** Payer nickname. */ public ?string $nickname; + + /** Payer email. */ + public ?string $email; } diff --git a/src/MercadoPago/Resources/MerchantOrder/Payment.php b/src/MercadoPago/Resources/MerchantOrder/Payment.php index 51083409..2d7e78f8 100644 --- a/src/MercadoPago/Resources/MerchantOrder/Payment.php +++ b/src/MercadoPago/Resources/MerchantOrder/Payment.php @@ -22,9 +22,12 @@ class Payment /** Payment status. */ public ?string $status; - /** Gives more detailed information on the current state or rejection cause. */ + /** @deprecated deprecated since SDK version 3.0.4. */ public ?string $status_details; + /** Gives more detailed information on the current state or rejection cause. */ + public ?string $status_detail; + /** Operation type. */ public ?string $operation_type;