# Paid Memberships Pro - Gift Levels Add On — Changelog `meteorgpl-plugin/pmpro-gift-levels` · 4 releases, newest first, as published by the vendor. ## 1.0.2 — 2022-07-19 - ENHANCEMENT: Added Gift level template and support for PMPro v2.9+ settings UI. ## 1.0.1 — 2021-09-14 - BUG FIX: Fixed fatal error when viewing Edit User page - BUG FIX: Fixed incorrect output on invoice page when a gift order was purchased ## 1.0 — 2021-09-13 - FEATURE: Gift levels can now be configured on the Edit Level page - FEATURE: Users can now enter a recipient email address during checkout to send a gift code to - FEATURE: Added email templates for gift checkouts (both user and admin) and for gift recipient emails - ENHANCEMENT: Added filter pmprogl_gift_code_purchased (Thanks, Mirco Babini) - ENHANCEMENT: Gift code data is now being stored in order meta - ENHANCEMENT: Admins can now see the gift codes that a user has purchased on the Edit User page or by editing a discount code - BUG FIX/ENHANCEMENT: Added warning if membership level is set up with recurring payment or expiration date and gift level in GUI - BUG FIX/ENHANCEMENT: Gift levels are now immediately removed after checkout for all users (Thanks, Mirco Babini) - BUG FIX/ENHANCEMENT: Moved gift level confirmation message to end of checkout email (Thanks, Mirco Babini) - BUG FIX: Fixed issue where purchasing gift level with Stripe could set an expiration date on previous membership - BUG FIX/ENHANCEMENT: Now clearing cached membership levels after removing gift level (Thanks, Mirco Babini) - BUG FIX: Fixed issue where gift code may not be generated at checkout with specific gateways (Thanks, knit-pay on GitHub) - BUG FIX: Fixed PHP notice (Thanks, Mirco Babini) - REFACTOR: Broke code into separate files ## 0.4 — 2020-12-09 - BUG FIX: Fixed an issue when checking out with PayPal would change the user's level. User's will now keep their current level when purchasing a gift. - ENHANCEMENT: Plugin strings have been localized and now support translations. - ENHANCEMENT: New filter added to allow changing of discount code settings during checkout process. Filter: 'pmprogl_gift_code_settings' ### .3 - 2019-01-08 - BUG FIX: Fixed bug where Gift Levels was not working with Stripe checkout for existing users. Users are no longer given an expiration date 3 days in the future. ### .2.3 - BUG: Fixed bug where $pmprogl_existing_member_flag was not being set correctly. ### .2.2 - Now preserving enddate when giving users their previous level back after checking out for a gift level. (Thanks, andrewatduckpin) ### .2.1 - Added code to set status of last level to "active" explicitly after checkout. Makes this addon compatible with PMPro v1.8+ ### .2 - Commented out $pmprogl_gift_levels example. Should be put into a custom plugin or the active theme's functions.php. - Fixed bug where entries for gift level purchases were not being deleted from the pmpro_memberships_users table. (Thanks, andrewatduckpin) ### .1.3 - Added gift code link to confirmation email ### .1.2 - Added readme.txt - Fixed bug on account page for users without purchased gift codes. ### .1 - This is the initial version of the plugin.