protected function setUp() { $config = new HpsServicesConfig(); $config->secretApiKey = 'skapi_cert_MTyMAQBiHVEAewvIzXVFcmUd2UcyBge_eCpaASUp0A'; $this->service = new HpsPayPlanScheduleService($config); $paymentMethodService = new HpsPayPlanPaymentMethodService($config); $this->paymentMethod = $paymentMethodService->page(1, 0)->findAll(array('customerIdentifier' => 'SecureSubmit', 'paymentStatus' => HpsPayPlanPaymentMethodStatus::ACTIVE))->results[0]; }