CustomerFactory doesn't work as expected with Prestashop 8.0
Library Version:
1.2.9
NuGet Package Url:
https://www.nuget.org/packages/PrestaSharp/1.2.9
Prestashop version:
8.0.0
Describe the Bug: i'm trying to get customer data releated to order via id_customer member
CustomerFactory customerFactory = new CustomerFactory(baseUrl, account, password);
var query= customerFactory.Get((long)item.id_customer);
query value is null
also following methods return no results
- customerFactory.GetIds() method work, i retrive 3 items
- customerFactory.GetAll() & GetAllAsync() doesn't work (both return null)
- customerFactory.GetByFilter(null, null, null) doesn't work (return null)
Prestashop run into docker container (https://hub.docker.com/r/prestashop/prestashop/) with this configuration
- Server: Apache/2.4.54 (Debian)
- PHP: 8.1.9
- MySQL: 5.7.40
- MySQL Engine: InnoDB
- MySQL Driver : DbPDO
updates
customerFactory work fine with PrestaShop ver 1.7.8.8
- PrestaShop: 1.7.8.8
- Server: Apache/2.4.54 (Debian)
- PHP: 7.4.30
- MySQL: 5.7.40
- MySQL Engine: InnoDB
- MySQL Driver : DbPDO
customerFactory.GetByFilter(null, null, null) doesn't work (return null) You should first null in GetByFilter replace with Dictionary with filters
- customerFactory.GetIds()
ok, but what about GetIds() method?
Look like a Prestashop problem. We use CustomerFactory with PS 8.1.2 and it work correctly.