Class DefaultStripeWebhookEventService

java.lang.Object
com.broadleafcommerce.payment.service.gateway.webhooks.DefaultStripeWebhookEventService
All Implemented Interfaces:
StripeWebhookEventService

public class DefaultStripeWebhookEventService extends Object implements StripeWebhookEventService
Author:
Dima Myroniuk (dmyroniuk)
  • Field Details

  • Constructor Details

  • Method Details

    • validateEvent

      public void validateEvent(@NonNull @NonNull org.springframework.http.HttpHeaders headers, @NonNull @NonNull String requestBody, @NonNull @NonNull Map<String,String> parameters)
      Description copied from interface: StripeWebhookEventService
      Validates the webhook event and signature.
      Specified by:
      validateEvent in interface StripeWebhookEventService
      Parameters:
      headers - The webhook request headers
      requestBody - The webhook raw request body in the form of a String
      parameters - The request parameters passed into the webhook
    • getTenantId

      @Nullable protected String getTenantId(@NonNull @NonNull Map<String,String> parameters)
    • getApplicationId

      @Nullable protected String getApplicationId(@NonNull @NonNull Map<String,String> parameters)
    • getConfigurationProperties

      protected StripeRestConfigurationProperties getConfigurationProperties()