#jack_paymentintent-lineitems

1 messages ยท Page 1 of 1 (latest)

vale lichenBOT
#

๐Ÿ‘‹ 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.

north crestBOT
jaunty pulsar
#

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.

long citrus
#

jack_paymentintent-lineitems

cursive cave
#

So there's no way to use the stripe Element with a product?

long citrus
#

correct there isn't, not unless you track the mapping between the PaymentIntent and the Product/Prices yourself

cursive cave
#

Is there any way to have a more minimal payment UI? I don't want the whole checkout embedded, just the form

long citrus
cursive cave
#

But that still requires a payment element, right?

long citrus
#

yes since you need to collect card details for example

cursive cave
#

So there's no way to use a product configured in the dashboard with a more minimal UI than the entire checkout thing?

long citrus
#

No