#tungtn1099
1 messages · Page 1 of 1 (latest)
Its webhook stuff
On the first success payment for a subscription
Both checkout.session.completed and invoice.paid are called
Yep, seems expected
But I only intends to use invoice.paid for recurring payments
is there any distinct event for recurring ones
No, invoice.paid is the event you should listen to. Why do you need a unique event?
So I'm creating a custom invoice to save it in my db
It doesnt cost any extra money
But having 2 invoices on first payment is kinda redundant
Oh wait
I think its just my brain malfunctioned
There shouldn't be 2 in_xxx objects