code: protected function cancelCharge()
      {
          $planCharge = $this->shop->planCharge();
          if ($planCharge && !$planCharge->isDeclined() && !$planCharge->isCancelled()) {
              $planCharge->cancel();
          }
      }
docs: Cancels a recurring or one-time charge.
  
  @return void