I never thought I would have the situation of too much documentation, but I have at least a dozen browser tabs (including github) open while I try to find the solution to my purchase use case from my mobile app:
user selects from a list of products and quantities. They provide payment information, products and qty and get charged. Stripe informs our server via webhook the purchase details was successful, so we can fulfill the order.
So far I have completed (following this mostly):
- products created with default and currency in Stripe test dashboard
- I can take a request from the app and successfully create a paymentIntent via server code.
And here I am stuck - do I submit an invoice, a list of products, or what? Am I even on the right path here? Do I need to worry about tax, they are defined as part of the product pricing I think.