From e3ab7973d6dad36b703a9d00b8f54696e0356dc9 Mon Sep 17 00:00:00 2001 From: Kydoimos Date: Thu, 17 Sep 2026 15:44:41 -0300 Subject: [PATCH] Clarify credit-at-booking comment scopes to scheduled charges Co-authored-by: anthropic/claude-opus-4-8 --- src/Booking/LessonBooker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Booking/LessonBooker.php b/src/Booking/LessonBooker.php index f5e9590..585e6b3 100644 --- a/src/Booking/LessonBooker.php +++ b/src/Booking/LessonBooker.php @@ -196,7 +196,7 @@ class LessonBooker { payerId: $payerId ); - // Apply any available credit while booking. + // Apply any available credit to a scheduled charge raised at booking. if ( $offering->isScheduledBilling() && null !== $payment && null !== $payment->id && Payment::STATUS_PENDING === $payment->status ) { $this->payments->applyCredits( $payerId, [ $payment ] ); $payment = $this->payments->findPayment( (int) $payment->id ) ?? $payment;