#rdk_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1212405465510842418
๐ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
Hello ๐
Have you tried retrieving the schedule using the API instead? Does that work or no?
Will try this now. Will report back in a few minutes (have to set up my env to make live requests in the background)
#<Stripe::SubscriptionSchedule:0x8f23c id=sub_sched_1LFMyBKwepuboAKVCxG1sQJG> JSON: {
"id": "sub_sched_1LFMyBKwepuboAKVCxG1sQJG",
"object": "subscription_schedule",
"application": null,
"canceled_at": null,
"completed_at": null,
"created": 1656355655,
"current_phase": {"end_date":1713052800,"start_date":1681430400},
"customer": "cus_LQDxTKzxMRt1uO",
"default_settings": {"application_fee_percent":null,"automatic_tax":{"enabled":false,"liability":null},"billing_cycle_anchor":"automatic","billing_thresholds":null,"collection_method":"charge_automatically","default_payment_method":"pm_1KjQIVKwepuboAKVzBMhRRYj","default_source":null,"description":null,"invoice_settings":{"account_tax_ids":null,"days_until_due":null,"issuer":{"type":"self"}},"on_behalf_of":null,"transfer_data":null},
"end_behavior": "release",
"livemode": true,
"metadata": {"reason":"price_increase_2022"},
"phases": [
{"add_invoice_items":[],"application_fee_percent":null,"billing_cycle_anchor":null,"billing_thresholds":null,"collection_method":null,"coupon":null,"currency":"usd","default_payment_method":null,"default_tax_rates":[],"description":null,"end_date":1681430400,"invoice_settings":null,"items":[{"billing_thresholds":null,"metadata":{},"plan":"price_1KS3ZEKwepuboAKVMef2xXSM","price":"price_1KS3ZEKwepuboAKVMef2xXSM","quantity":1,"tax_rates":[]}],"metadata":{},"on_behalf_of":null,"proration_behavior":"create_prorations","start_date":1649894400,"transfer_data":null,"trial_end":null},
{"add_invoice_items":[],"application_fee_percent":null,"billing_cycle_anchor":null,"billing_thresholds":null,"collection_method":null,"coupon":null,"currency":"usd","default_payment_method":null,"default_tax_rates":[],"description":null,"end_date":1713052800,"invoice_settings":null,"items":[{"billing_thresholds":null,"metadata":{},"plan":"price_1L1GkaKwepuboAKVgb8qVTsB","price":"price_1L1GkaKwepuboAKVgb8qVTsB","quantity":1,"tax_rates":[]}],"metadata":{},"on_behalf_of":null,"proration_behavior":"create_prorations","start_date":1681430400,"transfer_data":null,"trial_end":null}
],
"released_at": null,
"released_subscription": null,
"renewal_interval": null,
"status": "active",
"subscription": "sub_1KjNVDKwepuboAKVeXBtp1Pk",
"test_clock": null
}
Here is one such schedule. It looks like this is an annual subscription schedule that's in its final phase.
From my understanding, this is the expected behaviour, as the schedule hasn't been released yet (this will happen in April). Would that be accurate?
Would there be a way to see this schedule (and others like this, where the final phase is in progress) from the dashboard?
Hmm, unfortunately our team on discord don't know much about dashboard flows as we mainly focus on the API side of things. So i'm not sure if there's a way to see this info on the dashboard or not