Skip to content

Commit

Permalink
Release 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrowanwallee committed Dec 10, 2024
1 parent 3a35bdf commit 38d7ce5
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 41 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/soft-release.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/woo-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Release Plugin
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '*'

jobs:
tag:
name: Full Release
name: New release
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This repository contains the PostFinance Checkout plugin that enables WooCommerc

## Documentation

* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2-beta/docs/en/documentation.html)
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2/docs/en/documentation.html)

## Support

Expand All @@ -33,7 +33,7 @@ ____________________________________________________________________________

## License

Please see the [license file](https://github.com/pfpayments/woocommerce/blob/3.3.2-beta/LICENSE) for more information.
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/3.3.2/LICENSE) for more information.

## Privacy Policy

Expand Down
2 changes: 1 addition & 1 deletion assets/js/frontend/blocks/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('@woocommerce/blocks-registry', 'react', 'wp-polyfill'), 'version' => '8de5d1b01ac08d3a2491');
<?php return array('dependencies' => array('@woocommerce/blocks-registry', 'react', 'wp-polyfill'), 'version' => '7d280224628cd5ce269b');
2 changes: 1 addition & 1 deletion assets/js/frontend/blocks/build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/pfpayments/woocommerce/releases/tag/3.3.2-beta/">
<a href="https://github.com/pfpayments/woocommerce/releases/tag/3.3.2/">
Source
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function get_settings() {
$settings = array(
array(
'links' => array(
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2-beta/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-postfinancecheckout' ),
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-postfinancecheckout' ),
'https://checkout.postfinance.ch/en-ch/user/signup' => esc_html__( 'Sign Up', 'woo-postfinancecheckout' ),
),
'type' => 'postfinancecheckout_links',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,18 @@ public static function init() {
__CLASS__,
'add_meta_box',
),
40,
2
40
);
}

/**
* Add WC Meta boxes.
*
* @see: https://woo.com/document/high-performance-order-storage/#section-8
* @see: https://developer.wordpress.org/reference/hooks/add_meta_boxes/
*/
public static function add_meta_box( $post_type = "", $post_or_order_object = null ) {
// WooCommerce is moving the Order information from Post to Order class. For now, we need to support both ways.
if ( empty( $post_or_order_object ) || ! ( $post_or_order_object instanceof \Automattic\WooCommerce\Admin\Overrides\Order) ) {
if ( empty( $post_or_order_object ) || ! ( $post_or_order_object instanceof WP_Post ) || empty( $post_or_order_object->ID ) || 'shop_order' != $post_or_order_object->post_type ) {
return;
}
public static function add_meta_box() {
if ( empty( $post ) || ! ( $post instanceof WP_Post ) || empty( $post->ID ) || 'shop_order' != $post->post_type ) {
return;
}
$screen = class_exists( '\Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController' )
&& wc_get_container()->get( \Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::class )->custom_orders_table_usage_is_enabled()
Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public static function check_version() {
public static function plugin_row_meta( $links, $file ) {
if ( WC_POSTFINANCECHECKOUT_PLUGIN_BASENAME === $file ) {
$row_meta = array(
'docs' => '<a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2-beta/docs/en/documentation.html" aria-label="' . esc_html__( 'View Documentation', 'woo-postfinancecheckout' ) . '">' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '</a>',
'docs' => '<a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2/docs/en/documentation.html" aria-label="' . esc_html__( 'View Documentation', 'woo-postfinancecheckout' ) . '">' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '</a>',
);

return array_merge( $links, $row_meta );
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: postfinancecheckout AG
Tags: woocommerce PostFinance Checkout, woocommerce, PostFinance Checkout, payment, e-commerce, webshop, psp, invoice, packing slips, pdf, customer invoice, processing
Requires at least: 4.7
Tested up to: 6.6
Stable tag: 3.3.2-beta
Stable tag: 3.3.2
License: Apache 2
License URI: http://www.apache.org/licenses/LICENSE-2.0

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

== Documentation ==

Additional documentation for this plugin is available [here](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2-beta/docs/en/documentation.html).
Additional documentation for this plugin is available [here](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.2/docs/en/documentation.html).

== Support ==

Expand Down
8 changes: 4 additions & 4 deletions woocommerce-postfinancecheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
* Plugin Name: PostFinance Checkout
* Plugin URI: https://wordpress.org/plugins/woo-postfinance-checkout
* Description: Process WooCommerce payments with PostFinance Checkout.
* Version: 3.3.2-beta
* Version: 3.3.2
* Author: postfinancecheckout AG
* Author URI: https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html
* Text Domain: postfinancecheckout
* Domain Path: /languages/
* Requires at least: 6.0
* Requires PHP: 7.4
* WC requires at least: 8.0.0
* WC tested up to 9.4.2
* WC tested up to 9.3.1
* License: Apache 2
* License URI: http://www.apache.org/licenses/LICENSE-2.0
*/
Expand Down Expand Up @@ -46,7 +46,7 @@ final class WooCommerce_PostFinanceCheckout {
*
* @var string
*/
private $version = '3.3.2-beta';
private $version = '3.3.2';

/**
* The single instance of the class.
Expand Down Expand Up @@ -693,7 +693,7 @@ function () {
// The goal here is to speed up the process of registering the payment methods.
$payment_methods = WC_PostFinanceCheckout_Blocks_Support::get_payment_methods();
$json_data = json_encode( $payment_methods );
$content .= '<div id="postfinancecheckout-payment-methods" data-json="' . esc_attr( $json_data ) . '"></div>';
$content .= '<div id="whitelabel-payment-methods" data-json="' . esc_attr($json_data) . '"></div>';
}

return $content;
Expand Down

0 comments on commit 38d7ce5

Please sign in to comment.