File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ public function checkoutSuccess()
9797 $ tmpItems = array ();
9898 foreach ($ items as $ item ) {
9999 $ tmpItem = array ();
100- $ tmpItem ["order_id " ] = $ lastOrderId ;
100+ $ tmpItem ["order_id " ] = $ order -> getIncrementId () ;
101101 $ tmpItem ["product " ] = $ item ->getName ();
102102 $ tmpItem ["product_id " ] = $ item ->getProductId ();
103103 $ tmpItem ["price " ] = round ($ item ->getPrice (), 2 );
104104 $ tmpItem ["quantity " ] = (integer )$ item ->getQtyOrdered ();
105- $ tmpItem ["purchase_date " ] = strtotime ($ item ->getCreatedAt ());
105+ $ tmpItem ["purchase_date " ] = strtotime ($ order ->getCreatedAt ());
106106 $ tmpItem ["currency " ] = $ order ->getData ('order_currency_code ' );
107107 $ tmpItem ["source " ] = "MAGENTO Order " ;
108108
Original file line number Diff line number Diff line change 22<config >
33 <modules >
44 <Conlabz_CrConnect >
5- <version >3.4.4 </version >
5+ <version >3.4.5 </version >
66 </Conlabz_CrConnect >
77 </modules >
88 <global >
You can’t perform that action at this time.
0 commit comments