Spaces:
No application file
No application file
FORGE-X: Upload source (cb077b0d.zip)
Browse files- README.md +92 -7
- cb077b0d/assets/css/admin.css +5 -0
- cb077b0d/assets/js/admin.js +10 -0
- cb077b0d/cb077b0d.php +123 -0
- cb077b0d/languages/cb077b0d.pot +2 -0
- cb077b0d/readme.txt +33 -0
- cb077b0d/uninstall.php +6 -0
README.md
CHANGED
|
@@ -1,13 +1,98 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
|
|
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: "DevOps & Infrastructure Invoice and Payment WordPress Plugin"
|
| 3 |
+
emoji: ⚙️
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.0
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
tags:
|
| 12 |
+
- devops
|
| 13 |
+
- infrastructure
|
| 14 |
+
- automation
|
| 15 |
+
- monitoring
|
| 16 |
+
- lead
|
| 17 |
+
- generation
|
| 18 |
+
- form
|
| 19 |
+
- booking
|
| 20 |
+
- appointment
|
| 21 |
+
- system
|
| 22 |
---
|
| 23 |
+
# DevOps & Infrastructure Invoice and Payment WordPress Plugin
|
| 24 |
|
| 25 |
+
Stop manually tracking DevOps infrastructure costs across vendors and losing invoices in Slack threads. The DevOps & Infrastructure Invoice and Payment WordPress Plugin automates your entire billing workflow—turning hours of admin work into minutes.
|
| 26 |
+
|
| 27 |
+
This plugin bridges the gap between your WordPress site and complex infrastructure billing by creating a centralized invoice and payment system specifically built for DevOps teams. Unlike generic invoice plugins, it understands infrastructure-specific billing cycles, multi-vendor payments, and automation workflows. You get transparent cost tracking, automated reminders, and professional invoicing—all without leaving WordPress.
|
| 28 |
+
|
| 29 |
+
## What's Included
|
| 30 |
+
|
| 31 |
+
- Automated invoice generation for multi-vendor infrastructure costs
|
| 32 |
+
- One-click payment processing with integrated gateway support
|
| 33 |
+
- Infrastructure-specific billing templates and cost categorization
|
| 34 |
+
- Real-time payment status tracking and reconciliation dashboard
|
| 35 |
+
- Scheduled invoice delivery and late-payment automation workflows
|
| 36 |
+
|
| 37 |
+
## Who Is This For
|
| 38 |
+
|
| 39 |
+
- DevOps engineers managing costs across AWS, Azure, GCP, and on-premise infrastructure
|
| 40 |
+
- Infrastructure agency owners who bill clients for managed services and cloud resources
|
| 41 |
+
- Startup founders tracking DevOps spending without dedicated accounting staff
|
| 42 |
+
- Tech consultants who need professional invoicing integrated into their client portals
|
| 43 |
+
|
| 44 |
+
## How It Works
|
| 45 |
+
|
| 46 |
+
Install the plugin directly into your WordPress dashboard in under 2 minutes. Connect your payment gateway, customize your infrastructure invoice templates, and start creating invoices instantly. The plugin syncs with your payment processor and automatically tracks which invoices are paid, overdue, or pending—all viewable from your WordPress admin.
|
| 47 |
+
|
| 48 |
+
## Frequently Asked Questions
|
| 49 |
+
|
| 50 |
+
**Does this work with my existing WordPress site?**
|
| 51 |
+
Yes. This plugin installs directly into any WordPress installation and integrates seamlessly with your existing site. No custom development needed.
|
| 52 |
+
|
| 53 |
+
**What payment gateways are supported?**
|
| 54 |
+
The plugin supports Stripe, PayPal, and bank transfers out of the box, with additional gateway integrations available through extensions.
|
| 55 |
+
|
| 56 |
+
**Can I customize invoices for different infrastructure clients?**
|
| 57 |
+
Absolutely. Create unlimited custom invoice templates for different clients, vendors, or infrastructure types with your branding and custom fields.
|
| 58 |
+
|
| 59 |
+
**Is this suitable for freelance DevOps consultants or only agencies?**
|
| 60 |
+
Perfect for both. Whether you're a solo consultant or managing a full DevOps team, the plugin scales from simple invoicing to complex multi-vendor billing automation.
|
| 61 |
+
|
| 62 |
+
**How often are updates and new features released?**
|
| 63 |
+
You receive monthly updates and access to the DevOps plugin community for feature requests, plus dedicated support for all customers.
|
| 64 |
+
|
| 65 |
+
## What You Get
|
| 66 |
+
|
| 67 |
+
- Instant digital download
|
| 68 |
+
- Complete WordPress plugin with full documentation
|
| 69 |
+
- Free updates for life — pay once, own forever
|
| 70 |
+
- Setup guide and usage instructions
|
| 71 |
+
|
| 72 |
+
**Get your DevOps & Infrastructure Invoice and Payment WordPress Plugin today for $38.98 and reclaim hours of billing admin work—automate your infrastructure invoicing now.**
|
| 73 |
+
|
| 74 |
+
## 🚀 Usage
|
| 75 |
+
|
| 76 |
+
1. Click **Use in Spaces** above to run the demo directly
|
| 77 |
+
2. Or clone the repository and run locally:
|
| 78 |
+
|
| 79 |
+
```bash
|
| 80 |
+
git clone https://huggingface.co/spaces/WealthFromAI/devops-infrastructure-invoice-and-payment-wordpress-plugin-cb07
|
| 81 |
+
cd devops-infrastructure-invoice-and-payment-wordpress-plugin-cb07
|
| 82 |
+
pip install -r requirements.txt
|
| 83 |
+
python app.py
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
## 💰 Pricing
|
| 87 |
+
|
| 88 |
+
- **Demo**: Free on Hugging Face Spaces
|
| 89 |
+
- **Full Source Code**: $38.98
|
| 90 |
+
- Available on [Gumroad](https://gumroad.com) and [Whop](https://whop.com)
|
| 91 |
+
|
| 92 |
+
## 📄 License
|
| 93 |
+
|
| 94 |
+
MIT License — free to use, modify, and distribute.
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
*Built with [FORGE-X](https://github.com/WealthFromAI) — automated digital product engine*
|
cb077b0d/assets/css/admin.css
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* cb077b0d Admin Styles */
|
| 2 |
+
.cb077b0d-wrap { max-width: 800px; }
|
| 3 |
+
.cb077b0d-notice { padding: 12px 16px; border-left: 4px solid #0073aa; background: #f0f6fc; margin: 16px 0; border-radius: 4px; }
|
| 4 |
+
.cb077b0d-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
|
| 5 |
+
.cb077b0d-card h2 { margin-top: 0; color: #1d2327; }
|
cb077b0d/assets/js/admin.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* cb077b0d Admin JS */
|
| 2 |
+
(function($) {
|
| 3 |
+
'use strict';
|
| 4 |
+
$(document).ready(function() {
|
| 5 |
+
// Status check
|
| 6 |
+
if (typeof cb077b0d_vars !== 'undefined') {
|
| 7 |
+
console.log('cb077b0d admin loaded.');
|
| 8 |
+
}
|
| 9 |
+
});
|
| 10 |
+
})(jQuery);
|
cb077b0d/cb077b0d.php
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Plugin Name: DevOps & Infrastructure Invoice and Payment WordPress Plugin
|
| 4 |
+
* Description: Generate invoices, accept payments, track revenue, and automate receipts for DevOps & Infrastructure. All-in-one financial management for DevOps & Infrastructure sites.
|
| 5 |
+
* Version: 1.0.0
|
| 6 |
+
* Author: Digital Forge
|
| 7 |
+
* Text Domain: cb077b0d
|
| 8 |
+
* License: GPL-2.0+
|
| 9 |
+
*/
|
| 10 |
+
|
| 11 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
| 12 |
+
|
| 13 |
+
define( 'CB077B0D_VERSION', '1.0.0' );
|
| 14 |
+
define( 'CB077B0D_DIR', plugin_dir_path( __FILE__ ) );
|
| 15 |
+
|
| 16 |
+
class Cb077b0d {
|
| 17 |
+
private static $instance = null;
|
| 18 |
+
|
| 19 |
+
public static function instance() {
|
| 20 |
+
if ( null === self::$instance ) {
|
| 21 |
+
self::$instance = new self();
|
| 22 |
+
}
|
| 23 |
+
return self::$instance;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
private function __construct() {
|
| 27 |
+
add_action( 'init', [ $this, 'init' ] );
|
| 28 |
+
add_action( 'admin_menu', [ $this, 'admin_menu' ] );
|
| 29 |
+
add_action( 'admin_init', [ $this, 'settings_init' ] );
|
| 30 |
+
add_action( 'rest_api_init', [ $this, 'register_routes' ] );
|
| 31 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_admin_assets' ] );
|
| 32 |
+
load_plugin_textdomain( 'cb077b0d', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
public function init() {}
|
| 36 |
+
|
| 37 |
+
public function admin_menu() {
|
| 38 |
+
add_options_page(
|
| 39 |
+
esc_html__( 'DevOps & Infrastructure Invoice and Payment WordPress Plugin Settings', 'cb077b0d' ),
|
| 40 |
+
esc_html__( 'DevOps & Infrastructure Invoice and Payment WordPress Plugin', 'cb077b0d' ),
|
| 41 |
+
'manage_options',
|
| 42 |
+
'cb077b0d-settings',
|
| 43 |
+
[ $this, 'settings_page' ]
|
| 44 |
+
);
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
public function settings_init() {
|
| 48 |
+
register_setting( 'cb077b0d_options', 'cb077b0d_options', [ $this, 'sanitize_options' ] );
|
| 49 |
+
add_settings_section( 'cb077b0d_main', '', '__return_false', 'cb077b0d-settings' );
|
| 50 |
+
add_settings_field( 'enabled', esc_html__( 'Enable', 'cb077b0d' ), [ $this, 'field_enabled' ], 'cb077b0d-settings', 'cb077b0d_main' );
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
public function sanitize_options( $input ) {
|
| 54 |
+
$clean = [];
|
| 55 |
+
$clean['enabled'] = ! empty( $input['enabled'] ) ? 1 : 0;
|
| 56 |
+
return $clean;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
public function field_enabled() {
|
| 60 |
+
$opts = get_option( 'cb077b0d_options', [] );
|
| 61 |
+
$val = ! empty( $opts['enabled'] ) ? 1 : 0;
|
| 62 |
+
echo '<input type="checkbox" name="cb077b0d_options[enabled]" value="1"' . checked( $val, 1, false ) . ' />';
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
public function settings_page() {
|
| 66 |
+
if ( ! current_user_can( 'manage_options' ) ) return;
|
| 67 |
+
?>
|
| 68 |
+
<div class="wrap">
|
| 69 |
+
<h1><?php echo esc_html( get_admin_page_title() ); ?></h1>
|
| 70 |
+
<form method="post" action="options.php">
|
| 71 |
+
<?php settings_fields( 'cb077b0d_options' ); ?>
|
| 72 |
+
<?php do_settings_sections( 'cb077b0d-settings' ); ?>
|
| 73 |
+
<?php submit_button(); ?>
|
| 74 |
+
</form>
|
| 75 |
+
</div>
|
| 76 |
+
<?php
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
public function register_routes() {
|
| 80 |
+
register_rest_route( 'cb077b0d/v1', '/data', [
|
| 81 |
+
[ 'methods' => 'GET', 'callback' => [ $this, 'rest_get' ], 'permission_callback' => '__return_true' ],
|
| 82 |
+
[ 'methods' => 'POST', 'callback' => [ $this, 'rest_post' ], 'permission_callback' => function() { return current_user_can( 'manage_options' ); } ],
|
| 83 |
+
] );
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
public function rest_get( $request ) {
|
| 87 |
+
return rest_ensure_response( [ 'status' => 'ok', 'plugin' => 'cb077b0d' ] );
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
public function rest_post( $request ) {
|
| 91 |
+
$data = $request->get_json_params();
|
| 92 |
+
return rest_ensure_response( [ 'received' => $data ] );
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
public function enqueue_admin_assets( $hook ) {
|
| 96 |
+
if ( 'settings_page_cb077b0d-settings' !== $hook ) return;
|
| 97 |
+
wp_enqueue_style( 'cb077b0d-admin', plugin_dir_url( __FILE__ ) . 'assets/css/admin.css', [], '1.0.0' );
|
| 98 |
+
wp_enqueue_script( 'cb077b0d-admin', plugin_dir_url( __FILE__ ) . 'assets/js/admin.js', [ 'jquery' ], '1.0.0', true );
|
| 99 |
+
wp_localize_script( 'cb077b0d-admin', 'cb077b0d_vars', [ 'nonce' => wp_create_nonce( 'cb077b0d-nonce' ), 'ajax_url' => admin_url( 'admin-ajax.php' ) ] );
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
public static function activate() {
|
| 103 |
+
global $wpdb;
|
| 104 |
+
$table = $wpdb->prefix . 'cb077b0d';
|
| 105 |
+
$charset = $wpdb->get_charset_collate();
|
| 106 |
+
$sql = "CREATE TABLE IF NOT EXISTS $table (
|
| 107 |
+
id bigint(20) NOT NULL AUTO_INCREMENT,
|
| 108 |
+
data longtext NOT NULL,
|
| 109 |
+
created_at datetime DEFAULT CURRENT_TIMESTAMP,
|
| 110 |
+
PRIMARY KEY (id)
|
| 111 |
+
) $charset;";
|
| 112 |
+
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
|
| 113 |
+
dbDelta( $sql );
|
| 114 |
+
add_option( 'cb077b0d_db_version', '1.0.0' );
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
public static function deactivate() {}
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
register_activation_hook( __FILE__, [ 'Cb077b0d', 'activate' ] );
|
| 121 |
+
register_deactivation_hook( __FILE__, [ 'Cb077b0d', 'deactivate' ] );
|
| 122 |
+
|
| 123 |
+
Cb077b0d::instance();
|
cb077b0d/languages/cb077b0d.pot
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DevOps & Infrastructure Invoice and Payment WordPress Plugin Translation Template
|
| 2 |
+
# Generated: 2026-05-05T23:28:46.229604
|
cb077b0d/readme.txt
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== DevOps & Infrastructure Invoice and Payment WordPress Plugin ===
|
| 2 |
+
Contributors: digitalforge
|
| 3 |
+
Requires at least: 5.8
|
| 4 |
+
Tested up to: 6.5
|
| 5 |
+
Stable tag: 1.0.0
|
| 6 |
+
License: GPLv2 or later
|
| 7 |
+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
| 8 |
+
|
| 9 |
+
Generate invoices, accept payments, track revenue, and automate receipts for DevOps & Infrastructure. All-in-one financial management for DevOps & Infrastructure sites.
|
| 10 |
+
|
| 11 |
+
== Description ==
|
| 12 |
+
|
| 13 |
+
Generate invoices, accept payments, track revenue, and automate receipts for DevOps & Infrastructure. All-in-one financial management for DevOps & Infrastructure sites.
|
| 14 |
+
|
| 15 |
+
**Features:**
|
| 16 |
+
|
| 17 |
+
* Core functionality
|
| 18 |
+
|
| 19 |
+
== Installation ==
|
| 20 |
+
|
| 21 |
+
1. Upload the plugin folder to `/wp-content/plugins/`
|
| 22 |
+
2. Activate via WordPress admin > Plugins
|
| 23 |
+
3. Configure via Settings > DevOps & Infrastructure Invoice and Payment WordPress Plugin
|
| 24 |
+
|
| 25 |
+
== Changelog ==
|
| 26 |
+
|
| 27 |
+
= 1.0.0 =
|
| 28 |
+
* Initial release
|
| 29 |
+
|
| 30 |
+
== Upgrade Notice ==
|
| 31 |
+
|
| 32 |
+
= 1.0.0 =
|
| 33 |
+
Initial release.
|
cb077b0d/uninstall.php
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) exit;
|
| 3 |
+
global $wpdb;
|
| 4 |
+
$wpdb->query( "DROP TABLE IF NOT EXISTS {$wpdb->prefix}cb077b0d" );
|
| 5 |
+
delete_option( 'cb077b0d_options' );
|
| 6 |
+
delete_option( 'cb077b0d_db_version' );
|