I appreciate your advice on this matter. I’ve been looking for a way to send payments to multiple receivers from paypal for a few days, I’m developing a platform in Laravel, and I’ve tried the api-sdk-php, and it works perfectly for individual payments however, I have not got the correspondi…
Tag: laravel
AWS SES Email not verified with Laravel
I have this mail test class to send email to user by SES: by tinker: Even I opened case and convert from sandbox to production: My .env: Am I missing something? The error:: Answer Moving from Sandbox to Production only eliminates the requirement to verify the recipient addresses , however, you must need to ve…
Laravel 7 Delete array or single image from db and disk – Deletes post but not associated images from db nor disk
In Laravel 7, I am have a task management app. I can upload tasks (posts if it were a blog) and images. I have a multiple image upload working as expected. When it comes time to delete a task, the …
Laravel ORM is giving an incorrect result on a simple query
I really don’t get it, help me understand. I’m writing an app which among other things calculates a NFL team “mark” (a mark is Win/Lose/Tie, sorry I don’t know the word in English for that), so I have a “Marca” attribute in the Team model, looks like this: Queries are…
Laravel Custom Admin Login is not working
I have been developing a Laravel Auth system where there is a admin panel I had to create a custom admin authentication system. After after going through all the steps the login system is not working. After submitting the login form it redirect me to the same login page again instead of redirecting to the das…
How can I pass values from my Laravel App’s Sqlite database to a .js file to allow Paypal Checkout buttons to function?
I will say up front, that I am sure there may be easier or better ways to do this, so if you know of one feel free to comment and explain your method. For my application though, some things cannot …
Get the id of the stored items after using Laravel insert eloquent
I stored an array in the database using the Laravel insert Eloquent method as below: $newTags = [ [ ‘name’ => ‘tag1’ ], [ ‘name’ => ‘tag2’ ], ]; if (sizeof($…
Mysql where clause on multiple fields which one might be null
In my products table, I have 2 columns: price and discounted_price in which discounted_price is null most of the time unless there is a promotion for that product: +—-+——————–+——-+–…
Failed to install laravel/jetstream on laravel 8
after the installation of jetstream via composer composer require laravel/jetstream then suddenly get an ErrorException that there’s no such file or directory. I use this guideline for the installation. https://jetstream.laravel.com/1.x/installation.html I tried to delete the vendor and run composer upd…
LARAVEL – Customize response headers when using rate limiting middleware
I am developing a project in laravel8 (which is still new) and I want to hide some custom response headers(starting with x-) like: I want to customize this behavior and hide these headers, how can I easily find code (in a framework), which set’s these headers My code: Answer Let’s say we can creat…