/** * gets all form data for the checkout process. * * @return Form */ public function getForm() { $this->finalizeParameters(); $form = new Form(); $form->setAction($this->environment->getGatewayUrl()); $form->setMethod(Form::METHOD_POST); $form->setHiddenFields($this->parameters->getAll()); return $form; }