-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3
Hello,
I am not getting a "submit" button in the payment section of checkout for purchase order or any other custom payment method.
Here is my code for needCC function. The input field is displaying but to submit its value, I am not getting submit button.
public function needCC(&$method) {
$method->custom_html = '<span style="margin-left:10%">' . JText::_('PURCHASE_ORDER_NUMBER') .
'<input type="text" class="hikashop_purchase_order_number inputbox required" name="hikashop_purchase_order_number" value="'.@$_SESSION['hikashop_purchase_order_number'].'"/> *</span>';
}
So can you please let me know why this is not showing or is there any setting which needs to enable in admin panel ?
Also when I click on finish button on checkout page then page reloads and again I have to click again to complete order. I don't know if there is any setting to fix this. Please suggest me any solution to fix these issues.
As per my debugging, I found the there is code "$this->method->custom_html" to render custom html written in custom payment method but there is not code to submit values selected in custom fields.
So if there is any method to show Submit button here please let me know.
Thanks