Category : laravel-spark

I have a Laravel Spark Classic project that requires a $25 per month base subscription and then an additional $5 per team member (Spark::chargeTeamsPerMember()) implementation. The per member set up is currently in place, Stripe hooked up, all working swell — just wanted to know if it’s possible to add (either through Stripe or through ..

Read more

I have a Laravel Spark project in which I’d like to offer plans in multiple currencies dependent on the user’s geolocation. I think each plan would have to be ‘replicated’ for its desired currency so I’m thinking something like the following would be required: Spark::teamPlan(‘Business’, ‘business-usd’) ->price(7) ->attributes([ ‘currency’ => "usd" ]) ->features([ ‘First’, ‘Second’, ..

Read more

Dear Laravellers/Sparkers, I am transforming an old Spark project to the newest version. In my current version, I am mailing new users after they register to my website. For this purpose, I created this class: namespace Applisteners; use LaravelSparkEventsAuthUserRegistered; use IlluminateQueueInteractsWithQueue; use IlluminateContractsQueueShouldQueue; use IlluminateMailMailer; use IlluminateSupportFacadesMail; use IlluminateSupportFacadesLog; use IlluminateFoundationBusDispatchesJobs; class HookRegisteredUser { use ..

Read more

Dear Sparkers/Laravellers I am transforming an old Spark project (i believe version 6) to the latest version 11. To make some changes in the Spark PHP files, I’ve copied the files under vendor/laravel/spark-aurelius to a newly created folder named spark. Next, I’ve changed in the composer.json: "repositories": [ { "type": "composer", "url": "https://spark-satis.laravel.com" } ] ..

Read more

I am using Laravel Spark for billing my customers. In case they will pay with 3D Secure cards (I test it with card no. from stripe doc’s https://stripe.com/docs/testing#regulatory-cards: 4000 0027 6000 3184) I have the following problem: The stripe pop-up/modal opens and I click ‘Complete Authentication’. After that the authentication process starts and the user ..

Read more

I’m new to Laravel Spark and Vue, and have tried to move an existing app to it. In that app, I have these scripts included in the Blade template, which is then injected into app.blade.php: <script type="application/javascript" src="{{ mix(‘js/sidebar.js’) }}"></script> <script type="application/javascript" src="{{ mix(‘js/addEditTask.js’) }}"></script> <script type="application/javascript" src="{{ mix(‘js/scheduler.js’) }}"></script> The problem is that functions ..

Read more