addRecurringOrder() $allowDuplicate wth inactive subscriptions

Does anyone know how the allowDuplicate parameter works when creating a new subscription, more importantly, is an inactive subscription considered a duplicate?

I do not want the buyer to be able to purchase the same subscription twice unless their previous subscription is inactive.

If an inactive subscription is considered a duplicate, then I will have to handle the logic myself.


So I ‘believe’ that that works in conjunction with the setting in IS that says don’t allow duplicate orders within a certain time period. A common setting for that option is 24 hours. If I’m correct, then the allowDuplicate parameter (Boolean = true/false) will override that behavior.