"Do they not know that it is Allah who accepts repentance from His servants and takes the charities?" meaning: He accepts them.
﴿أَلَمْ يَعْلَمُوا أَنَّ اللَّهَ هُوَ يَقْبَلُ التَّوْبَةَ عَنْ عِبَادِهِ وَيَأْخُذُ الصَّدقَات﴾ أَي: يقبلهَا.