Skip to content

Commit

Permalink
Merge pull request #503 from mercadopago/enhancement/update-merchant-…
Browse files Browse the repository at this point in the history
…order-response

Update Merchant Order response
  • Loading branch information
rhames07 committed Mar 13, 2024
2 parents 869313f + 7061270 commit 119acdf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/MercadoPago/MercadoPagoConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
3 changes: 3 additions & 0 deletions src/MercadoPago/Resources/MerchantOrder/Payer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ class Payer

/** Payer nickname. */
public ?string $nickname;

/** Payer email. */
public ?string $email;
}
5 changes: 4 additions & 1 deletion src/MercadoPago/Resources/MerchantOrder/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 119acdf

Please sign in to comment.