lib/active_merchant/billing/integrations/dibs_flexwin/controller.rb
# Overriding default functionality. This will prevent
# authenticity_token to be added to DIBS FlexWin form.
Overriding default functionality. This will prevent
authenticity_token to be added to DIBS FlexWin form.
Overriding default functionality . This will prevent authenticity_token to be added to DIBS FlexWin form .
def protect_against_forgery?
            if self.checkout_action.is_a?(Array)
              return false if self.checkout_action.include?(params[:action])
            elsif self.checkout_action.is_a?(String)
              return false if params[:action] == self.checkout_action
            end
            super
          end
def protect_against_forgery? if self . checkout_action . is_a? ( Array ) return false if self . checkout_action . include? ( params [ :action ] ) elsif self . checkout_action . is_a? ( String ) return false if params [ :action ] == self . checkout_action end super end
Overriding default functionality.
Overriding default functionality .