Skip to content

Commit 36f783c

Browse files
authoredMay 2, 2025
feat: LAR-363 fixing sponsoring payment error (#363)
2 parents 7d5d35b + d56d81a commit 36f783c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎app/Livewire/Components/SponsorSubscription.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function submit(): void
134134
'status' => $payload->transaction->status,
135135
'transaction_reference' => $payload->transaction->reference,
136136
'user_id' => $user->id,
137-
'fees' => $payload->transaction->fee,
137+
'fees' => empty(get_object_vars($payload->transaction->fees)) ? 0 : $payload->transaction->fees->fee,
138138
'type' => TransactionType::ONETIME->value,
139139
'metadata' => [
140140
'currency' => $payload->transaction->currency,

0 commit comments

Comments
 (0)