I Have A 3.5 Month Cockapoo That I Am Trying To Crate Train. She Does Her Business In The Crate?

And even though I have the training pads outstide the crate, she still does her businesses in the crate. She yells and barks profusely when she is in the crate wether I am at home or not and I believe that she thinks that I will let her out if she does her business when in fact I am letting her out so I can clean the crate. Please help…. Note I have had her for 4 days; she was brought home from a pet store