Dynamics Payment Button error in spb.js file

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 }}

2 Likes

I have similar question