Add extra security, we don't want to void a credit payment that is not completed, otherwise we would be refunding credit that was not used. A credit payment should not be in a non completed state, but you never know.
generateWebpackConfig