Test Transaction System
Create a test transaction and trigger admin email notification
📧 Email Notification Setup
All transactions created will automatically send a beautifully formatted email to:
neequaye.ca@gmail.com
To integrate this system into your existing pages, import and use the logTransaction function:
import { logTransaction } from '../components/utils/transactionNotifier';
// Usage example:
await logTransaction({
transaction_type: "cv_submission",
user_email: user.email,
user_name: user.full_name,
description: "User submitted CV for scoring",
status: "completed",
metadata: {
cv_name: "resume.pdf",
score: 85
}
});