Germany's Borussia Dortmund signed a season-long deal with Barcelona striker Paco Alcacer and the German club also has an option to buy.