WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-checkout-payment-proof-upload

WooCommerce Checkout Payment Proof Suite

Lightweight, mobile-optimized payment receipt upload suite for WooCommerce manual bank transfers.

★ 0stars
v1.0.0latest · 2mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/michaelnnahdev/woocommerce-checkout-payment-proof-upload/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WooCommerce Checkout Payment Proof & Bank Transfer Suite

A lightweight, secure, and mobile-optimized payment receipt upload suite for WooCommerce manual bank transfers.

This snippet eliminates mobile browser file upload lockouts (Android/iOS gallery caching), enforces server-side validation, renders a customizable checkout interface, and links proofs directly across Admin Order panels, Order tables, and Admin email alerts.

WooCommerce Payment Proof Checkout Preview


🌟 Key Features

  • Mobile Cache Lock Fix: Uses JavaScript FileReader and binary ArrayBuffer blob streaming to prevent mobile browsers (Android/iOS) from dropping fresh screenshots and camera captures.
  • Server-Side Security Gatekeeper: MIME-type sniffing via finfo_file(), extension whitelisting (JPG, PNG, PDF, HEIC, HEIF), randomized unique filenames, and nonce validation.
  • Full-Loop Admin Visibility:
    • Displays clickable proof link on the WooCommerce Admin Order Details page.
    • Injects proof preview/link directly into the Admin "New Order" Notification Email.
    • Adds a dedicated "Proof" column to the WooCommerce Order Management table.
  • Smart UI/UX:
    • Live upload spinner with dynamic order button locking to prevent premature submissions.
    • Direct WhatsApp order confirmation CTA on the "Thank You" receipt page.
    • Fully customizable CSS typography, color palette, and card styling.

📋 Requirements

  • WordPress 6.0+
  • WooCommerce 7.0+
  • PHP 7.4, 8.0, 8.1, 8.2, or 8.3
  • fileinfo PHP extension enabled on the host server

🚀 Installation & Setup

Method 1: Using WPCode / Code Snippets (Recommended)

  1. Navigate to Plugins > Add New and install WPCode (or any snippet management plugin).
  2. Go to Code Snippets > Add Snippet > Add Your Custom Code (New Snippet).
  3. Set Code Type to PHP Snippet.
  4. Paste the contents of woocommerce-payment-proof.php.
  5. Set Insertion method to Run Everywhere (or Front End Only).
  6. Activate the snippet and click Save Snippet.

Method 2: Child Theme functions.php

  1. Open your active child theme directory: wp-content/themes/your-child-theme/.
  2. Append the code inside woocommerce-payment-proof.php into your functions.php file.
  3. Save changes.

⚙️ Configuration & Customization Guide

All settings are organized into distinct blocks within woocommerce-payment-proof.php.

1. Bank Account Details & WhatsApp Routing

Locate the GLOBAL CONFIGURATION section at the top of woocommerce-payment-proof.php (around lines 14–27):

php // ============================================================================= // GLOBAL CONFIGURATION (Update with your store details) // ============================================================================= if ( ! defined( 'WC_PROOF_BANK_NAME' ) ) { define( 'WC_PROOF_BANK_NAME', 'GTBank' ); // Replace with your Bank Name } if ( ! defined( 'WC_PROOF_ACCOUNT_NAME' ) ) { define( 'WC_PROOF_ACCOUNT_NAME', 'Acme Store Ltd' ); // Replace with your Account/Business Name } if ( ! defined( 'WC_PROOF_ACCOUNT_NUMBER' ) ) { define( 'WC_PROOF_ACCOUNT_NUMBER', '0123456789' ); // Replace with your Account Number } if ( ! defined( 'WC_PROOF_WHATSAPP_NUMBER' ) ) { define( 'WC_PROOF_WHATSAPP_NUMBER', '2348012345678' ); // Country code + Number (NO '+' or spaces) }


2. Customizing Colors & Visual Theme

Locate **Section 3 (`

Releases

1 release.

Tag
Published
v1.0.0 latest
Sep 2, 2026 2mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.