Search code examples
payment-gatewaybraintreepayment-processing

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? Any ideas?


Solution

  • Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.

    Your method of creating a separate transaction for the current month, and creating a subscription for the user for the next month is a proper way of handling it.