Comments (3)
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.
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?
from cashier-stripe.
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)
- Add support for quote HOT 2
- Dynamic Tax Rates for Subscriptions HOT 4
- Improvement: End the generic trial instead of clearing it when a subscription is started HOT 1
- Confirm payment screen not processing payment correctly HOT 1
- Use of anchorBillingCycleOn() for subscription checkout HOT 3
- Method hasPaymentMethod returns false if Stripe Link is enabled HOT 1
- check if user is subscribed? documentation says this should work? HOT 1
- Bug finding payment method causing error on payment.blade.php HOT 2
- Migrations do not create foreign key in "subscription_items" to "subscriptions" table HOT 1
- It would be great if Cashier had events HOT 5
- Trait method 'allowPromotionCodes' will not be applied because it collides with 'PerformsCharges' HOT 1
- Support for upcoming changes to Stripe Prefilling saved cards in Checkout HOT 3
- Support for additional important Stripe signals for fraud detection HOT 1
- Make card default for subscriptions via Stripe checkout HOT 3
- Confirm Payment notification never sent HOT 4
- Support for new usage Meters HOT 3
- Duplicate entry stripe_id HOT 6
- Multiple Keys for Webhook Signing HOT 4
- invoice() method of subscription creates empty invoice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cashier-stripe.