Stripe: add free days to a subscription

扶醉桌前 提交于 2021-02-05 05:10:24

问题


Is it possible to add free days to an active subscription on Stripe?

I'd like to do it in order to create a referral program: when a user refers someone, he gets 10 free days.

I think a good way to do it would be to update the current_period_end var, but I can't find how to do it in the doc.

For example:

  • Bob is subscribed and will be charged on the 15th of this month
  • He refers Alice
  • He gets 10 free days on his account, and his next billing date is now on the 25th

回答1:


I believe the closest you could do would be apply some sort of credit to her account, so instead of 10 free days, it's earn (33% of monthly fee) per referral.



来源:https://stackoverflow.com/questions/23770764/stripe-add-free-days-to-a-subscription

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!