#suprduprmn
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Taking a step back, what's the end goal here? What are you trying to do exactly?
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.
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