#jack_paymentintent-lineitems
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1227281415951880293
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ you can't create a Payment Intent that is tied to a Product/Price object. Payment Intents don't have the ability to have that association.
You can read from your Prices when creating the Payment Intent to know what amount to set. You could also leverage metadata on the Payment Intent to indicate to your systems what the payment is for.
jack_paymentintent-lineitems
So there's no way to use the stripe Element with a product?
correct there isn't, not unless you track the mapping between the PaymentIntent and the Product/Prices yourself
Is there any way to have a more minimal payment UI? I don't want the whole checkout embedded, just the form
sure you can use PaymentElement: https://docs.stripe.com/payments/payment-element
But that still requires a payment element, right?
yes since you need to collect card details for example
So there's no way to use a product configured in the dashboard with a more minimal UI than the entire checkout thing?
No