strangerstudios / pmpro-donations

Allow customers to set an additional donation amount at checkout with Paid Memberships Pro.
https://www.paidmembershipspro.com/add-ons/donations-add-on/
8 stars 17 forks source link

Feature Request: Display donation value separate from subscription value. #25

Closed ipokkel closed 1 year ago

ipokkel commented 5 years ago

A user has requested to display donation values separate from subscription values on the account page and invoices instead of the current combined value.

tictag commented 4 years ago

Great idea! I currently have to extract the donation amount from the Order notes in order to export the donation amount into the Orders CSV export. Having the donation amount in metadata would be a far more elegant solution.

Perhaps the same could be done for Gift Aid, which similar to donations also only exists in the Order Notes?

dparker1005 commented 3 years ago

This is now possible due to the addition of the pmpro_get_price_parts filter.

MaryOJob commented 1 year ago

Example of the pmpro_get_price_parts filter here, please: https://gist.github.com/dparker1005/6dacc12fc71a05038ab70b950a288c3a

dparker1005 commented 1 year ago

Closing as this feature has been implemented via filter.