Skip to content

Releases: strangerstudios/pmpro-proration

1.0.4 - 2026-05-28

28 May 14:25

Choose a tag to compare

  • BUG FIX: Fixed an issue where proration could credit a user for a recurring payment they had not actually paid when their subscription was past due on PMPro v3.6 or later. The Add On now skips proration entirely for past-due subscriptions and lets the checkout proceed at full price. #40 (@dparker1005)
  • BUG FIX: Fixed an issue where a delayed downgrade could be processed prematurely when a recurring payment failed on PMPro v3.6 or later. Delayed downgrades now process when the subscription's next recurring payment is successfully collected (pmpro_subscription_payment_completed) instead of when an order is created (pmpro_added_order). #40 (@dparker1005)

1.0.3 - 2026-05-04

04 May 19:44

Choose a tag to compare

  • ENHANCEMENT: Updated all 5 delayed-downgrade email templates to use the new Liquid {{ variable }} syntax when running PMPro 3.7 or later, while still falling back to the legacy !!variable!! syntax on older versions of PMPro. Default email bodies now use the same wp_kses_post( __( ... ) ) pattern as PMPro core. #36 (@dparker1005)
  • BUG FIX: Fixed an issue where the delayed downgrade level could be incorrectly recorded as the level being downgraded from (instead of the level being downgraded to) on Stripe onsite checkouts when the Affiliates Add On was active. #37 (@dwanjuki)

1.0.2 - 2025-12-16

16 Dec 18:01

Choose a tag to compare

  • ENHANCEMENT: Now showing the correct email template variables when editing "delayed downgrade" email templates. #32 (@MaximilianoRicoTabo)
  • BUG FIX: Fixed broken order links on the "Delayed Downgrades" member edit panels when using PMPro v3.6+. #34 (@dparker1005)

1.0.1 - 2025-02-05

05 Feb 17:03

Choose a tag to compare

  • BUG FIX/ENHANCEMENT: Now setting profile start dates directly on level objects for sites running PMPro v3.4+ to avoid conflicts with custom code. #29 (@dparker1005)
  • BUG FIX: Fixed the !!edit_member_downgrade_url!! email template variable generating an incorrect URL. #27 (@dwanjuki)
  • BUG FIX: Fixed incorrect text domains for localized strings. #31 (@andrewlimaza)

1.0 - 2024-03-21

21 Mar 14:51

Choose a tag to compare

  • FEATURE: Now fully supporting delayed downgrades for PMPro v3.0+. #24 (@dparker1005)
  • ENHANCEMENT: Improved proration accurancy by using the subscriptions table in PMPro v3.0+ to calculate the prorated amount. #24 (@dparker1005)
  • ENHANCEMENT: Added localization support. (@dparker1005)
  • BUG FIX/ENHANCEMENT: Now showing prorated level cost after applying a discount code. #4 (@TravisHardman)
  • BUG FIX/ENHANCEMENT: Improving the accuracy of the pmprorate_isDowngrade() and pmprorate_have_same_payment_period() functions. #21 (@dparker1005)
  • BUG FIX/ENHANCEMENT: When using PMPro v3.0+, prorations now only happen between levels in the same "one level per user" level group. #24 (@dparker1005)
  • BUG FIX: Fixed issue where users would not keep their old membership level when downgrading. #14 (@dparker1005)
  • BUG FIX: Fixed issue where users could be charged more than the original level cost if checking out for a level with a different billing period and previous recurring orders are missing. #11 (@dparker1005)
  • BUG FIX: Fixed issue where users could receive a free initial payment if upgrading to a level with the same billing period and previous recurring orders are missing. #11 (@dparker1005)
  • BUG FIX: Fixed issue where subscriptions purchased during a downgrade would charge 1 payment period from the downgrade. Instead, the first recurring payment is now charged on the "next payment date" for the old subscription. (@ideadude)
  • REFACTOR: Moved code into separate files for clarity. #23 (@dparker1005)
  • DEPRECATED: Deprecated old functions that are not called. #22 (@dparker1005)

v0.3.1

19 Jun 03:25

Choose a tag to compare

BUG FIX: Added a check to the filter of pmpro_checkout_level to bail if no level.