GithubHelp home page GithubHelp logo

Comments (3)

driesvints avatar driesvints commented on June 10, 2024

This is because of #1628. When a subscription starts, we clear the generic trial period because it's no longer needed because your customer is now paying for their subscription.

The code you share is also an odd combination of a generic trial and a subscription trial, something we don't support and never intended to be combined. You either choose one or the other but not both.

from cashier-stripe.

sts-ryan-holton avatar sts-ryan-holton commented on June 10, 2024

Ah right. For my scenario the user is on effectively a "lifetime" subscription, which I'm utilising the trial for. They do not add payment methods, this is because they've bought a "redemption code" through a third-party vendor and are redeeming it on their account at sign-up.

How might I manage this? Because I'm setting the trial for a year, so Stripe shows their trial ending in a year, but I need to extend their trial every month or so by a month so it never ends, thus "lifetime".

Could I just call the extend method?

@driesvints

from cashier-stripe.

driesvints avatar driesvints commented on June 10, 2024

We can't provide support for a customization like that sorry. Lifetime subscriptions can also be granted by providing a 100% discount coupon code once they did a one-time purchase for a lifetime subscription. If you want to take things further you can keep a record of one time purchases in the app and then check if they purchased a "lifetime" subscription. There's some very basic starting docs on this in Cashier's QuickStart docs: https://laravel.com/docs/11.x/billing#quickstart-selling-products

from cashier-stripe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.