put a bag underneath them everytime they have to pee!
Put the dog outside everytime it has to go to the bathroom, and yell or make a loud noise to startle the dog if you see it going on the veranda. Then immediately take it outside and praise it for doing its business there instead.
Chat with our AI personalities
Spray the veranda flooring with bitter apple spray and take the dog outside for more frequent potty breaks. If the dog makes a mistake on the veranda, if you see it in progress, yell "no" and clap your hands loudly to startle the dog, then take it out immediately and praise it when it does its duty where you want it to.