#captainhash

1 messages · Page 1 of 1 (latest)

azure wadiBOT
jovial needle
#

👋 happy to help

#

not really, PaymentIntents are only meant to be used as a way of asking the customer for a Payment amount

#

you either need to use Checkout Sessions, or Invoices depending on your use case

pallid nest
#

In my case I want my user to have any payement flow interaction. He should only move a cursor and be billed according to the quantity he choosed

#

Or Is it a good practice to retreive my product price and then do a payementItent with this price and the product name in payement intent description ?

jovial needle
#

you collect the order and once it's time for payment you redirect to the Checkout Session

pallid nest
#

I don't want my user to do any action

#

It should be a one-click payement, knowing that my user already have a payement method registered

#

All the logic should be server only

#

Is it a good practice to retrieve my product price and then create a payement intent with it ?

jovial needle
#

Oh I see, then you can create a Payment Intent and add the products/prices in the metadata, it won't show to your customer but you'll have it store somewhere for order fulfillment