appearance against St Johnstone, Gonçalves scored both goals of a 2–0 victory. He scored another goal against Celtic at St Mirren Park in a 2–1 loss in the sixth round of the Scottish Cup. On 17 March 2013, Gonçalves played in the Scottish League Cup final against Hearts where he scored the equalising goal and provided an assist for Conor Newton's third in a 3–2 victory Buddies' first League Cup and their first major trophy since 1987. Shortly after scoring, he lifted his jersey, which had the inscription "Forca Fábio Faria" ("Come on Fábio Faria"), dedicating a goal to a player whose career ended after a heart condition. Gonçalves was then booked by the referee. In a 1–1 draw against Celtic on 31 March, Gonçalves caused controversy when he dived to win the penalty after being fouled by Emilio Izaguirre, with television pictures proving that there was no contact. After the match, he was given a two-match ban by the SFA, following an issue of complaint for his action of diving, which he accepted. He told BBC Scotland that he would be happy to make a return to St. Mirren in the future. The club was willing to make his transfer permanent, but Rio Ave announced that this would not be the case, and said that such a deal would cost £400,000. APOEL (loan) On 3 July 2013, Gonçalves completed a season-long loan move to Cypriot side APOEL. He scored on his debut against NK Maribor at GSP Stadium on 31 July, opening the scoring in a 1–1 first leg draw for the third qualifying round of the 2013–14 UEFA Champions League. On 24 October, he scored the equaliser against Bordeaux in APOEL's 2–1 defeat at Stade Chaban-Delmas for the third matchday of the UEFA Europa League group stage. He scored his first league goals in APOEL's 5–0 home victory against AEK Kouklia on 2 December, in a match which Gonçalves managed to score a hat-trick. On 31 December, APOEL terminated his contract by mutual consent. On 14 January 2014, Veria signed Gonçalves on a one-year loan deal. He scored his first Superleague goal in a defeat to PAOK. Heart of Midlothian After a stint in Cyprus with Anorthosis, Gonçalves signed for Scottish Premiership club Heart of Midlothian in January 2017. Hearts paid a transfer fee of about £170,000 for his services and he made his debut in a 4–1