-
-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge payment methods #501
Conversation
@@ -338,7 +338,7 @@ protected void configure(HttpSecurity http) throws Exception { | |||
.antMatchers(HttpMethod.GET, ownershipRequired).hasAnyRole(ADMIN, OWNER) | |||
.antMatchers(HttpMethod.GET, ADMIN_API + "/**").hasAnyRole(ADMIN, OWNER, SUPERVISOR) | |||
.antMatchers(HttpMethod.POST, ADMIN_API + "/reservation/event/*/new", ADMIN_API + "/reservation/event/*/*").hasAnyRole(ADMIN, OWNER, SUPERVISOR) | |||
.antMatchers(HttpMethod.PUT, ADMIN_API + "/reservation/event/*/*/notify", ADMIN_API + "/reservation/event/*/*/confirm").hasAnyRole(ADMIN, OWNER, SUPERVISOR) | |||
.antMatchers(HttpMethod.PUT, ADMIN_API + "/reservation/event/*/*/notify", ADMIN_API + "/reservation/event/*/*/performPayment").hasAnyRole(ADMIN, OWNER, SUPERVISOR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
performPayment -> perform-payment ?
I think it's better to have the url lowercase.
# Conflicts: # src/main/java/alfio/manager/TicketReservationManager.java # src/test/java/alfio/manager/TicketReservationManagerTest.java
@@ -89,6 +89,7 @@ | |||
private final TicketFieldRepository ticketFieldRepository; | |||
private final PaymentManager paymentManager; | |||
private final EuVatChecker vatChecker; | |||
private final StripeCreditCardManager stripeCreditCardManager; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that ideally you don't want the concrete implementation injected right?
# Conflicts: # src/main/java/alfio/manager/FileDownloadManager.java
# Conflicts: # src/main/java/alfio/manager/ExtensionManager.java # src/main/java/alfio/manager/TicketReservationManager.java # src/test/java/alfio/manager/TicketReservationManagerTest.java
No description provided.