# 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

```php
'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
    ]
]
```

Some valid credit cards for testing, more info at [Paddle Documentation](https://developer.paddle.com/getting-started/c052e9e8d265f-working-with-the-paddle-sandbox#test-cards).

**Valid card without 3DS**

```
Card: 4242 4242 4242 4242
Date: Any future date
CVV: Any 3 digits
```
