lmsqueezy / laravel

A package to easily integrate your Laravel application with Lemon Squeezy.
https://lemonsqueezy.com
MIT License
521 stars 51 forks source link

Fix billable_id #22

Closed Emericanec closed 1 year ago

Emericanec commented 1 year ago

https://github.com/lmsqueezy/laravel/issues/21

In my project I have uuid for billable entities. So seems it better to use varchar in migrations

In WebhookController it's already int|string type. I tasted it on my project and it works

driesvints commented 1 year ago

Thanks. I do think using an integer is the vastly majority of the use cases. For your use case, I've written some docs to overwrite migrations: https://github.com/lmsqueezy/laravel/commit/60ceab400630d39c5f628d34c5c7838286e4d5db

Emericanec commented 1 year ago

Thanks!