Module: Paypal::Helpers::Rails

Defined in:
lib/paypal/helpers/rails.rb

Instance Method Summary collapse

Instance Method Details

#paypal_form_tag(url = Paypal::Config.ipn_url, options = {}, &block) ⇒ Object

Convenience helper. Can replace <%= form_tag Paypal::Notification.ipn_url %> takes optional url parameter, default is Paypal::Notification.ipn_url



6
7
8
# File 'lib/paypal/helpers/rails.rb', line 6

def paypal_form_tag(url = Paypal::Config.ipn_url, options = {})
  form_tag(url, options)
end