Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 28 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
{
"name": "unzerdev/woocommerce",
"description": "Official Unzer Payment Extension for WooCommerce.",
"type": "wordpress-plugin",
"homepage": "https://www.unzer.com/",
"authors": [
{
"name": "Unzer GmbH",
"email": "info@unzer.com",
"homepage": "https://www.unzer.com"
}
],
"license": "Apache-2.0",
"keywords": [
"wordpress",
"woocommerce",
"unzer",
"payment",
"gateway"
],
"require": {
"unzerdev/php-sdk": "^3.11.0",
"php": ">=7.4"
"php": ">=7.4",
"composer/installers": "^2.3",
"unzerdev/php-sdk": "^3.15.0"
},
"config": {
"allow-plugins": {
"composer/installers": true
}
}
}
}
1 change: 1 addition & 0 deletions includes/gateways/DirectDebitSecured.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function get_form_fields() {
),
'additional_key_info' => array(
'type' => 'unzer_additional_key_info',
'default' => '',
),
'public_key_eur_b2c' => array(
'title' => __( 'Public Key EUR/B2C', 'unzer-payments' ),
Expand Down
1 change: 1 addition & 0 deletions includes/gateways/Installment.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public function get_form_fields() {
),
'additional_key_info' => array(
'type' => 'unzer_additional_key_info',
'default' => '',
),
'public_key_eur_b2c' => array(
'title' => __( 'Public Key EUR/B2C', 'unzer-payments' ),
Expand Down
1 change: 1 addition & 0 deletions includes/gateways/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function get_form_fields() {
),
'additional_key_info' => array(
'type' => 'unzer_additional_key_info',
'default' => '',
),
'public_key_eur_b2c' => array(
'title' => __( 'Public Key EUR/B2C', 'unzer-payments' ),
Expand Down
2 changes: 1 addition & 1 deletion includes/gateways/OpenBanking.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class OpenBanking extends AbstractGateway {

const GATEWAY_ID = 'unzer_open_banking';
const BLOCK_CLASS = OpenBankingBlock::class;
public $allowedCountries = array( 'DE' );

public $allowedCurrencies = array( 'EUR' );
public $paymentTypeResource = \UnzerSDK\Resources\PaymentTypes\OpenbankingPis::class;
public $method_title = 'Unzer Direct Bank Transfer';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unzer-payments",
"version": "2.1.0",
"version": "2.1.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Unzer
Tags: payments, woocommerce
Requires at least: 4.5
Tested up to: 6.9
Stable tag: 2.1.1
Stable tag: 2.1.2
License: Apache-2.0
License URI: http://www.apache.org/licenses/LICENSE-2.0
Author URI: https://unzer.com
Expand Down Expand Up @@ -59,6 +59,10 @@ Unzer is one of the leading payment companies in Europe. Over 70,000 retailers t

## Changelog ##

# 2.1.2 #
* Removed country restrictions for Direct Bank Transfer
* Bufix: Provide default values to prevent undefined index Notices

# 2.1.1 #
* Updated iDEAL Payment naming and logo

Expand Down
4 changes: 2 additions & 2 deletions unzer-payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Official Unzer Plugin
* Author: Unzer
* Author URI: https://www.unzer.com
* Version: 2.1.1
* Version: 2.1.2
* License: Apache-2.0
* Requires at least: 4.5
* Tested up to: 6.9
Expand All @@ -21,7 +21,7 @@
/**
* Required minimums and constants
*/
define( 'UNZER_VERSION', '2.1.1' );
define( 'UNZER_VERSION', '2.1.2' );
define( 'UNZER_PLUGIN_TYPE_STRING', 'Unzer Payments' );
define( 'UNZER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
define( 'UNZER_PLUGIN_PATH', __DIR__ . '/' );
Expand Down
Loading