Skip to content

Commit 3d179f6

Browse files
authored
Merge branch 'master' into feature/PLUG-4263
2 parents d29045d + e711250 commit 3d179f6

6 files changed

Lines changed: 11 additions & 7 deletions

File tree

includes/classes/PPMFWC/Helper/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public static function getPayProducts(WC_Order $order): \PayNL\Sdk\Model\Product
219219
$fee['name'],
220220
$fee['line_total'],
221221
null,
222-
PayNL\Sdk\Model\Product::TYPE_DISCOUNT,
222+
PayNL\Sdk\Model\Product::TYPE_HANDLING,
223223
1,
224224
null,
225225
null

includes/classes/PPMFWC/Helper/Data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PPMFWC_Helper_Data
2424
public static function ppmfwc_payLogger($message, $payTransactionId = null, $infoFields = array(), $type = 'info')
2525
{
2626
if (self::$paylog === null) {
27-
self::$paylog = get_option('paynl_paylogger') == 'yes';
27+
self::$paylog = get_option('paynl_paylogger', 'yes') === 'yes';
2828
}
2929

3030
if (self::$paylog === true || strtolower($type) == 'critical') {
@@ -298,7 +298,7 @@ private static function parseDefaultLanguage($http_accept, $deflang = "en")
298298
*/
299299
public static function getVersion()
300300
{
301-
return '4.0.1';
301+
return '4.0.2';
302302
}
303303

304304
/**

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://www.pay.nl/webshops/plugin-woocommerce
44
Link: https://www.pay.nl
55
Tags: paynl, paymentmethods, iDEAL, betaalmethoden, pay
66
Requires at least: 6.1.0
7-
Stable tag: 4.0.1
7+
Stable tag: 4.0.2
88
Tested up to: 6.8.3
99
WC tested up to: 10.3.3
1010
WC requires at least: 3.0
@@ -188,6 +188,10 @@ Paid accounts have better tariffs! see: [tariffs](https://pay.nl/tarieven)
188188
8. One platform for all payments.
189189

190190
== Changelog ==
191+
= 4.0.2 =
192+
Added option expire-time for transactions
193+
Fixed Klarna issue
194+
Fixed passing products to Pay with same productId
191195
= 4.0.1 =
192196
Fixed processing issues
193197
= 4.0.0 =

vendor/paynl/php-sdk/src/Model/Products.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function setProducts(array $products): self
5555
*/
5656
public function addProduct(Product $product): self
5757
{
58-
$this->set($product->getId(), $product);
58+
$this->add($product);
5959
return $this;
6060
}
6161

vendor/paynl/php-sdk/src/Util/Exchange.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private function legacyReturn(array $request)
200200
public function getPayLoad()
201201
{
202202
if (!empty($this->payload)) {
203-
# Payload already initilized, then return payload.
203+
# Payload already initialized, then return payload.
204204
return $this->payload;
205205
}
206206

woocommerce-payment-paynl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: Pay. Payment Methods for WooCommerce
55
* Plugin URI: https://wordpress.org/plugins/woocommerce-paynl-payment-methods/
66
* Description: Pay. Payment Methods for WooCommerce
7-
* Version: 4.0.1
7+
* Version: 4.0.2
88
* Author: Pay.
99
* Author URI: https://www.pay.nl
1010
* Requires at least: 6.1.0

0 commit comments

Comments
 (0)