Some scenes from Mandy Moore 's movie were filmed in the Dominican Republic .
Filming began at Pinewood Studios in the United Kingdom and Dominican Republic on June 18 , 2015 , and finished on August 7 , 2015 .