Skip to content

Commit a7b3307

Browse files
committed
Compatible with PHP8.1.0
1 parent 0852650 commit a7b3307

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 4.0.1 (2022-08-01)
4+
Improvements:
5+
- Compatible with PHP 8.1.0
6+
37
## 4.0.0 (2022-07-26)
48
Improvements:
59
- Add new IDR payment: AstraPay

Helper/ApiRequest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private function getHeaders($isPublicRequest, $preferredMethod = null, $customHe
110110
'Content-Type' => 'application/json',
111111
'x-plugin-name' => 'MAGENTO2',
112112
'user-agent' => 'Magento 2 Module',
113-
'x-plugin-version' => '4.0.0'
113+
'x-plugin-version' => '4.0.1'
114114
];
115115

116116
if ($preferredMethod !== null) {

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If your server doesn’t have the composer install, you can easily install it. h
3434
`composer require xendit/m2invoice`
3535

3636
When it’s finished you can activate the extension, clean the caches and deploy the content in your Magento® environment using the following command line;
37-
- `php bin/magento module:enable Mollie_Payment`
37+
- `php bin/magento module:enable Xendit_M2Invoice`
3838
- `php bin/magento setup:upgrade`
3939
- `php bin/magento cache:clean`
4040

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "xendit/m2invoice",
33
"description": "Xendit Payment Gateway Module",
44
"type": "magento2-module",
5-
"version": "4.0.0",
5+
"version": "4.0.1",
66
"license": [
77
"GPL-3.0"
88
],

etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Xendit_M2Invoice" setup_version="4.0.0" active="true"></module>
3+
<module name="Xendit_M2Invoice" setup_version="4.0.1" active="true"></module>
44
</config>

0 commit comments

Comments
 (0)