Added check of payment status before shipping