Skip to content

Commit d8ea41d

Browse files
authored
Merge pull request #179 from paytrail/preparing-for-2.1.2-release
Preparing for 2.1.2 release
2 parents 38043ef + eb1043e commit d8ea41d

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.1.2] - 2024-11-06
8+
### Added
9+
- Added more validation for transactions in payment response
10+
711
## [2.1.1] - 2024-08-05
812
### Fixed
913
- Fixed VAT rounding problem caused by certain product price settings
@@ -168,11 +172,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
168172

169173
## [1.0.2] - 2021-11-03
170174
### Added
171-
- Added even more escapes to variables and options
175+
- Added even more escapes to variables and options
172176

173177
## [1.0.1] - 2021-11-02
174178
### Changed
175-
- Added more escapes to variables and options
179+
- Added more escapes to variables and options
176180
- Renamed some CSS classes to improve compatibility with the old Checkout Finland for WooCommerce plugin
177181

178182
## [1.0.0] - 2021-10-20

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "paytrail-for-woocommerce",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "Paytrail is a payment gateway that offers 20+ payment methods for Finnish customers.",
55
"private": true,
66
"dependencies": {

plugin.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
* Plugin Name: Paytrail for WooCommerce
44
* Plugin URI: https://github.com/paytrail/paytrail-for-woocommerce
55
* Description: Paytrail is a payment gateway that offers 20+ payment methods for Finnish customers.
6-
* Version: 2.1.1
6+
* Version: 2.1.2
77
* Requires at least: 4.9
88
* Tested up to: 6.6
99
* Requires PHP: 7.3
1010
* WC requires at least: 3.5
11-
* WC tested up to: 9.1
11+
* WC tested up to: 9.3
1212
* Author: Paytrail
1313
* Author URI: https://www.paytrail.com/
1414
* Text Domain: paytrail-for-woocommerce
@@ -139,7 +139,7 @@ protected function __construct() {
139139
add_action( 'wp_enqueue_scripts', function() {
140140
wp_enqueue_style( 'dashicons' );
141141
} );
142-
142+
143143
add_action( 'before_woocommerce_init', function() {
144144
if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
145145
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
@@ -159,7 +159,7 @@ public static function register_intro_scripts() {
159159
$plugin_instance = Plugin::instance();
160160
$plugin_dir_url = $plugin_instance->get_plugin_dir_url();
161161
$plugin_version = $plugin_instance->get_plugin_info()['Version'];
162-
162+
163163
// Register the custom script
164164
wp_register_script(
165165
'introScripts',
@@ -168,7 +168,7 @@ public static function register_intro_scripts() {
168168
$plugin_version,
169169
true // Enqueue in the footer
170170
);
171-
171+
172172
// Enqueue the custom script
173173
wp_enqueue_script('introScripts');
174174
}
@@ -217,7 +217,7 @@ public function paytrail_checkout_customize_css() {
217217
background-color: <?php echo get_theme_mod('paytrail_group_highlighted_background', '#33798d'); ?> !important;
218218
color: <?php echo get_theme_mod('paytrail_group_highlighted_text', '#ffffff'); ?> !important;
219219
}
220-
.woocommerce-checkout #payment .paytrail-woocommerce-payment-fields--list-item--input:checked+.paytrail-woocommerce-payment-fields--list-item--wrapper, .woocommerce-checkout #payment .paytrail-woocommerce-payment-fields--list-item:hover .paytrail-woocommerce-payment-fields--list-item--wrapper {
220+
.woocommerce-checkout #payment .paytrail-woocommerce-payment-fields--list-item--input:checked+.paytrail-woocommerce-payment-fields--list-item--wrapper, .woocommerce-checkout #payment .paytrail-woocommerce-payment-fields--list-item:hover .paytrail-woocommerce-payment-fields--list-item--wrapper {
221221
border: 2px solid <?php esc_html_e( get_theme_mod('paytrail_method_highlighted', '#33798d')); ?> !important;
222222
}
223223
.woocommerce-checkout #payment ul.payment_methods li.paytrail-woocommerce-payment-fields--list-item .paytrail-woocommerce-payment-fields--list-item--wrapper:hover {

readme.txt

+9-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://www.paytrail.com/
44
Tags: woocommerce
55
Requires at least: 4.9
66
Tested up to: 6.6
7-
Stable tag: 2.1.1
7+
Stable tag: 2.1.2
88
Requires PHP: 7.3
99
License: MIT
1010
License URI: https://opensource.org/licenses/MIT
@@ -13,19 +13,19 @@ Paytrail is a payment gateway that offers 20+ payment methods for Finnish custom
1313

1414
== Description ==
1515

16-
Accept all popular payment methods for Finnish B2C and B2B customers with one agreement and one plugin.
16+
Accept all popular payment methods for Finnish B2C and B2B customers with one agreement and one plugin.
1717

1818
[Paytrail](https://www.paytrail.com) provides you with:
1919

2020
* **A trusted and popular Finnish payment service with 17 years of e-commerce experience** that is supported all over Finland and many European countries. 20 000+ online businesses and services including the Finnish State Treasury ‘s Suomi.fi payment service entrust us to handle their transactions.
2121
* **Popular payment methods in Finland to increase conversion rates:** online banks, cards, mobile, Buy now, Pay later and PayPal. Detailed payment method information can be found on [our website](https://www.paytrail.com/en/payment-methods).
2222
* **Tokenization and Subscriptions.** The plugin supports card tokenization which allows customers to store their credit card information securely and reliably for later use or with the use of [WooCommerce Subscriptions](https://woocommerce.com/products/woocommerce-subscriptions/) for recurring payments.
23-
* **Fast, reliable payouts** that are made at the same time regardless of payment method used.
23+
* **Fast, reliable payouts** that are made at the same time regardless of payment method used.
2424
* **Accessible, friendly, and fast customer service.** Our customer service team replies to all requests from our customers and our customers’ customers.
2525
* **Reliable and compliant service** with an [uptime of 99.98%](https://status.paytrail.com/). Local and EU regulatory requirements and updates are always made on time.
2626
* **Easy monitoring and detailed reporting.** Track and analyze transactions, create refunds and payment links, and download detailed reports for accounting purposes.
2727

28-
To use this plugin, first [register for a Paytrail account](https://www.paytrail.com/en/order-service).
28+
To use this plugin, first [register for a Paytrail account](https://www.paytrail.com/en/order-service).
2929

3030
For pricing, please [visit our website](https://www.paytrail.com/en/pricing).
3131

@@ -56,6 +56,9 @@ With test credentials, you can test most of the payment methods included in Payt
5656

5757
== Changelog ==
5858

59+
= 2.1.2 =
60+
- Added more validation for transactions in payment response
61+
5962
= 2.1.1 =
6063
- Fixed VAT rounding problem caused by certain product price settings
6164

@@ -173,10 +176,10 @@ With test credentials, you can test most of the payment methods included in Payt
173176
* Added wordpress.org assets
174177

175178
= 1.0.2 =
176-
* Added even more escapes to variables and options
179+
* Added even more escapes to variables and options
177180

178181
= 1.0.1 =
179-
* Added more escapes to variables and options
182+
* Added more escapes to variables and options
180183
* Renamed some CSS classes to improve compatibility with the old Checkout Finland for WooCommerce plugin
181184

182185
= 1.0.0 =

0 commit comments

Comments
 (0)