diff --git a/app/PaymentDrivers/SquarePaymentDriver.php b/app/PaymentDrivers/SquarePaymentDriver.php index 2a92d18321e7..eb4a0bfec9ba 100644 --- a/app/PaymentDrivers/SquarePaymentDriver.php +++ b/app/PaymentDrivers/SquarePaymentDriver.php @@ -99,7 +99,7 @@ class SquarePaymentDriver extends BaseDriver $amount_money = new \Square\Models\Money(); $amount_money->setAmount($this->convertAmount($amount)); - $amount_money->setCurrency($this->square_driver->client->currency()->code); + $amount_money->setCurrency($this->client->currency()->code); $body = new \Square\Models\RefundPaymentRequest(\Illuminate\Support\Str::random(32), $amount_money, $payment->transaction_reference);