Code Monkey home page Code Monkey logo

Comments (7)

driesvints avatar driesvints commented on June 13, 2024 1

@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.

driesvints avatar driesvints commented on June 13, 2024

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.

driesvints avatar driesvints commented on June 13, 2024

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.

alzaabi98 avatar alzaabi98 commented on June 13, 2024

@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.

driesvints avatar driesvints commented on June 13, 2024

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

Screenshot 2020-07-07 at 13 07 39

Can you please read the docs carefully before opening issues? Thanks.

from cashier-paddle.

driesvints avatar driesvints commented on June 13, 2024

Btw, the next beta will include support for checking the billing interval, etc.: #24

from cashier-paddle.

alzaabi98 avatar alzaabi98 commented on June 13, 2024

@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)

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.