From 7d6c60a123452cb8e82b1ce884e0fbad513d8753 Mon Sep 17 00:00:00 2001 From: andreagostinho-meli Date: Mon, 2 Sep 2024 17:47:46 -0300 Subject: [PATCH] bump sdk version to 3.0.8 --- README.md | 4 +++- src/MercadoPago/MercadoPagoConfig.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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";