Questions tagged as 'laravel'

0
answers

140: invalid card owner, Payment market, Associate card to Customer

This is my code public function create_card($id, $token) { $request = array( "uri" => "/v1/customers/{$id}/cards", "data" => array( "to...
asked by 01.09.2018 / 18:39
1
answer

verify purchase code api

I found an employment script and I want the registration of the purchase code to be optional to publish it on my website the route is divided by steps but exactly the step3.blade.php asks me to verify the purchase code thing that I do not want p...
asked by 03.09.2018 / 04:53
3
answers

How to avoid the Trying to get property of non-object in array?

Previously I asked a question about the same topic, but I still have problems with some views. I have a query or a result that throws an API to me using Guzzlehttp, which throws me the following array when I print with dd ($ user): array:1 [▼...
asked by 08.08.2017 / 19:56
0
answers

No Load PDF when image is very large

I am generating a PDF with Laravel's DOM-PDF but I have a problem when the image weighs a lot, it does not generate the PDF but it sends me an error that the site can not be accessed, followed by the base64 code     
asked by 30.08.2018 / 02:29
2
answers

Concatenate a javascript variable in a path

I am working in laravel, creating a verification to be able to delete a record The JS code function confirmModal( $func,$id) { var message = "guardar"; if ($func == "eliminar") message = "eli...
asked by 29.08.2018 / 20:53
0
answers

Notification submission does not recognize attribute time_to_live (TTL) in cURL with Firebase

Hi, I have a problem with notifications sent through Firebase , the notification is sent perfectly, but by setting the time_to_live (TTL) attribute or message life time it does not recognize it, just overlooked and does not take it into account...
asked by 27.08.2018 / 18:41
1
answer

Laravel 5.6 Undefined variable: insurer

I have a driver where I made a function so that, according to a selected insurer, I returned the vehicles that are not registered in that insurer. When the function is executed, it sends me the error:    "Undefined variable: insurer" This...
asked by 28.08.2018 / 19:54
0
answers

Update a related model in belonsToMany (Laravel)

I need to update the information of a related table in two models I show the relationship in my entities, which has a form where more than one input is created and select which shows the information Query Model class Consulta exten...
asked by 28.08.2018 / 20:15
1
answer

My resolve of a Field in Graphql with laravel does not work

I'm trying to perform this custom resolver for a field, I used graphql in Node before, and it's the first time I use it with laravel, I do not understand why my resolver does not work.     
asked by 28.08.2018 / 15:03
1
answer

How to insert several records in the same table with the same name or id

Good morning classmates I have a question about how to insert this into a BD, as far as I understand it is with an array, This is my form <div class="panel-body"> <form class="form-inline" method="POST" action="{{URL::acti...
asked by 28.08.2018 / 18:59