From 398281a691c17fc020ca49038d287507dfd6ebe3 Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Mon, 16 Jan 2023 15:24:47 +0100 Subject: [PATCH] More fixes --- app/PaymentDrivers/Stripe/BACS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Stripe/BACS.php b/app/PaymentDrivers/Stripe/BACS.php index 6797c37cbb8a..3a4470dbc13f 100644 --- a/app/PaymentDrivers/Stripe/BACS.php +++ b/app/PaymentDrivers/Stripe/BACS.php @@ -122,7 +122,7 @@ class BACS $data = [ 'payment_method' => $payment_id['id'], 'payment_type' => PaymentType::BACS, - 'amount' => $this->stripe->convertFromStripeAmount($this->stripe->payment_hash->data->server_response->amount, $this->stripe->client->currency()->precision, $this->stripe->client->currency()), + 'amount' => $this->stripe->convertFromStripeAmount($payment_id->amount, $this->stripe->client->currency()->precision, $this->stripe->client->currency()), 'transaction_reference' => $payment_id['id'], 'gateway_type_id' => GatewayType::BACS, ];