Comments (15)
Didn't try both together before, but PRs are always welcome 😉
from laravel-subscriptions.
I fixed it using the php documentation. It is ugly, but solves the problem in the official way.
use Billable, HasSubscriptions {
Billable::newSubscription insteadof HasSubscriptions;
Billable::subscription insteadof HasSubscriptions;
Billable::subscriptions insteadof HasSubscriptions;
HasSubscriptions::newSubscription as _newSubscription;
HasSubscriptions::subscription as _subscription;
HasSubscriptions::subscriptions as _subscriptions;
}
from laravel-subscriptions.
@Omranic a PR probably would use new functions names, what you think about that?
from laravel-subscriptions.
A made a PR #74 without breaking changes.
from laravel-subscriptions.
This is now fixed in 3eedf73
from laravel-subscriptions.
@Omranic Still have the same problem.
from laravel-subscriptions.
Not tested yet. But is this a breaking change?
from laravel-subscriptions.
@Bariskau what problem do you still have, can you please explain in more details..
@insign Yes, function and trait renames.
from laravel-subscriptions.
@Omranic Cashier basically just takes care of the stripe payment part. We have to create user limitations or plan information ourselves. That takes a lot of time. This package offers them, it just can't get paid. We already handle this with cashier. For this reason, it support will be good for many people to work with cashier.
If support will not be given, I recommend this package to interested people. You can manage the quota through Cashier.
from laravel-subscriptions.
@Bariskau TBH I still didn't get your points, so what's the issue related to this package exactly?
What you explained is correct, and it's mentioned already in the docs, this package doesn't handle payment.
from laravel-subscriptions.
@Bariskau is right. HasSubscriptions
trait from laravel-subscriptions keeps colliding with Billable
trait from Cashier.
It's sad that this issue is so old, had many major new version, and it keeps the same function names...
from laravel-subscriptions.
OK, now I see why's the complains! All these issues were already fixed long time ago, but wasn't merged into master
branch, it was staying in the develop
and not tagged yet. I've tagged a new release now v6.0.1 which should include all of these fixes! 🚨
Let me know if there's still anything conflicting with Cashier.
from laravel-subscriptions.
from laravel-subscriptions.
Yes, we should be following semver, and the major changes in v6.x was meant to be this change mainly, hence the major release, however I just noticed it wasn't merged into it. So I tagged a new minor version, which is probably not kosher from a semver perspective!
Anyway, the backward incompatibility issues is because of the function renames that solve the previous Cashier conflicts, nothing else.
from laravel-subscriptions.
Thank you, now looks great!
from laravel-subscriptions.
Related Issues (20)
- Renew Subscription and try to use record feature usage, Unique Key constraint voilation HOT 2
- Problem with surcharging models (tenancy case) HOT 1
- Problem with surcharged models (multi-tenancy architecture) HOT 2
- sort_order doesnt take the value i have given it take increment value automatically in version 4.1.0 any help ? HOT 3
- Wrong morph columns name of migrated table HOT 2
- Mutiple currencies and prices HOT 1
- whats different starts_at and trial_ends_at HOT 1
- ERROR: There are no commands defined in the "rinvex:publish" namespace HOT 1
- Get bookings of the given user with plan price HOT 2
- what are prorate_period,prorate_extend_due, prorate_extend_day for? HOT 1
- How to get user current subscription HOT 7
- Trait "Rinvex\Subscriptions\Traits\HasPlanSubscriptions" not found HOT 2
- The model PlanSubscription returns false on canUseFeature
- Problem with installation on Laravel 7 HOT 2
- Laravel doesn't read migrations and configs from published files HOT 1
- How to implement default plan on user signup? [DONE] HOT 1
- How to get list of subscriptions that are due/past due?
- HasPlanSubscriptions Error HOT 5
- Creating Plans using Seeders Failing HOT 4
- Laravel 9 HOT 4
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 laravel-subscriptions.