#ilyeselb
1 messages · Page 1 of 1 (latest)
Hi there!
Wich PaymentIntents, you can only directly set an amount, and not a price.
but then if i have subscription ?
And if you want to store additional information about the PaymentIntent, you could use the metadata field for this.
i need to create it after the payment ?
What's your end goal? To create a Subscriptions?
with the default pm ?
my goal is to pay for a subscitption
or another product with one time payment
with saved card
my goal is to pay for a subscitption
Do you have an existing Subscription, or you want to create a new one?
i have a saved card
now on my site i have two type of product
subsctitpion and product that are paid with one time payment
i want to use my card for both
so ?
For one time payment: create a PaymentIntent object with the existing payment method and amount
For Subscripitons: create a Subscription object with the existing payment method and a price ID.
Correct.