Commit fc33961
authored
fix: block Stripe auto-fallback for non-US users (#2529)
## Summary
- The token fallback hook (`useTokenFallback`) auto-selects Stripe when
no crypto token has sufficient balance — this was bypassing the US-only
fiat gate from #2528
- Pass a no-op callback instead of `onStripeSelect` for non-US users so
fiat checkout is never auto-selected outside the US
## Test plan
- [ ] Non-US user with insufficient crypto balance should NOT
auto-switch to credit card
- [ ] US user with insufficient crypto balance should still
auto-fallback to Stripe
🪟 Made with [Lattice](https://github.com/Larkooo/lattice)1 parent c11a047 commit fc33961
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| |||
184 | 186 | | |
185 | 187 | | |
186 | 188 | | |
187 | | - | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| |||
0 commit comments