#fr3nchl04f_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260268912872783914
đ Have more to share? Add details, code, screenshots, videos, etc. below.
hello!
Is it possible to link a product and price to the payment intent?
no, Products / Prices don't work with PaymentIntents. PaymentIntents just take anamount
you can use the Invoices workaround for this but I wouldn't recommend it always.
Overall suggest tracking the Price/Product purchased on your own end in a database or in the PaymentIntent metadata, there's no automatic tracking
another alternative is to use Stripe Checkout. That does work with Products/Prices
however, the invoice never seems to get the items attached and we can't find documentation about how to do this using the Node SDK.
this is possible but again is a different workaround so not my recommendation
Right on, so for handling purchases in app with payment intents (which is a great API, btw), we just need to track our own analytics there outside of Stripe.
That's good enough for me to stop beating my head against the wall with this! Thanks!
yep that's what I'd recommend, it is slightly more work but gives you more flexibility in how you track etc
100% I appreciate the prompt response!