#invite4ever-checkout-webhooks

1 messages · Page 1 of 1 (latest)

young ridge
#

Hey!

#

What's your underlying use case? You're trying to provision access to your app following a subscription?

warm citrus
#

Yes, we have a few different online products and plans, and user will choose which product to buy then we will create checkout and after specific webhooks will arrive we need to make certains actions for that users subscription for example create enalbe that product set limits and etc.

young ridge
#

Perfect, and how are you currently setting metadata? Can you share example code or an API request ID (req_xxx)?

warm citrus
#

req_U2GdZR7HGrunKR should be this

young ridge
#

And your expectation that this metadata by on other events? Any in particular?

warm citrus
#

with our previous payment provider we had that every their webhook had our custom parameter, so we want something similar because it was easy to associate payment provider subscription with our database user's subscription. But i saw that Stripe has a lot more webhooks than our previous provider 😀

So i guess not every event could be associated with users subscription for e.g account events (not realated to Stripe subscription events), but would be very nice to associate subscription related events

young ridge
#

It'll then be set on the related Subscription object and included in all customer.subscription.* events

warm citrus
#

ok, thank you i will try.