From 2197a3904facb26b8dccb0ef28370424b76d9e20 Mon Sep 17 00:00:00 2001 From: Aulia Hakiem Date: Thu, 10 Dec 2020 08:49:22 +0700 Subject: [PATCH] update version --- CHANGELOG.md | 6 ++++++ Xendit/M2Invoice/Helper/ApiRequest.php | 2 +- Xendit/M2Invoice/composer.json | 2 +- Xendit/M2Invoice/etc/module.xml | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 780f2ad0..7f99715d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## 2.4.3 (2020-12-10) + +Improvements: + +- Improve callback endpoint security to check order number from source of truth + ## 2.4.2 (2020-11-23) Improvements: diff --git a/Xendit/M2Invoice/Helper/ApiRequest.php b/Xendit/M2Invoice/Helper/ApiRequest.php index fe4c4fa3..81a48605 100644 --- a/Xendit/M2Invoice/Helper/ApiRequest.php +++ b/Xendit/M2Invoice/Helper/ApiRequest.php @@ -85,7 +85,7 @@ private function getHeaders($isPublicRequest, $preferredMethod = null, $customHe 'Content-Type' => 'application/json', 'x-plugin-name' => 'MAGENTO2', 'user-agent' => 'Magento 2 Module', - 'x-plugin-version' => '2.4.2' + 'x-plugin-version' => '2.4.3' ]; if ($preferredMethod !== null) { diff --git a/Xendit/M2Invoice/composer.json b/Xendit/M2Invoice/composer.json index a2360869..7fb90e1c 100644 --- a/Xendit/M2Invoice/composer.json +++ b/Xendit/M2Invoice/composer.json @@ -2,7 +2,7 @@ "name": "xendit/m2invoice", "description": "Xendit Payment Gateway Module", "type": "magento2-module", - "version": "2.4.2", + "version": "2.4.3", "license": [ "GPL-3.0" ], diff --git a/Xendit/M2Invoice/etc/module.xml b/Xendit/M2Invoice/etc/module.xml index 4afed789..91f5fa09 100644 --- a/Xendit/M2Invoice/etc/module.xml +++ b/Xendit/M2Invoice/etc/module.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file