Replies: 8 comments
-
I'll ask @alecritson to take a look at this tomorrow when he's back in. |
Beta Was this translation helpful? Give feedback.
-
Looks like there could be an issue with this line: 'tax_breakdown' =>['name'=>'VAT','rate'=>3,'amount'=>12], Try this instead: [{"name": "VAT", "total": 123, "percentage": 20}] |
Beta Was this translation helpful? Give feedback.
-
@alecritson I tried the below comment. https://drive.google.com/file/d/1_0NpxOoEX_jK8-kYH25mrbg8EeJ3_Wfq/view?usp=sharing I saved to table like below and still its showing the total error in hub. Please have a look at the google drive image of my table value. Thanks |
Beta Was this translation helpful? Give feedback.
-
Did you also change it on the orders table? |
Beta Was this translation helpful? Give feedback.
-
Yes. Let me paste my code here..
|
Beta Was this translation helpful? Give feedback.
-
If you do: $cart->getManager()->createOrder(); Instead of creating everything manually, do you still get the same issue? It's hard to where things might be going wrong as I can't see how everything is set up |
Beta Was this translation helpful? Give feedback.
-
I tried with $cart->getManager()->createOrder(); Call to a member function count() on null Getting error like the image. I think my user and customer linking is not correct. Please assist me how can I solve this ? https://drive.google.com/file/d/1MwMoYrtxIlaSoBuM2DmU78uP6_FZetEP/view?usp=sharing
|
Beta Was this translation helpful? Give feedback.
-
I don't believe this is a bug, so moving to a discussion. If it does turn out to be a bug, please submit a new issue. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have created an order to getCandy database.
When I try to access from admin hub, Its showing error like this
Attempt to read property "total" on string (View: vendor/getcandy/admin/resources/views/livewire/pages/orders/show.blade.php)
Beta Was this translation helpful? Give feedback.
All reactions