Preheat your oven to 375°F (190°C).
In a medium saucepan, combine the chopped peaches, mangoes, granulated sugar, cornstarch, and salt. Mix on medium heat stirring often.
1 cup canned sliced peaches, 3/4 cup ripe mangoes, 1/4 cup granulated sugar, 1 & 1/2 tablespoon cornstarch, 1/4 tsp salt
Lower the heat to simmer and allow the mixture to simmer for 5-6 minutes until thickened. Remove from the heat, add in the vanilla extract, and allow the mixture to cool down.
1/2 teaspoon vanilla extract
On a lightly floured surface, roll out one sheet of puff pastry into a slightly larger rectangle. Cut the pastry into smaller rectangles, about 4x6 inches in size. Repeat with the second sheet of puff pastry.
2 sheets of store-bought puff pastry
Spoon a generous amount of the peach and mango filling onto one half of each pastry rectangle, leaving a small border around the edges.
Fold the other half of the pastry over the filling, forming a rectangle. Use a fork to press down and seal the edges of the pastry.
Heat oil in a deep pan or skillet over medium heat. Carefully place the filled pastries into the hot oil, a few at a time, and fry until golden brown on both sides. This should take about 2-3 minutes per side. Remove the fried pies and place them on a paper towel-lined plate to drain excess oil.
Oil
Transfer the fried pies to a baking sheet and bake in the preheated oven for an additional 10 minutes. This will help ensure that the filling is cooked and the pastry is crispy.
Once baked, remove the pies from the oven and let them cool for a few minutes. Dust with powdered sugar, if desired.
Powdered sugar