From f2cc2a51127ad481832eca3bf16d0dc7ebd11777 Mon Sep 17 00:00:00 2001 From: Godwin Date: Fri, 2 Oct 2015 22:24:18 -0700 Subject: [PATCH] Temporary donate button for GDL --- app/views/shared/_donate_button.html.haml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/app/views/shared/_donate_button.html.haml b/app/views/shared/_donate_button.html.haml index 6dad251..28e68a5 100644 --- a/app/views/shared/_donate_button.html.haml +++ b/app/views/shared/_donate_button.html.haml @@ -1,8 +1,12 @@ -%form{action: 'https://www.paypal.com/cgi-bin/webscr', method: 'post', target: '_top', class: 'paypal-button'} - %input{type: 'hidden', name: 'cmd', value: '_donations'} - %input{type: 'hidden', name: 'business', value: email_address} - %input{type: 'hidden', name: 'lc', value: 'US'} - %input{type: 'hidden', name: 'item_name', value: 'Bike!Bike!'} - %input{type: 'hidden', name: 'no_note', value: '0'} - %input{type: 'hidden', name: 'currency_code', value: 'USD'} - %button{type: 'submit', value: 'PP-DonationsBF:paypal_logo.png:NonHostedGuest'}=_'donate.button_label','Donate!' +-#%form{action: 'https://www.paypal.com/cgi-bin/webscr', method: 'post', target: '_top', class: 'paypal-button'} +-# %input{type: 'hidden', name: 'cmd', value: '_donations'} +-# %input{type: 'hidden', name: 'business', value: email_address} +-# %input{type: 'hidden', name: 'lc', value: 'US'} +-# %input{type: 'hidden', name: 'item_name', value: 'Bike!Bike!'} +-# %input{type: 'hidden', name: 'no_note', value: '0'} +-# %input{type: 'hidden', name: 'currency_code', value: 'USD'} +-# %button{type: 'submit', value: 'PP-DonationsBF:paypal_logo.png:NonHostedGuest'}=_'donate.button_label','Donate!' +%form{:action => "https://www.paypal.com/cgi-bin/webscr", :method => "post", :target => "_top", class: 'paypal-button'} + %input{:name => "cmd", :type => "hidden", :value => "_s-xclick"} + %input{:name => "hosted_button_id", :type => "hidden", :value => "9SHUJKYU4V3C2"} + %button{type: 'submit', value: 'PP-DonationsBF:paypal_logo.png:NonHostedGuest'}=_'donate.button_label','Donate!' \ No newline at end of file