Skip to content

Commit addda42

Browse files
committed
Issue: 3596. Resolve Notice with undefined index 'value' while preview order with instance payable method selected if custom offline payment method is defined in system
1 parent e18f1d2 commit addda42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Payment/Helper/Data.php

+1
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ public function getPaymentMethodList($sorted = true, $asLabelValue = false, $wit
293293
foreach ($methods as $code => $title) {
294294
if (isset($groups[$code])) {
295295
$labelValues[$code]['label'] = $title;
296+
$labelValues[$code]['value'] = null;
296297
} elseif (isset($groupRelations[$code])) {
297298
unset($labelValues[$code]);
298299
$labelValues[$groupRelations[$code]]['value'][$code] = ['value' => $code, 'label' => $title];

0 commit comments

Comments
 (0)