Giter Site home page Giter Site logo

renoki-co / jetstream-cashier-billing-portal Goto Github PK

View Code? Open in Web Editor NEW
162.0 12.0 19.0 275 KB

Cashierstream is a simple Spark alternative written for Laravel Jetstream, with the super-power of tracking plan quotas, like seats or projects number on a per-plan basis

License: Apache License 2.0

PHP 58.50% Vue 21.67% Blade 19.84%
php laravel cashier stripe payment billing invoicing jetstream cashier-billing-portal cashier-register

jetstream-cashier-billing-portal's People

Contributors

a21ns1g4ts avatar dependabot-preview[bot] avatar dependabot[bot] avatar oanhnn avatar rennokki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jetstream-cashier-billing-portal's Issues

Prevent cors erros from redirects

Why use Redirect instead Inertia::location() ?
Why use response('', 409)->header('X-Inertia-Location', $url) if
response('', 409)->header('X-Inertia-Location', $url) is equals Inertia::location($url) ?
Why the $asResponse ? if

  return $asResponse
            ? response('', 409)->header('X-Inertia-Location', $url)
            : Redirect::to($url);

Always goes return: Redirect::to($url).

Bad things can happen if we combine $inertia.visit with:


image

What to do to prevent evetuals cors erros ?
Redirect::to($url) works in your installation ?

Not installed

I have problem with install.

Executing a command:

php artisan billing-portal:install

Error:

Not enough arguments (missing: "stack").

Laravel version: 8.0
PHP: 7.3
MySQL: 8
Composer: 1.10.20

I got this error after installation

Hello @rennokki i got this error after installation how can I fix this ?

  require(/******/vendor/renoki-co/jetstream-cashier-billing-portal/src/../routes/livewire.php): Failed to open stream: No such file or directory

  at vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:144
    140▕      */
    141protected function loadRoutesFrom($path)
    142▕     {
    143if (! ($this->app instanceof CachesRoutes && $this->app->routesAreCached())) {
  ➜ 144require $path;
    145▕         }
    146▕     }
    147148▕     /**

      +9 vendor frames
  10  [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(RenokiCo\BillingPortal\BillingPortalServiceProvider))

      +5 vendor frames
  16  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))```

Errors with routing about User model.

/user/billing/subscription

Call to undefined method App\Models\User::subscription()

/user/billing/portal

Call to undefined method App\Models\User::createOrGetStripeCustomer()

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.