Correct email, transfer in lowercase (#161)
This commit is contained in:
parent
30cd87cad9
commit
60d093d7a0
@ -64,10 +64,10 @@ class WC_Retailcrm_Order extends WC_Retailcrm_Abstracts_Data
|
|||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
'externalId' => $order->get_id(),
|
'externalId' => $order->get_id(),
|
||||||
'createdAt' => $order->get_date_created()->date('Y-m-d H:i:s'),
|
'createdAt' => $order->get_date_created()->date('Y-m-d H:i:s'),
|
||||||
'firstName' => $firstName,
|
'firstName' => $order->get_shipping_first_name(),
|
||||||
'lastName' => $lastName,
|
'lastName' => $order->get_shipping_last_name(),
|
||||||
'email' => $order->get_billing_email(),
|
'email' => strtolower($order->get_billing_email()),
|
||||||
'customerComment' => $order->get_customer_note(),
|
'customerComment' => $order->get_customer_note(),
|
||||||
'phone' => $order->get_billing_phone(),
|
'phone' => $order->get_billing_phone(),
|
||||||
'countryIso' => $order->get_shipping_country()
|
'countryIso' => $order->get_shipping_country()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user