From 34f6854bdd488dc821835286d407b67ceb29c275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Mon, 2 Nov 2026 17:35:25 +0100 Subject: [PATCH] Fix the checkout session return status docs Co-Authored-By: Claude Opus 5.5 --- src/Id/Concerns/IsCheckoutSession.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Id/Concerns/IsCheckoutSession.php b/src/Id/Concerns/IsCheckoutSession.php index 05fb49c..b6120cc 100644 --- a/src/Id/Concerns/IsCheckoutSession.php +++ b/src/Id/Concerns/IsCheckoutSession.php @@ -10,8 +10,9 @@ trait IsCheckoutSession /** * Where the user confirms (or cancels) all of the session's subscriptions, or null once the * session is no longer open. The user then returns to the session's `return_url` with - * `status` (completed, cancelled or expired) and `checkout_session` (the id). Check the status - * through the API or the checkout.* webhooks; don't trust the query string. + * `status` (completed or cancelled when confirming or cancelling; expired only from the + * "back to app" link of a session that had expired) and `checkout_session` (the id). Check the + * status through the API or the checkout.* webhooks; don't trust the query string. */ public function confirmationUrl(): ?string {