Class PayPalGatewayAutoConfiguration

    • Constructor Detail

      • PayPalGatewayAutoConfiguration

        public PayPalGatewayAutoConfiguration()
    • Method Detail

      • payPalUtils

        @Bean
        @ConditionalOnMissingBean
        public PayPalUtils payPalUtils​(com.fasterxml.jackson.databind.ObjectMapper mapper)
      • payPalCheckoutExternalCallRetryTemplate

        @Bean
        @ConditionalOnMissingBean(name="payPalCheckoutExternalCallRetryTemplate")
        public org.springframework.retry.support.RetryTemplate payPalCheckoutExternalCallRetryTemplate()
        By default this does not retry when a network or 5xx error is encountered
      • payPalGatewayWebClient

        @Bean
        @ConditionalOnMissingBean(name="payPalGatewayWebClient")
        public org.springframework.web.reactive.function.client.WebClient payPalGatewayWebClient​(@Qualifier("payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier")
                                                                                                 Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier,
                                                                                                 com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier

        @Bean
        @ConditionalOnMissingBean(name="payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier")
        public Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier​(PayPalCheckoutApiProperties properties)
      • payPalApiProvider

        @Bean
        @ConditionalOnMissingBean
        public PayPalApiProvider payPalApiProvider​(@Qualifier("payPalGatewayWebClient")
                                                   org.springframework.web.reactive.function.client.WebClient webClient,
                                                   com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                                   ExternalPayPalApiProperties properties,
                                                   PayPalCheckoutApiProperties checkoutApiProperties)