<?xml version="1.0" encoding="utf-8"?>
<changelogs>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>3.6.49</version>
        <note>
            <item>Version 3.6.49 release</item>
        </note>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>3.0.0</version>
        <addition>
            <item>Dashboard navigation cards for Plans, Transactions, Subscriptions, and Settings</item>
            <item>Grouped Home Dashboard tile replacing standalone module</item>
            <item>Active subscribers KPI card on dashboard</item>
            <item>Success page account details after checkout</item>
        </addition>
        <change>
            <item>Dashboard subscription status restyled to compact 3-column grid</item>
            <item>Dashboard sections reordered to canonical house style</item>
            <item>Legacy standalone dashboard tile automatically removed on upgrade</item>
        </change>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.23</version>
        <fix>
            <item>Silenced orphaned update sites cleanup message during installation</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.22</version>
        <fix>
            <item>Fixed manifest cache not updating - now rebuilds entire cache from XML</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.21</version>
        <fix>
            <item>Added SHA256 checksum to update XML for Joomla integrity verification</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.20</version>
        <fix>
            <item>Fixed plugin name showing as language key instead of readable name</item>
            <item>Changed download URLs to static paths to prevent filename corruption</item>
            <item>Updated CI to upload packages to web-accessible downloads folder</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.19</version>
        <fix>
            <item>Fixed manifest cache refresh to run on both install and update</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.18</version>
        <fix>
            <item>Removed download key sync - updates now work without requiring keys</item>
            <item>Removed dlid elements from package and sub-extension manifests</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.17</version>
        <fix>
            <item>Fixed module version sync - all sub-extensions now match package version</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.16</version>
        <fix>
            <item>Automated SQL schema file creation for version tracking</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.15</version>
        <fix>
            <item>Added mod_payment_plans to orphaned update sites cleanup</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.14</version>
        <fix>
            <item>Added cleanup of orphaned com_payments update sites on upgrade</item>
            <item>Removes legacy "Payments - EZONE" update site entries from database</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.13</version>
        <fix>
            <item>Removed duplicate update server from com_payments component</item>
            <item>Fixed "download key is missing" errors during updates</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.12</version>
        <fix>
            <item>Fixed malformed download URL in update system causing extraction failures</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.11</version>
        <change>
            <item>Renamed Licensing tab to Subscription with simplified configuration</item>
            <item>Added Licence tab with GPL-3.0 license link</item>
            <item>Improved Stripe Configuration info panel layout</item>
        </change>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.10</version>
        <fix>
            <item>Fixed corrupted update XML causing download timeout on update</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.6</version>
        <addition>
            <item>Added Joomla changelog support - version history now visible in update manager</item>
        </addition>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.5</version>
        <fix>
            <item>Fixed update XML naming on server upload - Joomla can now find updates</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.4</version>
        <fix>
            <item>Added pkg_payments to update XML preparation script</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.3</version>
        <change>
            <item>Standardized Stripe warning alerts across dashboard, plans, and plan edit views</item>
            <item>Updated mod_payment_plans version to match package (2.5.x)</item>
        </change>
        <fix>
            <item>Removed verbose setup steps from plans view alert - now uses simple consistent message</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.2</version>
        <change>
            <item>Improved Stripe config UI with combined webhook and security info panel</item>
            <item>Complete list of 12 webhook events now shown in configuration</item>
        </change>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.1</version>
        <fix>
            <item>Fixed plugin uninstall - correct element id in package manifest</item>
            <item>System payments tasks plugin now properly uninstalls with package</item>
        </fix>
    </changelog>
    <changelog>
        <element>pkg_payments</element>
        <type>package</type>
        <version>2.5.0</version>
        <addition>
            <item>Payment Links - create shareable links for specific pricing tiers</item>
            <item>Discount Codes - percentage and fixed amount discounts with usage limits</item>
            <item>Plan preview page before checkout</item>
        </addition>
        <change>
            <item>Improved dashboard with subscription and dispute statistics</item>
            <item>Enhanced transaction logging with refund and dispute tracking</item>
        </change>
    </changelog>
</changelogs>
