CancelProfile Method
This will cancel the profile.
Object Oriented Interface
public function doCancelProfile($profileid);
Procedural Interface
inpaypal_recurringpayments_do_cancelprofile($res, $profileid);
Remarks
Use this method to cancel the specified recurring payments profile. This method takes a ProfileId parameter which specifies the profile to be canceled. An optional Note may be attached to the request to PayPal.
Note that only profiles with an Active or Suspended Status may be canceled.