Closed ckissi closed 2 months ago
I don't get an error with:
$checkout = request()->user()->checkout('38223')->dark()->redirectTo(url('/'));
Works fine for me except the dark mode isn't showing. But it seems to be because it's a deprecated option:
So I think you should just avoid this one.
I'm sure it was an error on their side because it started working one hour later on all my sites after I tweeted about it.
Lemon Squeezy for Laravel Version
1.6.2
Laravel Version
11.22.0
PHP Version
8.3.10
Description
The "dark" key in checkout_options array throws the error: "The checkout options field must be an array."
If I comment out this line : 'dark' => true, it works.
I tried two other projects. Does the same.
Steps To Reproduce
In Checkout.php :