Client Secret value is not getting created using Stripe.JS

I’m trying to get a payment intent and followed all the steps but the customer secret comes back empty and payment is giving me an error as a result. Any idea how I can solve it?

Having the same issue. Were you able to solve this?