#sumit-subscription-paymentintent
1 messages · Page 1 of 1 (latest)
sumit-subscription-paymentintent
@safe reef A Subscription will create an Invoice for each "cycle". And an Invoice will create a PaymentIntent if a payment is needed
so you go Subscription <-> Invoice <-> PaymentIntent
so for revenue calculation at my own end... shall i use invoice or payment intent?
I would personally use Invoices (since you can have 100% off coupon, credit from previous Invoices, etc.)
so will i get the all the data for automatic payments done also with invoice.payment_succeeded event ?
invoice.paid is the Event to listen to
it will cover automatic payments also right ?
yes
mostly invoice.payment_succeeded is the old Event, we should remove it we just haven't finished that work. invoice.paid is better (it also fires for $0 Invoices for example)
no, Refunds are separate objects in our API
ok @rapid jewel thanks for the help... hope u have a good day
btw can you keep this thread here only for my personal future reference?
I will archive the thread but it won't be deleted so you can still search for it in search