Commit f4abf21 1 parent 5d10b2e commit f4abf21 Copy full SHA for f4abf21
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ public function checkoutSuccess()
97
97
$ tmpItems = array ();
98
98
foreach ($ items as $ item ) {
99
99
$ tmpItem = array ();
100
- $ tmpItem ["order_id " ] = $ lastOrderId ;
100
+ $ tmpItem ["order_id " ] = $ order -> getIncrementId () ;
101
101
$ tmpItem ["product " ] = $ item ->getName ();
102
102
$ tmpItem ["product_id " ] = $ item ->getProductId ();
103
103
$ tmpItem ["price " ] = round ($ item ->getPrice (), 2 );
104
104
$ tmpItem ["quantity " ] = (integer )$ item ->getQtyOrdered ();
105
- $ tmpItem ["purchase_date " ] = strtotime ($ item ->getCreatedAt ());
105
+ $ tmpItem ["purchase_date " ] = strtotime ($ order ->getCreatedAt ());
106
106
$ tmpItem ["currency " ] = $ order ->getData ('order_currency_code ' );
107
107
$ tmpItem ["source " ] = "MAGENTO Order " ;
108
108
Original file line number Diff line number Diff line change 2
2
<config >
3
3
<modules >
4
4
<Conlabz_CrConnect >
5
- <version >3.4.4 </version >
5
+ <version >3.4.5 </version >
6
6
</Conlabz_CrConnect >
7
7
</modules >
8
8
<global >
You can’t perform that action at this time.
0 commit comments