Few main things could cause this issue.
- Disable your AD-BLOCKER for your local domain(http://localhost:8080/). Advance Adblockers are blocking tracking events.such as GTM tags and etc. ADBLOCKER identify stripe as a tracker and blocks it because stripe tracks the user for security purposes.

- Make sure in your FE(Frontend) side local config you have setup the stripe keys.
- Make sure your BE(Backend) is listening to correct testing environment. if you are using dot net make sure your user secrets are same as listener.