Instead of error, I can't retrieve the user input by using JRequest::getVar in the onAfterOrderConfirm function. I have the form inside the
function of onPaymentDisplay:
$method->custom_html ='<label><span>Please select the bank which you want to pay with</span></label>
<form id="form1" method="post">
<select name="channel" id="channel">
<option value="" selected="selected"> </option>
<option value="a">A</option>
<option value="b">B</option>
<option value="c">C</option>
</select>
';
$usable_methods[$method->ordering] = $method;
Thank you.