More fixes

This commit is contained in:
Lars Kusch 2023-01-16 16:04:43 +01:00
parent cd2d1d690d
commit 4720df8236

View File

@ -125,12 +125,8 @@ class BACS
'amount' => $this->stripe->convertFromStripeAmount($payment_id->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'], 'transaction_reference' => $payment_id['id'],
'gateway_type_id' => GatewayType::BACS, 'gateway_type_id' => GatewayType::BACS,
'invoices' => collect($this->stripe->payment_hash->invoices()),
]; ];
$this->stripe->payment_hash->data = array_merge((array) $payment_id, $data);
$this->stripe->payment_hash->save();
$payment = $this->stripe->createPayment($data, Payment::STATUS_PENDING); $payment = $this->stripe->createPayment($data, Payment::STATUS_PENDING);
SystemLogger::dispatch( SystemLogger::dispatch(