The interval field created on the recurring product type does not have default allowed intervals set, you need to edit the field using the ui and select allowed periods. This should happen in the install hook.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eojthebrave’s picture

Status: Active » Needs review
FileSize
1.38 KB

Looks like this is a result of the 'allowed_periods' settings being part of the field configuration and not the field instance configuration. This seems to work for me.

eisagholi’s picture

Confirmed. Worked for me.

scotwith1t’s picture

Version: » 7.x-1.x-dev
Status: Needs review » Reviewed & tested by the community

Works great. Will be keeping a close eye on this project as it will make or break our new site! :) Let's get this committed and off the known issues list!

larowlan’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x-1.x branch - thanks all.

scotwith1t’s picture

Actually, can I make one request? I know you can enter annual recurring fees like 12 months or 24 months, but even if only from a display perspective, could you add the year interval as well? It would make more sense when the product reference displays the interval for it to be able to say 1 year for an annual subscription instead of 12 months or 2 years instead of 24 months? If it's not a big deal, I think it would benefit others too.

Status: Fixed » Closed (fixed)

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