#chhay-api
1 messages · Page 1 of 1 (latest)
hi! one is for a single payment and one is for setting up recurring payments, that's one way to think about it.
there are lots of differences though
PaymentIntent is for one-time payment, right?
yes
well, maybe not. why are you asking?
I thought the PaymentIntent is use for Recurring Payment
well, in a way, kind of. Really depends what you mean
like, every payment is a PaymentIntent
a Subscription is a series of recurring payments, a Subscription creates an Invoice each month and the Invoice processes a PaymentIntent to charge the customer
Yes, I saw this point in the document that lead me a bit confusing when you tell me that PaymentIntent is for one-time payment.
well to be clear, what are " CreatePaymentIntent & CreateSubscription" exactly? Like what are you referring to?
I see
Ok! Currently, I am implementing the Subscription features for my application. There are 4 products (1month, 3months, 6months, 1year)
ok!
is there anything I can clarify?
if you're creating subscriptions you would use the Subscription APIs. For starting the subscription you create it, then use the first invoice's PaymentIntent to complete the first payment to activate it. After that point we generate an Invoice each month that automatically will create and charge a PaymentIntent, for instance.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
I am sorry! I had urgent meeting...
Anyway, thank you so much for your clarify
let me go through the doc again
Let me know if you have any Qs