#SimonDFFOO
1 messages · Page 1 of 1 (latest)
Hi there!
When user add his NFT we create a product with API call with the name of the NFT and update the product default price with the price setted by the user ?
Yes that sounds like a reasonable approach. What exactly would be the issue?
How are you collecting payments? With Checkout Session, Payment Element + PaymentIntent, something else?
I would like to know what would be the best approach on our use-case.
-
What would be the best for us? Checkout Session? or anything that you mentioned that would fit us in
-
Does the products database will be significant in our approach?
- In general we recommend Checkout Session to accept payment. You can learn more about this here: https://stripe.com/docs/payments/accept-a-payment
Note that if you don't want to create a price upfront, you could dynamically set the price when creating the Checkout Session withline_items.price_datahttps://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data
- You mean on Stripe's side? There's no limit on the number of products/price you can create on Stripe.
Thanks so much for the help!