Place a frying pan on a very low heat. Meanwhile, divide the rested pastry into seven or eight equal-sized balls. On a lightly floured work surface, roll out each ball into a circle approximately 15cm in diameter. One at a time, lay the pastry circles into the frying pan to warm through (without cooking) then cut them in half.
Brush the edges of the pastry case with water. Bring the straight edges together to make a cone shape and spoon in some of the potato and pea filling. Pinch the open edge together and then press it with a fork to seal.
Repeat until all the remaining pastry pieces are made into samosas.
Heat a deep heavy-bottomed pan, half fill it with oil and bring the temperature to 180°C. Deep fry the samosas, two at a time, for 4 to 5 minutes until light brown and crisp. Lay them on kitchen paper to absorb the excess oil and fry the rest in batches. Serve the samosas with chutney or ketchup.