Skip to content

Commit 1ee2af1

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 2c1abea + 5e70f91 commit 1ee2af1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

includes/classes/PPMFWC/Gateway/Abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ private function getProductLines(WC_Order $order)
891891
$taxPerPiece = $item['line_subtotal_tax'] / $item['qty'];
892892
$product = array(
893893
'id' => $item['product_id'],
894-
'name' => $item['name'],
894+
'name' => mb_substr($item['name'], 0, 45, "UTF-8"),
895895
'price' => $pricePerPiece,
896896
'qty' => $item['qty'],
897897
'type' => \Paynl\Transaction::PRODUCT_TYPE_ARTICLE,

includes/classes/PPMFWC/Gateways.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ private static function getAvailableWoocomStatus($default, $excludeStates = arra
165165
'PPMFWC_Gateway_Webshopgiftcard',
166166
'PPMFWC_Gateway_Wijncadeau',
167167
'PPMFWC_Gateway_Winkelcheque',
168+
'PPMFWC_Gateway_Wisselcadeaukaart',
168169
'PPMFWC_Gateway_Wechatpay',
169170
'PPMFWC_Gateway_Wero',
170171
'PPMFWC_Gateway_Wisselcadeaukaart',

0 commit comments

Comments
 (0)