Skip to content

Commit

Permalink
Fix providing empty fields while configuring Tpay gateway (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel authored Oct 22, 2024
2 parents 690f433 + ab5a6ef commit cbe76d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Form/Type/TpayGatewayConfigurationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,27 +72,31 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'merchant_id',
TextType::class,
[
'empty_data' => '',
'label' => 'commerce_weavers_sylius_tpay.admin.gateway_configuration.merchant_id',
],
)
->add(
'google_merchant_id',
TextType::class,
[
'empty_data' => '',
'label' => 'commerce_weavers_sylius_tpay.admin.gateway_configuration.google_merchant_id',
],
)
->add(
'apple_pay_merchant_id',
TextType::class,
[
'empty_data' => '',
'label' => 'commerce_weavers_sylius_tpay.admin.gateway_configuration.apple_pay_merchant_id',
],
)
->add(
'notification_security_code',
PasswordType::class,
[
'empty_data' => '',
'label' => 'commerce_weavers_sylius_tpay.admin.gateway_configuration.notification_security_code',
],
)
Expand Down

0 comments on commit cbe76d2

Please sign in to comment.