Match your onward date to the right entry
Fifteen days is short for Madagascar. If your onward flight is after day 15, you'll need a 30- or 60-day single-entry tourist visa, which GOV.UK says you can buy on arrival at the airport in US dollars, euros or Malagasy ariary.
The onward date you show, and the entry you ask for, should tell the same story. A 25-day trip on a visa-free entry won't add up.
On arrival
Expect a small administration fee in euros, and keep your onward booking handy. Your passport needs at least 6 months' validity from arrival and 2 blank pages.