update([ 'payment_status' => 'paid', 'paid_at' => now(), 'receipt_path' => 'test/path.pdf', 'receipt_original_name' => 'test.pdf', ]); echo "Update successful.\n"; } catch (\Exception $e) { echo "Error: " . $e->getMessage() . "\n"; }