Care a bit with this. The totalprice from the client request can be manipulated in such an easy way. So the customer could buy a product for less price. Just get all of your product prices / products from your database and just get the product id from the incoming request. Much safer.
Stripe Webhook back to your app so you can process response and do something based on response like a failed payment email or store payment in database.