Added a extra check so that if you enter an invalid invoice product id the checkout does not crash
Fixed so that we dont use WPLANG anymore in any file since it generates an error with newer WooCommerce and Wordpress