Deductions & credits

Because they are giving you credit in 2017, you would not be wrong to claim on 2017 taxes.  This is a judgment call and as long as you do not claim the same donation for both years you are not going anything illegal.