Welcome to My iptv forum

  • Everyone is invited! My iptv forum is for everyone, new and advanced user alike!
  • Searching is key! Before you post a question, use the forum search feature to determine whether your topic has already been covered.
  • Do not start flame wars! If someone has engaged in behavior that is detrimental to the discussion -- spamming, harassment, etc -- report the post and we'll take a look.
  • < Previous | Next >
    Price
    1.00 star(s)
    The Domain Unpaid Invoice Updater for WHMCS is a simple PHP script designed to update domain prices on unpaid invoices within a WHMCS billing system. With just a few steps, you can customize and run the script to apply price increases to specific top-level domains (TLDs) based on client currency, while also controlling the number of invoices processed and whether items are updated or added.

    Features​

    1. Automatically updates domain unpaid invoices.
    2. Customizable price increase configuration for various currencies.
    3. Granular control over which domain items are updated.
    4. Option to introduce new items or update existing items with price increases.

    Usage​

    1. Download the Script: Click the "Download Code" button on the GitHub repository page to download the unpaid_invoice_updater.php file to your computer.
    2. Configure the Script: Open the downloaded unpaid_invoice_updater.php file in a text editor. You'll find a configuration section in the script where you can adjust the price increase for different currencies, specify the target TLD, and set parameters for script behavior:
      // Configuration
      $currencyConfig = [
      'USD' => ['amount' => 50],
      'BDT' => ['amount' => 500],
      // Add more currencies and amounts here
      ];
      $domainTLD = 'com'; // Change Com Domain
      $description = 'Domain Price Increase';

      // Script Behavior
      $limit = 100; // Set the limit for the number of invoices to process
      $updateItems = true; // Set to true to update items, false to add new items

    3. Upload to Your Server: Upload the edited invoice_updater.php file to your server, preferably in the root directory of your WHMCS installation.
    4. Access via Browser: Open your web browser and navigate to the location where you uploaded the script, e.g.,
      Please, Log in or Register to view URLs content!
      .
    5. Run the Script: The script will run when accessed through the browser with the configured parameters. You might see a "success" or "error" message based on the outcome.

    Important Notes​

    • This script assumes you have a working WHMCS installation and appropriate permissions to access the necessary database tables.
    • Before running the script on a production system, it's recommended to test it on a staging environment to ensure it works as expected.
    • Like
    Reactions: semabsrn

    Similar resources

    0.00 star(s) 0 ratings
    Views
    1,102
    Downloads
    4
    Updated
    0.00 star(s) 0 ratings
    Views
    374
    Downloads
    8
    Updated
    0.00 star(s) 0 ratings
    Views
    236
    Downloads
    4
    Updated
    0.00 star(s) 0 ratings
    Views
    556
    Downloads
    9
    Updated
    0.00 star(s) 0 ratings
    Views
    1,233
    Downloads
    6
    Updated
    18,559Threads
    65,200Messages
    63,435Members
    mihiseoLatest member
    Top