#suprduprmn

1 messages ยท Page 1 of 1 (latest)

warped badgerBOT
trail sand
#

Hello ๐Ÿ‘‹
Taking a step back, what's the end goal here? What are you trying to do exactly?

thorn hearth
#

Good call. ๐Ÿ™‚ I need to get the latest status of the subscription ensuring that the subscriber has paid up to that time when the status has been pulled.

#

We pull our subs so we can send physical products to the customer.

trail sand
#

I see. Typically, we recommend listening to webhook events
https://stripe.com/docs/billing/subscriptions/webhooks#events

This allows you to receive real time notifications when the invoice is paid.

For example, invoice.paid event has an invoice object as payload that will have a list of items that was paid for.
When you receive that event, you can proceed with fulfillment

thorn hearth
#

OK. I get it. We just use the listing so we don't have to keep a system of record on our side and we can just list the current statuses of the subs.

#

Thanks for the info.