Open simpsoncarlos3 opened 11 months ago
Checkout this page https://docs.lemonsqueezy.com/api/checkouts#create-a-checkout
according to docs i need to send this variant_quantities - A list containing quantity data objects
but the problem is how do i send it using this lmsqueezy/laravel package?
i tried this but didn't work $request->user()->checkout($this->variant, ['variant_quantities' => [ [ 'variant_id' => $this->variant, 'quantity' => $this->unit ] ]]);
This isn't possible yet unfortunately. I'll have to see if I can squeeze it into https://github.com/lmsqueezy/laravel/pull/39.
Hello there
thanks for making this package.
I'm struggling to pass quantity here. how do i do that?
$checkout = $request->user()->checkout($this->variant);