Explorar el Código

refactor: configura antecipacao do recebedor para utilizar dias

Gustavo Mantovani hace 2 días
padre
commit
6ae261c6b6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/Pagarme/PagarmeRecipientService.php

+ 1 - 1
app/Services/Pagarme/PagarmeRecipientService.php

@@ -76,7 +76,7 @@ class PagarmeRecipientService
 
             automaticAnticipationSettings: new AutomaticAnticipationSettingsData(
                 enabled: true,
-                type:    'full',
+                type:    '1025', // isso significa que vai ser feita de acordo com o delay (dias)
                 delay:   1,
             ),
         );