strangerstudios / pmpro-reason-for-cancelling

Require members to provide a reason for leaving before they can cancel their membership.
https://www.paidmembershipspro.com/add-ons/pmpro-reason-cancelling/
13 stars 10 forks source link

Storing reason in order meta and added field to edit order screen #23

Closed kimcoleman closed 5 months ago

kimcoleman commented 2 years ago

Update to add a field on the Edit Order screen (shown for existing orders only, not when creating a new order).

Added function to show this field and save it on order update.

Also added function to save "reason" in the order meta when the user's membership level is changed. This is also saved in Order Notes (for now) as it previously had been.

Should we consider a migration script? Should we consider stopping to save in order notes as of this update? I'm open to suggestions.

Resolves #16

dparker1005 commented 5 months ago

Closing in favor of #29