Gift Cards and Promotions do not create subscription, instead creates unlimited license

Created on 10 December 2024, 9 days ago

When a user purchases a subscription, and uses a gift card or promotion, the subscription is not created at all. Instead a license is created, and the license has no expiration. My site checks the subscription status to grant users access. If no subscription is created, the user cannot do anything, because they are not subscribed. I cannot use the license instead of the subscription to check for access because they are granted an active license which does not expire.

I tested and verified that using a payment method triggers the subscription successfully even for a small amount. But if a payment method is not applied to the order then a recurring order is not created, and the user gets a perpetual license instead

Since the subscription is not created and the license lasts forever, this means that coupons, gift cards, and other promotions cannot be used with subscriptions.

Is there a way to still create the active subscription with the correct expiration date when a promotion is used? I have tried everything I can without any success. This seems to be a bug in the subscription function as well as a bug in the licensing function.

🐛 Bug report
Status

Active

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024