How have i incorrectly formed the numeric value guys?

|
2020-12-29 13:17:06
Hi folks
2020-12-29 13:17:19
Can you please help me to resolve this error
2020-12-29 13:17:50
This error has taken so much time of mine. Immediate help is highly appreciated
2020-12-29 13:18:01
Thanks in advance
Bhavyakumar Panchotiya 2020-12-29 13:29:09
2020-12-29 13:16:41

JSON error is there

2020-12-29 14:11:14
How to resolve this
Kibeish 2020-12-29 14:11:44
Hi someone assist below code snippet
Kibeish 2020-12-29 14:12:33
laravel_discuss-64608.jpg
session to add
Kibeish 2020-12-29 14:13:03
laravel_discuss-64609.jpg
Error
Kibeish 2020-12-29 14:13:51
How have i incorrectly formed the numeric value guys?
Kibeish 2020-12-29 14:14:33
line of code $storedItem[‘price’] = $item->price * $storedItem[‘qty’];
Kibeish 2020-12-29 14:34:17
anyone @rebory
djx10d 2020-12-29 15:25:32
Kibeish 2020-12-29 14:13:51
How have i incorrectly formed the numeric value guys?

check if $item->price and $storedItem[‘qty’] are both numeric values

djx10d 2020-12-29 15:26:33
and if both “if” statements are true, $storedItem is overwritten, and is not array anymore
Kibeish 2020-12-29 15:30:32
djx10d 2020-12-29 15:25:32
check if $item->price and $storedItem[‘qty’] are both numeric values

laravel_discuss-64618.jpg
You tell me sir. Am kind of worked up

Kibeish 2020-12-29 15:43:50
djx10d 2020-12-29 15:25:32
check if $item->price and $storedItem[‘qty’] are both numeric values

yes they are

segungreat 2020-12-29 16:38:50
Kibeish 2020-12-29 15:43:50
yes they are

Force the values to intval for each of them

hypernxf 2020-12-29 16:42:22
The last time I saw such issue is when the Price include the currency. You might want to check if yours is just digits
hypernxf 2020-12-29 16:43:26
usually if the string is just numbers, it doesn’t have to be cast to intval. so that means the data might contain something else PHP dont understand.
Shafin 2020-12-29 17:00:49
How to configure payumony
Shafin 2020-12-29 17:01:00
Please help me
djx10d 2020-12-29 17:04:54
Kibeish 2020-12-29 15:43:50
yes they are

But did you check it with var_dump or dd? It must have integer or float type, not string.

theankitdangi 2020-12-29 17:14:22
Shafin 2020-12-29 17:00:49
How to configure payumony

How you want to configure?

karthick_sivakumar 2020-12-29 19:23:42
Anu 2020-07-20 19:12:06
http://ktuworld.com/anu_e5

Is it possible to make such website with laravel??

Yes

Anu 2020-12-29 19:30:52
karthick_sivakumar 2020-12-29 19:23:42
Yes

it was posted in July,
now work is completed and deployment in production.
thankyou

karthick_sivakumar 2020-12-29 19:32:06
Anu 2020-12-29 19:30:52
it was posted in July,
now work is completed and deployment in production.
thankyou

Can I see it

sobirjonovs 2020-12-29 20:13:19
who did use reg.ru mail in laravel? I couldn’t use. I think reg.ru is denied…

Swift_TransportException
Connection could not be established with host mail.****.** :stream_socket_client(): …

How to fix this issue?

sobirjonovs 2020-12-29 20:15:48
laravel_discuss-64637.jpg

sobirjonovs 2020-12-29 20:17:25
laravel_discuss-64638.jpg

Shafin 2020-12-29 20:53:40
theankitdangi 2020-12-29 17:14:22
How you want to configure?

I have doing a project. there is a online payment option and that client gave me a payumoney document so i need to integrate that payment gateway integration payumone gave me only core php docs

natghi2010 2020-12-29 22:52:20
2020-12-17 20:17:39
@kibe, You’ll fine NAT as toughest guy here 🙈

eh?

2020-12-29 23:07:32
natghi2010 2020-12-29 22:52:20
eh?

Not you bro..

natghi2010 2020-12-29 23:35:17
2020-12-29 23:07:32
Not you bro..

okay

natghi2010 2020-12-29 23:35:31
laravel_discuss-64646.jpg

natghi2010 2020-12-29 23:35:42
Does anyone know what this means?
|