Fixes for Square

This commit is contained in:
David Bomba 2023-08-27 09:22:46 +10:00
parent a33b12b28d
commit 4cd4cc56e7

View File

@ -146,7 +146,7 @@ class SquareWebhook implements ShouldQueue
$data = [
'payment_type' => $this->source_type[$square_payment->source_type],
'amount' => $payment_hash->amount_with_fee,
'amount' => $payment_hash->amount_with_fee(),
'transaction_reference' => $square_payment->id,
'gateway_type_id' => GatewayType::BANK_TRANSFER,
];