Search found 24 matches

by adityabanerjee
11 Jan 2020, 10:29
Forum: Laravel package
Topic: Getting site code giving error
Replies: 1
Views: 55

Getting site code giving error

Hi I have extended the getSession and setSession methods from the Base.php. I have created my own php file named Ebdaa.php my Ebdaa.php looks like <?php namespace Aimeos\MShop\Order\Manager\Base; class Ebdaa extends Standard { public function getSession($type = 'default') { $context = $this->getCont...
by adityabanerjee
22 Dec 2019, 18:32
Forum: Laravel package
Topic: Empty basket returned
Replies: 3
Views: 141

Re: Empty basket returned

Please tell us, which Laravel Session cookie key and value I need to pass? Do I need to create a new session, cookie somewhere and then pass that key and value in each API request? Please guide us. We are stuck and not able to progress from here :(. We need to get the basket product we added but not...
by adityabanerjee
22 Dec 2019, 18:27
Forum: Laravel package
Topic: Basket API
Replies: 3
Views: 153

Re: Basket API

Please tell us, which Laravel Session cookie key and value I need to pass? Do I need to create a new session, cookie somewhere and then pass that key and value in each API request? Please guide us. We are stuck and not able to progress from here :(. We need to get the basket product we added but not...
by adityabanerjee
20 Dec 2019, 11:15
Forum: Laravel package
Topic: Basket API
Replies: 3
Views: 153

Basket API

In the documentation to get the basket, I see -: If the basket is empty, it will return only the basic basket properties but no products, addresses, service items or coupons. Important is that the same session cookie is sent with each request, which is normally the case. Otherwise, an empty basket i...
by adityabanerjee
20 Dec 2019, 11:00
Forum: Laravel package
Topic: Empty basket returned
Replies: 3
Views: 141

Empty basket returned

Hi, I am using "aimeos/aimeos-laravel": "~2019.10.1", "aimeoscom/ai-sites": "^2019.10" and have installed Laravel passport. Now For the Aimeos JSON API to work now we need to pass Authorization: Bearer token and Accept: application/json in the headers for each request and the token is attached to a ...
by adityabanerjee
18 Dec 2019, 12:11
Forum: Help
Topic: Empty basket returned
Replies: 1
Views: 160

Empty basket returned

Hi, I am using "aimeos/aimeos-laravel": "~2019.10.1", "aimeoscom/ai-sites": "^2019.10" and have installed Laravel passport. Now For the Aimeos JSON API to work now we need to pass Authorization: Bearer token and Accept: application/json in the headers for each request and the token is attached to a ...
by adityabanerjee
18 Dec 2019, 11:52
Forum: Help
Topic: Empty csrf in Json:api
Replies: 1
Views: 90

Empty csrf in Json:api

Hi, I am using "aimeos/aimeos-laravel": "~2019.10.1", "aimeoscom/ai-sites": "^2019.10",, In all my Aimeos Json:api standard API I am getting empty CSRF values. "meta": { "total": 1, "prefix": null, "content-baseurl": "http://ebdaa-ecommerce-beta.test/", "csrf": { "name": "_token", "value": "" } }, C...
by adityabanerjee
18 Dec 2019, 07:44
Forum: Help
Topic: Invalid JSON in body
Replies: 1
Views: 99

Invalid JSON in body

Hi guys, I am trying to add a product to the basket from the postman. Now I have installed Laravel passport and passing the authorization in the headers and my URL with post method is -: http://ebdaa-ecommerce-beta.test/default/jsonapi/basket?id=default&related=product&product.id=15&quantity=1 Now i...
by adityabanerjee
13 Dec 2019, 06:32
Forum: Help
Topic: Api Authentication
Replies: 1
Views: 109

Api Authentication

Hi,

I have added a Laravel passport to my installation. Now I wanted to secure the API routes of aimeos. To do that I would be adding the auth:api middleware. So I wanted to know where shall I add this middleware to the aimeos routes?

Regards
by adityabanerjee
02 Dec 2019, 10:25
Forum: Help
Topic: Upgrade aimeos to 2019 version
Replies: 1
Views: 112

Upgrade aimeos to 2019 version

Hi team,

I wanted to upgrade the aimeos package to the 2019 version. So in such a case, can I add it to Laravel 6. *?

Regards
Aditya