Skip to content

fix(checkout): proactively refresh expired estimate tokens before order creation#713

Merged
dylandepass merged 2 commits into
staginguatfrom
fix/refresh-expired-estimate-token
Jul 15, 2026
Merged

fix(checkout): proactively refresh expired estimate tokens before order creation#713
dylandepass merged 2 commits into
staginguatfrom
fix/refresh-expired-estimate-token

Conversation

@dylandepass

Copy link
Copy Markdown
Contributor

Decode the JWT exp claim client-side and re-call /orders/preview when the estimate token is expired or within 5 minutes of expiring. Covers all payment flows (Chase, PayPal, Apple Pay, Affirm) so idle customers no longer hit ESTIMATE_TOKEN_EXPIRED errors at checkout.

Test URLs:

…er creation

Decode the JWT exp claim client-side and re-call /orders/preview when the estimate token is expired or within 5 minutes of expiring. Covers all payment flows (Chase, PayPal, Apple Pay, Affirm) so idle customers no longer hit ESTIMATE_TOKEN_EXPIRED errors at checkout.
@aem-code-sync

aem-code-sync Bot commented Jul 15, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@aem-code-sync

aem-code-sync Bot commented Jul 15, 2026

Copy link
Copy Markdown
Page Scores Audits Google
📱 / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@dylandepass
dylandepass merged commit 650f378 into staginguat Jul 15, 2026
2 checks passed
@dylandepass
dylandepass deleted the fix/refresh-expired-estimate-token branch July 15, 2026 19:34
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.

1 participant