Payments need to be active to be recognised

This commit is contained in:
Deon George
2022-06-13 17:24:43 +10:00
parent 28438c6423
commit 5e82f091c0
7 changed files with 9 additions and 5 deletions

View File

@@ -116,6 +116,7 @@ class AdminController extends Controller
if (! $o->exists) {
$o->forceFill($request->only(['account_id','paid_at','checkout_id','checkout_id','total_amt','fees_amt','source_id','pending','notes','ip']));
$o->site_id = config('site')->site_id;
$o->active = TRUE;
$o->save();
}