#arvindsinghu

1 messages ยท Page 1 of 1 (latest)

slow rainBOT
cyan sierra
#

๐Ÿ‘‹ happy to help

#

you just want the first payment? you can always listen to invoice.paid

pseudo kite
#

yes, but i want to target something with the first payment only

#

what if a customer make a monthly payment

cyan sierra
#

subscription_create

pseudo kite
#

I checked that but the text is same for the first and all other payments

#

"billing_reason": "subscription_cycle",

cyan sierra
#

the first one is subscription_create

pseudo kite
#

yes but that invoice is for the 0$, we give them trial ๐Ÿ˜ฆ

cyan sierra
#

in that case you'd have to build your own logic to keep track of that

pseudo kite
#

do we get total amount spend by a customer?

#

is there a way?

cyan sierra
#

do you mean via API?

pseudo kite
#

yup

cyan sierra
pseudo kite
#

I want to know something like this

#

for a customer

#

total spend by a specific custimer

cyan sierra