Skip to content

Commit c38eabe

Browse files
author
root
committed
Release 2.1.24
1 parent 91afa4d commit c38eabe

10 files changed

+30
-18
lines changed

.github/workflows/woo-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Release Plugin
22
on:
3-
- push
3+
push:
4+
tags:
5+
- '*'
46

57
jobs:
68
tag:
@@ -21,7 +23,7 @@ jobs:
2123
echo $WORDPRESS_ORG_SLUG
2224
ls -ltrh
2325
git clone https://github.com/squizlabs/PHP_CodeSniffer.git phpcs;
24-
git clone -b main https://github.com/WordPress/WordPress-Coding-Standards.git wpcs;
26+
git clone -b master https://github.com/WordPress/WordPress-Coding-Standards.git wpcs;
2527
cd phpcs;
2628
./bin/phpcs --config-set installed_paths ../wpcs;
2729
cd ../;
@@ -63,4 +65,4 @@ jobs:
6365
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
6466
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
6567
ASSETS_DIR: ${{ vars.WORDPRESS_ORG_SLUG }}/build-woo/src
66-
SLUG: ${{ vars.WORDPRESS_ORG_SLUG }}
68+
SLUG: ${{ vars.WORDPRESS_ORG_SLUG }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This repository contains the PostFinance Checkout plugin that enables WooCommerc
1515

1616
## Documentation
1717

18-
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.23/docs/en/documentation.html)
18+
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.24/docs/en/documentation.html)
1919

2020
## Support
2121

@@ -24,4 +24,4 @@ Support queries can be issued on the [PostFinance Checkout support site](https:/
2424

2525
## License
2626

27-
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/2.1.23/LICENSE) for more information.
27+
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/2.1.24/LICENSE) for more information.

changelog.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,3 +679,13 @@ Tested against:
679679
* [Tested Against] Woocommerce 8.0.0
680680
* [Tested Against] PHP SDK 3.2.0
681681

682+
= 2.1.24 - September 26, 2023 =
683+
684+
* [Features] Support of Wordpress 6.3.0
685+
* [BugFix] Fix an error when users try to re-pay a transaction
686+
687+
* [Tested Against] PHP 8.0.28
688+
* [Tested Against] Wordpress 6.3.0
689+
* [Tested Against] Woocommerce 8.0.0
690+
* [Tested Against] PHP SDK 3.2.0
691+

docs/en/documentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h2>Documentation</h2> </div>
2222
</a>
2323
</li>
2424
<li>
25-
<a href="https://github.com/pfpayments/woocommerce/releases/tag/2.1.23/">
25+
<a href="https://github.com/pfpayments/woocommerce/releases/tag/2.1.24/">
2626
Source
2727
</a>
2828
</li>

includes/admin/class-wc-postfinancecheckout-admin-settings-page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function get_settings() {
187187
$settings = array(
188188
array(
189189
'links' => array(
190-
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.23/docs/en/documentation.html' => __( 'Documentation', 'woo-postfinancecheckout' ),
190+
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.24/docs/en/documentation.html' => __( 'Documentation', 'woo-postfinancecheckout' ),
191191
'https://checkout.postfinance.ch/en-ch/user/signup' => __( 'Sign Up', 'woo-postfinancecheckout' ),
192192
),
193193
'type' => 'postfinancecheckout_links',

includes/class-wc-postfinancecheckout-email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public static function add_email_actions( $actions ) {
291291
return $actions;
292292
});
293293
}
294-
294+
295295
$actions = array_merge( $actions, $to_add );
296296
return $actions;
297297
}

includes/class-wc-postfinancecheckout-gateway.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,8 @@ public function payment_fields() {
420420
}
421421
if ( ! wp_script_is( 'postfinancecheckout-remote-checkout-js', 'enqueued' ) ) {
422422
$ajax_url = $transaction_service->get_javascript_url_for_transaction( $transaction );
423-
if ( get_option( WooCommerce_PostFinanceCheckout::CK_INTEGRATION ) == WC_PostFinanceCheckout_Integration::LIGHTBOX ) {
423+
//!isset($wp->query_vars['order-pay'])->If you're not in the "re-pay" checkout.
424+
if (( get_option( WooCommerce_PostFinanceCheckout::CK_INTEGRATION ) == WC_PostFinanceCheckout_Integration::LIGHTBOX ) && (is_checkout() && !isset($wp->query_vars['order-pay']))) {
424425
$ajax_url = $transaction_service->get_lightbox_url_for_transaction( $transaction );
425426
}
426427
wp_enqueue_script(

includes/class-wc-postfinancecheckout-migration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public static function check_version() {
249249
public static function plugin_row_meta( $links, $file ) {
250250
if ( WC_POSTFINANCECHECKOUT_PLUGIN_BASENAME === $file ) {
251251
$row_meta = array(
252-
'docs' => '<a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.23/docs/en/documentation.html" aria-label="' . esc_attr__( 'View Documentation', 'woo-postfinancecheckout' ) . '">' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '</a>',
252+
'docs' => '<a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.24/docs/en/documentation.html" aria-label="' . esc_attr__( 'View Documentation', 'woo-postfinancecheckout' ) . '">' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '</a>',
253253
);
254254

255255
return array_merge( $links, $row_meta );

readme.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: customwebgmbh
33
Tags: woocommerce PostFinance Checkout, woocommerce, PostFinance Checkout, payment, e-commerce, webshop, psp, invoice, packing slips, pdf, customer invoice, processing
44
Requires at least: 4.7
55
Tested up to: 6.2
6-
Stable tag: 2.1.23
6+
Stable tag: 2.1.24
77
License: Apache 2
88
License URI: http://www.apache.org/licenses/LICENSE-2.0
99

@@ -23,7 +23,7 @@ To use this extension, a PostFinance Checkout account is required. Sign up on [P
2323

2424
== Documentation ==
2525

26-
Additional documentation for this plugin is available [here](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.23/docs/en/documentation.html).
26+
Additional documentation for this plugin is available [here](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.24/docs/en/documentation.html).
2727

2828
== Support ==
2929

@@ -56,11 +56,10 @@ Support queries can be issued on the [PostFinance Checkout support site](https:/
5656
== Changelog ==
5757

5858

59-
= 2.1.23 - August 23, 2023 =
59+
= 2.1.24 - September 26, 2023 =
6060

6161
* [Features] Support of Wordpress 6.3.0
62-
* [Features] Support for v8.0.0. Caveat - we dot not support checkout blocks at the current time. If PostFinance Checkout payment methods do not appear on the checkout, replace the blocks with the checkout shortcode.
63-
* [BugFix] Fix the error caused by an incorrect query statement when attempting to load an attribute ID.
62+
* [BugFix] Fix an error when users try to re-pay a transaction
6463

6564
* [Tested Against] PHP 8.0.28
6665
* [Tested Against] Wordpress 6.3.0

woocommerce-postfinancecheckout.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
* Plugin Name: PostFinance Checkout
44
* Plugin URI: https://wordpress.org/plugins/woo-postfinancecheckout
55
* Description: Process WooCommerce payments with PostFinance Checkout.
6-
* Version: 2.1.23
6+
* Version: 2.1.24
77
* License: Apache2
88
* License URI: http://www.apache.org/licenses/LICENSE-2.0
99
* Author: wallee AG
1010
* Author URI: https://www.wallee.com
1111
* Requires at least: 4.7
12-
* Tested up to: 6.2
12+
* Tested up to: 6.3
1313
* WC requires at least: 3.0.0
1414
* WC tested up to: 7.8.2
1515
*
@@ -46,7 +46,7 @@ final class WooCommerce_PostFinanceCheckout {
4646
*
4747
* @var string
4848
*/
49-
private $version = '2.1.23';
49+
private $version = '2.1.24';
5050

5151
/**
5252
* The single instance of the class.

0 commit comments

Comments
 (0)