Jobs Management Page
The Jobs page provides comprehensive management of image processing requests. Access through WordPress Admin > Sell My Images > Jobs.
Job Overview
Job Lifecycle
awaiting_payment– Stripe checkout createdpending– Payment received, awaiting processingprocessing– Image being upscaled by Upsamplercompleted– Download ready and email sentfailed– Processing error, automatic refund issued
Management Features
Job Listing
- Paginated job display with filtering
- Status-based sorting and filtering
- Search by job ID, email, or post
- Batch operations for multiple jobs
Job Details
- Complete payment information
- Processing timestamps and duration
- Download token and expiration status
- Refund history and reasons
Admin Actions
Manual Interventions
- Retry failed upscaling processes
- Regenerate expired download tokens
- Issue manual refunds with reasons
- Update job status for edge cases
Retry Upscaling
Admin override system allows retrying any job:
do_action( 'smi_payment_completed', $job_id, array( 'admin_override' => true ) );
Job Data Structure
Database Fields
job_id– UUID identifierpayment_status– Stripe payment stateupsampler_job_id– External processing referencedownload_token– Secure access tokenamount_charged– Customer paymentamount_cost– Processing costrefund_amount– Refund tracking
Timestamps
created_at– Job creationpaid_at– Payment completionprocessing_started_at– Upscaling begancompleted_at– Processing finishedfailed_at– Error occurrence
Filtering and Search
Available Filters
- Job status (all statuses supported)
- Payment status (pending, paid, failed)
- Date range selection
- Email address search
- Post and attachment IDs
Pagination
- Configurable results per page
- Efficient database queries with indexes
- Large dataset handling optimization
- Export capabilities for reporting