Generated output — this is a static snapshot rendered from .vibekb/. The .vibekb/ content is the source of truth. See Reference for provenance.

Payments

Credit-pack purchases

One-time Stripe payment products grant image credits via webhook and/or purchase success page.

Partially implemented Verified from source User-facing

In one sentence

Paid Checkout sessions grant credits through stripe_grant_credits() / auth_user_add_credits(), recorded in credit_transactions.

Risks

Success page and webhook may both attempt grants; unique session keys may mitigate double grants but behavior is brittle. stripe_lib.php insert columns may not match auth_ensure_schema()'s credit_transactions definition.

Related functionality