Skip to content

Commit

Permalink
fix add payment method
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Aug 13, 2024
1 parent 407d041 commit 792dc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Resources/Api/V1/Admin/Sales/OrderResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function toArray($request)
'customer_last_name' => $this->customer_last_name,
'shipping_method' => $this->shipping_method,
'shipping_title' => $this->shipping_title,
'payment_method' => $this->payment_method,
'payment_method' => $this->payment->method,
'payment_title' => core()->getConfigData('sales.paymentmethods.'.$this->payment->method.'.title'),
'shipping_description' => $this->shipping_description,
'coupon_code' => $this->coupon_code,
Expand Down

0 comments on commit 792dc76

Please sign in to comment.