[11] He made his debut on 24 May in a 1–1 draw against Young Lions as a 77th-minute substitute, providing the assist for Adi Said's equalising goal three minutes from time.
[12] Shafie finished the 2018 Singapore Premier League with 11 appearances under Renê Weber, but struggled to even make the bench under Adrian Pennock who prefers wing-backs supplying a front two and bringing on Razimie Ramlli as a super-sub role.
[17] Shafie missed out on the 2014 Hassanal Bolkiah Trophy but returned with the under-23s for the 2016 AFC U-23 Championship qualification held in Indonesia in late March 2015.
[20] Shafie made his full international debut on 3 November 2015 versus Cambodia in a friendly match that finished 6–1 against Brunei.
[27] Despite yet to make an appearance in the 2019 season for DPMM, Shafie was in contention for a place in the national squad to face Mongolia at the 2022 World Cup qualification matches in July.
[28] In December 2022, he was selected for the national team in the 2022 AFF Mitsubishi Electric Cup and featured against Indonesia in Kuala Lumpur in a 0–7 loss.
[30] After two years of being in the periphery of the national team, Brunei caretaker coach Jamie McAllister selected him for the 2024 ASEAN Championship qualification matches against Timor-Leste in October 2024 in place of Razimie Ramlli.
[31] The Scot utilised Shafie as a second-half substitute in both home and away legs, the tie ending 0–1 in favour of the Timorese who secured their place at the 2024 ASEAN Championship over Brunei.