I don’t know the code of the plugin, but I know in detail what it does to my Stripe system…
If userA buys a subscription, it creates a Stripe customer and a recurring Stripe subscription. Back in Discourse, they are then “activated” (my word, not Discourse’s) by having the Stripe subscription ID associated with their account. If userA wanted to “give” a subscription… I don’t see how that would work in Stripe’s system. The customer (from Stripe’s point-of-view) is personA. Stripe has personA’s payment information on file. Stripe sends notifications to personA.
Now, my Q for the Discourse team is:
Maybe something with coupons?? So we’d sell userA, a one-time product for some amount of money. Then userA can pass that coupon code to userB. That way userB still has to create their subscription (in Discourse’s interface, passing their payment information along so Stripe sets up their Customer info and their Subscription.) BUT, they also enter a coupon code which allow charging them less (ideally zero if the discourse-admin sets up the products/subscriptions correctly.)
Hope I’m not mudding the waters here . . .