Stripe promise doesn’t load in production. but works fine in dev
I’m not sure whats going wrong, everything seems to work fine. untill i build my product. the stripe element is not loading in production. I tried passing the correct Stripe publishable key to the Elements component from @stripe/react-stripe-js. without luck. also tried adding clientSecret &&
before <Elements>
but its all giving the same error of not loading the element.
how to preserve request body and make it accessible throughout the event handling process in nextjs
I was trying to update the database when each event is trigged.However trying to access the request body in each event fails,can anyone help me in preserve the request body throughout the event handling process