There are different types of donation place.
this kind of donation place is normally used for people to donate clothes or other items other than blocks but if u put the donation box on the floor, people can steal it easily so this is how you can make it. First step: Put a block above the ground. Second step: Put a door or portal diagonally on top of the block. Third step: put 3 death spikes(Venus guy trap works too!) surrounding the portal or door except on top of the block. Fourth step: place a water bucket on top of the block . now it can be used! You can connect a door to the portal to collect your donations! (Remember to lock that door!)
this kind of donation place is mostly for people to break blocks or plant trees to donate. this can also be used for people to help you farm!
First step:Get a lock of any size you want your donation box to be if u just want a small one just buy a small lock from the store for 50gems but if u want a huge one(good for farming) you just purchase from the store for 500gems.Step two:decide the shape of your donation box you want it to be(most people make a straight line) Step Three: Use unwanted block to form the shape of your donation box. Step four: place the lock beside it and use your wrench to wrench it and tick ignore empty air and allow anyone to build and click on the 'reapply lock' button. Step 5 : surround the donation box! Don't forget to leave a space for a door so u can enter or maybe just use an entrance door . Now it's all ready for use! U can use that to hire people to help you farm too!
Remember to lock your doors that lead you to collect your donation or it might be stolen! The second type is the better one as the chances of stealing are 0% unless you forget to lock your door!
Hope it helps!^^ Have fun!