Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/3.0.8 #531

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading