Skip to content

Commit

Permalink
Fix partial refund and CSP config
Browse files Browse the repository at this point in the history
Update version
  • Loading branch information
Adam Wysocki committed Aug 9, 2024
1 parent 1ddac9a commit 0e5ac20
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.1.1
41 changes: 38 additions & 3 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -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
Expand Down
18 changes: 12 additions & 6 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,23 @@
<can_cancel>1</can_cancel>
<currency>PLN</currency>
<use_sandbox>0</use_sandbox>
<can_refund_partial_per_invoice>1</can_refund_partial_per_invoice>
</Tpay_Magento2>
</payment>
<csp>
<mode>
<storefront>
<report_only>0</report_only>
</storefront>
<admin>
<report_only>0</report_only>
</admin>
<storefront_checkout_index_index>
<report_only>1</report_only>
</storefront_checkout_index_index>
</mode>
<policies>
<storefront_checkout_index_index>
<scripts>
<inline>0</inline>
<event_handlers>0</event_handlers>
</scripts>
</storefront_checkout_index_index>
</policies>
</csp>
</default>
</config>

0 comments on commit 0e5ac20

Please sign in to comment.