I'm trying to use stripe library in my project and upon setting it up I encounter some error and warning in my console
I added this 2 line of code
import { loadStripe } from "@stripe/stripe-js"; const stripePromise = loadStripe(process.env.stripe_public_key);
And the error and warning are like this in console:
v3:1 You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS. POST https://m.stripe.com/6 net::ERR_BLOCKED_BY_CLIENT
Is this normal? I haven't trying anything yet because I'm also new at nextjs and stripe