#kamranali_30620

1 messages ยท Page 1 of 1 (latest)

oak vineBOT
granite tiger
#

๐Ÿ‘‹ happy to help

fossil tangle
#

Thanks

#

please let us know!

granite tiger
#

the event you should listen to is invoice.paid

#

more on this in this dochttps://stripe.com/docs/billing/subscriptions/webhooks

Learn to use webhooks to receive notifications of subscription activity.

fossil tangle
#

but when we tried It shows multiple entries of same user in our logs

#

can this event also call on first time when the customer is paid directly from site (invoice.paid).

granite tiger
#

invoice.paid will fire each time an invoice is paid by a customer

fossil tangle
#

please check this why it place the entries two times

oak vineBOT
ashen oak
#

I'm not sure how we could check why a log line in your application that your wrote is printed twice

fossil tangle
#

Yes, we are facing this issue and even we dont know what is the reason behind this

#

can we call event for particular customer

#

there?

ashen oak
#

yes

ashen oak
fossil tangle
#

I mean to say there is a customer already registered on stripe I want to use that customer for next month billing because through CLI it generates random customer and plan

ashen oak
#

by that you mean, when you use stripe trigger? then yes, that's how it works.

#

if you want a real customer etc, you need to follow a guide and create real Customers/Subscriptions in your real integration and set it up the way you want.