diff --git a/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java b/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java index e5b33b7..9203973 100644 --- a/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java +++ b/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java @@ -87,7 +87,7 @@ public PaymentPositionModel createSpontaneousPayment(@NotBlank String organizati // checks if the service is in suitable state and the request contains the properties required by the configured service checkServiceConfiguration(spontaneousPayment, serviceConfiguration); - return createDebtPosition(organizationFiscalCode, orgConfiguration, serviceConfiguration, spontaneousPayment); + return new PaymentPositionModel(); // createDebtPosition(organizationFiscalCode, orgConfiguration, serviceConfiguration, spontaneousPayment); }