🚀
Launch Stack
Website
  • Welcome
  • Get Started
  • Stack
  • Updates
  • 📡Backend
    • Introduction
    • Application Structure
    • Config
    • API
    • Authentication
      • Email and Password
      • Social Login
    • Debugging
    • Environment Variables
    • File Uploads
    • Logging
    • Mail
    • Handling Errors [Sentry]
    • Notifications
      • Email Notifications
      • In-App Notifications
    • Payments [Stripe]
    • Payments [Paddle]
    • Routing
    • Testing
      • Feature Tests
      • Browser Tests
  • 🛡️Frontend
    • Introduction
    • Routing
    • Tailwind and SCSS
    • Views
    • Layouts
    • Components
      • Command Palette
      • Feedback
      • Form
      • Modal
      • Pagination
    • i18n
  • 🖥️App
    • Account
    • API
    • Billing
    • Team Members
    • Team Settings
  • ⚙️Admin
    • Introduction
    • Team Management
    • User Management
    • Notifications
    • Feedback
    • Blog Management
Powered by GitBook
On this page

Was this helpful?

  1. Backend

Payments [Paddle]

Subscriptions Payments are supported out of the box in LaunchStack, all you need to do it's add your plans inside the file config/launchstack.php and set up your .env file.

.env

# Paddle
PADDLE_SANDBOX=true
PADDLE_VENDOR_ID=
PADDLE_VENDOR_AUTH_CODE=
PADDLE_PUBLIC_KEY=""

# Plans
PADDLE_PRICE_ID_TIER_01=8844
PADDLE_PRICE_ID_TIER_02=8855
PADDLE_PRICE_ID_TIER_03=8866

launchstack.app

'billing' => [
    'plans' => [
        [
            'name' => 'Tier 1',
            'price' => 9,
            'paddleId' => env('PADDLE_PRICE_ID_TIER_01'),
            'trialDays' => 7,
            'description' => "Description of plan",
            'features' => [
                'Feature 1',
                'Feature 2',
                'Feature 3',
                'Feature 4'
            ]
        ],
        // your plans
    ]
]

Valid card without 3DS

Card: 4242 4242 4242 4242
Date: Any future date
CVV: Any 3 digits
PreviousPayments [Stripe]NextRouting

Last updated 9 months ago

Was this helpful?

Some valid credit cards for testing, more info at .

📡
Paddle Documentation