Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. bagisto api
    Log in to post
    • All categories
    • A

      Not able to get Cart items
      Modules • customers bagisto api • • Akanrat

      8
      0
      Votes
      8
      Posts
      1343
      Views

      devansh-webkul

      Hi @Akanrat,

      If the user is authenticated then yes it will be the same. Because for authenticated user cart is fetched from the database.

      I think you are getting confused, I am just sharing a thread that will help you,

      Actually, this is a cross-domain, you need to send the cookies so that session can be tracked. I am sharing with you a thread that can help you just try to send cookies in ajax request and it will work.

      https://stackoverflow.com/questions/63445307/php-session-id-session-variable-value-changing-on-every-request-from-react-axi

      https://stackoverflow.com/questions/29417518/how-can-set-cookie-with-ajax-jquery/29417575#29417575

      https://symfonycasts.com/screencast/reactjs/api-authentication

    • F

      Bagisto API login without token lifetime
      General Discussion • bagisto api bagisto api login • • fiqih.majaindo

      2
      0
      Votes
      2
      Posts
      337
      Views

      A

      You can extend token lifetime by updating this in {your-project}\config\jwt.php file
      assuming this is JWT_TTL=NULL in .env file.

      'ttl' => env('JWT_TTL', 60),

      update 60 to your limit

      I use this

      'ttl' => env('JWT_TTL', 20160),
    • F

      How to get product grouped and product bundle api
      General Discussion • bagisto api • • fiqih.majaindo

      2
      0
      Votes
      2
      Posts
      490
      Views

      V

      @fiqih-majaindo
      this has been recently added in bagisto master branch, you may check these changes and add into your project
      https://github.com/bagisto/bagisto/pull/4516