#mtnpose-events-for-subscription

1 messages · Page 1 of 1 (latest)

severe quartz
#

Yep, that sounds right to me! customer.subscription.updated and look for discount/coupon changes from the previous_attributes

wooden pewter
#

Thanks synthrider

#

Do you have any recomendations on how to test that?

#

The shortest duration of a coupon applied to a subscription seems to be one day (if you make it a one-time coupon)

#

Which makes testing a little tricky 😅

#

tricky --> slow

severe quartz
#

Yea you can use for example a one-time coupon for an amount or % off, then use a short trial on the subscription to push it through some billing cycles

#

eg set trial_end={a few minutes away}

#

and this should trigger a number of billing cycle related events, including subscription updates

wooden pewter
#

that's cool - thanks! that's really helpful

#

that should be it from me

#

appreciate your help