Skip to content

Commit f9857cd

Browse files
committed
Add phone data to when posting to /invitation
1 parent 88564d4 commit f9857cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Observer/SendOrderDetails.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public function dispatchNotification($order)
7878
'email' => $order->getCustomerEmail(),
7979
'order_id' => $order->getRealOrderId(),
8080
'country_code' => $order->getShippingAddress()->getCountryId(),
81+
'phone' => $order->getBillingAddress()->getTelephone(),
8182
'products' => $p
8283
], $magento_store_id);
8384

0 commit comments

Comments
 (0)