Sha256: c8887fd6026cff05b40f912eb8886a956d9f262c4db50c72952cd773dd362f23

Contents?: true

Size: 847 Bytes

Versions: 6

Compression:

Stored size: 847 Bytes

Contents

%h3 Redirecting to PayPal...
%form{ :id => 'pform', :name => '_xclick', :action => 'https://www.paypal.com/cgi-bin/webscr', :method => "post" }
  %input{ :type => 'hidden', :name => 'cmd', :value => "_donations" }
  %input{ :type => 'hidden', :name => 'business', :value => paypal_id }
  %input{ :type => 'hidden', :name => 'item_name', :value => "WNSF Donation" }
  %input{ :type => 'hidden', :name => 'currency_code', :value => "USD" }
  %input{ :type => 'hidden', :name => 'amount', :value => donation_amount }
  %input{ :type => 'hidden', :name => 'return', :value => 'http://'+packet['route.site_url'] + route_to(:donations, :donate_success) }
  %input{ :type => 'hidden', :name => 'cancel_return', :value => 'http://'+packet['route.site_url'] + route_to(:donations, :donate_cancel)}
:javascript
  $(function(){
    $('#pform').submit();
  })

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
orange-more-0.5.8 lib/orange-more/donations/views/donations/paypal_form.haml
orange-more-0.5.7 lib/orange-more/donations/views/donations/paypal_form.haml
orange-0.5.5 lib/orange-more/donations/views/donations/paypal_form.haml
orange-0.5.4 lib/orange-more/donations/views/donations/paypal_form.haml
orange-0.5.3 lib/orange-more/donations/views/donations/paypal_form.haml
orange-0.5.2 lib/orange-more/donations/views/donations/paypal_form.haml