[Plugin: Paid Memberships Pro] Easiest way to add pro rata payments
-
Hi, I’m trying to work out the easiest way to do the following,
Basically I want all memberships options to be paid yearly on 1st Jan at £40/yr
So my idea was have 4 options:
Joined Jan – Mar: initial £40 then recurring £40
Joined Apr – Jun: initial £30 then recurring £40
Joined Jul – Sep: initial £20 then recurring £40
Joined Oct – Dec: initial £10 then recurring £40So what I was thinking was set up the 4 subscription types, then in classes/class.memberorder.php function saveOrder() instead of using now() for the timestamp field use ‘” . strtotime(’01-01-‘.date(“Y”)) . “‘ which if I understand it right the code uses the timestamp field to see when it was last billed so by setting the timestamp to the 1st of jan of the current year it will bill again 1st jan the next year, would that be all I would have to change?
https://www.ads-software.com/extend/plugins/paid-memberships-pro/
- The topic ‘[Plugin: Paid Memberships Pro] Easiest way to add pro rata payments’ is closed to new replies.