Good day!
Sometimes, when loading a dynamic paypal payment button, it fails to load the button and it remains inactive. This only happens if the developer console displays this error “TypeError: mt.HG is not a constructor”.
The button is connected in this way:
{{ form | payment_button }}

