CDiscount is putting the relay name (for REL/SO1/RCOShippingMethod) in the ShippingAddress in LastName.
The FirstName contains the full name of the client (concataining the first and last name).
When we create the shipping address we split the FirstName in order to decompose the real first and last name. The relay name is then transferred to the company name.
Actual behaviour
The relay name is not appearing in the company name
Steps to reproduce the behaviour
Create an order from CDiscount with REL method and check the final shipping address created in PrestaShop.
Expected behaviour
CDiscount is putting the relay name (for
REL/SO1/RCO
ShippingMethod
) in theShippingAddress
inLastName
.The
FirstName
contains the full name of the client (concataining the first and last name). When we create the shipping address we split theFirstName
in order to decompose the real first and last name. The relay name is then transferred to the company name.Actual behaviour
The relay name is not appearing in the company name
Steps to reproduce the behaviour
Create an order from CDiscount with REL method and check the final shipping address created in PrestaShop.