For anyone still wondering, this might be one of the reasons why you're seeing the widget twice. The issue I had with Afterpay messages rendering twice was because I was initialising Afterpay in theme.js as well when trying to update the Afterpay pri...