#andrewatadvocateprinting_74905

1 messages · Page 1 of 1 (latest)

languid monolithBOT
jagged egret
#

HI 👋

Can you describe the changes you want to make to the Subscriptions in a set of clear steps and how you would like the billing to work?

uncut moth
#

Ok, I was tasked by my company to run some PHP code via Stripe API to run through and update the subscription prices for all subs due to a price increase the company wanted to make to subscriptions. They do not want any proration on the customers, and they do not want to bill customers until their current billing interval is complete. This works fine for current monthly subs, but the problem is that going forward, the new price will only be monthly. So here is what I need to try and sort out: There are around a few hundred yearly subscriptions that all need to switch to a monthly pricing, with no proration, but my company does not want the customers of these subs getting any new bill until the current yearly bill period is over. Currently when I run tests to make sure my code is correct, when I change the yearly pricing to the new monthly pricing, a new bill gets immediately placed onto to subscription account, as the docs say will happen by default. Is there a flag when I'm running $stripe->subscriptions->update() that will ensure the charge is not made? If you want, I can also supply you with the whole piece of code I'm using with anything sensitive removed.

jagged egret
#

Sorry it's really busy here right now and I just can't get a sense for what you are trying to do in these big blocks of text. Can you provide me with some clear steps of

  1. What API actions you are taking in sequence
  2. What behavior you want to see