Skip to content

Commit

Permalink
Make argument to Checkout::guest() an array (#10111)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmintfan authored Jan 13, 2025
1 parent 74c3d3a commit 6b78d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashier-paddle.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ Sometimes, you may need to create a checkout session for users that do not need
use Laravel\Paddle\Checkout;

Route::get('/buy', function (Request $request) {
$checkout = Checkout::guest('pri_34567')
$checkout = Checkout::guest(['pri_34567'])
->returnTo(route('home'));

return view('billing', ['checkout' => $checkout]);
Expand Down

0 comments on commit 6b78d37

Please sign in to comment.