title: Braintree how do I change the subscription lifecycle period?
body: <p>I am new to braintree and I am implementing a braintree payment gateway for my nodeJs app. I have few concerns when it come to application testing.</p>
  
  <ol>
  <li>How can I change the period of one billing cycle. Currently its limited to minimum of 1 month. If it is not changeable what is the workaround for testing multiple billing cycle transactions ?? </li>
  </ol>
  
  <p>PS: I did refer to this <a href="https://stackoverflow.com/questions/28430001/how-can-i-change-subscription-period-on-braintree">how-can-i-change-subscription-period-on-braintree</a> but a valid answer can not be found. </p>
  
  <p>My next question is related to the webhooks in Braintree. When a webhook is triggered for successful charge for subscription it returns a Subscription object which a transaction array which includes all the transactions for that subscription. Is there a way to filter out the data for the transaction which the webhook was triggered for ? It says the array is sorted. Does that mean that 0th position of the transaction array is the last transaction made ??</p>
  
  <p><a href="https://developers.braintreepayments.com/reference/response/subscription/node#transactions" rel="nofollow noreferrer">Braintree Subscription object reference</a></p>
  
  <p>Since the test environment does not let us change the billing cycle time I have to wait a month to test this. And if there is a better way to do handle this please advice me on it.</p>