app/services/stripe_service/api/stripe_api_wrapper.rb
# This method should be used for all actions that require setting correct
# Merchant details for the Stripe gem
This method should be used for all actions that require setting correct
Merchant details for the Stripe gem
This method should be used for all actions that require setting correct Merchant details for the Stripe gem
def with_stripe_payment_config(community, &block)
      @@mutex.synchronize {
        payment_settings = payment_settings_for(community)
        configure_payment_for(payment_settings)
        return_value = block.call(payment_settings)
        reset_configurations
        return return_value
      }
    end
def with_stripe_payment_config ( community , & block ) @@mutex . synchronize { payment_settings = payment_settings_for ( community ) configure_payment_for ( payment_settings ) return_value = block . call ( payment_settings ) reset_configurations return return_value } end
This method should be used for all actions that require setting correct
Merchant details for the Stripe gem
This method should be used for all actions that require setting correct Merchant details for the Stripe gem
community
<not_specific>
block
<not_specific>