Sha256: 90431c408cc1513f61fc3946ca45f3ca6108f13ab5334242ca2bb0d024d91d5d

Contents?: true

Size: 752 Bytes

Versions: 1

Compression:

Stored size: 752 Bytes

Contents

module Adyen
  module SkinBuilder
    module Helper
      module Adyen

        # start the adyen form, if no block padded payment fields are auto included
        def adyen_form_tag(&block)
          buffer << render_partial(:adyen_form, :views => settings.views, :block => block)
        end

        # render the payment fields
        def adyen_payment_fields(&block)
          if block_given?
            capture &block
          else
            render_partial :adyen_payment_fields, :views => settings.views
          end
        end

        # to be done
        # def adyen_custom_field_tag
        # end
        #
        # def adyen_custom_hidden_tag
        # end

        ## autofill cc
        ## autofill avs
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adyen-skinbuilder-0.3.1 lib/adyen-skinbuilder/helper/adyen.rb