public function addConfigurationFields(FormBuilderInterface $builder, ElementInterface $fieldset, DependencyInterface $dependency)
 {
     $fieldset->addChild($builder->getElement('text_field', ['name' => $this->getConfigurationKey('client_id'), 'label' => $this->trans('paypal.label.client_id'), 'dependencies' => [$dependency]]));
     $fieldset->addChild($builder->getElement('text_field', ['name' => $this->getConfigurationKey('client_secret'), 'label' => $this->trans('paypal.label.client_secret'), 'dependencies' => [$dependency]]));
     $fieldset->addChild($builder->getElement('select', ['name' => $this->getConfigurationKey('mode'), 'label' => $this->trans('paypal.label.mode'), 'options' => ['live' => 'live', 'sandbox' => 'sandbox'], 'dependencies' => [$dependency]]));
     $fieldset->addChild($builder->getElement('select', ['name' => $this->getConfigurationKey('type'), 'label' => $this->trans('paypal.label.type'), 'options' => ['paypal' => 'paypal', 'credit_card' => 'credit_card'], 'dependencies' => [$dependency]]));
 }
 public function addConfigurationFields(FormBuilderInterface $builder, ElementInterface $fieldset, DependencyInterface $dependency)
 {
     $fieldset->addChild($builder->getElement('text_field', ['name' => $this->getConfigurationKey('account_number'), 'label' => $this->trans('payment_method.bank_transfer.account_number'), 'dependencies' => [$dependency], 'default' => '']));
     $fieldset->addChild($builder->getElement('text_field', ['name' => $this->getConfigurationKey('account_owner'), 'label' => $this->trans('payment_method.bank_transfer.account_owner'), 'dependencies' => [$dependency], 'default' => '']));
     $fieldset->addChild($builder->getElement('text_field', ['name' => $this->getConfigurationKey('sort_number'), 'label' => $this->trans('payment_method.bank_transfer.sort_number'), 'dependencies' => [$dependency], 'default' => '']));
 }
 public function addConfigurationFields(FormBuilderInterface $builder, ElementInterface $fieldset, DependencyInterface $dependency)
 {
     $fieldset->addChild($builder->getElement('tip', ['tip' => $this->trans('payment_method.cod.configuration'), 'dependencies' => [$dependency]]));
 }