Explains how you can set up recurring payments for your application, aka SaaS model. This can also be used to keep track of potential support/maintenance subscriptions.
expiration date
property that each license key has. We will cover the details of how this is implemented in the next section.
HasNotExpired()
in the if-statement below:
HasFeature(<feature number>)
in the if-statement.
invoice.payment_succeeded
- when this event is received, ExtendLicense method should be called for the license that the subscription belongs to.customer.subscription.deleted
- when this event is received, BlockKey should be called to make sure the license key can no longer be used.An implementation that supports recurring payments will be released in the coming weeks. In meantime, please reach out to us should you have any questions!