Strange that there are lots of charity work on there and you jump for the royal foundation donations. Yet, you have no comment on their volunteer work.
H&M made their donations through the royal foundation from their wedding which was private. Charles paid a majority of the 2M with H&M reportedly paying for a few items. This was not the taxpayer money, not a state wedding, hence no heads of states were invited.
Charles paid, because presumably the father of the bride could not. H&M said people could donate through the royal foundation instead of giving gifts, the profits and proceeds of publicity also went to that. So I believe the person included those too as they viewed it as H&M money, and I suppose, so did the charities from how they are reporting it.
As for Archewell, the general public does not give any money to Archewell, they are redirected straight to the charity itself. The assumption so far is that H&M will raise funds for Archewell via production and podcasts etc. but they are not taking from the everyday donors.