Prorate payment based on start day

  • David Parker
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #98334 by David Parker
Prorate payment based on start day was created by David Parker
Hello-
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.

More
7 years 11 months ago #98348 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prorate payment based on start day
Hello David

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
  • New Member
More
7 years 11 months ago #98440 by David Parker
Replied by David Parker on topic Prorate payment based on start day
Hi Tuan-

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.

More
7 years 11 months ago #98463 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prorate payment based on start day
Hello David

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.

More
7 years 10 months ago #99952 by wirecreative
Replied by wirecreative on topic Prorate payment based on start day
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.

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #99955 by wirecreative
Replied by wirecreative on topic Prorate payment based on start day

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.

More
7 years 10 months ago #99968 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prorate payment based on start day
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

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #100001 by wirecreative
Replied by wirecreative on topic Prorate payment based on start day

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.
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #100011 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prorate payment based on start day
Hello

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.