{
  "schemaVersion": "1.0.0",
  "slug": "shopify-third-party-gateway-fees",
  "caseNumber": "15",
  "track": "track-b-oci",
  "matchedManagedStackToolId": "medusa-commerce",
  "managedStackFlatMonthlyUsd": 99,
  "configureUrl": "https://managedstack.co/configure?tool=medusa-commerce&archetype=ecommerce-store-builders&utm_source=byesaas&utm_campaign=shopify-third-party-gateway-fees",
  "quickstartCommands": [
    "cp .env.example .env",
    "# Add your own Stripe, Airwallex, or PayPal keys inside .env",
    "docker compose up -d"
  ],
  "files": {
    ".env.example": "# Medusa.js v2 Direct-Gateway Storefront — Environment Template\n# Connect YOUR OWN Stripe, Airwallex, or PayPal credentials directly (0.0% platform fee).\n\nJWT_SECRET=replace_with_secure_jwt_secret\nCOOKIE_SECRET=replace_with_secure_cookie_secret\nPOSTGRES_PASSWORD=replace_with_secure_pg_password\nSTORE_CORS=https://shop.yourbrand.com\nADMIN_CORS=https://shop.yourbrand.com\nSTRIPE_API_KEY=rk_live_your_own_merchant_key\nSTRIPE_WEBHOOK_SECRET=whsec_your_own_webhook_secret\n",
    "README-DIY.md": "# Shopify 3rd-Party Gateway Fee Escape Pack (Medusa.js v2)\n\nEliminates: **Shopify 2.0% (Basic) / 1.0% (Grow) / 0.6% (Advanced) External Payment Gateway Penalty**\n\n## Quickstart\nBind Postgres, Redis, and Medusa strictly to `127.0.0.1` behind your reverse proxy, and connect your own Stripe, Airwallex, or PayPal account directly so 100% of payouts settle straight to your bank.\n\n## Prefer a Pre-Assembled Storefront + Admin + Search + Checkout Health Monitor?\nLaunch **Medusa.js v2** on `shop.yourbrand.com` via **ManagedStack.co** for **`$99/mo` flat** (`0.0%` platform fee):\nhttps://managedstack.co/configure?tool=medusa-commerce&archetype=ecommerce-store-builders\n",
    "docker-compose.yml": "name: byesaas-medusa-v2-store\nservices:\n  postgres:\n    image: postgres:16.6-alpine\n    restart: unless-stopped\n    security_opt:\n      - no-new-privileges:true\n    ports:\n      - \"127.0.0.1:15439:5432\"\n    environment:\n      POSTGRES_USER: \"medusa\"\n      POSTGRES_PASSWORD: \"${POSTGRES_PASSWORD}\"\n      POSTGRES_DB: \"medusa_store\"\n    volumes:\n      - medusa_pg_data:/var/lib/postgresql/data\n  redis:\n    image: redis:7.4.2-alpine\n    restart: unless-stopped\n    security_opt:\n      - no-new-privileges:true\n    ports:\n      - \"127.0.0.1:16389:6379\"\n  medusa:\n    image: medusajs/medusa:v2.5\n    restart: unless-stopped\n    security_opt:\n      - no-new-privileges:true\n    ports:\n      - \"127.0.0.1:9000:9000\"\n    environment:\n      DATABASE_URL: \"postgres://medusa:${POSTGRES_PASSWORD}@postgres:5432/medusa_store\"\n      REDIS_URL: \"redis://redis:6379\"\n      JWT_SECRET: \"${JWT_SECRET}\"\n      COOKIE_SECRET: \"${COOKIE_SECRET}\"\n      STORE_CORS: \"${STORE_CORS}\"\n      ADMIN_CORS: \"${ADMIN_CORS}\"\n      STRIPE_API_KEY: \"${STRIPE_API_KEY}\"\n    depends_on:\n      - postgres\n      - redis\nvolumes:\n  medusa_pg_data:\n"
  }
}
