Chris Kane’s late penalty won it for Dunfermline, with Saints also going through as group winners.
Vaclav Cerny, Cyriel Dessers, Hamza Igamane and Jefte grabbed the goals.
More from us
Did you know with a Plus subscription to Shropshire Star you get full access to our award winning journalism for the news that matters to you and more.