Skip to content

Commit

Permalink
Merge pull request #179 from paytrail/preparing-for-2.1.2-release
Browse files Browse the repository at this point in the history
Preparing for 2.1.2 release
  • Loading branch information
kotivuori authored Nov 6, 2024
2 parents 38043ef + eb1043e commit d8ea41d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 15 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ 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.2] - 2024-11-06
### Added
- Added more validation for transactions in payment response

## [2.1.1] - 2024-08-05
### Fixed
- Fixed VAT rounding problem caused by certain product price settings
Expand Down Expand Up @@ -168,11 +172,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [1.0.2] - 2021-11-03
### Added
- Added even more escapes to variables and options
- Added even more escapes to variables and options

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

## [1.0.0] - 2021-10-20
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paytrail-for-woocommerce",
"version": "2.1.1",
"version": "2.1.2",
"description": "Paytrail is a payment gateway that offers 20+ payment methods for Finnish customers.",
"private": true,
"dependencies": {
Expand Down
12 changes: 6 additions & 6 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
* Plugin Name: Paytrail for WooCommerce
* Plugin URI: https://github.com/paytrail/paytrail-for-woocommerce
* Description: Paytrail is a payment gateway that offers 20+ payment methods for Finnish customers.
* Version: 2.1.1
* Version: 2.1.2
* Requires at least: 4.9
* Tested up to: 6.6
* Requires PHP: 7.3
* WC requires at least: 3.5
* WC tested up to: 9.1
* WC tested up to: 9.3
* Author: Paytrail
* Author URI: https://www.paytrail.com/
* Text Domain: paytrail-for-woocommerce
Expand Down Expand Up @@ -139,7 +139,7 @@ protected function __construct() {
add_action( 'wp_enqueue_scripts', function() {
wp_enqueue_style( 'dashicons' );
} );

add_action( 'before_woocommerce_init', function() {
if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
Expand All @@ -159,7 +159,7 @@ public static function register_intro_scripts() {
$plugin_instance = Plugin::instance();
$plugin_dir_url = $plugin_instance->get_plugin_dir_url();
$plugin_version = $plugin_instance->get_plugin_info()['Version'];

// Register the custom script
wp_register_script(
'introScripts',
Expand All @@ -168,7 +168,7 @@ public static function register_intro_scripts() {
$plugin_version,
true // Enqueue in the footer
);

// Enqueue the custom script
wp_enqueue_script('introScripts');
}
Expand Down Expand Up @@ -217,7 +217,7 @@ public function paytrail_checkout_customize_css() {
background-color: <?php echo get_theme_mod('paytrail_group_highlighted_background', '#33798d'); ?> !important;
color: <?php echo get_theme_mod('paytrail_group_highlighted_text', '#ffffff'); ?> !important;
}
.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 {
.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 {
border: 2px solid <?php esc_html_e( get_theme_mod('paytrail_method_highlighted', '#33798d')); ?> !important;
}
.woocommerce-checkout #payment ul.payment_methods li.paytrail-woocommerce-payment-fields--list-item .paytrail-woocommerce-payment-fields--list-item--wrapper:hover {
Expand Down
15 changes: 9 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paytrail.com/
Tags: woocommerce
Requires at least: 4.9
Tested up to: 6.6
Stable tag: 2.1.1
Stable tag: 2.1.2
Requires PHP: 7.3
License: MIT
License URI: https://opensource.org/licenses/MIT
Expand All @@ -13,19 +13,19 @@ Paytrail is a payment gateway that offers 20+ payment methods for Finnish custom

== Description ==

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

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

* **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.
* **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).
* **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.
* **Fast, reliable payouts** that are made at the same time regardless of payment method used.
* **Fast, reliable payouts** that are made at the same time regardless of payment method used.
* **Accessible, friendly, and fast customer service.** Our customer service team replies to all requests from our customers and our customers’ customers.
* **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.
* **Easy monitoring and detailed reporting.** Track and analyze transactions, create refunds and payment links, and download detailed reports for accounting purposes.

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

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

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

== Changelog ==

= 2.1.2 =
- Added more validation for transactions in payment response

= 2.1.1 =
- Fixed VAT rounding problem caused by certain product price settings

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

= 1.0.2 =
* Added even more escapes to variables and options
* Added even more escapes to variables and options

= 1.0.1 =
* Added more escapes to variables and options
* Added more escapes to variables and options
* Renamed some CSS classes to improve compatibility with the old Checkout Finland for WooCommerce plugin

= 1.0.0 =
Expand Down

0 comments on commit d8ea41d

Please sign in to comment.