#yaroslav_25808

1 messages · Page 1 of 1 (latest)

sage socketBOT
glass rapids
#

Hi! Let me help you with this.

snow helm
#

ok lets say if I have active subscription and add new price, can I apply trial/coupon to that price?

glass rapids
#

Yes

snow helm
#

can you help me to find it? because I could not find a place where we can attach trial/coupon to subscription item, only to the whole subscription

glass rapids
#

You can't attach it to an item, but, as I mentioned earlier, you can set the applies_to field to specify products that the coupon will apply to.

snow helm
#

I see, so if I have multiple prices in subscription I can use only one coupon, right?

glass rapids
snow helm
#

ok, last question. when we add new price of 1$/month it will not create invoice immediately, right? so we have to wait for the end of billing cycle? also does it prorate price amount?

glass rapids
sage socketBOT
snow helm
#

what is the correct way to handle when there is not active product at the moment, but potentially user can add it later. doe stripe subscription support empty list of prices? shall we cancel subscription or just pause?

real mica
#

No, you can't have a subscription with no prices

snow helm
#

so the only way is to cancel it, right? and later add a new one?

real mica
#

Correct

snow helm
#

I see, is there a way to handle situation when user activates/deactivates/activates again subscription multiple times within small period? so first payment passed recently and we do not want stripe automatically init new payment for new subscription

real mica
#

That's upto you. You can track when the customer created/canceled the subs and handle it accordingly.

snow helm
#

thanks. I would like to clarify logic of failed invoices. Does stripe always set status incomplete_expired to subscription that failed first payment? or we can configure it?

real mica
#

There's no way to configure it, no

snow helm
#

ok, if a subsequent invoice of the active subscription fails, what are the steps to keep subscription, not to collect new invoices and restore it once user solves issue with payment method? Should we manually reattempt payment or stripe takes care of it?

real mica
snow helm
#

I see that stripe has automatic retries, but if all retries failed and we notified our user. Do they have to update payment method and stripe automatically start new retries or we have manually do something?

real mica
#

They will need to provide a new payment method, we won't retry after all the retries previously have failed.
You can have them come back to your site and provide a new payment method
OR You can send them to hosted invoice page, where they can provide a new payment method

snow helm
#

I see, so in order to make subscription active again we need to manually trigger payment for the last invoice when user adds new payment method, right?

real mica
#

Correct

snow helm
#

thanks