ADMIN ← App
🔑

Admin Login

Enter the admin password configured in your server's .env file

Change password in your server's .env file → ADMIN_PASSWORD

⚠️ You have unsaved changes - click Save in AI Settings or Payments tabs
🟢 Live Status Checking…
AI PROVIDER
-
MODEL
-
API KEY
-
PROXY URL
-
PAYPAL CLIENT ID
-
PAYPAL MODE
-
🏆 Hall of Fame Snapshot
-
ENTRIES
-
TOTAL VOTES
-
DAYS LEFT
Loading…
⚡ Quick Actions
••• View Live HOF
🏆 Current Entries

Entries are stored in hof-entries.json on the server. Every paid submission appears here automatically. Moderate, adjust votes, and declare the monthly winner below.

-
ENTRIES
-
TOTAL VOTES
-
DAYS LEFT
🏆Loading entries from server…
🥇 Declare Monthly Winner

Select the winning entry. This adds them to the permanent Champions Wall on hall-of-fame.html. The winning entry stays visible - clear entries manually after declaring if needed.

🥇 Champions Wall
Loading…
🗑️ Clear Current Entries

Remove all entries from the current month to start fresh. Declare a winner first! Champions Wall is unaffected. Cannot be undone.

🔑 Keys are server-side only

Keys are saved securely in the database via POST /api/keys. The public config endpoint never exposes them. The server reads them to call Claude / OpenAI / Gemini on your behalf.
🔑 API Keys

Manage provider API keys. Keys are stored encrypted in the database, never in config files.

🟣 Claude (Anthropic) No key
🟢 OpenAI No key
🔵 Google Gemini No key
⚙️ AI Configuration
In Random mode, the site cycles equally through every provider that has a key set. The result page shows a badge indicating which provider analysed the photo.
🌟 Dream Mode - AI Image Generation

What is Dream Mode?

After the AI translates what your pet wants, Dream Mode generates a painterly illustration of what they're imagining. Requires an OpenAI key (DALL-E 3) or Gemini key (experimental Imagen).
Enable Dream Mode
Show dream generation section on result page
Auto-generate after every scan
Auto-start dream generation (uses API credits). Off = user clicks button.
📝 AI Prompts

All prompts must instruct the AI to return: WANT: MOOD: WHY: on separate lines.

Placeholders: {style} = art style description, {pet} = pet type, {want} = what the pet wants, {mood} = detected mood. The "no text in image" instruction is built in - keep it in your template.

Edit Dream Style Descriptions
🧩 Model Manager

View and manage all registered AI models. Models populate the Vision and Dream dropdowns above.

Provider Model ID Display Name Capability Default Enabled Actions
Loading models...
+ Add New Model
⚡ Payment Provider

Choose which payment provider(s) to show to customers. You can run PayPal only, Stripe only, or both - customers pick at checkout.

💳 Stripe Setup Not configured
1 Account
2 API Keys
3 Webhook
4 Options
💳

Connect Stripe

Stripe gives you Visa, Mastercard, Apple Pay, Google Pay, and Klarna in one integration. No technical setup needed.

Step 1: Create or sign in to Stripe

  1. Go to stripe.com and create a free account (or sign in)
  2. Complete your business profile (you can use test mode first)
  3. From the Dashboard, go to Developers → API Keys
Enable Stripe
Activate Stripe payment processing

Step 2: Paste your API keys

In Stripe Dashboard → Developers → API Keys, copy both keys below. Use test keys (pk_test/sk_test) first, switch to live when ready.

Step 3: Set up webhook (recommended)

Webhooks confirm payments even if the user closes their browser. In Stripe Dashboard → Developers → Webhooks → Add endpoint:

  1. Endpoint URL: https://whatmypetwants.com/api/stripe/webhook
  2. Events: select checkout.session.completed
  3. Copy the Signing secret (starts with whsec_) below

Step 4: Configure options

Choose your mode and payment methods. You can change these anytime.

🛍️ Klarna (Buy Now Pay Later)
Pay in 3 instalments. Enable in Stripe Dashboard too.
Apple Pay & Google Pay
Auto-shown when Stripe is active. Enable in Dashboard → Payment methods.
Auto ✓

🔑 Test card numbers

4242 4242 4242 4242 - succeeds
4000 0000 0000 9995 - declines
Any future expiry, any CVC.
💛 PayPal Settings

🔍 Getting your PayPal Client ID

Go to developer.paypal.com → My Apps & Credentials → Create App → copy the Client ID. Use Sandbox for testing, Live for real payments.
🌍 Currency
💰 Prices
🏆 Monthly Prize
🛒 Amazon Associates

Getting your Amazon tag

Sign up at affiliate-program.amazon.co.uk → once approved your tag looks like yourname-21. All product links on the site get your tag automatically.
••• Awin Affiliate Network

Why Awin?

Awin hosts Petplan, ManyPets, Zooplus, Pets at Home, Butternut Box, Pure Pet Food and hundreds more. One account, one payment. Sign up at awin.com - free, approval takes 1-3 days. Your publisher ID looks like a 6-digit number e.g. 123456.

Once you have your Awin ID, all partner links below will automatically use your tracking URLs. The Awin IDs for each advertiser are pre-filled below - just apply to join each program in your Awin dashboard.

🛡️ Insurance Programs (highest commission)
Petplan
£25–60 per policy · Awin ID 2908
Enabled
ManyPets
£20–40 per sign-up · Awin ID 26301
Enabled
🥩 Food Subscriptions (recurring commission)
Butternut Box
£15–25 per sale · Awin ID 15654
Enabled
Pure Pet Food
10–15% per order · Awin ID 20801
Enabled
🏪 Pet Retailers
Zooplus
8–12% per order · Awin ID 6091
Enabled
Pets at Home
5–8% per order · Awin ID 6172
Enabled
🧠 Digital Products (highest margin)
Brain Training for Dogs
~50% commission per sale · direct affiliate program
Triggered by "attention", "behaviour", "training" keywords in AI output.
Enabled
📧 Email Capture

Why email capture?

Every scanned pet that leaves without an email address is gone forever. Capturing emails for a free weekly horoscope lets you send affiliate recommendations weekly. 500 subscribers at 2% conversion = 10 sales/week passively. Use Mailchimp (free up to 500 subscribers) or any webhook-compatible service.
Enable Email Capture
Show email sign-up card on result page

Without a webhook, submissions still show the success message - you just won't collect them anywhere. Set up a free Zapier or Make zap to forward emails to Mailchimp automatically.

💧 Watermark Settings
Show Watermark on Images
whatmypetwants.com text on exported result images
Allow Paid Watermark Removal
Show "Remove watermark" upsell button on result page. User pays to download clean version.

The removal price is set in Payments & Prices. Watermark appears inside the speech/thought bubble.

💭 Bubble Style

Choose the default speech/thought bubble appearance on generated memes.

🧩 Feature Toggles
Speech/Thought Bubble
Show bubble type toggle on result page (Speech / Thought / None)
Hall of Fame
Show HOF submit CTA and entry flow
Vote Boosts
Allow paid vote boosts on HOF entries
Demo Fallback
Use pre-written captions when no AI is configured
Personality Report Upsell
Show full AI PDF report upsell card
Premium Meme Styles
Gold frame / Legendary border upsell
Horoscope Subscription
Weekly AI pet horoscope upsell
Gift Bundle
3 HOF entries + report + card bundle upsell
Affiliate Products Strip
AI-matched product recommendations on result page
Insurance Affiliate Strip
Show insurance cards when anxious/sick keywords detected
Food Subscription Strip
Show food subscription cards when hunger keywords detected
🔒 Usage Limits & Generation Bundles

Control how many free AI generations each visitor gets per time period. When they hit the limit, they see a pay-to-continue prompt with your bundle pricing.

Enable Usage Limits
When off, all generations are unlimited and free
💰 Generation Bundle (pay to continue)

When a user hits their free limit, they can buy a bundle to keep generating.

📢 Promo Popup

A promotional popup shown to visitors. Configure the image, message, and call-to-action. Control how many times per visit it appears.

Enable Promo Popup
Show the popup to visitors
🎲 Preset Responses (No AI Fallback)

These responses are shown when no AI provider is configured. They appear with a "Preset" badge. Edit them to match your brand voice. Each needs: what the pet wants, a mood, and why they want it.

Loading presets...
🛒 Product Catalog

Manage your product catalog. Products appear on the Products page and as AI-matched recommendations on result pages.

Featured Products

Products with sort order 1-10 appear on the homepage as "Popular with Pet Owners". Set a product's sort order to 1-10 to feature it.
Name Category Price Program Pets Enabled Actions
Loading...
-
••• Affiliate Settings
••• Amazon OneLink

Amazon OneLink automatically localises product links for international visitors. It injects a script into all pages that redirects Amazon links to the visitor's local Amazon store.

Enable Amazon OneLink
Inject the OneLink script into all public pages
🤝 Affiliate Programs

Programs from the affiliate_programs table. Toggle enabled/disabled per program.

Loading...
📢 Sponsored Placements

Sponsors pay a monthly fee to have their brand appear in scan results. You control which pet types see the ad, and track impressions + clicks.

-
Impressions
-
Clicks
-
Active
Sponsor Pet Types Fee/mo Impressions Clicks CTR Active Actions
Loading...
🖥️ Deployment

PHP/MySQL on cPanel

Settings are stored in the MySQL database. API keys are stored securely via the Admin panel. Code deploys automatically via Git push to the main branch. The .env file on the server contains database credentials and admin password only.
# Deploy workflow git push origin main # cPanel auto-pulls and deploys # Server paths Web root: /home/petwants/public_html PHP src: /home/petwants/src Database: petwants_db (MySQL) Env file: /home/petwants/.env
🔧 Admin Actions
📋 View current settings (raw JSON)
🗑️ Danger Zone

Reset all settings to factory defaults. API keys will NOT be cleared (stored separately). Cannot be undone.