diff --git a/src/main/java/alfio/manager/PaypalManager.java b/src/main/java/alfio/manager/PaypalManager.java index c4d5ef7792..ae4c54be0a 100644 --- a/src/main/java/alfio/manager/PaypalManager.java +++ b/src/main/java/alfio/manager/PaypalManager.java @@ -117,15 +117,9 @@ private List buildPaymentDetails(Event event, OrderSummary orderSum String description = messageSource.getMessage("reservation-email-subject", new Object[] {configurationManager.getShortReservationID(event, reservationId), event.getDisplayName()}, locale); transaction.setDescription(description).setAmount(amount); - List items = orderSummary.getSummary().stream() - .map(summaryRow -> fromSummaryRow(summaryRow, event)) - .collect(Collectors.toList()); - - if(!event.isVatIncluded()) { - String vatMsg = messageSource.getMessage("reservation-page.vat", new Object[] {event.getVat()}, locale); - items.add(new Item(vatMsg, "1", orderSummary.getTotalVAT(), event.getCurrency())); - } + List items = new ArrayList<>(); + items.add(new Item(description, "1", orderSummary.getTotalPrice(), event.getCurrency())); transaction.setItemList(new ItemList().setItems(items)); List transactions = new ArrayList<>();