You can remove the consent popup if the fee is a government-mandated charge.
In the fee editor, just uncheck the Require consent box. This will remove the popup from your store and apply the fee automatically at checkout.
The consent popup can only be removed from Function fees, it cannot be removed from Block fees.