1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

More fixes

This commit is contained in:
Lars Kusch 2023-01-16 15:24:47 +01:00
parent fda44f1552
commit 398281a691

View File

@ -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,
];