Skip to content

Commit

Permalink
Release 2.1.27
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Dec 12, 2023
1 parent b905bc2 commit 98bf5d8
Show file tree
Hide file tree
Showing 82 changed files with 113 additions and 107 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This repository contains the PostFinance Checkout plugin that enables WooCommerc

## Documentation

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

## Support

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

## License

Please see the [license file](https://github.com/pfpayments/woocommerce/blob/2.1.26/LICENSE) for more information.
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/2.1.27/LICENSE) for more information.
26 changes: 13 additions & 13 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
*
* This WooCommerce plugin enables to process payments with PostFinance Checkout (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html).
*
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/
/* Icons for status */
@font-face {
font-family: 'woocommerce-postfinancecheckout';
src: url('../font/woocommerce-postfinancecheckout.eot?8310684');
src: url('../font/woocommerce-postfinancecheckout.eot?8310684#iefix') format('embedded-opentype'),
url('../font/woocommerce-postfinancecheckout.woff2?8310684') format('woff2'),
url('../font/woocommerce-postfinancecheckout.woff?8310684') format('woff'),
url('../font/woocommerce-postfinancecheckout.ttf?8310684') format('truetype'),
url('../font/woocommerce-postfinancecheckout.svg?8310684#woocommerce-postfinancecheckout') format('svg');
font-family: 'woocommerce-wallee';
src: url('../font/woocommerce-wallee.eot?8310684');
src: url('../font/woocommerce-wallee.eot?8310684#iefix') format('embedded-opentype'),
url('../font/woocommerce-wallee.woff2?8310684') format('woff2'),
url('../font/woocommerce-wallee.woff?8310684') format('woff'),
url('../font/woocommerce-wallee.ttf?8310684') format('truetype'),
url('../font/woocommerce-wallee.svg?8310684#woocommerce-wallee') format('svg');
font-weight: normal;
font-style: normal;
}

/* Status Icons */
.widefat .column-order_status mark.postfi-redirected::after, .widefat .column-order_status mark.postfi-waiting::after,
.widefat .column-order_status mark.postfi-manual::after {
font-family: woocommerce-postfinancecheckout;
font-family: woocommerce-wallee;
speak: none;
font-weight: 400;
text-transform: none;
Expand Down Expand Up @@ -91,8 +91,8 @@
width: 2em
}

.order_actions .postfinancecheckout-button-download-invoice::after, .widefat .wc_actions .postfinancecheckout-action-button.postfinancecheckout-button-download-invoice::after {
font-family: woocommerce-postfinancecheckout;
.order_actions .postfinancecheckout-button-download-invoice::after, .widefat .wc_actions .postfinancecheckout-action-button.wallee-button-download-invoice::after {
font-family: woocommerce-wallee;
speak: none;
font-weight: 400;
text-transform: none;
Expand All @@ -109,8 +109,8 @@
margin: 0px;
}

.order_actions .postfinancecheckout-button-download-packingslip::after, .widefat .wc_actions .postfinancecheckout-action-button.postfinancecheckout-button-download-packingslip::after {
font-family: woocommerce-postfinancecheckout;
.order_actions .postfinancecheckout-button-download-packingslip::after, .widefat .wc_actions .postfinancecheckout-action-button.wallee-button-download-packingslip::after {
font-family: woocommerce-wallee;
speak: none;
font-weight: 400;
text-transform: none;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/checkout.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* This WooCommerce plugin enables to process payments with PostFinance Checkout (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html).
*
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/
/* Order button disabled */
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion assets/js/admin/management.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This plugin will add support for all PostFinanceCheckout payments methods and connect the PostFinanceCheckout servers to your WooCommerce webshop (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html).
*
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
4 changes: 2 additions & 2 deletions assets/js/frontend/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This plugin will add support for all PostFinanceCheckout payments methods and connect the PostFinanceCheckout servers to your WooCommerce webshop (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html).
*
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down Expand Up @@ -484,7 +484,7 @@ jQuery(
return false;
}
var selected_payment_method = $( 'input[name=payment_method]:checked' ).val();
var paymentMethodConfigurationId = $( '#postfinancecheckout-method-configuration-' + selected_payment_method ).data( 'configuration-id' );
var paymentMethodConfigurationId = $( '#wallee-method-configuration-' + selected_payment_method ).data( 'configuration-id' );
window.LightboxCheckoutHandler.startPayment(
paymentMethodConfigurationId,
function () {
Expand Down
13 changes: 10 additions & 3 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,11 @@

= 1.3.11 - October 14, 2020 =

* Update author to postfinancecheckout AG.
* Update author to wallee AG.

= 1.4 - November 11, 2020 =

* Update author url to postfinancecheckout AG.
* Update author url to wallee AG.
* Update postfinancecheckout SDK

= 1.5 - November 27, 2020 =
Expand Down Expand Up @@ -449,7 +449,7 @@ Features:
- Support of Wordpress 6.1
- Support of Woocommerce 7.0.1
Bugfixes:
- Fix that when 0 manual task are needed, the message 0 manuelle Tasks benötigen Ihre Aufmerksamkeit is shown.
- Fix that when 0 manual task are needed, the message ?0 manuelle Tasks ben?tigen Ihre Aufmerksamkeit? is shown.
Tested against:
- PHP 7.4.32
- Wordpress: 6.1
Expand Down Expand Up @@ -706,3 +706,10 @@ Tested against:
- [Tested Against] Woocommerce 8.1.1
- [Tested Against] PHP SDK 4.0.2

= 2.1.27 - December 12, 2023 =
- [HotFix] Fix static base url
- [Tested Against] PHP 8.0.28
- [Tested Against] Wordpress 6.3.0
- [Tested Against] Woocommerce 8.1.1
- [Tested Against] PHP SDK 4.0.2

2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/pfpayments/woocommerce/releases/tag/2.1.26/">
<a href="https://github.com/pfpayments/woocommerce/releases/tag/2.1.27/">
Source
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down Expand Up @@ -187,7 +187,7 @@ public function get_settings() {
$settings = array(
array(
'links' => array(
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.26/docs/en/documentation.html' => __( 'Documentation', 'woo-postfinancecheckout' ),
'https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.27/docs/en/documentation.html' => __( 'Documentation', 'woo-postfinancecheckout' ),
'https://checkout.postfinance.ch/en-ch/user/signup' => __( 'Sign Up', 'woo-postfinancecheckout' ),
),
'type' => 'postfinancecheckout_links',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/admin/class-wc-postfinancecheckout-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-download-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-email.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
8 changes: 4 additions & 4 deletions includes/class-wc-postfinancecheckout-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down Expand Up @@ -112,7 +112,7 @@ public function reset_api_client() {
* @return string
*/
public function get_base_gateway_url() {
return get_option( 'wc_postfinancecheckout_base_gateway_url', 'https://app-postfinancecheckout.com/' );
return get_option( 'wc_postfinancecheckout_base_gateway_url', 'https://checkout.postfinance.ch/' );
}


Expand Down Expand Up @@ -551,14 +551,14 @@ protected function restock_items_for_order( WC_Order $order ) {
do_action( 'wc_postfinancecheckout_restocked_order', $order );
}
}

/**
* @return array
*/
protected static function getDefaultHeaderData()
{
$version = WC_VERSION;

$shop_version = str_replace('v', '', $version);
list ($major_version, $minor_version) = explode('.', $shop_version, 3);
return [
Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
4 changes: 2 additions & 2 deletions includes/class-wc-postfinancecheckout-migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down Expand Up @@ -249,7 +249,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/2.1.26/docs/en/documentation.html" aria-label="' . esc_attr__( 'View Documentation', 'woo-postfinancecheckout' ) . '">' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '</a>',
'docs' => '<a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/2.1.27/docs/en/documentation.html" aria-label="' . esc_attr__( 'View Documentation', 'woo-postfinancecheckout' ) . '">' . esc_html__( 'Documentation', 'woo-postfinancecheckout' ) . '</a>',
);

return array_merge( $links, $row_meta );
Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-order-reference.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-return-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-unique-id.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-postfinancecheckout-webhook-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @category Class
* @package PostFinanceCheckout
* @author postfinancecheckout AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @author wallee AG (https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html)
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Loading

0 comments on commit 98bf5d8

Please sign in to comment.