Skip to Content Skip to Menu

[#6306] [SUBSCRIPTION_VALIDITY_PERIOD_IF_RENEWED]

  • poml
  • poml
  • OFFLINE
  • Posts: 111
  • Thanks: 1
  • Karma: 0
7 years 11 months ago - 7 years 11 months ago #288095 by poml
Hi there,

we have a plan that is set up to be valid for a calendar year. We also have a grace period, so if someone renews within the last 3 month of the year he/she will get the next year too. So, renewing now would be valid for 2017.

However, [SUBSCRIPTION_VALIDITY_PERIOD_IF_RENEWED] replaces for 2016.

[SUBSCRIPTION_EXPIRY_DATE_IF_RENEWED] shows the correct date, 31.12.2017.

Any idea why [SUBSCRIPTION_VALIDITY_PERIOD_IF_RENEWED] does show 2016 and not 2017?

Thanks!
Last edit: 7 years 11 months ago by krileon. Reason: Added [#6306] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
7 years 11 months ago #288101 by krileon
Replied by krileon on topic [SUBSCRIPTION_VALIDITY_PERIOD_​IF_RENEWED]
Technically the next validity period is 2016 and 2017, but it seams it only shows the first period. The subscription starts in 2016, but ends in 2017 making both those outputs correct.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • poml
  • poml
  • OFFLINE
  • Posts: 111
  • Thanks: 1
  • Karma: 0
7 years 11 months ago - 7 years 11 months ago #288105 by poml
Thanks for the quick reply.

So what you are saying is that I cannot use the validity period, but my only chance is the new expiry date? Why doesn't it display as validity period 2016-2017 then? I have seen that in other places in CBSubs.

I have one user that had Validity period: [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING] showing 2015-2017, I guess 2015 is the year he first signed up.

Can't [SUBSCRIPTION_VALIDITY_PERIOD_​​IF_RENEWED] show 2016-2017 or similar? Wouldn't that be more correct?
Last edit: 7 years 11 months ago by poml.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
7 years 11 months ago #288115 by krileon
I agree it should probably say 2016-2017 in this case. Have added a feature ticket to look into this further as the CBSubs substitutions certainly still have room for improvement.

#6306


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum