drastik/civicrm_stripe — pull request #14 by anemirovsky (2013-11-11 23:46:56+00:00)
Title: 4.3 1.7

These two commits fix a couple of issues with the extension.

The first fixes an error that gets thrown if the number of installments for a recurring contribution is blank, which happens when a user wishes to continue the recurring contribution indefinitely.

The second deals with how to handle multiple recurring contributions for the same contact. Currently, if this happens, if just the amount is changed, Stripe will not charge the new amount until the next subscription invoice is due. In CiviCRM, it's expected that the new recurring contribution will be charged immediately. Since Stripe does not support multiple subscriptions per contact/customer, the easiest way to handle this is to cancel the existing active recurring contribution before creating a new one. That way, the new contribution will always be immediately charged.