Commit 10fa3160 authored by beardedwarrior's avatar beardedwarrior
Browse files

store the total received

parent 8824f917
......@@ -87,6 +87,8 @@ class walletNotify extends Command
$project = Project::where('payment_id', $transaction->paymentId)->first();
if ($project) {
// update the project total
$project->raised_amount = $project->raised_amount + $transaction->amount;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment