#GianFranco-paymentintents
1 messages · Page 1 of 1 (latest)
Hello! Payment Intents don't have a direct tie to Product objects created in Stripe. You can definitely create a Payment Intent for a specific amount (that would equal what is owed for multiple quantities of a product), but we don't allow you to pass in a product ID + quantity when create a Payment Intent.
You either need to calculate the amounts on your end, or you need to look into products like Checkout or Invoicing
If so, how can I buy products ?
Payment Intents are purely focused on collecting payment for a specific amount - we built products on top of payment intents (like Checkout and Invoices) that let you specify how much of a product you want to purchase and translate into line items
Got it
Thank you!
I'm building app using React Native.
WHen I create checkout session, it gives me payment URL.
But I don't want to redirect Web page in my mobile app.
Is there any way to solve this issue?
@blazing prawn
There isn't any way around that because that's how checkout works - we generate a hosted URL that you need to redirect your user to complete payment