diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml
index 0b25d87..6d9f4e0 100644
--- a/.github/workflows/pull_request.yaml
+++ b/.github/workflows/pull_request.yaml
@@ -5,6 +5,7 @@ on:
permissions:
contents: write
+ pull-requests: write
jobs:
check:
@@ -19,13 +20,7 @@ jobs:
name: 'tpay-magento2-basic'
path: './'
- - uses: actions/github-script@v6
+ - uses: mshick/add-pr-comment@v2
with:
- github-token: ${{ secrets.TOKEN }}
- script: |
- github.rest.issues.createComment({
- issue_number: context.issue.number,
- owner: context.repo.owner,
- repo: context.repo.repo,
- body: 'Tpay Magento2 plugin - ${{ steps.plugin-upload.outputs.artifact-url }}'
- })
+ message: |
+ Tpay Magento2 plugin - ${{ steps.plugin-upload.outputs.artifact-url }}
diff --git a/.version b/.version
index 7ec1d6d..3e3c2f1 100644
--- a/.version
+++ b/.version
@@ -1 +1 @@
-2.1.0
+2.1.1
diff --git a/CHANGELOG.MD b/CHANGELOG.MD
index eb05cf3..074a4f6 100644
--- a/CHANGELOG.MD
+++ b/CHANGELOG.MD
@@ -1,57 +1,92 @@
# Changelog
+
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [2.1.1]
+
+### Fixed
+
+- CSP configuration
+- Partial refund
+
## [2.1.0]
+
### Added
+
- Adding version information in the Tpay configuration view
## [2.0.9]
+
### Fixed
+
- Fixed refund scope
## [2.0.8]
+
### Fixed
+
- Fixed admin scope config
## [2.0.7]
+
### Added
+
- Added regulations in english
+
### Fixed
+
- Fixed card notification
## [2.0.6]
+
### Fixed
-- Fixed currency validation
+
+- Fixed currency validation
## [2.0.5]
+
### Added
+
- Readme file
+
---
+
### Fixed
-- Fixed channels and groups collision
+
+- Fixed channels and groups collision
## [2.0.4]
+
### Fixed
+
- Casting in additional data
- Regulations checkbox
-
+
## [2.0.3]
+
### Fixed
+
- Fixed logging
## [2.0.2]
+
### Fixed
+
- Performance improvements
## [2.0.1]
+
### Added
+
- Changes required for tpay-com/tpay-magento2-graphql
## [2.0.0]
+
### Added
+
- New version introducing (details below)
- Card payment in PLN and other currencies
- Tpay OpenApi (PLN) and Tpay OriginApi (PLN and card sales in other currencies) support
diff --git a/etc/config.xml b/etc/config.xml
index 58cfca5..e36ac90 100644
--- a/etc/config.xml
+++ b/etc/config.xml
@@ -28,17 +28,23 @@
1
PLN
0
+ 1
-
- 0
-
-
- 0
-
+
+ 1
+
+
+
+
+ 0
+ 0
+
+
+