See also the Braintree_Transaction response object.

You can manually retry charging past due subscriptions. For details on how to do this, see the managing subscriptions page.

PHP
$retryResult = Braintree_Subscription::retryCharge(
    $subscription->id,
    "24.00"
)
if ($retryResult->success) {
    $result = Braintree_Transaction::submitForSettlement(
        $retryResult->transaction->id
    );
    $result->success;
    # true
}
Arguments
subscriptionId required, string

A string value representing a specific subscription in the vault

amount String

The amount to charge the customer if different from the current balance on the subscription. This value must be greater than 0, and must match the appropriate currency format.

Still Have Questions?

If you can’t find an answer, give us a call at 877.434.2894 or contact our Support team