#abishek-products

1 messages · Page 1 of 1 (latest)

rustic tulip
#

@molten tide you actually can't use Prices with PaymentIntents, they just take raw amounts in the API.

#

you'd use Prices with Checkout, or Invoices, or Subscriptions.

molten tide
#

so, if I wanted to charge a customer for a Price, how do I go about doing it?

rustic tulip
#

you'd use Checkout or Invoices or Subscriptions , it depends what you already have or your overall integration and development resources!

For example one of the easier ways would be to use Checkout : https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout (in step 2 it uses price_data to create an ad-hoc price but instead you could pass price:"price_xxx" to use your existing one).

molten tide
#

i am actually trying to do it through PHP and not using the web checkout.

#

so, should I raise and invoice for the Price and then finalize it?

#

is that how I charge a user for a price?

#

ah, so I have to create an Invoice Item with the Price and then create an invoice for the customer