Comments (7)
@alzaabi98 there's the #cashier channel on Discord which might be a bit more appropriate. Issue trackers on the repos are mainly for reporting bugs but during the beta period I don't mind that.
from cashier-paddle.
Hey @alzaabi98. That's documented here: https://laravel.com/docs/7.x/cashier-paddle#prices
More info about the endpoint that's being used can be found here: https://developer.paddle.com/api-reference/checkout-api/prices/getprices
There's also https://developer.paddle.com/api-reference/subscription-api/plans/listplans if you want to consume the API directly.
from cashier-paddle.
In general I'd recommend to use the prices functionality because you can limit the plans to only the ones you want. The listplans endpoint just returns all plans on the account.
from cashier-paddle.
@driesvints
i want my user to be able to visit subscription page in my website and then he can view what plans he subscribed to .. monthly ,yearly.
also to provide option to swap plans,
i dont see how prices can get me this data , currently , i am sending him this info
$data = [
'subscription' => $user->subscription('default'),
'nextPayment' => $user->subscription('default')->nextPayment(),
'lastPayment' => $user->subscription('default')->lastPayment(),
];
I want also to show him name of the plan .
from cashier-paddle.
Hey @alzaabi98. I'm very happy to help you out but this is again something that is directly said in the docs: https://laravel.com/docs/7.x/cashier-paddle#prices
Can you please read the docs carefully before opening issues? Thanks.
from cashier-paddle.
Btw, the next beta will include support for checking the billing interval, etc.: #24
from cashier-paddle.
@driesvints Thanks for you quick answers. it is appreciated. i have read the docs until i feel i need to ask. I dont want to open issue just because I want to open issue. if there is another way to ask then it will be great to avoid opening new issues. What I need to have full information for subscription to show it user.
from cashier-paddle.
Related Issues (20)
- Disable generic trial once customer is subscribed HOT 1
- Fix incrementQuantity() & decrementQuantity() Throwing Error HOT 5
- Notice in the docs about "default checkout URL" HOT 1
- [2.x] add end at of the subscription period HOT 1
- Fix nextPayment() total HOT 1
- returnTo function added to checkout does not redirect HOT 6
- Bill for non-catalog items HOT 5
- Issues with subscriptions "price_id must be a string" HOT 4
- Webhook duplicating the response statuses HOT 8
- Cashier::findBillable($customerId) not returning anythying HOT 2
- Get subscription payment method HOT 1
- Add support for authentication via client-side tokens HOT 1
- Paddle webhook handler doesnt work HOT 3
- Laravel cashier-paddle package conflict with passport Auth Header HOT 1
- Paddle with Passport giving: Authentication header included, but incorrectly formatted HOT 3
- Pausing Subscriptions HOT 1
- Applying a discount on checkout HOT 1
- Problem with billing API - Transaction not created in the db HOT 13
- Changing email on the payment screen HOT 5
- Activate subscription is not working. HOT 10
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-paddle.