laravel / cashier-stripe

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.
https://laravel.com/docs/billing
MIT License
2.38k stars 677 forks source link

stripe/webhook post route points to Laravel\Paddle\WebhookConttroller #1710

Closed kikky7 closed 2 months ago

kikky7 commented 2 months ago

Laravel Version

11.15

PHP Version

8.3

Database Driver & Version

No response

Description

I use Stripe, but have both cashier and cashier-paddle packages installed. The webhook post route points to WebhookController in cashier-paddle:

POST stripe/webhook .................................................. cashier.webhook › Laravel\Paddle › WebhookController

Both packages can't work on same app by default?

Path is stripe/webhook for Stripe and Paddle? Why route name is not stripe.webhook and paddle.webhook? Because one overrides the other using the same route name.

Steps To Reproduce

Install cashier and cashier-paddle. Test webhooks via stripe-cli.

driesvints commented 2 months ago

You can't combine these packages.

kikky7 commented 2 months ago

Challenge accepted