Back to Blog
Web Development

What to Check in a Website Build Before You Pay the Final Invoice

By Ashker Published October 23, 2026 6 min
A UAE business owner confirming ownership of their domain, website code, and hosting account.

Short Answer

Before paying the final website invoice, confirm the code sits in a repository your business owns, review WordPress Site Health or a dependency audit, consider a short independent review and link the payment to agreed fixes.

The final invoice on a website project falls due when the site looks finished. The pages load, the forms send and the design matches the approved design mock-ups. What you cannot see is the code underneath, and that code decides how easy the site will be to maintain. A short check before the last payment protects you and the developer.

This guide covers the checks that sit beneath the visible site: code handover, dependencies, licences and documentation. It explains what a non-developer can check alone and when a paid independent review makes sense. It also suggests how to link the final payment to the agreed fixes. Visible launch checks, such as forms and speed, are covered in a separate guide.

Why check the code before paying the final invoice?

The final payment is the natural moment to confirm that everything promised has actually been delivered. Once it is paid, any remaining fixes depend on goodwill or on a new agreement. Checking first keeps the whole conversation simple and friendly for both sides.

A site can look finished while its code is hard for anyone else to maintain. Changes might exist only on the live server, with no copy elsewhere, or rely on plugins without valid licences. Finding that before handover is easier than discovering it during a later emergency.

Quick Answer

Check the code before paying a UAE website's final invoice, because that is when fixes are easiest to agree. A finished-looking site can still be hard for others to maintain.

Has the code been handed over in a form you control?

Ask for the full source code in a repository owned by your business, with its complete change history. Add the database export, uploaded media and written instructions for running the site. A zip of the current files alone loses that history and the reasons behind changes.

If the developer used their own GitHub account, they can transfer the repository to your organisation. GitHub's documentation says transferred repositories keep their issues, pull requests and commit history. That history helps a future developer understand why the code looks the way it does.

Quick Answer

Before final payment, confirm the website's code sits in a repository your business owns, with full history. Also collect the database export, uploaded media and written instructions for running it.

What can a non-developer check without help?

On a WordPress site, open the Tools menu, then Site Health, while logged in as an administrator. The Status tab groups findings into critical issues, recommended improvements and passed tests. Ask the developer to explain or fix every critical issue listed there before you pay.

Look for warnings such as plugins waiting for updates or errors displayed to visitors, which WordPress.org lists as critical. Check the Info tab too, for inactive plugins and themes that nobody needs any more. Confirm that premium plugin licences are registered to your business name.

A UAE business owner confirming ownership of their domain, website code, and hosting account.

Quick Answer

A non-developer can open WordPress Tools, then Site Health, and carefully review every critical issue listed. Also check for unused plugins and confirm premium licences are registered to the business.

When is an independent code review worth paying for?

Pay for a short independent review when the site handles online payments, personal data or custom features. A second developer can read the code, follow the written build instructions and report any problems they find. Ask for a prioritised fix list rather than a verdict.

Dependency audits are a practical starting point for that review. Composer's audit command checks installed PHP packages against security advisories, and npm audit reports known vulnerabilities in JavaScript dependencies. The reviewer should also confirm that passwords and API keys are not stored in the code.

Quick Answer

An independent code review is worth paying for when a UAE website handles payments, personal data or custom features. Ask for dependency audits and a fix list, not a judgement.

How should the final payment be linked to these checks?

Agree the checks in writing before the build starts, ideally within the acceptance section of the contract. List the deliverables, the review method and a fixed window for making corrections. The final payment then follows once the agreed fixes are complete and confirmed.

Raise any findings politely and in writing, with evidence such as screenshots or the reviewer's notes. Treat findings as items to fix together, not as accusations. Whether money can be held back depends on what you signed, so get advice from a UAE-qualified lawyer before withholding anything.

Quick Answer

Link a website's final payment to written acceptance checks and an agreed correction window. Before withholding any payment in the UAE, take advice from a qualified lawyer on your contract.

Main Takeaways

Check the code before paying the final website invoice, when fixes are easiest to agree. Insist on a business-owned repository with history, plus database, media and instructions. Use WordPress Site Health and dependency audits, and commission an independent review for payment, data or custom work. Link the final payment to written acceptance checks, and seek legal advice before withholding money.

Paying the last invoice with confidence

A website that looks finished is not always ready to be maintained by someone else. The final payment is the right moment to confirm the code, licences and documentation are complete. These checks are modest next to the build itself, and they set up a cleaner long-term relationship. Agree them early, so they feel like normal process rather than suspicion.

For the visible launch checks, use our developer sign-off checklist, and see the web design contract guide for suitable acceptance wording. Our earlier note on single-developer risk covers keeping documentation current after launch. Auronix Web Studio can include a code and licence handover in any business website development project. Ask us how that handover would work before you sign anything.

Sources & References

  • GitHub Docs - Transferring a repository (issues, pull requests, wiki and commit information preserved) - https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository (checked 2026-10-02)
  • WordPress.org - Site Health screen (Tools > Site Health; critical issues and recommended improvements; last updated 12 July 2026) - https://wordpress.org/documentation/article/site-health-screen/ (checked 2026-10-02)
  • Composer - Command-line interface, audit command (checks installed packages against security advisories) - https://getcomposer.org/doc/03-cli.md (checked 2026-10-02)
  • npm Docs - npm audit (reports known vulnerabilities in project dependencies) - https://docs.npmjs.com/cli/v11/commands/npm-audit (checked 2026-10-02)
  • FAQs

    Questions readers usually ask next

    These FAQs are written to match the topic of this post and to help readers move from understanding to action.

    Is it normal to review code before the final payment?

    It is a reasonable request when agreed in advance and explained as part of acceptance. Raising it only after launch can feel like distrust, so mention it during the proposal.

    What should a website handover package include?

    It should include the full code repository, database export, uploaded media, account access and written instructions. Add licence details for paid themes, plugins and fonts, registered in your business name.

    Can I check code quality without technical knowledge?

    Partly, through tools such as WordPress Site Health and a review of your admin users. For deeper questions about security or structure, a short paid review gives a clearer answer.

    How long does an independent code review take?

    The time depends on the amount of custom code, the integrations and how complete the documentation is. Ask the reviewer for a written time and cost estimate before they start.

    What if the developer will not share the repository?

    Ask what the contract says about delivering source code, and discuss the reason. Some developers work without version control, in which case agree how a full copy is handed over.

    Should the reviewer have access to the live site?

    Read-only access to the code repository and a staging copy of the site can be enough. Avoid giving a reviewer live administrator access unless a specific check genuinely requires it.

    What are dependency audits?

    They are automated checks that compare the packages a site uses against databases of known vulnerabilities. Composer covers PHP packages, and npm covers JavaScript packages used in the front-end build.

    Who pays for fixes found in the review?

    That depends on the contract and whether the issue falls within agreed scope. Defects in delivered work and new requests are separate conversations, and new requests follow the change process.

    Does a code review delay the website launch?

    It need not, because the review can run on staging while final content is added. Schedule it a week or two before launch, so any fixes fit the timeline comfortably.

    Should we keep the reviewer after launch?

    You can, especially if your main developer works alone and you want a reliable stand-in. A second developer who already knows the code can step in quickly during any absence.

    Related Resources

    Need help choosing the right stack?

    We help UAE businesses keep public pages fast, indexable, and conversion-friendly, then reserve heavier frameworks for the parts that actually need them.

    Built for search-ready UAE websites that need clarity, speed, and trust.

    WhatsApp Start project chat