From 63a7fdbce7fd4dae9e2596d91786afaa847446f5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 20 Nov 2023 09:38:24 -0600 Subject: [PATCH] Update Checkout.php --- src/Checkout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Checkout.php b/src/Checkout.php index 5711d97e..583e13cb 100644 --- a/src/Checkout.php +++ b/src/Checkout.php @@ -94,7 +94,7 @@ public static function create($owner, array $sessionOptions = [], array $custome $data['subscription_data']['metadata']['is_on_session_checkout'] = true; } - // Remove success and cancel url if ui_mode is "embedded"... + // Remove success and cancel URLs if "ui_mode" is "embedded"... if (isset($data['ui_mode']) && $data['ui_mode'] === 'embedded') { $data['return_url'] = $sessionOptions['return_url'] ?? route('home'); } else {