Help Center
New to VisionScaper?
Start here
Help Center › Admin screens, field by field › Settings → VisionScaper: Selling extra AI credits
Settings → VisionScaper: Selling extra AI credits
Set up the Stripe-powered store where customers buy more AI credits.
On this page
Open the WordPress dashboard and go to Settings → VisionScaper. Only users who can manage options (administrators) see this page. The Selling extra AI credits block controls the store customers use when their free daily credits run out. They pay on Stripe’s hosted checkout page. Purchased credits never expire and are used after the free ones.
Before you start
- A Stripe account (see get-stripe-keys).
- A Black Forest Labs key saved in the AI block. The store appears only when the store tick box, a Stripe secret key and a Black Forest Labs key are all present.
Fields
| Field (exact label) | What it does for VisionScaper | What to enter and example | Default / notes |
|---|---|---|---|
Let customers buy extra AI credits shop_on |
Switches the credit store on. The store only appears when this is ticked AND a Stripe secret key AND a Black Forest Labs key are saved. | Tick to sell credits. | checkbox; default on (1) |
Email me about each purchase shop_notify |
Emails the notify address for each purchase. Needs an address in Send designs and leads to. | Tick to receive purchase emails. | checkbox; default on (1) |
Stripe secret key stripe_secret |
Lets VisionScaper create Stripe checkout pages. Also used by the storage store, autopay and contractor payments. | Paste sk_test_… or sk_live_…. See get-stripe-keys. | password (secret); default (blank) |
Stripe webhook signing secret stripe_webhook |
Lets VisionScaper verify Stripe’s confirmation messages. | Paste whsec_…. See get-stripe-keys. | password (secret); default (blank) |
Credit packs shop_packs |
The packs shown in the store. One pack per line: Name | credits | price in dollars. Lines with fewer than 3 parts, 0 credits or a zero price are ignored. Up to 4 packs look best. |
Price per single credit ($) shop_each |
Price for customers who buy a custom number of credits. 0 means only packs are sold. Saved with two decimals, minimum 0. | Dollars per credit, or 0. | number; default 0.25 (placeholder, not approved) |
Minimum custom purchase (credits) shop_min |
Smallest custom purchase. Saved as at least 1. The app caps a custom purchase at 500 credits. | A whole number, e.g. 5. | number; default 5 (placeholder, not approved) |
Steps
- Go to Settings → VisionScaper → Selling extra AI credits.
- Copy the webhook address shown in the numbered notes (it ends in /dreamscaper/v1/stripe) into Stripe, with event
checkout.session.completed. - Paste Stripe secret key and Stripe webhook signing secret.
- Edit Credit packs, one per line.
- Set the single-credit price and minimum.
- Tick Let customers buy extra AI credits and decide on the purchase email.
- Press Save Changes. Secret boxes show 12 dots when a value is saved. Leave the dots alone to keep the saved value. Type a new value to replace it. Make a small test purchase with a Stripe test key first.
Tips
- All shipped prices are placeholders, not approved.
- Credits are also confirmed when the customer returns, so a missed webhook never loses a purchase (stated on the page).
- Recent purchases appear in a table lower on the page (see settings-library-packs-and-purchases).
If something goes wrong
- Store not visible: check all three requirements above.
- A pack is missing: lines need three parts split by | with credits of at least 1 and a price above 0.