#Adi

1 messages · Page 1 of 1 (latest)

last islandBOT
forest stirrup
#

What even are you trying to detect? Is this a subscription?

#

Now for 2nd month I want to add credits again on existing credit value.
I don't understand what this means. Can you elaborate?

novel spade
#

Month 1 -> $10 paid customer gets 1k credits in account
Month 2 -> $10 paid customer gets 1k credits on top of current value of credits

#

For 1st month I have handled logic in checkout.session.completed event

#

now month 2 onwards how to handle logic which events should I listen to?

forest stirrup
#

If you're using a subscription, then you probably want to listen for invoice.paid to see when the next payment happens

novel spade
#

does customer has to go to stripe checkout page and make payment? or does stripe charge card automatically for subscription? for 2nd month

forest stirrup
#

If you set up a subscription, no, they'd be charged automatically or emailed to pay their invoice depending on your subscription settings