- Posts: 3
- Thank you received: 0
Prorate payment based on start day
- David Parker
- Topic Author
- Offline
- New Member
-
I want to pro rate the first payment, then start full priced payments at the beginning of each month.
For instance my customer pays half price if he starts in the middle of the month then all subsequent charges would be full price and charged on the 1st of each month. Basically a prorate scenario would be:
date..............Price
1st -7th..... full price
8th-14th....25% off
15th-22nd..50% off
23rd 31st ...75% off
Can this be achieved? Thanks.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Unfortunately, this case is not supported by the extension yet
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- David Parker
- Topic Author
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
I'd like to add this modification. Could you direct me to the files that I should look at?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
The whole logic for calculating subscription fee is on the file components/com_osmembership/helper/helper.php, method calculatateSubscriptionFee . So if you want to change the logic, I guess you will need to start from that method
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- wirecreative
- Offline
- Junior Member
-
- Posts: 23
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- wirecreative
- Offline
- Junior Member
-
- Posts: 23
- Thank you received: 1
wirecreative wrote: This is feature that I think we would make use of, too. Our site has annual subscriptions and, until now, they all begin Jan. 1st and end Dec. 31st. It would be great to continue operating this way by prorating a mid-year subscription which will then renew at the full fee Jan. 1st.
Wait, there's a "Prorated Signup Cost" option in the plan settings. But it didn't apply to my test transaction. Is it because I used a coupon?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
This feature will only apply for plan with Fixed Expiration Date (ie, set Expired Date of plan to 2018-31-12). Is it the kind of subscription plan you are using?
It should not depend on coupon code, thought
Tuan
Please Log in or Create an account to join the conversation.
- wirecreative
- Offline
- Junior Member
-
- Posts: 23
- Thank you received: 1
Tuan Pham Ngoc wrote: Hello
This feature will only apply for plan with Fixed Expiration Date (ie, set Expired Date of plan to 2018-31-12). Is it the kind of subscription plan you are using?
It should not depend on coupon code, thought
Tuan
Yes, the plan has a set expiry date of 12/31/17. Without pro-rating, the discounted fee w/coupon was $30. Since it's mid-June, the pro-rated fee should've been about half of that, right? See screenshots of plan settings and recorded subscription.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Yes. But I forgot to mention prorated sign up cost will only works with one time subscription plan. Could you please check and make sure Recurring Subscription setting of the plan set to No
If it set to No and still doesn't work, please submit a support ticket so that I can check it directly on your site
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.