mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-21 20:56:07 +03:00
Fix customer create externalId (#251)
This commit is contained in:
parent
b22941cc3e
commit
feaeca458f
@ -1,3 +1,6 @@
|
|||||||
|
## v4.1.8
|
||||||
|
* Fixed customer externalId when creating a customer and sending it to RetailCRM
|
||||||
|
|
||||||
## v4.1.7
|
## v4.1.7
|
||||||
* Fixed notices in ICML generation and while setting delivery type
|
* Fixed notices in ICML generation and while setting delivery type
|
||||||
* Fixed incorrect data check before setting payment data
|
* Fixed incorrect data check before setting payment data
|
||||||
|
@ -420,6 +420,7 @@ class ModelExtensionRetailcrmOrder extends Model {
|
|||||||
'lastName' => $data['lastname'],
|
'lastName' => $data['lastname'],
|
||||||
'email' => $data['email'],
|
'email' => $data['email'],
|
||||||
'createdAt' => $data['date_added'],
|
'createdAt' => $data['date_added'],
|
||||||
|
'externalId' => $data['customer_id'],
|
||||||
'address' => array(
|
'address' => array(
|
||||||
'countryIso' => $data['payment_iso_code_2'],
|
'countryIso' => $data['payment_iso_code_2'],
|
||||||
'index' => $data['payment_postcode'],
|
'index' => $data['payment_postcode'],
|
||||||
|
Loading…
Reference in New Issue
Block a user