I am using recurring payment from Braintree but it looks like they only allow to fix the bonus amount to subtract from each month payment.
https://developers.braintreepayments.com/javascript+php/guides/recurring-billing/plans#add-ons-and-discounts
However the bonus is different from each user and each month for each user. So do you have any idea to customize this ?
Thank you very much!