Class TransactionWebhookEndpoint

java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.TransactionWebhookEndpoint

@FrameworkRestController @FrameworkMapping("/webhooks") @DataRouteByKey("paymentTransaction") public class TransactionWebhookEndpoint extends Object
Author:
Dima Myroniuk (dmyroniuk)
  • Field Details

  • Constructor Details

  • Method Details

    • handleWebhook

      @FrameworkPostMapping("/{gatewayType}") public org.springframework.http.ResponseEntity<?> handleWebhook(@PathVariable("gatewayType") String gatewayType, @RequestHeader org.springframework.http.HttpHeaders headers, @RequestParam(required=false) Map<String,String> parameters, jakarta.servlet.http.HttpServletRequest request)
    • handleSavedPaymentMethodWebhook

      @FrameworkPostMapping("/saved-payment-method/{gatewayType}") public org.springframework.http.ResponseEntity<?> handleSavedPaymentMethodWebhook(@PathVariable("gatewayType") String gatewayType, @RequestHeader org.springframework.http.HttpHeaders headers, @RequestParam(required=false) Map<String,String> parameters, jakarta.servlet.http.HttpServletRequest request)
    • getTransactionWebhookService

      protected TransactionWebhookService getTransactionWebhookService()
    • getSavedPaymentMethodWebhookService

      @Nullable protected SavedPaymentMethodWebhookService getSavedPaymentMethodWebhookService()
    • setSavedPaymentMethodWebhookService

      @Autowired(required=false) public void setSavedPaymentMethodWebhookService(@Nullable SavedPaymentMethodWebhookService savedPaymentMethodWebhookService)