mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
fix REFUND_CAPTURE_CURRENCY_MISMATCH
This commit is contained in:
parent
44aecb698e
commit
852fbe9f54
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class RefundProcessor {
|
|||
$capture->invoice_id(),
|
||||
$reason,
|
||||
new Amount(
|
||||
new Money( $amount, get_woocommerce_currency() )
|
||||
new Money( $amount, $wc_order->get_currency() )
|
||||
)
|
||||
);
|
||||
return $this->payments_endpoint->refund( $refund );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue