Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from unzerdev/develop
Browse files Browse the repository at this point in the history
Release 1.0.93
  • Loading branch information
sixer1182 authored Apr 27, 2022
2 parents 888e0f5 + a99e02a commit fee6606
Show file tree
Hide file tree
Showing 11 changed files with 264 additions and 157 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.0.93](https://github.com/unzerdev/woocommerce/compare/1.0.85..1.0.93)

### Fixed
* Add warning on documentation about manual booking for Unzer secured invoices.
* Fix for WPML support.

### Changed
* Update Unzer certificate.
* Added PHP version compatibility text to Sellxed docs.
* Improved screening of error messages, do not display details to end users.
* Remove subscription entries from documentations.
* Updated Klarna Logos.

## [1.0.85](https://github.com/unzerdev/woocommerce/compare/1.0.56..1.0.85)

### Fixed
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ For any issues or questions please get in touch with our support team.
### Phone
* DE: [+49 6221 43101-00](tel:+4962214310100)
* AT: [+43 1 513 66 33 669](tel:+4315136633669)
ª

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ public function getVisibleFormFields(Customweb_Payment_Authorization_IOrderConte
return $this->getPaymentMethodOC($orderContext)->getVisibleFormFields($orderContext, $aliasTransaction, $failedTransaction,
$paymentCustomerContext);
}
catch (Customweb_Payment_Exception_PaymentErrorException $e) {
$this->getLogger()->logError(__METHOD__ . ' failed with message: ' . $e->getErrorMessage()->getBackendMessage());
return array(
Customweb_Unzer_Util_Form::getStopElement($e->getErrorMessage()->getUserMessage())
);
}
catch (Exception $e) {
return array(
Customweb_Unzer_Util_Form::getStopElement($e->getMessage())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
class Customweb_Unzer_BackendOperation_Form_About extends Customweb_Payment_BackendOperation_Form_AbstractAbout {

protected function getVersion(){
return '1.0.85';
return '1.0.93';
}

protected function getReleaseDate(){
return 'Tue, 07 Dec 2021 09:12:59 +0100';
return 'Mon, 14 Mar 2022 14:31:34 +0100';
}

protected function getOrderNumber(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private function getPhpVersionHeader(){
}

private function getSdkVersionHeader(){
return "SDK-VERSION: 1.0.85";
return "SDK-VERSION: 1.0.93";
}

private function getSdkTypeHeader(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ class Customweb_Unzer_Method_Default extends Customweb_Payment_Authorization_Abs
2 => 'Cancellation',
3 => 'ZeroCheckout',
),
'image_color' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAAAyCAYAAAAUYybjAAAE/UlEQVR42u1aiU7UUBTl240xhhijxqiRGDW4BIWA4i4ucYssbkQRN8QNVEAEHdBpX6/3nL7XeZ0FlAAdp20ymen0dUgP95537rm3rbzliBSvv3u1FSAUYBVglbd1Srn9RL7BCnadkujjV4kWSmJG30h569GaNeHpGyK/A8Fh7j+ruyYXYAGo8PpDCfZ0S/T6o5hbT9Jg7uslUAAyOHxBJAglPHcvn2ABCJdeDhj/uhl6HkeTO9fP+C6fYOlR3nGycv5jSYKDZyuRN7coQeflNFj3nuY0DZWrfHDM+DsJLw3Gkba3J440j6Oi91/IYfkECw/fda1C5gqUeToRf74yLGZssiZtAWIuwQIwLpIYTYfOMxUJ5MSUhP13K9cO9Iks/86vdDB3RlMEjpRj9Ozv485X3tlVibreWwQwt2BBBoCnUqk5OS1mcEyiqdk0sBmRe/OI0uNXakAJbz6SaOZ7jebKityzBWv7McqB8MxtCY5cFCn9qgFQjCF/NQO5ZwoWUin6Ms+dLppdiLWWApisaT8u0dvpNIAZknumYFE7We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sF5lKqWHJlIOW5oGWZB4ONgWy9JZlS5tq5owhi2A613q+ocxoTCjKak3EKDGafHMuXg0iTLQiiSdNvPCBYO+ZDHaLB6GGTOXWd58i1Acz5lW1yEKcRdpGgr18cHLE5dM+js1Z8IHdvQ2IR9NVlAw12DYYajG7voz5s2xL7mIz7ZK9fRKPRdy3c7mufI/GBSPdjtKW8zMgj+T9B3CIeeop+OqUUxC2eWEkMiMdbO4drL7eER6Vd808gh06XKEuU+ztYz7CpyFXQTIVmnKp9JWKJqDuD2it3tFk06wv60mDvVxhHjz/DdlorDTI7TIe/hJ5hE7TNqeW5YEmbZTGw0YMj+zzKmrriWN4+MJFk+EPX4528RybvJQNI0E6m/ckA8uwGWQgkA8hSO1mteGDiHcNn/XmVhEKvz/IO8nbH739if++amuIZIxAIlf95H1lZGi/kFeNh/WqF5MVqOeCz8ogxNfWlW/aGuFrBXyJ+8vLHoRivuqHQx5xpPx85bLzwcffnTqnvvwDjkWnRbmnK5AAAAABJRU5ErkJggg==',
),
'paypal' => array(
'machine_name' => 'PayPal',
Expand Down
Binary file modified files/woocommerce_unzercw/resources/icons/sofortueberweisung.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion files/woocommerce_unzercw/woocommerce_unzercw.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: WooCommerce UnzerCw
* Plugin URI: http://www.customweb.ch
* Description: This plugin adds the UnzerCw payment gateway to your WooCommerce.
* Version: 1.0.85
* Version: 1.0.93
* Author: customweb GmbH
* Author URI: http://www.customweb.ch
*/
Expand Down Expand Up @@ -605,6 +605,16 @@ function woocommerce_unzercw_check_page_translations($pid){
return true;
}
}
if (defined('ICL_SITEPRESS_VERSION')) {
$meta = get_post_meta($pid, '_icl_lang_duplicate_of', true);
if ($meta != '' && $meta == $page) {
return true;
}
$translated_page = icl_object_id($page,'post',false,ICL_LANGUAGE_CODE);
if ($translated_page != '' && $translated_page == $pid) {
return true;
}
}
if(defined('POLYLANG_VERSION')) {
$terms = wp_get_post_terms($pid, 'post_translations');
if($terms && !is_wp_error($terms)) {
Expand Down
Binary file modified manuals/manual_de.pdf
Binary file not shown.
Binary file modified manuals/manual_en.pdf
Binary file not shown.

0 comments on commit fee6606

Please sign in to comment.