As a kid, I trapped lots of raccoons in my muskrat and mink traps. I always set the traps through the back of a 5gal can. Baited with cat food or fish guts, depending on what I had available. I would set the bait in the can at the back of the bucket and set the trap about 6" from the back of the can. They would have to go in and get the food, hit the trap. Best part when it was a raccoon, or bobcat, was, they couldn't move around much. The trap was nailed to a tree or a boulder and the bucket was fastened to the ground. The animal had no room to back out of the can, and, although an animal will apparently chew off a leg, I never lost one, although, one cat somehow was able to turn completely around and hiss at me before I stopped shaking long enough to shoot it. LOL!
Other try, warfarin and cherry cake mix in equal amounts, along with a dish of water. It will love the mix, drink the water, go off and die. Keep it outdoors and out of the way of other animals. Cats tend to leave this along, but not dogs.