> ## Documentation Index
> Fetch the complete documentation index at: https://docs.azvian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

> Fixes for the most common problems with sales, payouts, email and sign-in

> [accordion] A sale was not credited
>
> Check **Integrations**, then work through these:
>
> * Is the **program chosen** for Gumroad under *Credit Gumroad sales*?
> * Did the buyer use the **coupon code**? A Gumroad sale without one cannot be credited, because the checkout carries no cookie.
> * Is the **affiliate approved** and the **program active**? Only approved affiliates in active programs earn.
> * Was it a **self-purchase**? Those are recorded but earn nothing.
> * Does Gumroad have the **ping address** you copied, and is it the only ping address? Gumroad allows one per account, so another system may be using it.

> [accordion] Commissions never become payable
>
> The cron job is probably not running. The dashboard warns when it is not, and **Settings → System** shows when it last ran. Add the line from [Installation](https://docs.azvian.com/affiliate-manager/installation.md#after-installing). Flagged referrals also wait for you under **Needs review**.

> [accordion] Emails are not arriving
>
> Set up outgoing email under **Settings → Email** and send a test. Check your SMTP details and the spam folder. If the cron job is not running, emails are sent immediately instead of in the background, which is slower but still works.

> [accordion] An affiliate cannot sign in
>
> Only **approved** affiliates can sign in. Sign-in links work **once** and expire after 30 minutes, and at most **three** are sent per hour to one address. Ask them to use the latest email, and to use the address they applied with.

> [accordion] An affiliate lost their phone and cannot get past the code step
>
> They can use one of their 8 **recovery codes** instead of the app code. If they have none left, open the affiliate under **Affiliates** and press **Reset 2FA** (administrators only). They can then sign in with an emailed link and set it up again.

> [accordion] The sign-up page shows no reCAPTCHA checkbox
>
> Check **Settings → Spam protection**: the keys must be entered and the page's switch turned on. If Google rejected your secret key, the dashboard says so and visitors are let through. Make sure the keys are **reCAPTCHA v2 ("I'm not a robot" checkbox)** keys, not v3, Invisible or Enterprise: the preview on that page shows "Invalid key type" for the wrong kind. The staff `/login` page is only protected if you tick it there (version 0.3.6 and newer); the checkbox never appears on `/login` otherwise.

> [accordion] The installer warns that private files can be downloaded
>
> Your domain is not pointing at the `public/` folder. Change the document root, or make sure the `.htaccess` file from the zip was uploaded (hidden files are skipped by some upload tools).

> [accordion] A blank page or a 500 error
>
> The web server cannot write to `storage/` or `bootstrap/cache/`, or a PHP extension is missing. Fix the permissions (folders `755`, files `644`) and read `storage/logs/laravel.log` for the exact error.

> [accordion] Links in emails point at the wrong address
>
> The site address entered during installation is wrong. Change `APP_URL` in your `.env` file to the right address.

> [accordion] The Updates tab says nothing is available, or the button is missing
>
> See [Updating](https://docs.azvian.com/affiliate-manager/updating.md#not-seeing-an-update).

Still stuck? Email [hello@azvian.com](mailto:hello@azvian.com) with your product version (the footer of the app), what you did and the exact message you saw. See [Support](https://docs.azvian.com/start/support.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.