By the way if you're interested in experimenting more broadly outside of a stripe integration I wrote the quickstarts for Optimizely Full Stack which use a discount example, feel free to ask me questions about how it works :) (we have a free plan too) https://docs.developers.optimizely.com/full-stack/docs/javas...