#mxp_api

1 messages ¡ Page 1 of 1 (latest)

hidden umbraBOT
#

👋 Welcome to your new thread!

⏲️ 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.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 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/1306908160736493592

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

restive light
#

Hi, let me help you with this.

#

I have t use schedule for everything now
Yes, while the Subscription is controlled by a Schedule you have to manage it via Subscription Schedule API. You can just update the current phase to change the currently used Prices.

Released means the schedule ended
Yes, when you release a Subscription Schedule it becomes just a normal Subscription that you can modify directly. You can either release it manually via API, or set end_behavior=release and wait until the end of the last phase.

permanent phases
Not sure what you mean by this. Could you please give an example?

austere quarry
#

The scheduled have been setup by my admin team in the Dashboard. The price increase is permanent so the scheduled were setup with an endDate to "permanente". This means the phase will never end, thus never be released ?

restive light
#

Out team doesn't know much about how Dashboard works. Generally, if you want to keep the final phase running forever, you would want to release the Subscription Schedule after it reaches the last phase. It becomes just a normal Subscription with the parameters of the latest phase.

#

Perhaps that's what this Dashboard setting does.

austere quarry
#

The "Permanente" settings in the Dashboard doesn't seems to existe in the API object ?
Here https://dashboard.stripe.com/subscription_schedules/sub_sched_1QFGSqG5vg1joAgfiNLIzwVW#wb-N4Igdghgbglg5hALjA9mEAuUBjArgJ3wFMxEAlFXRIzUSAWxoxAHUB5MgaQCEBRAOQDCACQD6ASX4BlAAq9BAFQ4gAvgBoQAGyREAzuUrVdtECihF8sIgHcTDJqw48BI0WwBqvMu-G8WqjQATPWRIZDRjLHAIRkxHLj4hMRZebmE2Nk4pAJAic1JIuhiHdgSXMV5PfgVs9S0UOELo2OZS5yTRABk2AHFajQALIghNRAG7Yri2xNdhXgBBToVhHIt8FHwm+ymnGYqyMg5+kGDzTRQABwtxMF14AcQtydbd8olpcR7hGpyYW6vsIgNhMWvF2q5JLJ5EoyDldDELpo9CCSq8OlJ5gBZGSdXjHXRDTSaFE7MrouadTo5bDEHQAERCfyQqDALBgAC8IPhAiSXmTXCk0hksqJBGQFgpeDlrERNNgUC0iqDpm8Up1BGxMVK6roiIhQo1eWC9qIpLwFApJH0ckYDVJsCQuagnsq0a5JVJLfweqbBAJ5mRxGxanUIICYOYFBAAEZxP66AFA-AgDSIGPCGD6DYAT0wAG1TOZLDAbCAALoadZUIgZrP4XMYPNKhxSACq3CkYvEMktbGkojp5vm4ipGguXJiTRgPOYulw0dEAEY2NmAJwAVguPXXUDgi4AVih5nAAGaCIgABgA1tHMXSr3DhvhsOMsDqny+pBAT0xgHUBhABJxAEzZxG2HZdj2Qb8L6cx0q2uJSAOQ4jimIDjvgk4mNOcRzguugvkQgRLgAigAYn0ACO267geR6njA-CdOI7LWO4-jvlyL60Jxz4DF+P48YMgGviAqhljqHJ-HAmBgLgRKDEQ9yIHEADsF5QOMGiwHc0YwJoMCINmmIoMEcQ6TA0ZImh8aJsCUTELolDPkQ4gziAeGiARQzEYu5FUTRe6HseJ6McxrHsWhaaxswZgWFYthBEQVxgMEYDYNmbmyfJmgqCoQA
I can see two phases both with end date, the phase "0" end november 1st and the phase "1" start november 1st and end december 1st. But this is not what is displayed in the dashboard with this "Permanente" end date.
The current phase property confirm that

"current_phase": {
"end_date": 
1733007600,
"start_date": 
1730415600,
},

I also see a "renewal_interval": null, proprety that is not mention in the doc ?

restive light
austere quarry
restive light
#

Yes, as long as the Schedule is in its last stage, you can release it manually anytime.

austere quarry
#

Ok thank you