Coleraine missed out on a place in third round qualifiers of the Europa League after going down 3-0 on penalties to Motherwell at The Showgrounds.
Callum Lang and Tony Watt put the Scottish visitors 2-0 up, but two penalties from Ben Doherty and a red card for Well's Bevis Mugabi saw Coleraine force extra time and ultimately penalties.
Trevor Carson saved from Coleraine’s Ian Parkhill and Lyndon Kane, while Gareth McConaghie also missed, with Mark O’Hara, Watt and Stephen O’Donnell scoring to send Well through.
Meanwhile, Linfield were shocked by Maltese minnows Floriana at Windsor Park.
The Irish League champions finished the game with 10 men after Ross Larkin was sent-off, falling behind in the first-half to a Matias Garcia effort.
Elswhere, there was heartbreak for Connah's Quay Nomads, who fell to an injury-time penalty against Dinamo Tbilisi at Wrexham’s Racecourse Ground, while fellow Cymru Premier side Bala Town went down 2-0 at Standard Liege.
Earlier, Tanguy Ndombele struck a late winner as Tottenham narrowly avoided an embarrassing Europa League defeat to Lokomotiv Plovdiv in Bulgaria.
Jose Mourinho named a strong side for the second qualifying round tie but his side struggled throughout and Georgi Mindev put the hosts in front after 71 minutes.
But Harry Kane equalised from the penalty spot after an incident which saw two Plovdiv players sent off, before Ndombele converted Lucas Moura's pass in the 85th minute to set up a third qualifying round tie against Macedonian side Shkendija.
Rangers eased to a 5-0 win over Lincoln Red Imps in Gibraltar to seal a trip to Holland to face Willem II in a week’s time.
Captain James Tavernier scored for the third game in a row with a superb set-piece, with substitute Alfredo Morelos scoring twice and both Connor Goldson and Jermain Defoe also finding the net.
Aberdeen also made it through with a 2-0 win over Viking in Norway, their goals coming from Ross McCrorie and a late effort from Ryan Hedges direct from a corner.
Dundalk shrugged off the 58th-minute dismissal of Andrew Boyle to book their place in the third qualifying round with a 1-0 win over Inter Club d’Escaldes in Andorra.
David McMillan fired the only goal of the game for the Irish side in the 14th minute, and his side next face a trip to Sheriff Tiraspol.
Shamrock Rovers were dazzled by star quality in Dublin as a goal in each half from Zlatan Ibrahimovic and Hakan Calhanoglu saw Milan ease to a 2-0 win.