Reputation: 5175
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):
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.
Upvotes: 0
Views: 101
Reputation: 931
Invoices are a separate integration flow in Stripe from Payment Intents. With Payment Intents, you just specify an amount. You can't use Products and Prices with Payment Intents. Similarly, Stripe Tax isn't integrated with Payment Intents. If you need to use Products/Prices and Stripe Tax, you could use Checkout, Payment Links, or Invoices.
Upvotes: 1