Hi all,

Unsuccessfully tried to cap a copper water line by soldering a pre-soldered cap onto the end. Took all the proper steps, cleaned the ends of the pipe and fitting first, then applied flux around both. Wasn't quite sure what I should be heating, so I just heated everything. After my first attempt, I checked for leaks and there was a tiny waterdrop falling from the cold pipe. Decided (and stupidly so) to try reheating the pipe, and now it leaks even worse. I know that I have to redo everything and drain the pipe, but I'm scared I'll fail again.

Is it safe to use a compression fitting to close the pipe permanently? I'll be covering up the closed off pipes with drywall, but want to be assured whatever method I use won't leak behind the wall.