From e4bfc75cff4daa8729e12b3cd773d9a3f6bd6400 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 14 Dec 2017 13:39:32 +0200 Subject: [PATCH] Fix Bitcoin amount --- app/Ninja/PaymentDrivers/StripePaymentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Ninja/PaymentDrivers/StripePaymentDriver.php b/app/Ninja/PaymentDrivers/StripePaymentDriver.php index ae0622238327..901d2a3071e3 100644 --- a/app/Ninja/PaymentDrivers/StripePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/StripePaymentDriver.php @@ -408,7 +408,7 @@ class StripePaymentDriver extends BasePaymentDriver 'account' => $this->account(), 'invitation' => $this->invitation, 'invoiceNumber' => $invoiceNumber, - 'amount' => $amount, + 'amount' => $this->invoice()->getRequestedAmount(), 'source' => $response, ]); } else {