Reactjs – Stripe error react-Uncaught IntegrationError: Invalid value for elements(): clientSecret should be a client secret of the form ${id}_secret_${secret}
From stripe docs, I have integrated stripe in my react typescript based project. But I am getting client secret id error. Below is my code: placeOrder.tsx: import {Elements} from '@stripe/react-stripe-js'; import {loadStripe} from '@stripe/stripe-js'; import CheckoutForm from './Checkout'; // Make…