Lemonsqueezy...like Paddle but better. Gonna try it and could use any tips

alexmorning

Jun 25th, 2023 05:09 AM

So from what I can tell, https://lemonsqueezy.com/ seems to be the same thing Paddle does but much less of a pain in the ass to set up and get approved for. I am going to start the undertaking of trying to switch my site over to this before I go live (which should have been yesterday) and if you have any helpful tips you think I should know, I would appreciate it.

This service seems good enough that it could be something Wave considers adding as an option as a checkout/tax compliance service, so maybe this could be helpful to everyone in the future, if you guys decide you like it. Paddle sucks in so many ways (their approval process is so slow, they decline without giving you specific reasons why, their support takes days to reply, their checkout process looks like shit etc etc). I am so happy to be hopefully using someone else if I can get this working. And just from the complaints i've seen about Paddle on this forum and elsewhere, moving to Lemonsqueezy (or adding it as an option) could be good.

That being said, if you have any tips on switching over to this as far as api/webhooks go, or just anything you think might be confusing that you could easily give a little note about, that would be very helpful.

Regardless, I will do a full write up on all the things I had to change (maybe with modified files in zip format if that's feasible) in case anyone else wants to do it.

Thanks

alexmorning

Jun 25th, 2023 05:18 AM

Just found this, maybe this helps. Gonna see if I can use this to merge it with my existing Wave setup. I am such a noob when it comes to this. Pray for me.

https://www.lemonsqueezy.com/blog/laravel-lemon-squeezy

https://laravel-news.com/lemon-squeezy-laravel-1-0

bobbyiliev

Jun 25th, 2023 05:25 AM

Hey Alex!

I’ve not tried it myself, let me know how it goes! If you get stuck I can look into in next week as well.

alexmorning

Jun 25th, 2023 05:26 AM

Absolutely, thank you very much. Hopefully it's smooth and it's something others can try easily.

Will follow up, thank you.

Report
1
alexmorning

Jun 25th, 2023 05:50 AM

@bobby, this requires Laravel 10, is there any reason why I shouldn't upgrade to this? Can this break anything I have currently set up with Wave?

bobbyiliev

Jun 25th, 2023 09:06 AM

Hey! I would recommend taking a backup first. In general it should be ok!

I will try to work on an upgrade this week and submit a PR as well.

alexmorning

Jun 26th, 2023 03:00 AM

I am so early in the install guide, I feel like this is gonna be a crazy undertaking. I got this error when doing artisan migrate

Declaration of LemonSqueezy\Laravel\Billable::subscribed(string $type = LemonSqueezy\Laravel\Subscription::DEFAULT_TYPE, ?string $variant = null): bool must be compatible with Wave\User::subscribed($plan)

Line 103:

public function subscribed(string $type = Subscription::DEFAULT_TYPE, string $variant = null): bool

I'm still learning a lot but I take this to mean that Lemonsqueezy is expecting a boolean and Wave is configured for something else? I'm worried that this is not something that will be easily moved to a different payment processor, but I'm gonna try.