Murphy Cooper saved two penalties to send Barnsley through to the second round of the Carabao Cup against Fleetwood.
After the match had finished 2-2, Cooper saved Fleetwood’s first penalty by Ryan Graydon before Patrick Kelly missed Barnsley’s fifth spot kick.
Former Tykes striker James Norwood then scored to take it to sudden death.
Reyes Cleary scored from 12 yards, before Cooper saved again from George Morrison as the League One side won 5-4 in the shoot-out.
The hosts opened the scoring on 15 minutes after Cleary’s cross was headed home at the back post by midfielder Jon Russell.
Will Johnson had the ball in the back of the net for Fleetwood on 23 minutes but it was disallowed as he had scored directly from a throw-in.
Davis Keillor-Dunn almost doubled Barnsley’s lead on 26 minutes but volleyed over from inside the area.
Liam Roberts equalised for Fleetwood on the stroke of half-time, scoring directly from a corner.
Barnsley took the lead in the 59th minute, as Toby Mullarkey turned a Cleary cross into his own net.
Substitute Owen Devonport levelled in the fourth minute of added time, firing past Cooper in front of the travelling fans to send the match to penalties.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.