This file contains some tutorials for things that Stripe doesn't have documentation for.
Follow the following flow to add tips into your integration.
- Create a payment intent on the server
- Collect the payment info and DON'T PROCESS THE PAYMENT YET
- Get a tip amount from the user and update the payment intent on the server
- Process the payment
- Capture the payment on the server