Skip to content

Commit

Permalink
Merge pull request #531 from mercadopago/release/3.0.8
Browse files Browse the repository at this point in the history
Release/3.0.8
  • Loading branch information
andreagostinho-meli authored Sep 3, 2024
2 parents 3c23029 + 7d6c60a commit b03c3c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 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.7"
composer require "mercadopago/dx-php:3.0.8"
```

> 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 Expand Up @@ -132,7 +132,9 @@ $request = [
]
];
```

### Step 5: Create the request options, setting X-Idempotency-Key

```php
$request_options = new RequestOptions();
$request_options->setCustomHeaders(["X-Idempotency-Key: <SOME_UNIQUE_VALUE>"]);
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.7";
public static string $CURRENT_VERSION = "3.0.8";

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

0 comments on commit b03c3c7

Please sign in to comment.