diff --git a/README.md b/README.md index 775b3118..ff6d1fa2 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.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. @@ -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: "]); diff --git a/src/MercadoPago/MercadoPagoConfig.php b/src/MercadoPago/MercadoPagoConfig.php index 545313f9..d1064736 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.7"; + public static string $CURRENT_VERSION = "3.0.8"; /** @var string Mercado Pago Base URL */ public static string $BASE_URL = "https://api.mercadopago.com";