Skip to content

Commit 119acdf

Browse files
authored
Merge pull request #503 from mercadopago/enhancement/update-merchant-order-response
Update Merchant Order response
2 parents 869313f + 7061270 commit 119acdf

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ First time using Mercado Pago? Create your [Mercado Pago account](https://www.me
2121
2. Install PHP SDK for MercadoPago running in command line:
2222

2323
```
24-
composer require "mercadopago/dx-php:3.0.3"
24+
composer require "mercadopago/dx-php:3.0.4"
2525
```
2626

2727
> 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.

src/MercadoPago/MercadoPagoConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class MercadoPagoConfig
1111
{
1212
/** @var string Mercado Pago SDK version. */
13-
public static string $CURRENT_VERSION = "3.0.3";
13+
public static string $CURRENT_VERSION = "3.0.4";
1414

1515
/** @var string Mercado Pago Base URL */
1616
public static string $BASE_URL = "https://api.mercadopago.com";

src/MercadoPago/Resources/MerchantOrder/Payer.php

+3
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ class Payer
99

1010
/** Payer nickname. */
1111
public ?string $nickname;
12+
13+
/** Payer email. */
14+
public ?string $email;
1215
}

src/MercadoPago/Resources/MerchantOrder/Payment.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ class Payment
2222
/** Payment status. */
2323
public ?string $status;
2424

25-
/** Gives more detailed information on the current state or rejection cause. */
25+
/** @deprecated deprecated since SDK version 3.0.4. */
2626
public ?string $status_details;
2727

28+
/** Gives more detailed information on the current state or rejection cause. */
29+
public ?string $status_detail;
30+
2831
/** Operation type. */
2932
public ?string $operation_type;
3033

0 commit comments

Comments
 (0)