Skip to content

Commit 6ff4ffe

Browse files
Release 3.3.4
1 parent 6d34450 commit 6ff4ffe

23 files changed

+199
-209
lines changed

.travis.yml

-45
This file was deleted.

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![Build Status](https://travis-ci.org/pfpayments/woocommerce.svg?branch=master)](https://travis-ci.org/pfpayments/woocommerce)
2-
31

42

53
# PostFinance Checkout
@@ -16,7 +14,7 @@ This repository contains the PostFinance Checkout plugin that enables WooCommerc
1614

1715
## Documentation
1816

19-
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.3/docs/en/documentation.html)
17+
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.4/docs/en/documentation.html)
2018

2119
## Support
2220

@@ -33,7 +31,7 @@ ____________________________________________________________________________
3331

3432
## License
3533

36-
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/3.3.3/LICENSE) for more information.
34+
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/3.3.4/LICENSE) for more information.
3735

3836
## Privacy Policy
3937

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('@woocommerce/blocks-registry', 'react', 'wp-polyfill'), 'version' => '8de5d1b01ac08d3a2491');
1+
<?php return array('dependencies' => array('@woocommerce/blocks-registry', 'react', 'wp-polyfill'), 'version' => '462b4016eb3699d922cf');

assets/js/frontend/blocks/build/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/frontend/checkout.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jQuery(
1818
payment_methods : {},
1919
integrations: {
2020
LIGHTBOX: 'lightbox',
21-
IFRAME: 'iframe'
21+
IFRAME: 'iframe',
22+
PAYMENT_PAGE: 'payment_page',
2223
},
2324
validated : false,
2425
update_sent : false,
@@ -120,6 +121,9 @@ jQuery(
120121

121122
payment_method_click : function (event) {
122123
var self = event.data.self;
124+
if ( postfinancecheckout_js_params.integration === self.integrations.PAYMENT_PAGE ) {
125+
return;
126+
}
123127
var current_method = self.get_selected_payment_method();
124128
if ( ! self.is_supported_method( current_method )) {
125129
self.enable_place_order_button();

build/index.asset.php

-9
This file was deleted.

build/index.css

-1
This file was deleted.

build/index.js

-1
This file was deleted.

changelog.txt

+10
Original file line numberDiff line numberDiff line change
@@ -884,3 +884,13 @@ Please ensure that in woocommerce->settings->tax, the "Round tax at subtotal lev
884884
- [Tested Against] Woocommerce 9.4.2
885885
- [Tested Against] PHP SDK 4.6.0
886886

887+
= 3.3.4 - Feb 12th 2025 =
888+
- [Feature] Implement payment page checkout integration
889+
- [Feature] Checkout performance optimization and general approach refactoring
890+
- [Bugfix] Fixed for user invoice payment and redirect
891+
- [Bugfix] Fixed discount rate and amount calculation
892+
- [Tested Against] PHP 8.2
893+
- [Tested Against] Wordpress 6.7
894+
- [Tested Against] Woocommerce 9.6.0
895+
- [Tested Against] PHP SDK 4.6.0
896+

docs/en/documentation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2>Documentation</h2> </div>
2323
</a>
2424
</li>
2525
<li>
26-
<a href="https://github.com/pfpayments/woocommerce/releases/tag/3.3.3/">
26+
<a href="https://github.com/pfpayments/woocommerce/releases/tag/3.3.4/">
2727
Source
2828
</a>
2929
</li>

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function get_settings() {
184184
$settings = array(
185185
array(
186186
'links' => array(
187-
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.3/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-postfinancecheckout' ),
187+
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/3.3.4/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-postfinancecheckout' ),
188188
'https://checkout.postfinance.ch/en-ch/user/signup' => esc_html__( 'Sign Up', 'woo-postfinancecheckout' ),
189189
),
190190
'type' => 'postfinancecheckout_links',
@@ -310,10 +310,11 @@ public function get_settings() {
310310
'id' => WooCommerce_PostFinanceCheckout::POSTFINANCECHECKOUT_CK_INTEGRATION,
311311
'type' => 'select',
312312
'css' => 'min-width:300px;',
313-
'default' => WC_PostFinanceCheckout_Integration::POSTFINANCECHECKOUT_IFRAME,
313+
'default' => WC_PostFinanceCheckout_Integration::POSTFINANCECHECKOUT_PAYMENTPAGE,
314314
'options' => array(
315315
WC_PostFinanceCheckout_Integration::POSTFINANCECHECKOUT_IFRAME => $this->format_display_string( esc_html__( 'iframe', 'woo-postfinancecheckout' ) ),
316316
WC_PostFinanceCheckout_Integration::POSTFINANCECHECKOUT_LIGHTBOX => $this->format_display_string( esc_html__( 'lightbox', 'woo-postfinancecheckout' ) ),
317+
WC_PostFinanceCheckout_Integration::POSTFINANCECHECKOUT_PAYMENTPAGE => $this->format_display_string( esc_html__( 'payment page', 'woo-postfinancecheckout' ) ),
317318
),
318319
),
319320

0 commit comments

Comments
 (0)