#Greggles

1 messages · Page 1 of 1 (latest)

worthy robinBOT
delicate umbra
#

hello! the subscription will be created when it's scheduled to be created. Yes, there is a webhook that's triggered customer.subscription.created

tame forge
#

Hey, thank you.

#

Is there a way to correlate the subscription ID that is sent via the webhook to the schedule which creates it?

delicate umbra
tame forge
#

It doesn't look like the sub_sched ID is present in the subscription object.

delicate umbra
#

can you share the subscription id?

tame forge
#

This may be a Catch-22 situation, unfortunately. I'm having to convert subscriptions in our system that were created with manually billed Stripe invoices as the payment source (not my doing) . My thinking is that we can create future Stripe subscriptions set to start on the date a manually billed subscription is set to renew but what is issued is a sub_sched ID with a status of not started. When the subscription starts and the sub_id is issued via the webhook I wanted to correlate it with the schedule it came from. We have accounts with multiple subscriptions and the same customer ID.

#

Sorry for the novel 😦

delicate umbra
#

i don't see how this is a catch-22 situation though

#

if you have a Subscription Schedule, the corresponding Subscription should have the schedule id

#

if you share the subscription id, or subscription schedule id i can take a look

tame forge
#

I have 3 subscription schedules set for the end of this year. They were previously sent invoices manually, one at a time. There's no subscription ID associated with them. Sorry if this is not making sense.

delicate umbra
#

they have no subscription id associated with them because the subscriptions haven't been created yet