Skip to content

Commit

Permalink
Use expected parameter format
Browse files Browse the repository at this point in the history
  • Loading branch information
FTLam11 committed Dec 6, 2022
1 parent 22b5923 commit 26452b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-wc-gateway-komoju.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function process_payment($order_id, $payment_type = null)
],
'line_items' => $line_items,
'metadata' => [
'woocommerce_order_id' => $order->get_id(),
'woocommerce_order_id' => strval($order->get_id()),
],
];
$remove_nulls = function ($v) { return !is_null($v); };
Expand Down

0 comments on commit 26452b3

Please sign in to comment.