You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/installation.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,13 @@ To get started installing Spark, add the Spark repository to your application's
20
20
],
21
21
```
22
22
23
-
Next, you may add the `laravel/spark-stripe` package to the list of required packages in your `composer.json` file:
23
+
Next, you may add the `laravel/spark-paddle` or `laravel/spark-stripe` package to the list of required packages in your `composer.json` file:
24
24
25
25
```json
26
26
"require": {
27
27
"php": "^8.1",
28
28
"laravel/framework": "^10.0",
29
-
"laravel/spark-stripe": "^4.0"
29
+
"laravel/spark-paddle": "^4.0"
30
30
},
31
31
```
32
32
@@ -77,7 +77,7 @@ php artisan migrate
77
77
If you are using the Stripe edition of Spark and plan to bill a model other than the `App\Models\User` model, you should follow [these instructions](./spark-stripe/customization.md#migrations) before running the migration command.
78
78
:::
79
79
80
-
Lastly, you will need to configure Stripe webhooks so that these services can communicate with your local application via webhooks. To get started, read our dedicated documentation on [Stripe webhooks](./spark-stripe/configuration.md#stripe-webhooks). Webhooks are required during both local development and in production environments.
80
+
Lastly, you will need to configure Stripe or Paddle webhooks so that these services can communicate with your local application via webhooks. To get started, read our dedicated documentation on [Stripe webhooks](./spark-stripe/configuration.md#stripe-webhooks) or [Paddle webhooks](./spark-paddle/configuration.md#paddle-webhooks). Webhooks are required during both local development and in production environments.
81
81
82
82
That's it! Next, you may navigate to your application's `config/spark.php` configuration file and begin configuring your Spark installation.
83
83
@@ -97,6 +97,6 @@ If your Spark license has expired and you don't want to renew the license your `
Copy file name to clipboardExpand all lines: src/introduction.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,25 @@ Laravel Spark is the perfect starting point for your next big idea. When combine
10
10
11
11
## Supported Payment Providers
12
12
13
-
Spark supports Stripe as its payment provider. **At this time, it is not possible to implement your own custom payment provider when using Spark.**
13
+
Spark supports two payment providers, and purchasing a Spark license grants you the ability to use either of these payment providers. **At this time, it is not possible to implement your own custom payment provider when using Spark.** We'll provide a brief overview of each provider below.
14
+
15
+
### Paddle
16
+
17
+
[Paddle](https://paddle.com) is a robust billing provider that serves as a merchant of record for your application. Paddle removes the burden of tax compliance from your SaaS business by handling the complexity of gathering and paying your VAT for you. In addition, Paddle provides support for accepting payments from your customers via credit card or PayPal, localized pricing, and hosted invoices.
18
+
19
+
Spark's Paddle support is provided by the underlying [Laravel Cashier Paddle](https://laravel.com/docs/cashier-paddle) library.
20
+
21
+
:::warning Paddle Account Approval
22
+
23
+
Your Paddle account must be approved by Paddle before you can begin using Spark. To apply for an account, please visit the [Paddle website](https://paddle.com). **While you are developing your application, you may use the [Paddle Sandbox](https://developer.paddle.com/getting-started/sandbox)**.
24
+
:::
25
+
26
+
#### Limitations
27
+
28
+
We have listed some known limitations of using the Paddle payment provider below:
29
+
30
+
- When a recurring coupon is used while subscribing to a plan, the coupon discount will be applied on every billing cycle. However, if the subscription's quantity or plan changes, Paddle will remove the coupon from the subscription.
31
+
- Because Paddle does not allow plan quantity changes during trial periods, the Paddle edition of Spark does not support requiring a credit card up front when beginning a trial. All trial periods are started without a credit card or payment method provided up front during the user's initial registration process.
14
32
15
33
### Stripe
16
34
@@ -36,12 +54,12 @@ You may not sell Spark powered applications on code distribution platforms such
36
54
37
55
#### **Does Spark support any other payment providers?**
38
56
39
-
No. Spark only supports Stripe and it is not possible for developers to customize Spark to accept additional providers. If you need to use another payment provider **you should not purchase Laravel Spark**.
57
+
No. Spark only supports Stripe and Paddle and it is not possible for developers to customize Spark to accept additional providers. If you need to use another payment provider **you should not purchase Laravel Spark**.
40
58
41
59
#### **Am I required to use Tailwind / Blade / Vue / etc. in order to use Spark?**
42
60
43
61
No. Spark's billing portal is totally isolated from the rest of your Laravel application and includes its own pre-compiled frontend assets. Your own application may be built using the frontend technologies of your choice.
44
62
45
63
#### **Why are my customers presented with a payment confirmation screen?**
46
64
47
-
Extra verification is sometimes required in order to confirm and process a payment. When this happens, Stripe will present a payment confirmation screen. Payment confirmation screens presented by Stripe or Spark may be tailored to a specific bank or card issuer's payment flow and can include additional card confirmation, a temporary small charge, separate device authentication, or other forms of verification.
65
+
Extra verification is sometimes required in order to confirm and process a payment. When this happens, Paddle or Stripe will present a payment confirmation screen. Payment confirmation screens presented by Paddle, Stripe, or Spark may be tailored to a specific bank or card issuer's payment flow and can include additional card confirmation, a temporary small charge, separate device authentication, or other forms of verification.
0 commit comments