WP Manifestindependent plugin directory
manifest / forms / kodr-secure-referral-archive

Kodr Secure Referral Archive

Securely archives selected Gravity Forms submissions to a private Amazon S3 bucket, off the WordPress database.

by Kodr Digital Ltd · github.com/alex-kodr/kodr-secure-referral-archive · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/alex-kodr/kodr-secure-referral-archive/archive/refs/heads/main.zip

Gravity Forms Secure Offsite Submissions to AWS S3 Bucket

A WordPress plugin that securely archives selected Gravity Forms submissions to a private Amazon S3 bucket, off the WordPress database, for organisations that need durable, confidential storage of referral data.

See readme.txt for the WordPress-facing plugin readme (installation, changelog summary). This file is the developer-facing entry point.

Documentation

Key decisions

  • PHP 8.4+, WordPress 7.0+, Gravity Forms 2.10+
  • AWS credentials are read only from the KODR_GF_ARCHIVE constant in wp-config.php — never stored in the database
  • Each submission is archived as JSON and a PDF (via TCPDF)
  • Archiving is queue-based and processed in the background via WP-Cron; nothing is uploaded during the visitor's request
  • No submitted form data ever appears in logs or alert emails
  • Archiving is enabled per Gravity Form, and disabled by default
  • File uploads attached to forms are out of scope for version 1
  • Once a submission is fully archived to S3, the source Gravity Forms entry is permanently deleted automatically — sensitive data should not linger in the database. Entries that never successfully archive are left alone and fall back to Gravity Forms' own retention policy

Development

composer install
composer test

No local WordPress environment is bundled with this repository. Test changes on a development or staging WordPress site with Gravity Forms active. Unit tests under tests/ cover logic that doesn't require a full WordPress/Gravity Forms runtime (e.g. entry parsing) and use invented fixture data only — never real referral data.