I am using a payment API. When I click on pay, it opens a new page in the browser, I do the payment on their platform and then, the user is redirected back to my website using a POST request. However, even if he was logged in when he quit my website, when he gets redirected back to my website
Tag: laravel
PHP Fatal error: Uncaught Error: Class ‘IlluminateFoundationApplication’ not found [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 1 year ago. Improve this question i am i…
Laravel preselect in a dropdown menu
I would like to pre-select a value for my dropdown but do not know what to put in order for the equivalence comparison. My current code is below: I suppose the space I put $organization->organization_recordid is where I should do the pre-selection. The value that I want to select is {{$service->organiza…
Laravel 8.1, –plain option does not exist [closed]
$php artisan make:Controller UserController –plain when when executing the above code i got the –plain option does not exist,anyone help im new to Laravel
laravel avoid multiple Select’s Option in blade
simply in my controller i have this collections: $category = Category::with(‘users’)->find($id); $users = User::with(‘roles’)->get(); and in front end i try to check which users in $users is …
Laravel get values that contains string in where clause
I’m trying to get in where clause the cities that contains certain string. For example, if I search for ‘Alexandria’ I want the results to have also ‘Alexandria’ and ‘Alexandria, Romania’ results. I tried the following code but this is not working: I also tried the fo…
Ldap bind message in Laravel
I have a question. Currently I am working with ldap connection. I have no issue with ldap connection as I am using manual ldap codes. My connection with ldap is success. All seems good when I enter the correct username and password. I have problem when I enter wrong password, the page will show “ErrorEx…
Laravel PackageManifest.php line 131: Undefined index: name
I updated the composer with this command: It was updated to version 2.0.4. Then when I tried to launch my Laravel project using: I got this error: I tried getting back to the old version of the composer with this: The composer was downgraded to version 1.9.3, but it didn’t help with the error. Then I us…
Using Laravel’s WhereIn to search multiple tables
I have 3 SQL tables. clients events client_events Because a client can have multiple events, I made the third table to show those relationships. I am using the following code to retrieve all of the clients that have the have a record matching this event, but it is only returning 1 record when there are multip…
Eloquent Laravel multiple like where and where clause
I have the below Mysql query that works. mysql: select * from operatories op left join locations al on op.location = al.location where op.opname like ‘%NP%’ or op.opname like ‘%OPEN%’ and al….