Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with Sub Delay to Prorate Initial Price #12

Open
femiyb opened this issue Mar 11, 2021 · 2 comments
Open

Integrate with Sub Delay to Prorate Initial Price #12

femiyb opened this issue Mar 11, 2021 · 2 comments

Comments

@femiyb
Copy link

femiyb commented Mar 11, 2021

The add-on currently does not prorate the initial price for membership levels.

Some users use the Subscription Delay to set a specific date for the membership start date and would like to prorate the initial price based on the date the user signs up.

We currently have a snippet that does this but could look into integrating this into the Proration add-on

Recreating this issue:

  • Install both the PMPro Proration add-on and the PMPro Sub Delay add-on
  • Set a membership with a monthly renewal date with the sub delay, for example Y1-M2-01
  • When users check out here, they are still charged the full price instead of a prorated amount.
@MaryOJob
Copy link

MaryOJob commented Dec 6, 2022

In a similar issue, the add-on would not prorate on levels that are upgrading or downgrading which had a number of days set for the delay.

Moderators Only: #462665

Workaround gist: https://gist.github.com/femiyb/a26ea74bf297fa67c67d3952ed3c30fb

@dwanjuki
Copy link
Contributor

Similar issue. Ticket #490028
I was able to replicate. Proration isn't applied as expected when subscription delay is set to a number of days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants