lib/mercadopago-support.js
function cancelPreapprovalPayment(id) {
    var callback = preConditions.getCallback(arguments[arguments.length - 1]);

    showWarning();

    return preapprovalModule.update({
      id: id,
      status: 'cancelled'
    }, callback);
  }
function cancelPreapprovalPayment(id) {
    var callback = preConditions.getCallback(arguments[arguments.length - 1]);

    showWarning();

    return preapprovalModule.update({
      id: id,
      status: 'cancelled'
    }, callback);
  }
function cancelPreapprovalPayment ( id ) { var callback = preConditions . getCallback ( arguments [ arguments . length - 1 ] ) ; showWarning ( ) ; return preapprovalModule . update ( { id : id , status : 'cancelled' } , callback ) ; }
Canacel a preapproval payment using the preapprovalModule
@param id
@param callback
@returns {*}
Canacel a preapproval payment using the preapprovalModule