Skip to content

fix(saas): resume open Stripe checkout safely - #7

Merged
venelouis merged 1 commit into
mainfrom
fix/saas-checkout-retry
Sep 17, 2026
Merged

venelouis merged 1 commit into
mainfrom
fix/saas-checkout-retry

Conversation

@venelouis

Copy link
Copy Markdown
Member

Summary

  • resume a provider-confirmed open Stripe Checkout Session instead of inserting a conflicting attempt
  • check the new-session limiter only after resolving an existing attempt
  • validate test mode, metadata, hashed client reference, session ID and exact Stripe Checkout host before redirecting
  • close expired sessions, return completed sessions to local processing and include Retry-After on 429
  • document APP-SAAS-003 as an application issue, not a framework defect

Evidence

Azure staging logs showed a successful 303 session creation followed by 409 for the existing attempt and then 429. No personal or provider identifiers are included here.

Verification

  • cargo test --manifest-path blueprints/saas/Cargo.toml --all-targets -j 2 (19 passed)
  • cargo clippy --manifest-path blueprints/saas/Cargo.toml --all-targets -j 2 -- -D warnings
  • git diff --check

Copilot AI lite review requested due to automatic review settings September 17, 2026 22:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@venelouis
venelouis merged commit 1aee8d7 into main Sep 17, 2026
7 checks passed
@venelouis
venelouis deleted the fix/saas-checkout-retry branch September 17, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants