aws-samples / aws-marketplace-serverless-saas-integration

Example of serverless integration for SaaS products listed on the AWS Marketplace.
MIT No Attribution
131 stars 76 forks source link

Added support for free trials #51

Closed ozzambra closed 2 years ago

ozzambra commented 2 years ago

To enable free trials support the issue #45 "Enable Subscription SNS topic for SaaS Contract pricing model" was also addressed.

Description of changes:
 A new property for SaaS Contract free trials was added to the Subscription SNS topic. The previous implementation of Contracts in the Serverless Integration didn't use the Subscription topic for SaaS Contract. Now this topic is being used and the new free trial flag is added to the DB and to the new subscriptions' notification email.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.