File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function mapByOrder(OrderInterface $order): array
6565 'coupon ' => $ order ->getCouponCode (),
6666 'date ' => date ("Y-m-d " , strtotime ($ order ->getCreatedAt ())),
6767 'paymentType ' => $ this ->getPaymentType ($ order ),
68- 'payment_method ' => $ order ->getPayment () ? $ order ->getPayment ()->getMethod () : '' ,
68+ 'payment_type ' => $ order ->getPayment () ? $ order ->getPayment ()->getMethod () : '' ,
6969 'customer ' => $ this ->getCustomerData ($ order ),
7070 ];
7171 }
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function merge(): array
5151 'affiliation ' => $ this ->config ->getStoreName (),
5252 'transaction_id ' => $ order ->getIncrementId (),
5353 'coupon ' => $ order ->getCouponCode (),
54- 'payment_method ' => $ order ->getPayment () ? $ order ->getPayment ()->getMethod () : ''
54+ 'payment_type ' => $ order ->getPayment () ? $ order ->getPayment ()->getMethod () : ''
5555 ];
5656 }
5757
You can’t perform that action at this time.
0 commit comments