lmsqueezy/laravel

Sync command

driesvints opened this issue · 0 comments

Add a sync command that will sync data for customers, subscriptions and orders. This would need to use the list api endpoints from Lemon Squeezy and then dispatch individual jobs which will fetch the object to sync them from the Lemon Squeezy API so we'd save the correct data at the point in time the job is run. Otherwise we might run into data integrity issues when webhooks come in. It's important to note to the user that they'd need a queue to run this.