Added script create ordet before or after payment