- Issue created by @tonytheferg
Undefined indexes:
Notice: Undefined index: message in commerce_manual_payment_submit_form() (line 52 of /var/www/html/*/sites/all/modules/commerce_manual_payment/commerce_manual_payment.module).
Notice: Undefined index: remote_id in commerce_manual_payment_submit_form() (line 44 of /var/www/html/*/sites/all/modules/commerce_manual_payment/commerce_manual_payment.module).
Add a manual payment and check the logs.
The $pane_values array is using the labels instead of the keys.
// Merge in default values.
$pane_values += array(
'Message' => '',
'Remote ID' => '',
)
;
It should be switched to:
// Merge in default values.
$pane_values += array(
'message' => '',
'remote_id' => '',
);
Active
1.0
Code