This project was created years ago for sneaker botting and is 100% outdated. It serves as an educational reference for understanding Shopify’s checkout flow and automation techniques.
What is Shopify Module?
Shopify Module is a sophisticated Node.js automation script designed to automate the checkout process on Shopify-powered e-commerce websites. Originally built for high-demand product releases (sneakers, limited edition items), it demonstrates advanced techniques for handling modern e-commerce challenges.Key Features
Product Search
Search products by direct URL or dynamic keywords with support for inclusion/exclusion operators
Variant Selection
Intelligent size and color variant selection with random or specific targeting
Queue Management
Advanced handling of Shopify’s queue system with polling and token-based continuation
Account Authentication
Automated Shopify account login with challenge/captcha detection
Captcha Detection
Built-in detection for reCAPTCHA checkpoints and challenge pages
Proxy Support
Full proxy integration for distributed requests and rate limit bypassing
Card Vaulting
Secure card tokenization via Shopify’s payment gateway
Multiple Variants
Three script versions: Preload, Fast, and Safe for different use cases
Script Variants
The project includes three specialized scripts optimized for different scenarios:Preload.js - Full-Featured
The most comprehensive variant with cart preloading capabilities:- Preloads cart with test product
- Generates checkout URL before real product drops
- Dual product search (test + real)
- Best for high-security sites
fast.js - Speed Optimized
Streamlined checkout flow focusing on speed:- Direct product-to-checkout flow
- Minimal delay between steps
- Uses Shopify Checkout API (2020-10)
- Ideal for low-latency scenarios
safe_1.js - Reliability Focused
Most reliable approach using traditional methods:- Standard cart/shipping_rates.json endpoints
- More natural user flow simulation
- Better for sites with strict bot detection
- Prioritizes success rate over speed
How It Works
Product Discovery
The script searches for products either by direct URL (
.js endpoint) or by polling /products.json with keyword matching.Variant Selection
Filters available variants and selects based on size/color preferences using smart matching logic.
Checkout Submission
Submits shipping address, selects shipping method, vaults payment card, and completes the order.
Technical Architecture
Request Handling
Built onrequest-promise with custom middleware:
Cookie Management
Maintains session state across requests:User Agent
Simulates Chrome browser:Common Use Cases
Sneaker Releases
Automate purchasing limited edition sneakers from Shopify stores
Limited Drops
Secure items from high-demand product launches
Restocks
Monitor and auto-checkout restocked items
Testing
Test e-commerce flows and checkout systems
Next Steps
Quick Start
Get up and running with your first automation task
Configuration
Learn about all available configuration options
Advanced Features
Deep dive into queue handling and captcha integration
Troubleshooting
Common issues and solutions