Linfield and Crusaders will both face Scottish league opposition in the fourth round of the Scottish Challenge Cup.
Linfield will travel to take on Queen of the South, whilst Crusaders will host former top-flight side Livingston.
The matches will be played on 8/9 October with TV selections still to be confirmed.
Welsh sides Bala Town and the New Saints are also in the draw.
Bala Town v Alloa Athletic
Forfar Athletic v The New Saints
Crusaders v Livingston
Queen of the South v Linfield
Hibernian v St Mirren
Dunfermline Athletic v Queen's Park
Ayr United v Falkirk
Stranraer v Dundee United