#BrittanyG-subscription-webhook

1 messages · Page 1 of 1 (latest)

sacred drift
#

Can you clarify what you mean by " every time a subscription is successfully charged on my site"? Every time a subscription is created or every time one is renewed?

#

Also can you tell me a bit more about the Integration on your site? Are you using Checkout, your own custom Elements page, etc?

gusty rain
#

So I have a system where different subscriptions will allow a certain amount of a "thing" per month. When the month is complete for that particular user depends on when the user was successfully charged for that subscription. And when their month is over, I need to reset the amount of the "thing" to it's original amount.

#

If the subscription is created I guess that means the charge was successful, correct? So maybe that's what I am looking for.

sacred drift
#

Because you are using Metered Billing correct?

#

Also is that clear so far?

gusty rain
#

Yes. I think so.

#

I don't think I have it set up as metered billing. It is just one set price for a particular subscription.

sacred drift
#

Oh my apologies I misread what you said

#

Yes it sounds like the one set price is what you want. So yes listen to invoice.paid for the subscription's creation. Check that the billing_reason is subscription_create, and check that the Subscription's status is active