Credit store and payment
Buy credits, unlock templates, and keep generating.
The store is connected to your existing credit package, subscription, order, and payment APIs. Users can recharge first, then generate directly from template pages.
Checkout flow
Order first, pay second
Pending orders can be resumed from the Orders page.
Real backend products
Packages and plans are loaded from your live APIs.
Order records
Each checkout creates a normal order record before payment.
Instant balance refresh
Credits are visible in the new header and credit center.
Credit packages
Best for one-off template generation and testing different styles.
