From 5ad7aa4b7e969a24098c55ba29f7ee93b901b31f Mon Sep 17 00:00:00 2001 From: Antonio Buedo Date: Wed, 6 Nov 2019 15:22:47 +0100 Subject: [PATCH] #v1.0.1911.1-rc --- src/BitPaySDKLight/Model/Invoice/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BitPaySDKLight/Model/Invoice/Invoice.php b/src/BitPaySDKLight/Model/Invoice/Invoice.php index 712083b..0ec742b 100644 --- a/src/BitPaySDKLight/Model/Invoice/Invoice.php +++ b/src/BitPaySDKLight/Model/Invoice/Invoice.php @@ -592,7 +592,7 @@ public function toArray() 'minerFees' => $this->getMinerFees()->toArray(), 'shopper' => $this->getShopper()->toArray(), 'billId' => $this->getBillId(), - 'refundInfo' => $this->getRefundInfo(), + 'refundInfo' => $this->getRefundInfo()->toArray(), 'paymentCodes' => $this->getPaymentCodes()->toArray(), 'extendedNotifications' => $this->getExtendedNotifications(), 'transactionCurrency' => $this->getTransactionCurrency(),