Javascript – Using Stripe API, how do I check if the user paid for a specific product?
How can check if the user has paid for a specific product? I plan to check if the purchase was successfully in my getServerSideProps() function in my page, which is redirect from check out as determined by success_url: const session…