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 @@ -59,7 +59,7 @@ public function get(): array
5959 'tax ' => $ this ->priceFormatter ->format ((float )$ order ->getTaxAmount ()),
6060 'shipping ' => $ this ->priceFormatter ->format ($ this ->orderTotals ->getShippingTotal ($ order )),
6161 'coupon ' => $ order ->getCouponCode (),
62- 'payment_method ' => $ order ->getPayment () ? $ order ->getPayment ()->getMethod () : '' ,
62+ 'payment_type ' => $ order ->getPayment () ? $ order ->getPayment ()->getMethod () : '' ,
6363 'items ' => $ this ->orderItems ->setOrder ($ order )->get (),
6464 ]
6565 ];
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function get(): array
4646 'tax ' => $ this ->priceFormatter ->format ((float )$ order ->getTaxAmount ()),
4747 'shipping ' => $ this ->priceFormatter ->format ($ this ->orderTotals ->getShippingTotal ($ order )),
4848 'coupon ' => $ order ->getCouponCode (),
49- 'payment_method ' => $ order ->getPayment () ? $ order ->getPayment ()->getMethod () : '' ,
49+ 'payment_type ' => $ order ->getPayment () ? $ order ->getPayment ()->getMethod () : '' ,
5050 'items ' => $ this ->orderItems ->setOrder ($ order )->get (),
5151 ]
5252 ];
You can’t perform that action at this time.
0 commit comments