Cannot buy new license before expiry

Created on 11 September 2024, 5 months ago
Updated 12 September 2024, 5 months ago

Problem/Motivation

I have created product variations that give a user a role via a license. They pay for a year upfront, then they are given the role for that year. At the moment, I can't find a way to allow customers to buy the next year's license ahead of time (before the license expires) as they are prevented from adding the relevant product to their cart. They get an error message about already having the relevant role.

Steps to reproduce

Create a product variation that provides a license for a role for 1 year
Purchase that license
Try to purchase another license before it expires

Help!

I may be missing something obvious. I can see settings about alllowing renewal windows but I'm wondering if that's either (a) not working or (b) for subscriptions only. These products aren't subscriptions since they don't auto-renew, the user has to choose to purchase an additioanl year. Can someone either point me in the right direction or confirm that this can't currently be done? Is there a straightforward way around it?

πŸ’¬ Support request
Status

Fixed

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @btrd88
  • Assigned to TomTech
  • Status changed to Fixed 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States TomTech

    Hi @btrd88 !

    This is what the renewal window on the Product Variation Type is for.

    If your license if valid for one year, and you specify a window of 30 days, then:
    1. If it is less than 30 days from expiring, the user will be able to renew and will receive a message indicating the new extended expiration date.
    2. If it is more than 30 days from expiring, the user will receive a message indicating the date they can renew.

    This is not specific to subscriptions.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024