Paid Memberships Pro Donations Addon GPL Overview:
Donations allow customers to set an additional donation amount at checkout.
How it Works
When a user purchases a membership, they will have the option to “Make a Gift” at checkout. The price they enter will be added to the initial payment (amount collected at checkout). The Add On does not adjust any recurring, trial, billing cycle, or expiration settings (although this can be done through custom code).