Recently I upgraded to Magento 2.2.2 and tried to create a test order on my site via admin.

All goes fine until selecting the payment method. I've enabled Purchase Order as a payment method, and prior to the 2.2.2 upgrade, this was selectable in the order screen.

The option label appears but the input box doesn't.

missing input box for payment method

I checked the console for errors, and none are shown. So I looked for the input field itself and noticed that the fieldset element has a style applied - style="display: none" but it's not in the admin stylesheet, it's applied directly to the fieldset element.

hidden input field applied style

This means I can't place the order, as the field is required... If I disable the "hidden" style in the console I can see the form error when trying to submit the order.

hidden field error

Can anyone advise how to fix this?

  • Have you try to enable other payment method as well, and then try to create order? Commented Jan 29, 2018 at 13:42
  • Hi @DhirenVasoya yes I enabled "cash on delivery" and that allows me to choose from either payment option, so I can now process the order. Odd that it doesn't work with just the one method though?
    – M Cain
    Commented Jan 30, 2018 at 14:39

1 Answer 1


This is a known issue in magento 2.2.x and has a github task assigned to it.


  • Means Magento2 can't provide to add the payment method in the admin panel. Commented Apr 19, 2018 at 5:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.