Commit 6ddaafa
Fix guest checkout showing "Order not found" on order-placed page (#32)
Skip CartProvider's refreshCart() on the order-placed page to prevent
a race condition where getCart() auto-clears the _spree_cart_token
cookie before getCheckoutOrder() can use it. For guest users this
token is the only authentication — once cleared, the API returns
nothing and the confirmation page shows "Order not found."
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent a5532e2 commit 6ddaafa
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
| |||
0 commit comments