/** * Get the processor's form fields. Custom controllers use this function * to add the form fields specifically to gateways. * * @return FieldList */ public function getFormFields() { $fieldList = new FieldList(); $fieldList->push(new NumericField('Amount', 'Amount', '')); $fieldList->push(new DropDownField('Currency', 'Select currency :', $this->gateway->getSupportedCurrencies())); return $fieldList; }