Braintree:在计费周期中间创建订阅

Braintree: creating subscription in the middle of the billing cycle

In braintree's sandbox I have created a plan with a monthly cycle with billing on the 1st of every month. Now, when a customer signs up in the middle of the month I would like to charge the prorated amount for the current month but I do not want to set the billing date to the current day of the month.

Are there any options in the Subscription API that I could use? (the only thing I see is overriding the billing date of the plan).

I could create a separate transaction for the current month, but it would be more convenient to have an active subscription from the moment the user signs up. Our product is priced on a per user basis. We thought we could have an add-on for every user - every time the customer adds a new user we would add an add-on to the subscription and let braintree prorate the charges. But that will only work with an active subscription. Without a subscription we would need to calculate the amount ourselves and create a separate transaction.

I'm new to braintree / payment gateways; maybe there are other ways of approaching this?有什么想法吗?

如果您确实要创建订阅,请同时创建两个订阅。 将一个设置为立即付款,并在经过的天数后按比例给予折扣,并将其限制为仅 1 个计费周期。第二个应该是正常的。

完全披露:我在 Braintree 工作。如果您有任何其他问题,请随时联系 support

您为当月创建单独交易并为下个月的用户创建订阅的方法是正确的处理方式。