@@ -34,15 +34,15 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
3434 $ originalData = [];
3535
3636 $ builder
37- ->add ('client_id ' , TextType::class, ['label ' => 'sylius_paypal .client_id ' , 'attr ' => ['readonly ' => true ]])
38- ->add ('client_secret ' , TextType::class, ['label ' => 'sylius_paypal .client_secret ' , 'attr ' => ['readonly ' => true ]])
39- ->add ('merchant_id ' , HiddenType::class, ['label ' => 'sylius_paypal .client_secret ' , 'attr ' => ['readonly ' => true ]])
40- ->add ('sylius_merchant_id ' , HiddenType::class, ['label ' => 'sylius_paypal .client_secret ' , 'attr ' => ['readonly ' => true ]])
41- ->add ('partner_attribution_id ' , HiddenType::class, ['label ' => 'sylius_paypal .partner_attribution_id ' , 'attr ' => ['readonly ' => true ]])
37+ ->add ('client_id ' , TextType::class, ['label ' => 'sylius.pay_pal .client_id ' , 'attr ' => ['readonly ' => true ]])
38+ ->add ('client_secret ' , TextType::class, ['label ' => 'sylius.pay_pal .client_secret ' , 'attr ' => ['readonly ' => true ]])
39+ ->add ('merchant_id ' , HiddenType::class, ['label ' => 'sylius.pay_pal .client_secret ' , 'attr ' => ['readonly ' => true ]])
40+ ->add ('sylius_merchant_id ' , HiddenType::class, ['label ' => 'sylius.pay_pal .client_secret ' , 'attr ' => ['readonly ' => true ]])
41+ ->add ('partner_attribution_id ' , HiddenType::class, ['label ' => 'sylius.pay_pal .partner_attribution_id ' , 'attr ' => ['readonly ' => true ]])
4242 // we need to force Sylius Payum integration to postpone creating an order, it's the easiest way
4343 ->add ('use_authorize ' , HiddenType::class, ['data ' => true , 'attr ' => ['readonly ' => true ]])
44- ->add ('reports_sftp_username ' , TextType::class, ['label ' => 'sylius_paypal .sftp_username ' , 'required ' => false ])
45- ->add ('reports_sftp_password ' , TextType::class, ['label ' => 'sylius_paypal .sftp_password ' , 'required ' => false ])
44+ ->add ('reports_sftp_username ' , TextType::class, ['label ' => 'sylius.pay_pal .sftp_username ' , 'required ' => false ])
45+ ->add ('reports_sftp_password ' , TextType::class, ['label ' => 'sylius.pay_pal .sftp_password ' , 'required ' => false ])
4646 ;
4747
4848 $ builder ->addEventListener (FormEvents::PRE_SET_DATA , function (FormEvent $ event ) use (&$ originalData ): void {
0 commit comments