Prior to this change, an error would be thrown every time Rails would have to reload because SolidusStripe would try to re-register the webhook events. To prevent this we want to remove the registration call outside of the reloader so it only registers the event once.
Prior to this change, an error would be thrown every time Rails would have to reload because SolidusStripe would try to re-register the webhook events. To prevent this we want to remove the registration call outside of the reloader so it only registers the event once.