Documentation Menu

Diagnostic Tools

Maintenance and troubleshooting tools for store administrators.

Maintenance Utilities

Administered via the "Diagnostics" tab, these tools help maintain the health and performance of the PaySentinel plugin itself.

Available Tools:

  • Run Full Diagnostics

    Performs an exhaustive check of the database schema, API connectivity, and cron health.

  • Recalculate Health Metrics

    Manually trigger a refresh of all gateway health scores (useful if you've just resolved a configuration issue).

  • Clean Orphaned Records

    Removes temporary monitoring data that didn't result in a valid transaction log.

  • Archive Old Transactions

    Moves transactions older than 90 days to a legacy table to keep the main log performant.

  • Reset All Data

    Completely wipes the PaySentinel database. Use with extreme caution!

Payment Simulation (Sandbox)

PaySentinel includes a built-in failure simulator that allows you to test your notification and recovery systems without needing real credit cards.

How it works: Use the "Simulate Payment Failure" tool to create mock transactions for specific gateways. This will trigger any configured Slack or Email alerts as if they were real events.

Debugging Logs

If you're having issues, you can enable "Debug Mode" in General Settings. This will log raw API payloads and database queries to the standard WordPress debug log (wp-content/debug.log).